/* =========================================
   1. Typography & Reset (Premium Stack)
   ========================================= */


/* =========================================
   2. Design Tokens (CSS Variables)
   ========================================= */
:root {
    /* --- Palette: Refined HSL for Richness --- */
    /* Primary: Deep Electric Blue */
    --primary-hue: 220;
    --primary-sat: 90%;
    --primary-light: 56%;
    --primary: hsl(var(--primary-hue), var(--primary-sat), var(--primary-light));
    --primary-dark: hsl(var(--primary-hue), var(--primary-sat), 45%);
    --primary-soft: hsl(var(--primary-hue), var(--primary-sat), 96%);
    --grid-gap: 4rem;
    --section-padding: 6rem;

    /* Secondary: Vibrant Orange (Logo Accent) */
    --secondary-hue: 24;
    --secondary-sat: 90%;
    --secondary-light: 57%;
    /* Matches #F46C2E approx */
    --secondary: hsl(var(--secondary-hue), var(--secondary-sat), var(--secondary-light));

    /* Brand Gradient (Logo Theme) */
    --brand-gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --brand-gradient-hover: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary) 100%);

    /* Neutrals: Cool Slates */
    --text-main: hsl(215, 28%, 17%);
    /* Deep Slate */
    --text-muted: hsl(215, 16%, 47%);
    /* Balanced Gray */
    --text-light: hsl(215, 20%, 65%);
    /* Soft Gray */
    --bg-body: #ffffff;
    --bg-surface: #f8fafc;
    --bg-surface-alt: #f1f5f9;
    --border: #e2e8f0;

    /* Status */
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;

    /* --- Typography --- */
    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-heading: var(--font-sans);
    --font-body: var(--font-sans);

    /* --- Shadows & Effects --- */
    --shadow-premium: 0 20px 50px -12px rgba(var(--primary-hue), var(--primary-sat), 10%, 0.12);
    --shadow-glow: 0 0 20px rgba(var(--primary-hue), var(--primary-sat), var(--primary-light), 0.3);

    /* --- Glassmorphism --- */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-blur: 12px;

    /* --- Spacing & Layout --- */
    --container-width: 1200px;
    --header-height: 80px;
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;

    /* --- Shapes --- */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    /* --- Depth (Premium Shadows) --- */
    /* Layered shadows for realistic depth */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 20px rgba(11, 108, 255, 0.15);

    /* --- Animation --- */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* =========================================
   3. Base / Reset
   ========================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
}

/* Global H1 Base (Architecture) */
h1 {
    font-family: var(--font-heading);
    font-weight: 950;
    letter-spacing: -0.06em;
    line-height: 1.1;
    color: var(--text-main);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1.5rem;
    max-width: 65ch;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Accessibility Focus */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* --- Utility Classes --- */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.text-justify {
    text-align: justify;
}

/* --- Justified Body Copy ---
   Applies to descriptive paragraphs across sections,
   cards, FAQ answers, and legal/policy pages.
   Excludes hero sections and centered elements. */
.section>.container>p:not(.text-center),
.section>.container>div:not(.text-center)>p:not(.text-center),
.glass-card>p:not(.text-center),
.proof-card>p:not(.text-center),
.card>p:not(.text-center),
.faq-content,
.faq-content p {
    text-align: justify;
}

/* Prevent justify on hero paragraphs (short, punchy copy) */
.hero-content p,
.hero-centered p,
.hero-premium p {
    text-align: left;
}

/* On small screens, revert to left-align to avoid
   awkward spacing with short line lengths */
@media (max-width: 480px) {

    .section>.container>p:not(.text-center),
    .section>.container>div:not(.text-center)>p:not(.text-center),
    .glass-card>p:not(.text-center),
    .proof-card>p:not(.text-center),
    .card>p:not(.text-center),
    .faq-content,
    .faq-content p {
        text-align: left;
    }
}

/* =========================================
   4. Layout System
   ========================================= */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Responsive Variables */
@media (max-width: 768px) {
    :root {
        --grid-gap: 2rem;
        --section-padding: 4rem;
    }
}

@media (max-width: 1024px) {
    .desktop-only {
        display: none !important;
    }
}

.section {
    padding: var(--space-20) 0;
}

.section-sm {
    padding: var(--space-12) 0;
}

.text-center {
    text-align: center;
}

/* Grid Components */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* =========================================
   5. Components
   ========================================= */

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
    line-height: 1;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--brand-gradient);
    color: white;
    box-shadow: 0 4px 12px rgba(var(--primary-hue), var(--primary-sat), var(--primary-light), 0.4);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(var(--primary-hue), var(--primary-sat), var(--primary-light), 0.5);
    background: var(--brand-gradient-hover);
}

.btn-secondary {
    background-color: white;
    color: var(--text-main);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background-color: var(--bg-surface);
    border-color: #cbd5e1;
    color: var(--primary);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--border);
    color: var(--text-main);
    padding: 0.75rem 1.75rem;
    /* compensate borders */
}

