/* ============================================
   Project 0081 — SaaS Enterprise Style
   Clean white bg + blue-500 primary + subtle gray
   ============================================ */

:root {
    scroll-behavior: smooth;
    --blue-50: #eff6ff;
    --blue-100: #dbeafe;
    --blue-500: #3b82f6;
    --blue-600: #2563eb;
    --blue-700: #1d4ed8;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: #ffffff;
    color: var(--gray-800);
}

/* ====== SaaS Navbar ====== */
.saas-nav {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
}

/* ====== Hamburger ====== */
.hamburger-line-saas {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--gray-700);
    margin: 4px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}
.hamburger.active .hamburger-line-saas:nth-child(1) { transform: rotate(45deg) translate(4px,4px); }
.hamburger.active .hamburger-line-saas:nth-child(2) { opacity: 0; }
.hamburger.active .hamburger-line-saas:nth-child(3) { transform: rotate(-45deg) translate(4px,-4px); }

/* ====== Hero Section ====== */
.saas-hero {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}
.saas-hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(59,130,246,0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.saas-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59,130,246,0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* ====== Product Screenshot Frame ====== */
.product-frame {
    background: linear-gradient(145deg, #1e293b, #334155);
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 25px 60px -15px rgba(0,0,0,0.15), 0 0 0 1px rgba(0,0,0,0.05);
    position: relative;
}
.product-screen {
    border-radius: 10px;
    overflow: hidden;
}

/* Floating UI elements */
.float-ui-el {
    position: absolute;
    z-index: 10;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px -8px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.04);
    padding: 12px 16px;
    animation: uiFloat 5s ease-in-out infinite;
}
.float-ui-el:nth-child(1) { top: -20px; right: -30px; animation-delay: 0s; }
.float-ui-el:nth-child(2) { bottom: -15px; left: -25px; animation-delay: 2.5s; }
@keyframes uiFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ====== SaaS Buttons ====== */
.btn-saas-primary {
    background: var(--blue-600);
    color: white;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px -4px rgba(37,99,235,0.35);
}
.btn-saas-primary:hover {
    background: var(--blue-700);
    box-shadow: 0 8px 25px -6px rgba(37,99,235,0.45);
    transform: translateY(-1px);
}
.btn-saas-outline {
    background: white;
    color: var(--blue-600);
    font-weight: 600;
    border-radius: 10px;
    border: 1.5px solid var(--gray-200);
    transition: all 0.25s ease;
}
.btn-saas-outline:hover {
    border-color: var(--blue-500);
    background: var(--blue-50);
}

/* ====== Tabbed Feature Cards ====== */
.tab-nav-btn {
    padding: 10px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--gray-500);
    background: transparent;
    transition: all 0.25s ease;
    border: 1px solid transparent;
}
.tab-nav-btn.active {
    color: var(--blue-600);
    background: var(--blue-50);
    border-color: var(--blue-200);
}
.tab-nav-btn:hover:not(.active) {
    color: var(--gray-700);
    background: var(--gray-50);
}
.tab-content-panel {
    display: none;
}
.tab-content-panel.active {
    display: block;
}

/* ====== Feature Card SaaS ====== */
.feature-card-saas {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.feature-card-saas:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -12px rgba(0,0,0,0.1), 0 0 0 1px var(--blue-300);
    border-color: var(--blue-300);
}
.feature-icon-saas {
    width: 48px;
    height: 48px;
    background: var(--blue-50);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-600);
    font-size: 1.25rem;
    margin-bottom: 20px;
}

/* ====== Inline Metric Badges ====== */
.metric-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    transition: all 0.3s ease;
}
.metric-badge:hover {
    border-color: var(--blue-200);
    background: white;
    box-shadow: 0 4px 16px -4px rgba(0,0,0,0.06);
}
.metric-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.02em;
    line-height: 1;
}
.metric-number-sm {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.02em;
}

/* ====== Testimonial Card SaaS ====== */
.testimonial-card-saas {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.35s ease;
}
.testimonial-card-saas:hover {
    box-shadow: 0 12px 30px -8px rgba(0,0,0,0.08);
    border-color: var(--gray-300);
}
.stars-gold {
    color: #f59e0b;
}

/* ====== Accordion SaaS ====== */
.accordion-saas {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    transition: all 0.3s ease;
    overflow: hidden;
}
.accordion-saas:hover {
    border-color: var(--gray-300);
}
.accordion-saas.active {
    border-color: var(--blue-300);
    box-shadow: 0 4px 20px -6px rgba(59,130,246,0.1);
}

/* ====== CTA SaaS ====== */
.cta-saas-bg {
    background: linear-gradient(135deg, #1e40af, #2563eb, #3b82f6);
    position: relative;
    overflow: hidden;
}
.cta-saas-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(255,255,255,0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(255,255,255,0.05) 0%, transparent 50%);
}

/* ====== Footer SaaS ====== */
.footer-saas {
    background: var(--gray-900);
}

/* ====== About Page Styles ====== */
.about-hero-bg {
    background: linear-gradient(180deg, #f8fafc, #ffffff);
}
.about-stat-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    transition: all 0.3s ease;
}
.about-stat-card:hover {
    box-shadow: 0 8px 25px -8px rgba(0,0,0,0.08);
    border-color: var(--blue-200);
}
.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--blue-600);
    font-weight: 700;
}

/* ====== Contact Page Styles ====== */
.contact-input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: 10px;
    font-size: 0.875rem;
    transition: all 0.25s ease;
    outline: none;
    background: white;
}
.contact-input:focus {
    border-color: var(--blue-500);
    box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}
.contact-input::placeholder {
    color: var(--gray-400);
}

/* ====== Breadcrumb ====== */
.breadcrumb-link {
    color: var(--gray-400);
    transition: color 0.2s;
}
.breadcrumb-link:hover {
    color: var(--blue-600);
}

/* ====== Responsive ====== */
@media (max-width: 768px) {
    .float-ui-el { display: none; }
    .metric-number { font-size: 1.5rem; }
    .tab-nav-btn { padding: 8px 16px; font-size: 0.8rem; }
}

/* ====== Active nav link ====== */
.nav-link-active {
    color: var(--blue-600) !important;
    font-weight: 600;
}