.btn-outline:hover {
    border-color: var(--text-main);
    background: transparent;
}

/* --- Cards --- */
.card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    border: 1px solid var(--border);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(var(--primary-hue), var(--primary-sat), var(--primary-light), 0.3);
}

/* --- Badges --- */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- Forms --- */
.form-group {
    margin-bottom: 1.5rem;
}

.label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.input,
.textarea,
.select {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-surface);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.input:focus,
.textarea:focus,
.select:focus {
    outline: none;
    background: white;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-soft);
}

/* =========================================
   6. Navigation (Premium Sticky)
   ========================================= */
.main-header {
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.8);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.main-nav>ul {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.main-nav a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary);
}

/* Header CTAs */
.header-cta {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-main);
    cursor: pointer;
}

/* =========================================
   7. Specific Section Strategies
   ========================================= */

/* Hero: Mesh Gradient (Premium Multi-Color) */
.mesh-gradient-bg {
    background-color: #ffffff;
    background-image:
        radial-gradient(at 0% 0%, hsla(220, 100%, 96%, 1) 0, transparent 50%),
        radial-gradient(at 100% 100%, hsla(24, 100%, 96%, 1) 0, transparent 50%),
        radial-gradient(at 100% 0%, hsla(220, 100%, 97%, 1) 0, transparent 50%);
    position: relative;
}

.text-gradient {
    /* Use Brand Gradient (Blue -> Orange) for high impact */
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    /* Basic fallback color */
    color: var(--primary);
}

.text-gradient-orange {
    background: linear-gradient(135deg, var(--secondary) 0%, #fb923c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.text-gradient-blue {
    background: linear-gradient(135deg, var(--primary) 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* Logo Strip */
.logo-strip {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
    opacity: 0.7;
    filter: grayscale(100%);
    transition: var(--transition);
}

.logo-strip:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Timeline Components */
/* Timeline Components (Premium Upgrade) */
.timeline-wrapper {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 1000px;
    margin: 5rem auto 0;
    gap: 2rem;
}

/* Connecting Line */
.timeline-wrapper::before {
    content: '';
    position: absolute;
    top: 25px;
    /* Aligned with marker center */
    left: 50px;
    right: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 50%, var(--secondary) 100%);
    z-index: 0;
    border-radius: 10px;
    opacity: 0.3;
}

.timeline-step {
    position: relative;
    z-index: 1;
    text-align: center;
    flex: 1;
}

/* Marker Circle */
.step-marker {
    width: 50px;
    height: 50px;
    background: white;
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--primary);
    margin: 0 auto 2rem;
    position: relative;
    box-shadow: 0 0 0 8px var(--bg-surface), 0 0 0 10px rgba(var(--primary-hue), var(--primary-sat), var(--primary-light), 0.1);
    /* Mask for line */
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.timeline-step:hover .step-marker {
    transform: scale(1.15);
    background: var(--primary);
    color: white;
    box-shadow: 0 0 0 8px var(--bg-surface), 0 0 20px rgba(var(--primary-hue), var(--primary-sat), var(--primary-light), 0.4);
}

/* Step Typography */
.timeline-step h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.timeline-step p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
}

/* Responsive Vertical Timeline */
@media (max-width: 768px) {
    .timeline-wrapper {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 20px;
        gap: 3rem;
        margin-top: 3rem;
    }

    .timeline-wrapper::before {
        top: 0;
        bottom: 0;
        left: 44px;
        /* Align with marker center approx */
        width: 3px;
        height: auto;
        right: auto;
        background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
    }

    .timeline-step {
        text-align: left;
        display: flex;
        gap: 2rem;
        align-items: flex-start;
    }

    .step-marker {
        margin: 0;
        flex-shrink: 0;
    }
}

/* Pricing Cards */
.pricing-card-featured {
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-xl);
    transform: scale(1.02);
}

.price-unit {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.05em;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-weight: 500;
    color: var(--text-muted);
}

.icon-check {
    color: var(--primary);
    background: var(--primary-soft);
    border-radius: 50%;
    padding: 4px;
    width: 24px;
    height: 24px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow-lg);
}

/* Animations */
[data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: 0.8s ease-out;
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================
   8. Unified Responsive & Header/Footer Polish
   ========================================= */

/* --- Desktop Header (Default) --- */
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.main-header {
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    transition: all 0.3s ease;
}

.main-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.top-bar {
    background: #0f172a;
    color: #f8fafc;
    font-size: 0.85rem;
    padding: 0.5rem 0;
    font-weight: 500;
}

.mobile-nav-cta {
    display: none;
}

/* --- Mobile Menu Logic (< 1024px) --- */
@media (max-width: 1024px) {
    .top-bar {
        display: none;
    }

    .mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background: transparent;
        border: none;
        color: var(--text-main);
        font-size: 1.5rem;
        cursor: pointer;
        z-index: 1002;
    }

    .mobile-toggle.active .icon-menu {
        display: none;
    }

    .mobile-toggle.active .icon-close {
        display: block !important;
    }

    .mobile-toggle:active {
        background: var(--bg-surface);
        border-radius: 8px;
    }

    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100dvh;
        /* Replaces 100vh for better mobile viewport support */
        background: #ffffff;
        -webkit-backdrop-filter: blur(20px);
        backdrop-filter: blur(20px);
        z-index: 999;

        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 80px;
        /* Aligned with header height */
        overflow-y: auto;
        overflow-x: hidden;

        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateX(100%);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .main-nav.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(0);
    }

    .main-nav>ul {
        flex-direction: column;
        gap: 0;
        text-align: left;
        width: 100%;
    }

    .main-nav li {
        width: 100%;
        border-bottom: 1px solid var(--border);
    }

    .main-nav li:last-child {
        border-bottom: none;
    }

    .main-nav a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1rem 1.5rem;
        font-size: 1.05rem;
        font-weight: 600;
        color: var(--text-main);
        border-left: 4px solid transparent;
    }

    .main-nav a:hover,
    .main-nav a:active,
    .has-dropdown.active>a {
        background: var(--bg-surface-alt);
        color: var(--primary);
        border-left-color: var(--primary);
    }

    .mobile-nav-cta {
        display: flex;
        flex-direction: row;
        gap: 0.75rem;
        padding: 1.25rem 1.5rem;
        margin-top: auto;
        background: white;
        border-top: 1px solid var(--border);
        position: sticky;
        bottom: 0;
        z-index: 10;
        box-shadow: 0 -10px 20px rgba(0, 0, 0, 0.02);
    }

    .mobile-nav-cta .btn {
        flex: 1;
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
        border-radius: 12px;
        justify-content: center;
        white-space: nowrap;
    }

    .mobile-nav-cta .btn-primary {
        background: var(--brand-gradient);
        color: white;
        box-shadow: 0 12px 24px -6px rgba(var(--primary-hue), var(--primary-sat), var(--primary-light), 0.5);
        border: none;
        font-weight: 700;
        letter-spacing: 0.01em;
    }

    .mobile-nav-cta .btn-secondary {
        border: 1px solid var(--border);
        background: white;
        color: var(--text-main);
        box-shadow: var(--shadow-sm);
    }

    .mobile-nav-cta .btn-secondary svg {
        color: #25D366;
        /* WhatsApp Green */
    }

    .has-dropdown.active .dropdown {
        max-height: 800px;
        opacity: 1;
        visibility: visible;
    }

    .dropdown {
        display: block !important;
        position: static !important;
        width: 100% !important;
        max-height: 0;
        opacity: 0;
        visibility: hidden;
        overflow: hidden;
        background: rgba(var(--primary-hue), var(--primary-sat), 98%, 0.8);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
        box-shadow: none !important;
        transform: none !important;
    }

    .dropdown-item {
        display: flex !important;
        align-items: center;
        gap: 1rem;
        padding: 0.75rem 1.5rem 0.75rem 3rem !important;
        color: var(--text-muted);
        text-decoration: none;
        font-size: 0.95rem;
        text-align: left;
        border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    }

    .dropdown-item:last-child {
        border-bottom: none;
    }

    .dropdown-icon {
        display: none;
        /* Simplify mobile view */
    }

    .dropdown-desc {
        display: none;
    }

    .arrow {
        width: 14px;
        height: 14px;
        transition: transform 0.3s ease;
    }

    .has-dropdown.active .arrow {
        transform: rotate(180deg);
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .header-cta {
        display: none;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .pricing-card-featured {
        transform: none;
        margin-top: 1rem;
    }
}

/* --- Desktop Logic (> 1024px) --- */
@media (min-width: 1025px) {
    .mobile-toggle {
        display: none !important;
    }

    .main-nav {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        background: transparent;
        position: static;
        inset: auto;
        padding: 0;
        overflow: visible;
    }

    .main-nav>ul {
        display: flex;
        gap: 1.5rem;
        align-items: center;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .main-nav>ul>li {
        position: relative;
    }

    /* Center Mega Menu Relative to Header/Container */
    .main-nav>ul>li.has-dropdown {
        position: static;
        /* Unglue from the specific link */
    }

    .main-nav>ul>li>a {
        font-weight: 600;
        font-size: 0.95rem;
        color: var(--text-main);
        padding: 0.5rem 0;
        transition: color 0.2s;
    }

    .main-nav>ul>li>a:hover {
        color: var(--primary);
    }

    /* Submenu Arrow Animation */
    .arrow {
        transition: transform 0.2s ease;
        margin-left: 4px;
        vertical-align: middle;
    }

    .has-dropdown:hover .arrow {
        transform: rotate(180deg);
    }
}

/* Premium Dropdown Card */
.dropdown {
    position: absolute;
    top: 80px;
    /* Exact height of header */
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: white;
    min-width: 260px;
    border-radius: 12px;
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.05);
    /* Deeper shadow */
    padding: 0.75rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1010;
    margin-top: 0;
    /* Handled by top positioning */
}

/* Mega Menu Modifier */
.mega-dropdown {
    min-width: 1000px;
    /* Wider to prevent text wrapping */
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 2.5rem;
    list-style: none !important;
    margin: 0;
}

.mega-dropdown li {
    list-style: none !important;
    margin: 0;
    padding: 0;
}

/* Company Dropdown (Premium Vertical Stack) */
.company-dropdown {
    min-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    list-style: none !important;
    /* Force reset */
    margin: 0;
}

.company-dropdown li {
    list-style: none !important;
    /* Double force */
    margin: 0;
    padding: 0;
}

.company-dropdown .dropdown-item {
    padding: 0.85rem;
    border-radius: 10px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    border: 1px solid transparent;
    align-items: center;
}

.company-dropdown .dropdown-item:hover {
    background: white;
    transform: translateY(-2px) translateX(4px);
    border-color: rgba(var(--primary-hue), var(--primary-sat), var(--primary-light), 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.company-dropdown .dropdown-icon {
    width: 42px;
    height: 42px;
    padding: 8px;
    border-radius: 10px;
    background: var(--bg-surface);
    color: var(--primary);
    box-shadow: none;
}

.company-dropdown .dropdown-item:hover .dropdown-icon {
    background: var(--brand-gradient);
    color: white;
    transform: none;
    box-shadow: 0 4px 10px rgba(var(--primary-hue), var(--primary-sat), var(--primary-light), 0.3);
}

.company-dropdown .dropdown-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.company-dropdown .dropdown-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
    max-width: 220px;
    /* Ensure wrapping */
}

/* Hover Bridge - adjusted for new positioning */
.dropdown::before {
    content: '';
    position: absolute;
    top: -20px;
    /* Bridge the gap to the header bottom */
    left: 0;
    right: 0;
    height: 20px;
    background: transparent;
}

/* Show Dropdown */
.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Dropdown Items */
.dropdown-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: var(--text-main);
    border: 1px solid transparent;
    /* Prepare for hover border */
    height: 100%;
}

.dropdown-item:hover {
    background: var(--bg-surface);
    border-color: rgba(var(--primary-hue), var(--primary-sat), var(--primary-light), 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.dropdown-icon {
    color: white;
    /* Icon itself white */
    background: var(--brand-gradient);
    /* Gradient background */
    padding: 10px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(var(--primary-hue), var(--primary-sat), var(--primary-light), 0.2);
    transition: all 0.2s ease;
}

.dropdown-item:hover .dropdown-icon {
    background: var(--brand-gradient-hover);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(var(--primary-hue), var(--primary-sat), var(--primary-light), 0.3);
}

.dropdown-content {
    display: flex;
    flex-direction: column;
}

.dropdown-title {
    font-weight: 700;
    font-size: 1rem;
    display: block;
    margin-bottom: 4px;
    color: var(--text-main);
}

.dropdown-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    font-weight: 500;
}

/* --- Hero Masterpiece Effects --- */
.mesh-gradient-bg {
    position: relative;
    background: #f8fafc;
    overflow: hidden;
}

.mesh-gradient-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 75% 25%, rgba(139, 92, 246, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 25% 75%, rgba(249, 115, 22, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.08) 0%, transparent 50%);
    filter: blur(80px);
    animation: mesh-float 20s ease-in-out infinite alternate;
    z-index: 0;
}

@keyframes mesh-float {
    0% {
        transform: translate(5%, 5%) rotate(0deg);
    }

    100% {
        transform: translate(-5%, -5%) rotate(10deg);
    }
}

.glass-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
    opacity: 0.4;
    pointer-events: none;
}

/* --- Hero Premium Updates --- */
.hero-premium {
    padding-top: calc(var(--header-height) + 4rem);
    padding-bottom: 6rem;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    text-align: left;
}

.hero-content {
    z-index: 2;
}

.hero-visual {
    position: relative;
    z-index: 1;
}

.floating-mockup {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-premium);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-premium {
        padding-top: calc(var(--header-height) + 2rem);
    }
}

/* --- Logo Marquee --- */
.logo-marquee-container {
    overflow: hidden;
    padding: 2rem 0;
    position: relative;
    width: 100%;
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.logo-marquee-content {
    display: flex;
    width: max-content;
    gap: 4rem;
    animation: marquee 40s linear infinite;
}

.logo-marquee-content:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.logo-item-new {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text-muted);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.logo-item-new:hover {
    opacity: 1;
    color: var(--text-main);
    transform: scale(1.05);
}

/* --- Premium Service Cards (Refined) --- */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    -webkit-backdrop-filter: blur(var(--glass-blur));
    backdrop-filter: blur(var(--glass-blur));
    border-radius: 20px;
    padding: 3rem 2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, transparent 50%);
    pointer-events: none;
}

.glass-card:hover {
    transform: translateY(-12px);
    border-color: var(--primary);
    box-shadow: var(--shadow-premium);
}

.glass-card .card-icon {
    width: 64px;
    height: 64px;
    background: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 16px -4px rgba(0, 0, 0, 0.05);
}

/* --- Timeline Enhancements --- */
.timeline-premium {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 4rem;
}

.timeline-premium::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--border) 20%, var(--border) 80%, transparent);
    z-index: 0;
}

.timeline-step-new {
    flex: 1;
    position: relative;
    z-index: 1;
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.timeline-step-new:hover .step-number {
    transform: scale(1.1) rotate(5deg);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

@media (max-width: 768px) {
    .timeline-premium {
        flex-direction: column;
        gap: 3rem;
    }

    .timeline-premium::before {
        display: none;
    }
}

/* --- Proof Section Enhancements --- */
.proof-card {
    background: white;
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.proof-card:hover {
    box-shadow: var(--shadow-premium);
    border-color: rgba(var(--primary-hue), var(--primary-sat), var(--primary-light), 0.3);
}

/* --- Reveal Animations (Staggered) --- */
.reveal-stagger {
    display: contents;
    /* Ensure grid/flex layout is preserved */
}

.reveal-stagger>* {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-stagger.revealed>* {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger loop for up to 6 children */
.reveal-stagger.revealed>*:nth-child(1) {
    transition-delay: 0.05s;
}

.reveal-stagger.revealed>*:nth-child(2) {
    transition-delay: 0.15s;
}

.reveal-stagger.revealed>*:nth-child(3) {
    transition-delay: 0.25s;
}

.reveal-stagger.revealed>*:nth-child(4) {
    transition-delay: 0.35s;
}

.reveal-stagger.revealed>*:nth-child(5) {
    transition-delay: 0.45s;
}

.reveal-stagger.revealed>*:nth-child(6) {
    transition-delay: 0.55s;
}

/* --- Typography Revisions --- */
h1 {
    font-size: clamp(3rem, 7vw, 4.5rem);
    letter-spacing: -0.06em;
    font-weight: 950;
    line-height: 1.1;
}

h2 {
    font-size: clamp(2.25rem, 5vw, 3rem);
    letter-spacing: -0.04em;
    font-weight: 850;
    line-height: 1.1;
}

/* Custom H1 Reveal */
.reveal-h1 {
    opacity: 0;
    transform: translateY(20px);
    animation: revealUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes revealUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h3 {
    font-size: 1.75rem;
    letter-spacing: -0.02em;
    font-weight: 800;
}

@media (max-width: 768px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.25rem;
    }
}

/* --- Flagship Refinements --- */
.visual-wrapper::after {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle at center, rgba(var(--primary-hue), 90%, 56%, 0.1) 0%, transparent 70%);
    z-index: -1;
    filter: blur(40px);
}

.floating-stat-card {
    position: absolute;
    bottom: 20px;
    right: -20px;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 4;
}

/* Typography Flagship Tweaks */
.hero-premium h1 {
    font-size: clamp(2.75rem, 5.5vw, 3.85rem);
    letter-spacing: -0.05em;
    line-height: 1.15;
    margin-bottom: 2rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.05));
    transition: transform 0.4s ease;
}

.hero-premium h1:hover {
    transform: translateX(4px);
}

/* New Hero Badge */
.badge-hero {
    background: white;
    color: var(--primary);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    transition: var(--transition);
}

.badge-hero:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

@media (max-width: 1200px) {
    .floating-stat-card {
        bottom: 10px;
        right: 10px;
        scale: 0.85;
    }

    .hero-premium h1 {
        font-size: clamp(2.75rem, 8vw, 3.75rem);
    }
}

@media (max-width: 768px) {
    .floating-stat-card {
        position: relative;
        bottom: 0;
        right: 0;
        margin-top: 1rem;
        justify-content: center;
    }
}

/* --- Flagship Sheen Effect --- */
.glass-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent 45%,
            rgba(255, 255, 255, 0.1) 48%,
            rgba(255, 255, 255, 0.3) 50%,
            rgba(255, 255, 255, 0.1) 52%,
            transparent 55%);
    transform: rotate(25deg);
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    opacity: 0;
    pointer-events: none;
}

.glass-card:hover::after {
    left: 100%;
    top: 100%;
    opacity: 1;
}

/* --- Sophisticated Section Dividers --- */
.divider-architectural {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border) 50%, transparent);
    margin: 0 auto;
    width: 60%;
    opacity: 0.5;
}

.section-vibe-dark {
    background: #0f172a;
    color: white;
    border: none;
}

/* --- Marquee Speed Refinement --- */
.logo-marquee-content {
    animation: marquee 60s linear infinite;
    /* Slower for more "luxury" feel */
}

/* --- Elite Pricing Polish --- */
.badge-popular {
    background: var(--brand-gradient) !important;
    color: white !important;
    box-shadow: 0 0 20px rgba(var(--primary-hue), var(--primary-sat), var(--primary-light), 0.4);
    animation: glow-pulse 3s infinite ease-in-out;
}

@keyframes glow-pulse {

    0%,
    100% {
        box-shadow: 0 0 15px rgba(var(--primary-hue), var(--primary-sat), var(--primary-light), 0.3);
    }

    50% {
        box-shadow: 0 0 30px rgba(var(--primary-hue), var(--primary-sat), var(--primary-light), 0.6);
    }
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* --- Flagship Content Density --- */
.impact-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    padding: 6rem 0;
}

.impact-item {
    text-align: center;
}

.impact-value {
    font-size: 3.5rem;
    font-weight: 950;
    color: var(--text-main);
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: -0.04em;
}

.impact-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 800;
    color: var(--text-muted);
}

.stack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.stack-item {
    background: white;
    border: 1px solid var(--border);
    padding: 2.5rem 2rem;
    border-radius: 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.stack-item:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow-premium);
}

.stack-icon {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

/* --- Flagship Typography Refinements --- */
html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3 {
    letter-spacing: -0.05em;
    font-weight: 950;
}

p {
    line-height: 1.7;
    letter-spacing: -0.01em;
}

/* --- Mobile Elite Optimization --- */
@media (max-width: 768px) {
    .impact-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        padding: 4rem 0;
    }

    .impact-value {
        font-size: 2.5rem;
    }

    .grid-2 {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .stack-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-premium h1 {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .stack-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Dark CTA Particle Effect --- */
.cta-particle-overlay {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.3;
    pointer-events: none;
}

/* --- Final Masterpiece Polish --- */
.stack-item {
    position: relative;
    overflow: hidden;
}

.stack-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(var(--primary-hue), 90%, 56%, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stack-item:hover::before {
    opacity: 1;
}

.stack-item:hover .stack-icon {
    transform: scale(1.1) rotate(5deg);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent 45%,
            rgba(255, 255, 255, 0.2) 50%,
            transparent 55%);
    transform: rotate(30deg);
    animation: btn-shine 6s infinite ease-in-out;
}

@keyframes btn-shine {
    0% {
        left: -100%;
        top: -100%;
    }

    20%,
    100% {
        left: 100%;
        top: 100%;
    }
}

/* --- Utilities --- */
.text-gradient {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.header-cta {
    display: flex;
}

/* --- Footer Perfected --- */
.site-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 5rem 0 2rem;
    position: relative;
    font-size: 0.95rem;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--brand-gradient);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    /* Desktop: Brand | Link | Link | Contact */
    gap: 3rem;
}

.site-footer h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
    font-weight: 700;
}

.site-footer ul {
    list-style: none;
    padding: 0;
}

.site-footer li {
    margin-bottom: 0.75rem;
}

.site-footer a {
    color: #cbd5e1;
    /* Slate 300 */
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.site-footer a:hover {
    color: #fff;
    transform: translateX(2px);
}

.tagline {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.social-links a:hover {
    background: var(--brand-gradient);
    border-color: transparent;
    color: white;
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 10px 20px -5px rgba(var(--primary-hue), var(--primary-sat), var(--primary-light), 0.4),
        0 0 15px rgba(var(--secondary-hue), var(--secondary-sat), var(--secondary-light), 0.3);
}

.footer-contact-icon {
    margin-right: 0.75rem;
    color: var(--primary);
    vertical-align: middle;
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.6;
}

.footer-bottom p {
    margin: 0 auto;
    max-width: 100%;
}

/* Footer Tablet Responsive */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        /* 2 Columns on Tablet */
        gap: 2rem 1rem;
    }

    .footer-col:first-child {
        grid-column: 1 / -1;
        /* Brand takes full width on tablet top */
        margin-bottom: 1rem;
    }
}

/* Footer Mobile Responsive */
@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        /* 1 Column on Mobile */
        text-align: left;
    }

    .site-footer {
        padding: 3rem 0 2rem;
    }

    .footer-bottom {
        margin-top: 2rem;
    }
}

/* =========================================
   12. Testimonial Marquee (Infinite Scroll)
   ========================================= */
.marquee-viewport {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: scrollLeft 60s linear infinite;
    padding-left: 2rem;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-track .proof-card {
    width: 450px;
    flex-shrink: 0;
    white-space: normal;
    /* Ensure text wraps */
    margin: 0;
    /* Reset margins if any */
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
        /* Scroll half the width (the original set) */
    }
}

/* Mobile Adjustments for Marquee */
@media (max-width: 768px) {
    .marquee-track .proof-card {
        width: 320px;
    }
}

/* --- FAQ Accordion --- */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.faq-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: 0 10px 25px -5px rgba(var(--primary-hue), var(--primary-sat), var(--primary-light), 0.1);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-main);
}

.faq-icon {
    width: 24px;
    height: 24px;
    position: relative;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: var(--text-muted);
    border-radius: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

/* Horizontal line */
.faq-icon::before {
    width: 14px;
    height: 2px;
}

/* Vertical line */
.faq-icon::after {
    width: 2px;
    height: 14px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-item.active .faq-icon::before,
.faq-item.active .faq-icon::after {
    background: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0, 1, 0, 1);
    background: #fcfcfd;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    transition: all 0.3s cubic-bezier(1, 0, 1, 0);
}

.faq-content {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Spacer for Fixed Header */
.header-spacer {
    height: var(--header-height);
}

/* =========================================
   8. Mobile Navigation & Responsiveness
   ========================================= */

/* Mobile Toggle */
@media (max-width: 992px) {
    .mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1002;
    }

    .mobile-toggle.active .icon-menu {
        display: none;
    }

    .mobile-toggle.active .icon-close {
        display: block;
    }

    /* Mobile Nav Overlay */
    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: white;
        z-index: 1001;
        padding: calc(var(--header-height) + 2rem) 1.5rem 2rem;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        overflow-y: auto;
    }

    .main-nav.active {
        transform: translateX(0);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    }

    .main-nav>ul {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
        text-align: center;
    }

    .main-nav a {
        font-size: 1.25rem;
    }

    /* Mobile Dropdowns */
    .has-dropdown>a .arrow {
        transform: rotate(90deg);
    }

    .mega-dropdown {
        position: static;
        box-shadow: none;
        border: none;
        padding: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        /* Hidden by default */
        background: var(--bg-surface);
        margin-top: 1rem;
        border-radius: var(--radius-md);
        width: 100%;
        min-width: unset;
    }

    .has-dropdown.active .mega-dropdown {
        display: block;
        /* Toggled via JS */
        animation: fadeIn 0.3s ease;
    }

    /* Hide desktop CTAs in header if they don't fit */
    .header-cta {
        display: none;
    }
}

/* Utility: Responsive Table */
.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
}

/* =========================================
   9. Architectural Differentiation (New)
   ========================================= */

/* A. Focused Authority (Service Pages) */
.hero-centered {
    text-align: center;
    padding-top: 10rem;
    padding-bottom: 8rem;
    position: relative;
    overflow: hidden;
}

.hero-centered .hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.glass-dock {
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-top: 3rem;
    display: inline-block;
}

/* Tinted Meshes */
.mesh-gradient-orange {
    background-color: #ffffff;
    background-image:
        radial-gradient(at 0% 0%, hsla(24, 100%, 96%, 1) 0, transparent 50%),
        radial-gradient(at 100% 100%, hsla(40, 100%, 96%, 1) 0, transparent 50%);
}

.mesh-gradient-green {
    background-color: #ffffff;
    background-image:
        radial-gradient(at 0% 0%, hsla(150, 100%, 96%, 1) 0, transparent 50%),
        radial-gradient(at 100% 100%, hsla(170, 100%, 96%, 1) 0, transparent 50%);
}


/* B. Executive Dark Mode (Pricing) */
.hero-dark {
    background: #0f172a;
    color: white;
    padding-top: 10rem;
    padding-bottom: 6rem;
    position: relative;
}

.hero-dark h1,
.hero-dark h2,
.hero-dark p {
    color: white;
}

.hero-dark .text-muted {
    color: #94a3b8;
}

.hero-dark .badge {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.1);
}

.glass-effect-dark {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}


/* C. Split-Screen Portal (Contact) */
.hero-split {
    display: flex;
    min-height: 100vh;
    padding: 0;
    margin: 0;
}

.split-left {
    flex: 1;
    background: #0f172a;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6rem 4rem;
    position: relative;
}

.split-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6rem 4rem;
    background: white;
}

@media (max-width: 1024px) {
    .hero-split {
        flex-direction: column;
        min-height: 0;
    }

    .split-left,
    .split-right {
        padding: 4rem 1.5rem;
        flex: none;
    }

    .split-left {
        order: 2;
    }

    .split-right {
        order: 1;
        padding-top: calc(var(--header-height) + 2rem);
    }
}

/* =========================================
   10. Density & Hero Refinements (Polishing)
   ========================================= */

/* 1. Tighter Hero Section */
.hero-premium {
    padding-top: 8rem !important;
    /* Reduced from 10rem */
    padding-bottom: 4rem !important;
    /* Reduced from 8rem */
}

/* 2. Reduced Section Spacing */
.section {
    padding: 4rem 0 !important;
    /* Reduced from 5rem+ */
}

.section-sm {
    padding: 2.5rem 0 !important;
    /* Reduced from 3rem */
}

/* 3. Tighter Typography Margins */
h1 {
    margin-bottom: 1rem !important;
}

h2 {
    margin-bottom: 1rem !important;
}

p {
    margin-bottom: 1.25rem !important;
}

/* 4. Architectural Divider Spacing */
.divider-architectural {
    height: 1px;
    background: var(--border);
    margin: 2rem 0 !important;
    /* Tightened from likely default */
    opacity: 0.5;
}

/* 5. Mobile Optimization */
@media (max-width: 768px) {
    .hero-premium {
        padding-top: 6rem !important;
        padding-bottom: 3rem !important;
        text-align: center;
    }

    .hero-premium .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-content {
        margin: 0 auto;
    }
}

/* =========================================
   11. Premium UI Polish (New)
   ========================================= */

/* Hero Check Pills */
.check-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 0.6rem 1.25rem;
    /* Larger padding for premium feel */
    border-radius: 100px;
    border: 1px solid var(--border);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    /* Softer shadow */
    transition: var(--transition);
    cursor: default;
}

.check-pill:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

/* Service Icon Colors */
.icon-box-primary {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(var(--primary-hue), var(--primary-sat), var(--primary-light), 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.glass-card:hover .icon-box-primary {
    background: var(--primary);
    color: white;
    transform: scale(1.1) rotate(-5deg);
}

/* Specific Service Tints */
.service-blue .icon-box-primary {
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
}

.service-blue:hover .icon-box-primary {
    background: #3b82f6;
    color: white;
}

.service-orange .icon-box-primary {
    color: #f97316;
    background: rgba(249, 115, 22, 0.1);
}

.service-orange:hover .icon-box-primary {
    background: #f97316;
    color: white;
}

.service-green .icon-box-primary {
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.service-green:hover .icon-box-primary {
    background: #10b981;
    color: white;
}

/* Table Upgrade */
.table th {
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.85rem !important;
}

.highlight-column {
    background: rgba(var(--primary-hue), var(--primary-sat), var(--primary-light), 0.03);
    border-left: 1px solid rgba(var(--primary-hue), var(--primary-sat), var(--primary-light), 0.1);
    border-right: 1px solid rgba(var(--primary-hue), var(--primary-sat), var(--primary-light), 0.1);
}

/* =========================================
   9. 404 Page (Premium Effects)
   ========================================= */

/* Grid Overlay */
.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(var(--primary-hue), var(--primary-sat), var(--primary-light), 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--primary-hue), var(--primary-sat), var(--primary-light), 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
    mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
    pointer-events: none;
    z-index: 0;
}

/* Glitch Effect */
.text-glitch {
    position: relative;
    font-size: clamp(8rem, 20vw, 20rem);
    font-weight: 950;
    line-height: 1;
    color: var(--primary);
    letter-spacing: -0.05em;
    animation: glitch-skew 4s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite both;
    z-index: 1;
}

.text-glitch::before,
.text-glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
}

.text-glitch::before {
    left: 2px;
    text-shadow: -2px 0 #ff00c1;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.text-glitch::after {
    left: -2px;
    text-shadow: -2px 0 #00fff9;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-skew {
    0% {
        transform: skew(0deg);
    }

    10% {
        transform: skew(-2deg);
    }

    20% {
        transform: skew(2deg);
    }

    30% {
        transform: skew(0deg);
    }

    40% {
        transform: skew(1deg);
    }

    50% {
        transform: skew(-1deg);
    }

    60% {
        transform: skew(0deg);
    }

    100% {
        transform: skew(0deg);
    }
}

@keyframes glitch-anim {
    0% {
        clip: rect(21px, 9999px, 15px, 0);
    }

    20% {
        clip: rect(76px, 9999px, 86px, 0);
    }

    40% {
        clip: rect(32px, 9999px, 6px, 0);
    }

    60% {
        clip: rect(54px, 9999px, 19px, 0);
    }

    80% {
        clip: rect(12px, 9999px, 64px, 0);
    }

    100% {
        clip: rect(48px, 9999px, 92px, 0);
    }
}

@keyframes glitch-anim2 {
    0% {
        clip: rect(65px, 9999px, 100px, 0);
    }

    20% {
        clip: rect(9px, 9999px, 3px, 0);
    }

    40% {
        clip: rect(53px, 9999px, 82px, 0);
    }

    60% {
        clip: rect(16px, 9999px, 2px, 0);
    }

    80% {
        clip: rect(2px, 9999px, 81px, 0);
    }

    100% {
        clip: rect(89px, 9999px, 21px, 0);
    }
}

/* --- Responsive Overrides --- */
@media (max-width: 768px) {
    .glass-dock>div {
        flex-direction: column !important;
        gap: 1.5rem !important;
        align-items: flex-start !important;
        text-align: left !important;
    }

    .glass-dock>div>div[style*="width: 1px"] {
        width: 100% !important;
        height: 1px !important;
        display: block !important;
    }

    .hero-premium {
        padding-top: calc(var(--header-height) + 2rem);
        padding-bottom: 4rem;
        background: #f8fafc;
        /* Ensure solid bg on mobile for better contrast */
    }

    .section {
        padding: var(--section-padding) 0;
    }
}

/* Glassmorphism Refinements */
.floating-stat-card {
    -webkit-backdrop-filter: blur(12px) !important;
    backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.7) !important;
    background: rgba(255, 255, 255, 0.8) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-stat-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.btn-primary:hover::after {
    opacity: 1;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;

    padding-bottom: 1rem;
}

.table-responsive::-webkit-scrollbar {
    height: 4px;
}

.table-responsive::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 10px;
}