:root {
    /* Codly brand. Values come from /css/codly-tokens.css (loaded first),
       so light/dark mode is driven by the "dark" class on <html>.
       Legacy names are kept so existing rules keep working. */
    --brand-dark: rgb(var(--navy-900));          /* Deep navy: hero, dark buttons */
    --brand-green: rgb(var(--c-primary-text));   /* Legacy name; brand blue, theme-aware for text contrast */
    --brand-primary: rgb(var(--brand-600));
    --brand-light-green: rgb(var(--c-primary-soft));
    --brand-accent: rgb(var(--accent-500));      /* Orange #F39216: calls to action */
    --brand-accent-hover: rgb(var(--accent-400));
    --on-accent: rgb(var(--navy-950));           /* Text on orange (white fails contrast) */

    /* Backgrounds & Surfaces */
    --bg-main: rgb(var(--c-bg));
    --bg-surface: rgb(var(--c-surface));
    --bg-dark: rgb(var(--navy-900));

    /* Text Colors */
    --text-primary: rgb(var(--c-text));
    --text-main: rgb(var(--c-text));
    --text-secondary: rgb(var(--c-text-muted));
    --text-muted: rgb(var(--c-text-subtle));
    --text-light: #f8fafc;                       /* Text on navy sections */

    /* Borders & Shadows */
    --border-light: rgb(var(--c-border));
    --border-focus: rgb(var(--c-border-strong));
    --shadow-sm: var(--c-shadow-xs);
    --shadow-md: var(--c-shadow-md);
    --shadow-lg: var(--c-shadow-lg);
    --shadow-premium: var(--c-shadow-lg);

    /* Radii */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-pill: 9999px;

    /* Typography: Inter throughout, matching the app */
    --font-heading: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

    /* Spacing */
    --container-max: 1200px;
    --container-padding: 1.5rem;
    --section-spacing: 5rem;
}

/* -----------------------------------------------------------
   CSS Reset & Base Styles
----------------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: clip;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--bg-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
    width: 100%;
    -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}
h1, h2 { font-weight: 700; letter-spacing: -0.025em; }

body { font-feature-settings: 'cv11', 'ss03'; }
::selection { background: rgb(var(--brand-200)); color: rgb(var(--navy-950)); }
:focus-visible { outline: 2px solid rgb(var(--c-ring)); outline-offset: 2px; }

/* Light / dark switch in the site header */
.theme-toggle {
    display: inline-grid; place-items: center;
    width: 38px; height: 38px; border-radius: 999px;
    border: 1px solid var(--border-light); background: var(--bg-surface);
    color: var(--text-secondary); cursor: pointer; transition: color .2s, border-color .2s;
}
.theme-toggle:hover { color: var(--text-primary); border-color: var(--border-focus); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
html.dark .theme-toggle .icon-sun { display: block; }
html.dark .theme-toggle .icon-moon { display: none; }

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

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

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* -----------------------------------------------------------
   Utility Classes
----------------------------------------------------------- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

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

.section-white {
    background-color: var(--bg-surface);
}

.text-center { text-align: center; }
.text-brand { color: var(--text-primary); }
.text-green { color: var(--brand-green); }

/* Typography Scale */
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.text-6xl { font-size: 3.75rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: var(--radius-lg);
    transition: all 0.2s ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--brand-dark);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: rgb(var(--navy-800)); /* Slightly lighter navy */
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}
html.dark .btn-primary { background-color: rgb(var(--brand-600)); color: #fff; }
html.dark .btn-primary:hover { background-color: rgb(var(--brand-700)); }

/* Orange call-to-action (brand rule: navy text on orange, never white) */
.btn-accent { background-color: var(--brand-accent); color: var(--on-accent); font-weight: 600; }
.btn-accent:hover { background-color: var(--brand-accent-hover); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-pill {
    border-radius: var(--radius-pill);
}

.btn-demo {
    background: rgb(var(--navy-900));
    color: #ffffff !important;
    border: 1px solid rgb(var(--c-border-strong));
    box-shadow: 0 4px 14px -2px rgba(15, 23, 42, 0.2);
}

.btn-demo:hover {
    background: rgb(var(--navy-800));
    color: rgb(var(--brand-400)) !important;
    border-color: rgb(var(--c-border-strong));
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -3px rgba(15, 23, 42, 0.3);
}

.btn-demo:active {
    transform: translateY(0);
}

/* Common Eyebrow Text (e.g. GET STARTED) */
.eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brand-green);
    margin-bottom: 0.5rem;
    display: block;
}

/* -----------------------------------------------------------
   Navbar
----------------------------------------------------------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgb(var(--c-surface) / 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    height: 72px;
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1400px; /* Give the navbar more breathing room */
    margin: 0 auto;
}

.logo {
    color: var(--text-primary);
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-list {
    display: flex;
    gap: clamp(0.5rem, 1.5vw, 1.5rem);
    align-items: center;
}

.nav-link {
    font-size: clamp(0.85rem, 1vw, 0.9375rem);
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s ease;
    white-space: nowrap;
    padding: 1.5rem 0.5rem; /* Increased padding for larger hover target */
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: clamp(0.5rem, 1.5vw, 1.25rem);
    flex-shrink: 0;
}

.nav-demo-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: clamp(0.78rem, 0.85vw, 0.875rem);
    font-weight: 600;
    color: rgb(var(--c-primary-text));
    background: rgb(var(--c-primary-soft));
    border: 1px solid rgb(var(--brand-600) / 0.3);
    padding: 0.4rem 0.875rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.nav-demo-btn:hover {
    background: rgb(var(--c-primary-soft));
    color: rgb(var(--c-primary-text));
    border-color: rgb(var(--brand-600) / 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px -2px rgb(var(--brand-600) / 0.15);
}

.nav-login {
    font-size: clamp(0.85rem, 1vw, 0.9375rem);
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s ease;
    white-space: nowrap;
}

.nav-login:hover {
    color: var(--text-primary);
}

.mobile-toggle {
    display: none;
    color: var(--text-primary);
}

/* Desktop Mega Menu (Hover logic) */
.has-mega-menu {
    position: relative;
}
.mega-menu-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}
button.mega-menu-trigger { background: none; border: 0; font: inherit; cursor: pointer; text-align: left; }
.dropdown-arrow {
    display: inline-block;
    width: 0; 
    height: 0; 
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    opacity: 0.7;
    margin-left: 2px;
    transition: transform 0.2s ease;
}
.mega-menu {
    position: absolute;
    top: 100%;
    left: -1.5rem; /* Align to left by default to prevent left-edge cutoff */
    transform: translateY(10px);
    width: max-content;
    max-width: 90vw;
    background-color: var(--bg-surface);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-premium);
    border: 1px solid var(--border-light);
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}
.mega-menu::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
}
@media (min-width: 993px) {
    .has-mega-menu:hover > .mega-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}
/* Prevent right-edge cutoff for items on the right half of the navbar */
.nav-list > li:nth-last-child(-n+4) .mega-menu {
    left: auto;
    right: -1.5rem;
}
/* Ensure there's no hover gap where the menu disappears */
.mega-menu::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
}
.mega-menu-inner {
    display: flex;
    flex-direction: column;
}
.mega-menu-title {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--brand-green);
    margin-bottom: 1.5rem;
    font-family: var(--font-body);
}
.mega-menu-grid {
    display: grid;
    gap: 1rem 3rem;
}
.grid-3-col {
    grid-template-columns: repeat(3, 1fr);
}
.grid-1-col {
    grid-template-columns: 1fr;
}
.mega-menu-link {
    font-size: 0.9375rem;
    color: var(--text-primary);
    padding: 0.25rem 0;
    display: block;
    transition: color 0.2s ease;
}
.mega-menu-link:hover {
    color: var(--brand-green);
}
.compact-menu {
    min-width: 250px;
}

/* Responsive Navbar */
/* ===========================================================
   MOBILE APP-STYLE OFF-CANVAS DRAWER & NAVIGATION
   =========================================================== */
.mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
}

.mobile-nav-backdrop.active {
    opacity: 1;
    visibility: visible;
}

body.drawer-open {
    overflow: hidden !important;
}

.mobile-drawer-top,
.mobile-drawer-search,
.mobile-drawer-quick-actions {
    display: none;
}

@media (max-width: 992px) {
    /* Slide-Over Drawer Navigation */
    .nav-menu {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        width: 86vw;
        max-width: 380px;
        height: 100vh;
        height: 100dvh;
        background-color: var(--bg-surface);
        box-shadow: -10px 0 35px rgba(15, 23, 42, 0.2);
        padding: 1.25rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
        transform: translateX(105%);
        transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 999;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    /* Drawer Header */
    .mobile-drawer-top {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-bottom: 0.875rem;
        margin-bottom: 0.875rem;
        border-bottom: 1px solid var(--border-light);
    }

    .drawer-close-btn {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: rgb(var(--c-surface-2));
        border: 1px solid rgb(var(--c-border));
        display: flex;
        align-items: center;
        justify-content: center;
        color: rgb(var(--c-text-muted));
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .drawer-close-btn:active {
        background: rgb(var(--c-surface-3));
        transform: scale(0.92);
    }

    /* In-Drawer Service Search */
    .mobile-drawer-search {
        display: block;
        position: relative;
        margin-bottom: 0.875rem;
    }

    .mobile-drawer-search input {
        width: 100%;
        padding: 0.65rem 1rem 0.65rem 2.35rem;
        background: rgb(var(--c-bg));
        border: 1px solid rgb(var(--c-border));
        border-radius: 12px;
        font-size: 0.8125rem;
        font-family: var(--font-body);
        color: var(--text-primary);
        outline: none;
        transition: border-color 0.2s;
    }

    .mobile-drawer-search input:focus {
        border-color: var(--brand-green);
        background: rgb(var(--c-surface));
        box-shadow: 0 0 0 3px rgb(var(--brand-600) / 0.1);
    }

    .mobile-drawer-search svg {
        position: absolute;
        left: 0.75rem;
        top: 50%;
        transform: translateY(-50%);
        color: rgb(var(--c-text-subtle));
        pointer-events: none;
    }

    /* In-Drawer Quick Action Buttons */
    .mobile-drawer-quick-actions {
        display: flex;
        gap: 0.5rem;
        margin-bottom: 1.25rem;
    }

    .drawer-action-btn {
        flex: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.375rem;
        padding: 0.625rem 0.75rem;
        font-size: 0.75rem;
        font-weight: 700;
        border-radius: 10px;
        text-decoration: none;
        transition: all 0.2s ease;
    }

    .drawer-action-btn.demo {
        background: rgb(var(--c-primary-soft));
        color: rgb(var(--c-primary-text));
        border: 1px solid rgb(var(--brand-600) / 0.3);
    }

    .drawer-action-btn.login {
        background: rgb(var(--c-surface-2));
        color: rgb(var(--c-text));
        border: 1px solid rgb(var(--c-border));
    }

    .drawer-action-btn.wa {
        background: rgb(var(--c-primary-soft));
        color: rgb(var(--c-primary-text));
        border: 1px solid rgb(var(--brand-600) / 0.25);
    }

    .drawer-action-btn:active {
        transform: scale(0.96);
    }

    /* Drawer Nav List & Links */
    .nav-list {
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
    }

    .nav-link {
        padding: 0.875rem 0.75rem !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        border-bottom: 1px solid rgb(var(--c-border));
        color: var(--text-primary);
        font-weight: 600;
        font-size: 0.9375rem;
        border-radius: 8px;
        cursor: pointer;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
        transition: background-color 0.15s ease, color 0.15s ease;
    }

    .nav-link:active {
        background: rgb(var(--c-surface-2));
    }

    .has-mega-menu.open > .nav-link {
        color: rgb(var(--c-primary-text)) !important;
        background-color: rgb(var(--c-primary-soft));
    }

    .dropdown-arrow {
        pointer-events: none !important;
        transition: transform 0.25s ease !important;
    }

    .has-mega-menu.open > .nav-link .dropdown-arrow {
        transform: rotate(180deg) !important;
        color: rgb(var(--c-primary-text)) !important;
    }

    /* Accordion Mega Menu Inside Drawer */
    .has-mega-menu .mega-menu {
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        box-shadow: none !important;
        border: none !important;
        border-left: 2px solid rgb(var(--brand-600)) !important;
        border-radius: 0 !important;
        padding: 0.5rem 0 0.5rem 0.875rem !important;
        margin: 0.25rem 0 0.5rem 0.5rem !important;
        display: none !important;
        background: transparent !important;
    }

    .has-mega-menu.open > .mega-menu {
        display: block !important;
        animation: drawerSubFade 0.25s ease forwards;
    }

    @keyframes drawerSubFade {
        from { opacity: 0; transform: translateY(-4px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .mega-menu-grid,
    .grid-5-col {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.125rem !important;
    }

    .mega-menu-col .mega-menu-title {
        display: block !important;
        font-size: 0.6875rem !important;
        font-weight: 800 !important;
        color: rgb(var(--c-primary-text)) !important;
        letter-spacing: 0.06em !important;
        margin: 0.5rem 0 0.35rem 0.25rem !important;
        text-transform: uppercase !important;
    }

    .light-dropdown-header {
        display: none !important;
    }

    .mega-menu-list,
    .light-dropdown-list {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.25rem !important;
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .mega-menu-link,
    .light-dropdown-list a {
        display: flex !important;
        align-items: center !important;
        min-height: 40px !important;
        padding: 0.45rem 0.75rem !important;
        color: rgb(var(--c-text-muted)) !important;
        font-size: 0.875rem !important;
        font-weight: 500 !important;
        border-radius: 6px !important;
        text-decoration: none !important;
        transition: all 0.15s ease !important;
        background: transparent !important;
    }

    .mega-menu-link:hover,
    .mega-menu-link:active,
    .light-dropdown-list a:hover,
    .light-dropdown-list a:active {
        background-color: rgb(var(--c-primary-soft)) !important;
        color: rgb(var(--c-primary-text)) !important;
        transform: translateX(4px);
    }

    .mega-menu-footer {
        display: none !important;
    }

    /* Actions Header Buttons */
    .nav-login,
    .nav-demo-btn {
        display: none !important;
    }

    .header-cta-btn {
        padding: 0.5rem 0.875rem !important;
        font-size: 0.8125rem !important;
    }

    /* Animated 3-Bar Mobile Toggle Button */
    .mobile-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        border-radius: 10px;
        background: rgb(var(--c-bg));
        border: 1px solid rgb(var(--c-border));
        cursor: pointer;
        padding: 0;
        position: relative !important;
        z-index: 1005 !important;
        transition: background 0.2s ease, border-color 0.2s ease;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    .mobile-toggle:active {
        background: rgb(var(--c-surface-2));
        transform: scale(0.94);
    }

    .hamburger-bar {
        width: 22px;
        height: 2px;
        background-color: var(--brand-dark);
        border-radius: 2px;
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
        transform-origin: center;
        pointer-events: none !important;
    }

    .mobile-toggle.active .bar-1 {
        transform: translateY(7px) rotate(45deg);
        background-color: var(--brand-green);
    }

    .mobile-toggle.active .bar-2 {
        opacity: 0;
        transform: scaleX(0);
    }

    .mobile-toggle.active .bar-3 {
        transform: translateY(-7px) rotate(-45deg);
        background-color: var(--brand-green);
    }
}

/* -----------------------------------------------------------
   Hero Section
----------------------------------------------------------- */
.hero-section {
    background-color: var(--brand-dark);
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
}

/* Decorative background glow */
.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgb(var(--brand-600) / 0.08) 0%, rgba(15, 23, 42, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-content {
    width: 100%;
}

.hero-title {
    color: var(--text-light);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    color: var(--text-muted);
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.hero-btn {
    background-color: var(--brand-accent);
    color: var(--on-accent);
}

.hero-btn:hover {
    background-color: var(--brand-accent-hover);
}

.hero-btn-outline {
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-btn-outline:hover {
    background-color: rgb(var(--c-surface) / 0.05);
    border-color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .hero-section {
        padding: 140px 0 80px;
    }
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

/* -----------------------------------------------------------
   Shared Section Styles
----------------------------------------------------------- */
.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2rem, 3vw, 2.5rem);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* -----------------------------------------------------------
   Services Section
----------------------------------------------------------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    box-shadow: var(--shadow-premium);
    border-color: var(--border-focus);
    transform: translateY(-4px);
}

.service-icon {
    width: 48px;
    height: 48px;
    background-color: var(--bg-main);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.service-desc {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-link {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9375rem;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s ease;
}

.service-link:hover {
    color: var(--brand-green);
}

/* -----------------------------------------------------------
   Customer Stories Section
----------------------------------------------------------- */
.stories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    scrollbar-width: none; /* Firefox */
}

.stories-grid::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.story-card {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    aspect-ratio: 3 / 4;
    min-width: 260px;
    background-color: var(--border-light);
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.story-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.story-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.4) 40%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem 1.5rem;
}

.story-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.story-title {
    color: var(--text-light);
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
}

@media (max-width: 1200px) {
    .stories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* -----------------------------------------------------------
   FAQ Section
----------------------------------------------------------- */
.faq-list {
    border-top: 1px solid var(--border-light);
}

.faq-item {
    border-bottom: 1px solid var(--border-light);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
    text-align: left;
    color: var(--text-primary);
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: var(--text-primary);
}

.faq-text {
    font-size: 1.05rem;
    font-weight: 500;
}

.faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--bg-main);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-green);
    transition: transform 0.3s ease, background-color 0.2s;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-question:hover .faq-icon {
    background-color: var(--brand-light-green);
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 1.5rem;
}

/* -----------------------------------------------------------
   CTA Section
----------------------------------------------------------- */
.cta-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-2xl);
    padding: 5rem 2rem;
    box-shadow: var(--shadow-sm);
    max-width: 900px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.cta-subtitle {
    color: var(--text-secondary);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.cta-btn {
    background-color: var(--brand-dark);
    color: var(--text-light);
    border-radius: var(--radius-md);
    padding: 0.875rem 2rem;
    font-size: 1rem;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.cta-btn:hover {
    background-color: rgb(var(--navy-800));
    transform: translateY(-2px);
}

/* -----------------------------------------------------------
   Footer
----------------------------------------------------------- */
.site-footer {
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border-light);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.brand-col .footer-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    max-width: 280px;
}

.footer-contact p {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.footer-heading {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.footer-links li {
    margin-bottom: 0.875rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--brand-green);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
    color: var(--text-muted);
    font-size: 0.875rem;
}

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

.social-links a {
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.social-links a:hover {
    color: var(--text-primary);
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .brand-col {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* -----------------------------------------------------------
   Animations (Scroll Reveal)
----------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.5, 0, 0, 1), transform 0.6s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* -----------------------------------------------------------
   Compliance Platform Specific Styles
----------------------------------------------------------- */

/* Utilities */
.btn-green {
    background-color: var(--brand-accent);
    color: var(--on-accent);
}
.btn-green:hover {
    background-color: var(--brand-accent-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}
.btn-outline-dark {
    border: 1px solid var(--border-focus);
    color: var(--text-primary);
    background: transparent;
}
.btn-outline-dark:hover {
    background: var(--bg-main);
}
.text-purple { color: rgb(var(--c-primary-text)); }
.bg-gradient-purple {
    background: linear-gradient(135deg, rgb(var(--brand-700)) 0%, rgb(var(--navy-600)) 100%);
    color: white;
}
.glass-panel {
    background: rgb(var(--c-surface) / 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.4);
    box-shadow: 0 8px 32px rgba(0,0,0,0.05);
}

/* Hero Section Enhancements */
.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 3rem;
    align-items: center;
}
.hero-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
}
.hero-badge svg { color: var(--brand-green); width: 20px; height: 20px; }

/* Dashboard Coded Graphic */
.dashboard-graphic {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    perspective: 1000px;
}
.dashboard-card {
    background: rgb(var(--c-surface));
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-premium);
    border: 1px solid var(--border-light);
    padding: 1.5rem;
    position: relative;
    z-index: 1;
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.3s ease;
}
.dashboard-card:hover {
    transform: rotateY(0) rotateX(0);
}
.dashboard-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 1rem;
}
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}
.stat-box {
    text-align: left;
}
.stat-box-title { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 0.25rem; }
.stat-box-val { font-size: 1.5rem; font-weight: 700; color: var(--text-primary); }
.stat-box-sub { font-size: 0.75rem; color: var(--text-muted); }
.dashboard-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.ai-assistant-widget {
    position: absolute;
    top: -30px;
    right: -30px;
    z-index: 10;
    padding: 1rem;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 6s ease-in-out infinite;
}
.ai-avatar {
    width: 40px; height: 40px;
    background: rgb(var(--c-primary-soft)); color: rgb(var(--c-primary-text));
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
}
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Trust Bar */
.trust-bar {
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    background: rgb(var(--c-surface));
    padding: 2rem 0;
    overflow: hidden;
}
.trust-logos {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}
.trust-logos:hover { filter: grayscale(0%); opacity: 1; }
.trust-logo { font-weight: 700; font-size: 1.25rem; font-family: var(--font-heading); color: var(--text-primary); }

/* AI Node Network Graphic */
.ai-network {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ai-brain {
    width: 80px; height: 80px;
    background: var(--brand-dark);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 0 10px rgb(var(--brand-600) / 0.2);
    position: relative;
    z-index: 2;
    animation: pulse 2s infinite;
}
.ai-brain svg { color: var(--brand-green); width: 40px; height: 40px; }
.ai-node {
    position: absolute;
    background: rgb(var(--c-surface));
    padding: 0.75rem 1rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid var(--border-light);
    z-index: 2;
}
.node-status { width: 10px; height: 10px; border-radius: 50%; }
.status-green { background: var(--brand-green); }
.status-orange { background: rgb(var(--accent-500)); }
.ai-lines {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
}
.ai-lines svg { width: 100%; height: 100%; stroke: var(--border-focus); stroke-dasharray: 4; animation: dash 20s linear infinite; }
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgb(var(--brand-600) / 0.4); }
    70% { box-shadow: 0 0 0 20px rgb(var(--brand-600) / 0); }
    100% { box-shadow: 0 0 0 0 rgb(var(--brand-600) / 0); }
}
@keyframes dash { to { stroke-dashoffset: 1000; } }

/* Stats Banner */
.stats-banner {
    background: var(--brand-dark);
    color: white;
    padding: 4rem 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}
.stat-item h3 { font-size: 2.5rem; color: white; margin-bottom: 0.5rem; }
.stat-item p { color: var(--text-muted); font-size: 0.875rem; }
.stat-icon { color: var(--brand-green); margin-bottom: 1rem; display: inline-block; }

/* How It Works Stepper */
.stepper-container {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 3rem;
}
.stepper-container::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--border-light);
    z-index: 1;
}
.step {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 20%;
    background: var(--bg-main); /* to cover line */
}
.step-icon {
    width: 60px; height: 60px;
    background: rgb(var(--c-surface));
    border: 2px solid var(--brand-green);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1rem;
    color: var(--brand-green);
    font-weight: 700;
}
.step-title { font-size: 1.125rem; margin-bottom: 0.5rem; }
.step-desc { font-size: 0.875rem; color: var(--text-secondary); }

/* Resources Grid */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.resource-card {
    background: rgb(var(--c-surface));
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.resource-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}
.resource-thumb {
    height: 160px;
    background: var(--bg-main);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted);
}
.resource-content { padding: 1.5rem; }
.resource-meta { font-size: 0.75rem; color: var(--brand-green); font-weight: 600; margin-bottom: 0.5rem; text-transform: uppercase; }
.resource-title { font-size: 1.125rem; margin-bottom: 1rem; }

/* Final CTA Banner */
.cta-banner-inner {
    padding: 4rem;
    border-radius: var(--radius-2xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
}
.cta-banner-inner h2 { color: white; margin-bottom: 0.5rem; font-size: 2.5rem; }
.cta-banner-inner p { color: rgba(255,255,255,0.8); margin-bottom: 0; }
.cta-actions { display: flex; gap: 1rem; }
.btn-white { background: rgb(var(--c-surface)); color: var(--text-primary); }
.btn-white:hover { background: rgb(var(--c-bg)); }
.btn-outline-white { border: 1px solid rgba(255,255,255,0.5); color: white; }
.btn-outline-white:hover { background: rgb(var(--c-surface) / 0.1); }

@media (max-width: 992px) {
    .dashboard-body { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stepper-container { flex-direction: column; gap: 2rem; }
    .stepper-container::before { display: none; }
    .step { width: 100%; text-align: left; display: flex; gap: 1.5rem; align-items: flex-start; }
    .step-icon { margin: 0; flex-shrink: 0; }
    .resources-grid { grid-template-columns: 1fr; }
    .cta-banner-inner { flex-direction: column; text-align: center; gap: 2rem; padding: 2rem; }
}

/* -----------------------------------------------------------
   Navigation Redesign Styles
----------------------------------------------------------- */
.has-mega-menu {
    position: relative;
}
.has-mega-menu.is-full-width {
    position: static;
}

/* For the full width mega menu */
@media (min-width: 993px) {
    .nav-list > li > .full-width-mega-menu {
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) translateY(10px) !important;
        width: 100vw !important;
        max-width: 1200px;
        padding: 2.5rem;
    }
    .nav-list > li:hover > .full-width-mega-menu {
        transform: translateX(-50%) translateY(0) !important;
    }
}

@media (min-width: 993px) {
    .grid-5-col {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 2rem;
    }
}

.mega-menu-col h4.mega-menu-title {
    color: rgb(var(--c-primary-text)); /* Blue header color */
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.mega-menu-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mega-menu-list .mega-menu-link {
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding: 0;
}
.mega-menu-list .mega-menu-link:hover {
    color: var(--text-primary);
    font-weight: 500;
}

/* Mega Menu Footer */
.mega-menu-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
}

.menu-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.menu-badge-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-badge-title {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.menu-badge-desc {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Light Dropdowns */
@media (min-width: 993px) {
    .nav-list > li > .light-dropdown {
        background-color: rgb(var(--c-surface));
        border: 1px solid var(--border-light);
        box-shadow: var(--shadow-lg);
        padding: 1.5rem;
        width: 280px;
    }
}
.light-dropdown-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-light);
}
.light-dropdown-icon {
    width: 36px;
    height: 36px;
    background: rgb(var(--c-primary-soft)); /* Light green background */
    color: var(--brand-green);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}
.light-dropdown-icon svg { width: 18px; height: 18px; }
.light-dropdown-header h4 {
    color: var(--text-primary);
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.light-dropdown-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.light-dropdown-list a {
    color: var(--text-secondary);
    font-size: 0.875rem;
    display: block;
    transition: color 0.2s ease;
}
.light-dropdown-list a:hover {
    color: var(--brand-green);
    font-weight: 500;
}

/* ===========================================================
   Futuristic Designer Hero Showcase & Matrix Deck
   =========================================================== */
.hero-section {
    position: relative;
    padding-top: 130px;
    padding-bottom: 70px;
    background: radial-gradient(circle at 85% 15%, rgb(var(--brand-600) / 0.08) 0%, transparent 45%),
                radial-gradient(circle at 10% 85%, rgb(var(--brand-500) / 0.06) 0%, transparent 40%),
                linear-gradient(180deg, rgb(var(--c-bg)) 0%, rgb(var(--c-surface)) 100%);
    overflow: hidden;
}

.hero-title {
    color: rgb(var(--c-text)) !important;
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -0.025em;
}

.hero-title .text-green {
    background: linear-gradient(135deg, rgb(var(--brand-600)) 0%, rgb(var(--brand-700)) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgb(var(--c-surface) / 0.9);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgb(var(--c-text-muted));
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.03);
    transition: all 0.25s ease;
}

.hero-badge:hover {
    transform: translateY(-2px);
    border-color: rgb(var(--brand-600));
    box-shadow: 0 6px 12px -2px rgb(var(--brand-600) / 0.12);
}

.hero-badge svg {
    width: 16px;
    height: 16px;
    color: rgb(var(--c-primary-text));
}

/* --- Futuristic Hub Container --- */
.futuristic-hero-wrapper {
    position: relative;
    width: 100%;
    padding: 1.5rem 0;
}

/* Ambient dynamic backdrops */
.ambient-glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.7;
    animation: orbPulse 6s ease-in-out infinite alternate;
}

.ambient-glow-orb.orb-1 {
    width: 240px;
    height: 240px;
    top: -20px;
    right: 10px;
    background: radial-gradient(circle, rgb(var(--brand-600) / 0.25) 0%, transparent 70%);
}

.ambient-glow-orb.orb-2 {
    width: 200px;
    height: 200px;
    bottom: -10px;
    left: -20px;
    background: radial-gradient(circle, rgb(var(--brand-500) / 0.2) 0%, transparent 70%);
    animation-delay: -3s;
}

@keyframes orbPulse {
    0% { transform: scale(0.9) translate(0, 0); opacity: 0.5; }
    100% { transform: scale(1.15) translate(10px, 10px); opacity: 0.85; }
}

/* Main Console Deck */
.nexus-console {
    position: relative;
    z-index: 1;
    background: rgb(var(--c-surface) / 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 24px;
    padding: 1.75rem;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.12),
                0 0 0 1px rgba(255, 255, 255, 0.8) inset;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nexus-console:hover {
    box-shadow: 0 30px 60px -12px rgba(15, 23, 42, 0.16),
                0 0 0 1px rgb(var(--brand-600) / 0.2) inset;
}

/* Console Header */
.nexus-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    margin-bottom: 1.5rem;
}

.nexus-brand-title {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.nexus-logo-dot {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, rgb(var(--brand-600)) 0%, rgb(var(--navy-900)) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 4px 8px rgb(var(--brand-600) / 0.3);
}

.nexus-title-text {
    font-size: 0.9375rem;
    font-weight: 700;
    color: rgb(var(--c-text));
    letter-spacing: -0.01em;
}

.nexus-sub-status {
    font-size: 0.6875rem;
    color: rgb(var(--c-text-subtle));
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.status-ping {
    width: 7px;
    height: 7px;
    background: rgb(var(--brand-600));
    border-radius: 50%;
    position: relative;
}

.status-ping::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: rgb(var(--brand-600) / 0.4);
    animation: pingAnim 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes pingAnim {
    0% { transform: scale(0.8); opacity: 0.8; }
    100% { transform: scale(2.4); opacity: 0; }
}

.nexus-secure-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    background: rgb(var(--c-surface-2));
    padding: 0.3125rem 0.625rem;
    border-radius: 6px;
    font-size: 0.6875rem;
    font-weight: 600;
    color: rgb(var(--c-text-muted));
}

/* Metric Strip */
.nexus-metrics-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.metric-pill-box {
    background: rgb(var(--c-surface));
    border: 1px solid rgb(var(--c-border));
    border-radius: 12px;
    padding: 0.75rem 0.875rem;
    transition: all 0.2s ease;
}

.metric-pill-box:hover {
    border-color: rgb(var(--c-border-strong));
    background: rgb(var(--c-bg));
}

.metric-pill-num {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: rgb(var(--c-text));
    line-height: 1.1;
}

.metric-pill-label {
    font-size: 0.6875rem;
    font-weight: 600;
    color: rgb(var(--c-text-subtle));
    margin-top: 0.125rem;
}

/* Interactive Pipeline Track */
.nexus-pipeline-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgb(var(--c-text-subtle));
    margin-bottom: 0.75rem;
}

.nexus-pipeline-list {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.pipeline-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgb(var(--c-surface));
    border: 1px solid rgb(var(--c-border));
    border-radius: 12px;
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
}

.pipeline-row:hover {
    border-color: rgb(var(--brand-600));
    transform: translateX(4px);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.04);
}

.pipeline-row-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pipeline-icon-wrap {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pipeline-name {
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgb(var(--c-text));
}

.pipeline-meta {
    font-size: 0.6875rem;
    color: rgb(var(--c-text-subtle));
}

.pipeline-badge-pill {
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.pipeline-badge-pill.status-done {
    background: rgb(var(--c-primary-soft));
    color: rgb(var(--c-primary-text));
}

.pipeline-badge-pill.status-active {
    background: rgb(var(--c-primary-soft));
    color: rgb(var(--c-primary-text));
}

.pipeline-badge-pill.status-gold {
    background: rgb(var(--c-accent-soft));
    color: rgb(var(--c-accent-text));
}

/* Floating 3D Designer Micro-Cards */
.float-card {
    position: absolute;
    z-index: 3;
    background: rgb(var(--c-surface) / 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 16px;
    padding: 0.875rem 1.125rem;
    box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.12),
                0 4px 8px -2px rgba(15, 23, 42, 0.04);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: transform 0.3s ease;
    animation: floatAnimation 4s ease-in-out infinite alternate;
}

.float-card:hover {
    transform: translateY(-6px) scale(1.03) !important;
}

.float-card-top-right {
    top: -24px;
    right: -20px;
    animation-delay: 0s;
}

.float-card-bottom-left {
    bottom: -22px;
    left: -24px;
    animation-delay: -2s;
}

.float-badge-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
}

.float-card-val {
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 700;
    color: rgb(var(--c-text));
    line-height: 1.2;
}

.float-card-lbl {
    font-size: 0.6875rem;
    font-weight: 500;
    color: rgb(var(--c-text-subtle));
}

@keyframes floatAnimation {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-10px); }
}

@media (max-width: 992px) {
    .futuristic-hero-wrapper {
        margin-top: 2rem;
    }
    .float-card-top-right {
        right: 0px;
        top: -16px;
    }
    .float-card-bottom-left {
        left: 0px;
        bottom: -16px;
    }
}

/* ===========================================================
   FUTURISTIC INFINITE MARQUEE TRUST BAR
   =========================================================== */
.futuristic-trust-bar {
    position: relative;
    padding: 3rem 0;
    background: linear-gradient(180deg, rgb(var(--c-surface)) 0%, rgb(var(--c-bg)) 50%, rgb(var(--c-surface)) 100%);
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    overflow: hidden;
}

.trust-bar-glow-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgb(var(--brand-600) / 0.4) 50%, transparent 100%);
}
.trust-bar-glow-line.top { top: 0; }
.trust-bar-glow-line.bottom { bottom: 0; }

.trust-bar-header {
    text-align: center;
    margin-bottom: 2rem;
}

.trust-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 1rem;
    background: rgb(var(--c-primary-soft));
    border: 1px solid rgb(var(--brand-600) / 0.3);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    color: rgb(var(--c-primary-text));
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    box-shadow: 0 2px 6px rgb(var(--brand-600) / 0.1);
}

.trust-bar-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: rgb(var(--c-text));
    letter-spacing: -0.01em;
}

/* Marquee Carousel Track */
.marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.marquee-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: marqueeScroll 28s linear infinite;
}

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

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.brand-card {
    display: inline-flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem 1.5rem;
    background: rgb(var(--c-surface) / 0.95);
    border: 1px solid rgb(var(--c-border));
    border-radius: 14px;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.03);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.brand-card:hover {
    transform: translateY(-4px) scale(1.03);
    border-color: rgb(var(--brand-600));
    box-shadow: 0 12px 24px -4px rgb(var(--brand-600) / 0.15), 0 0 0 1px rgb(var(--brand-600));
    background: rgb(var(--c-surface));
}

.brand-logo-text {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: rgb(var(--c-text));
}

.brand-sub-tag {
    font-size: 0.65rem;
    font-weight: 600;
    color: rgb(var(--c-text-subtle));
    background: rgb(var(--c-surface-2));
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    margin-left: 0.375rem;
}

/* Trust Stats Micro-Bar */
.trust-metrics-ribbon {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px dashed rgb(var(--c-border));
}

.trust-metric-item {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgb(var(--c-text-muted));
}

.trust-metric-item svg {
    width: 18px;
    height: 18px;
    color: rgb(var(--c-primary-text));
}

/* ===========================================================
   FUTURISTIC HOLOGRAPHIC ORCHESTRATION MATRIX
   =========================================================== */
.matrix-section {
    position: relative;
    padding: 6rem 0;
    background: radial-gradient(circle at 80% 30%, rgb(var(--brand-600) / 0.07) 0%, transparent 50%),
                radial-gradient(circle at 20% 70%, rgb(var(--brand-500) / 0.06) 0%, transparent 45%),
                linear-gradient(180deg, rgb(var(--c-bg)) 0%, rgb(var(--c-surface)) 50%, rgb(var(--c-bg)) 100%);
    overflow: hidden;
}

.matrix-grid-bg {
    position: absolute;
    inset: 0;
    background-size: 40px 40px;
    background-image: linear-gradient(to right, rgba(226, 232, 240, 0.4) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(226, 232, 240, 0.4) 1px, transparent 1px);
    mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
    pointer-events: none;
}

/* Hologram Visual Stage */
.hologram-stage {
    position: relative;
    width: 100%;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Central Core */
.core-hub-wrap {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
}

.core-pulse-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgb(var(--brand-600) / 0.4);
    animation: rotateRing 20s linear infinite;
}

.core-pulse-ring.ring-1 {
    width: 240px;
    height: 240px;
}

.core-pulse-ring.ring-2 {
    width: 380px;
    height: 380px;
    border: 1px solid rgb(var(--brand-500) / 0.2);
    animation-direction: reverse;
    animation-duration: 30s;
}

@keyframes rotateRing {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.core-center-sphere {
    width: 88px;
    height: 88px;
    background: linear-gradient(135deg, rgb(var(--navy-900)) 0%, rgb(var(--navy-800)) 100%);
    border: 2px solid rgb(var(--brand-600));
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 0 35px rgb(var(--brand-600) / 0.35), 0 10px 25px rgba(15, 23, 42, 0.2);
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.core-center-sphere > * {
    transform: rotate(-45deg);
}

.core-center-sphere:hover {
    transform: rotate(45deg) scale(1.08);
}

.core-center-title {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgb(var(--c-primary-text));
    margin-top: 0.2rem;
}

/* Orbiting Hologram Service Nodes */
.holo-node {
    position: absolute;
    z-index: 5;
    background: rgb(var(--c-surface) / 0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 16px;
    padding: 0.875rem 1.25rem;
    box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.08), 0 4px 10px rgba(15, 23, 42, 0.03);
    display: flex;
    align-items: center;
    gap: 0.875rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.holo-node:hover {
    transform: translateY(-6px) scale(1.04);
    box-shadow: 0 20px 40px -10px rgb(var(--brand-600) / 0.2), 0 0 0 1.5px rgb(var(--brand-600));
}

.holo-node.node-top-left {
    top: 15px;
    left: -10px;
    animation: float1 4s ease-in-out infinite alternate;
}

.holo-node.node-top-right {
    top: 25px;
    right: -15px;
    animation: float2 4.5s ease-in-out infinite alternate;
}

.holo-node.node-bottom-left {
    bottom: 30px;
    left: -20px;
    animation: float2 5s ease-in-out infinite alternate;
}

.holo-node.node-bottom-right {
    bottom: 20px;
    right: -10px;
    animation: float1 4.2s ease-in-out infinite alternate;
}

@keyframes float1 {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-8px); }
}

@keyframes float2 {
    0% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

.holo-node-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.holo-node-name {
    font-size: 0.875rem;
    font-weight: 700;
    color: rgb(var(--c-text));
    line-height: 1.2;
}

.holo-node-status {
    font-size: 0.6875rem;
    font-weight: 600;
    margin-top: 0.2rem;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.holo-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

/* Connecting Canvas Lines */
.holo-lines-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.holo-beam {
    stroke-dasharray: 6 6;
    animation: strokeDash 15s linear infinite;
}

@keyframes strokeDash {
    0% { stroke-dashoffset: 200; }
    100% { stroke-dashoffset: 0; }
}

/* Live Telemetry HUD Bar (Bottom of hologram) */
.hud-telemetry-bar {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 6;
    background: rgb(var(--navy-900));
    color: #f8fafc;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 9999px;
    padding: 0.5rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.3);
    font-size: 0.6875rem;
    font-weight: 600;
    white-space: nowrap;
}

.hud-pill-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.hud-green-dot {
    width: 6px;
    height: 6px;
    background: rgb(var(--brand-600));
    border-radius: 50%;
    box-shadow: 0 0 8px rgb(var(--brand-600));
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hologram-stage {
        min-height: 420px;
        margin-top: 2rem;
    }
    .holo-node.node-top-left { left: 0px; top: 0px; }
    .holo-node.node-top-right { right: 0px; top: 10px; }
    .holo-node.node-bottom-left { left: 0px; bottom: 10px; }
    .holo-node.node-bottom-right { right: 0px; bottom: 0px; }
    .core-pulse-ring.ring-2 { width: 300px; height: 300px; }
}

/* ===========================================================
   FUTURISTIC SERVICES GRID & FILTER SYSTEM
   =========================================================== */
.services-filter-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.625rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.filter-pill-btn {
    padding: 0.5rem 1.125rem;
    background: rgb(var(--c-surface));
    border: 1px solid rgb(var(--c-border));
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgb(var(--c-text-muted));
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.filter-pill-btn:hover {
    border-color: rgb(var(--brand-600));
    color: rgb(var(--c-text));
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgb(var(--brand-600) / 0.1);
}

.filter-pill-btn.active {
    background: rgb(var(--navy-900));
    color: #ffffff;
    border-color: rgb(var(--navy-900));
    box-shadow: 0 6px 15px rgba(15, 23, 42, 0.15);
}

.filter-pill-btn.active .filter-count {
    background: rgb(var(--brand-600));
    color: #ffffff;
}

.filter-count {
    font-size: 0.6875rem;
    padding: 0.125rem 0.4rem;
    background: rgb(var(--c-surface-2));
    border-radius: 9999px;
    color: rgb(var(--c-text-subtle));
    font-weight: 700;
    transition: all 0.2s ease;
}

.futuristic-service-card {
    position: relative;
    padding: 2.25rem;
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    background: rgb(var(--c-surface));
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.futuristic-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, rgb(var(--brand-600)), rgb(var(--brand-500)));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.futuristic-service-card:hover {
    transform: translateY(-8px);
    border-color: rgb(var(--brand-600) / 0.4);
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.08), 0 0 0 1px rgb(var(--brand-600) / 0.15);
}

.futuristic-service-card:hover::before {
    opacity: 1;
}

.service-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.service-badge-tag {
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 0.25rem 0.625rem;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.service-badge-tag.fast { background: rgb(var(--c-primary-soft)); color: rgb(var(--c-primary-text)); }
.service-badge-tag.popular { background: rgb(var(--c-accent-soft)); color: rgb(var(--c-accent-text)); }
.service-badge-tag.verified { background: rgb(var(--c-primary-soft)); color: rgb(var(--c-primary-text)); }

.service-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.25rem;
    border-top: 1px solid rgb(var(--c-border));
    margin-top: 1.5rem;
}

.service-price-hint {
    font-size: 0.75rem;
    color: rgb(var(--c-text-subtle));
    font-weight: 500;
}

.service-price-hint strong {
    color: rgb(var(--c-text));
    font-size: 0.875rem;
}

.service-btn-arrow {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgb(var(--c-bg));
    border: 1px solid rgb(var(--c-border));
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(var(--c-text));
    transition: all 0.25s ease;
}

.futuristic-service-card:hover .service-btn-arrow {
    background: rgb(var(--brand-600));
    color: #ffffff;
    border-color: rgb(var(--brand-600));
    transform: translateX(4px);
}

/* ===========================================================
   FUTURISTIC STATS COMMAND DECK
   =========================================================== */
.futuristic-stats-deck {
    position: relative;
    padding: 5rem 0;
    background: linear-gradient(135deg, rgb(var(--navy-900)) 0%, rgb(var(--navy-800)) 100%);
    color: #ffffff;
    overflow: hidden;
}

.stats-deck-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgb(var(--brand-600) / 0.15) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.stats-deck-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

.stat-matrix-card {
    background: rgb(var(--c-surface) / 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-matrix-card:hover {
    transform: translateY(-6px);
    background: rgb(var(--c-surface) / 0.09);
    border-color: rgb(var(--brand-600) / 0.5);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.4), 0 0 20px rgb(var(--brand-600) / 0.2);
}

.stat-matrix-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgb(var(--brand-600) / 0.15);
    color: rgb(var(--c-primary-text));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    border: 1px solid rgb(var(--brand-600) / 0.3);
}

.stat-matrix-num {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 0.375rem;
    letter-spacing: -0.02em;
}

.stat-matrix-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgb(var(--c-text-subtle));
}

.stat-spark-line {
    margin-top: 1rem;
    height: 3px;
    background: rgb(var(--c-surface) / 0.1);
    border-radius: 9999px;
    overflow: hidden;
    position: relative;
}

.stat-spark-fill {
    height: 100%;
    background: linear-gradient(90deg, rgb(var(--brand-600)), rgb(var(--brand-500)));
    border-radius: 9999px;
}

/* ===========================================================
   FUTURISTIC 5-STEP JOURNEY TIMELINE
   =========================================================== */
.futuristic-journey-deck {
    position: relative;
    padding: 6rem 0;
    background: rgb(var(--c-surface));
}

.journey-timeline-track {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
    position: relative;
    margin-top: 3.5rem;
}

.journey-track-line {
    position: absolute;
    top: 36px;
    left: 40px;
    right: 40px;
    height: 2px;
    background: linear-gradient(90deg, rgb(var(--brand-600)), rgb(var(--brand-500)), rgb(var(--brand-500)), rgb(var(--navy-500)), rgb(var(--brand-600)));
    background-size: 200% 100%;
    animation: gradientMove 6s linear infinite;
    z-index: 1;
}

@keyframes gradientMove {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

.journey-step-card {
    position: relative;
    z-index: 2;
    background: rgb(var(--c-surface));
    border: 1px solid rgb(var(--c-border));
    border-radius: 18px;
    padding: 1.5rem 1.25rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.02);
}

.journey-step-card:hover {
    transform: translateY(-8px);
    border-color: rgb(var(--brand-600));
    box-shadow: 0 16px 32px -8px rgb(var(--brand-600) / 0.15);
}

.journey-step-badge {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgb(var(--navy-900)) 0%, rgb(var(--navy-800)) 100%);
    color: rgb(var(--c-primary-text));
    border: 2px solid rgb(var(--c-surface));
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.9375rem;
    margin: -36px auto 1.25rem;
    transition: all 0.3s ease;
}

.journey-step-card:hover .journey-step-badge {
    background: rgb(var(--brand-600));
    color: #ffffff;
    box-shadow: 0 0 20px rgb(var(--brand-600) / 0.5);
}

.journey-step-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: rgb(var(--c-text));
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.journey-step-desc {
    font-size: 0.75rem;
    color: rgb(var(--c-text-subtle));
    line-height: 1.5;
}

.journey-step-tag {
    display: inline-block;
    margin-top: 0.875rem;
    font-size: 0.65rem;
    font-weight: 700;
    color: rgb(var(--c-primary-text));
    background: rgb(var(--c-primary-soft));
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
}

/* ===========================================================
   INTERACTIVE INSTANT COMPLIANCE CALCULATOR WIDGET
   =========================================================== */
.calculator-section {
    position: relative;
    padding: 5rem 0;
    background: radial-gradient(circle at 10% 20%, rgb(var(--brand-500) / 0.06) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgb(var(--brand-600) / 0.08) 0%, transparent 45%),
                rgb(var(--c-bg));
}

.calculator-wrapper {
    background: rgb(var(--c-surface));
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.08);
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

.calc-options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.875rem;
    margin: 1.5rem 0;
}

.calc-option-card {
    padding: 1rem 1.25rem;
    border: 1.5px solid rgb(var(--c-border));
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.calc-option-card:hover {
    border-color: rgb(var(--c-border-strong));
    background: rgb(var(--c-bg));
}

.calc-option-card.selected {
    border-color: rgb(var(--brand-600));
    background: rgb(var(--c-primary-soft));
    box-shadow: 0 4px 12px rgb(var(--brand-600) / 0.12);
}

.calc-radio-indicator {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid rgb(var(--c-border-strong));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.calc-option-card.selected .calc-radio-indicator {
    border-color: rgb(var(--brand-600));
}

.calc-option-card.selected .calc-radio-indicator::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgb(var(--brand-600));
}

.calc-result-deck {
    background: linear-gradient(135deg, rgb(var(--navy-900)) 0%, rgb(var(--navy-800)) 100%);
    border-radius: 20px;
    padding: 2.25rem;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.calc-result-deck::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgb(var(--brand-600) / 0.3) 0%, transparent 70%);
}

.calc-result-price {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 800;
    color: rgb(var(--c-primary-text));
    line-height: 1;
    margin: 0.5rem 0 0.25rem;
}

/* ===========================================================
   SEARCHABLE FAQ & ACCORDION
   =========================================================== */
.faq-search-wrapper {
    position: relative;
    max-width: 550px;
    margin: 0 auto 2.5rem;
}

.faq-search-input {
    width: 100%;
    padding: 1rem 1.25rem 1rem 3rem;
    border: 1.5px solid rgb(var(--c-border));
    border-radius: 9999px;
    font-size: 0.9375rem;
    font-family: inherit;
    background: rgb(var(--c-surface));
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
    transition: all 0.25s ease;
}

.faq-search-input:focus {
    outline: none;
    border-color: rgb(var(--brand-600));
    box-shadow: 0 0 0 4px rgb(var(--brand-600) / 0.15);
}

.faq-search-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgb(var(--c-text-subtle));
    pointer-events: none;
}

.faq-item {
    background: rgb(var(--c-surface));
    border: 1px solid rgb(var(--c-border));
    border-radius: 14px;
    margin-bottom: 0.875rem;
    overflow: hidden;
    transition: all 0.25s ease;
}

.faq-item:hover {
    border-color: rgb(var(--c-border-strong));
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.03);
}

.faq-item.active {
    border-color: rgb(var(--brand-600));
    box-shadow: 0 8px 20px -4px rgb(var(--brand-600) / 0.12);
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
    color: rgb(var(--c-text));
    background: transparent;
    cursor: pointer;
}

.faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgb(var(--c-surface-2));
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(var(--c-text-subtle));
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    background: rgb(var(--brand-600));
    color: #ffffff;
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0, 1, 0, 1), padding 0.35s ease;
    padding: 0 1.5rem;
    color: rgb(var(--c-text-muted));
    font-size: 0.9375rem;
    line-height: 1.65;
}

.faq-item.active .faq-answer {
    max-height: 400px;
    padding: 0 1.5rem 1.5rem;
}

/* ===========================================================
   FUTURISTIC VIP CTA PORTAL
   =========================================================== */
.vip-cta-banner {
    position: relative;
    border-radius: 28px;
    background: linear-gradient(135deg, rgb(var(--navy-900)) 0%, #1e1b4b 50%, rgb(var(--navy-900)) 100%);
    padding: 4rem 3rem;
    color: #ffffff;
    overflow: hidden;
    box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.3);
}

.vip-cta-ambient {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
}

.vip-cta-ambient.orb-a {
    width: 300px;
    height: 300px;
    top: -50px;
    right: -50px;
    background: rgb(var(--brand-600) / 0.25);
}

.vip-cta-ambient.orb-b {
    width: 250px;
    height: 250px;
    bottom: -50px;
    left: -50px;
    background: rgb(var(--brand-500) / 0.25);
}

/* Back to top float */
.back-to-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgb(var(--navy-900));
    color: #ffffff;
    border: 2px solid rgb(var(--brand-600));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.back-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top-btn:hover {
    transform: translateY(-4px);
    background: rgb(var(--brand-600));
    box-shadow: 0 15px 30px rgb(var(--brand-600) / 0.4);
}

@media (max-width: 992px) {
    .stats-deck-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .journey-timeline-track {
        grid-template-columns: 1fr;
    }
    .journey-track-line {
        display: none;
    }
    .journey-step-badge {
        margin: 0 auto 1rem;
    }
    .calculator-wrapper {
        grid-template-columns: 1fr;
    }
    .calc-options-grid {
        grid-template-columns: 1fr;
    }
    .stories-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ===========================================================
   BLOG LISTING & ARTICLE STYLES
   =========================================================== */
.blog-hero-section {
    position: relative;
    padding: 5rem 0 3.5rem;
    background: radial-gradient(circle at 10% 20%, rgb(var(--brand-600) / 0.08) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgb(var(--brand-500) / 0.08) 0%, transparent 45%),
                rgb(var(--c-surface));
    border-bottom: 1px solid rgb(var(--c-border));
}

.blog-featured-banner {
    background: rgb(var(--c-surface));
    border: 1px solid rgb(var(--c-border));
    border-radius: 24px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.06);
    margin-bottom: 4rem;
    transition: all 0.3s ease;
}

.blog-featured-banner:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 50px -12px rgb(var(--brand-600) / 0.15);
    border-color: rgb(var(--brand-600) / 0.4);
}

.blog-featured-img {
    height: 100%;
    min-height: 380px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.blog-featured-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-post-card {
    background: rgb(var(--c-surface));
    border: 1px solid rgb(var(--c-border));
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-post-card:hover {
    transform: translateY(-8px);
    border-color: rgb(var(--brand-600) / 0.4);
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.08);
}

.blog-card-img-wrap {
    height: 220px;
    position: relative;
    overflow: hidden;
    background: rgb(var(--c-surface-2));
}

.blog-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-post-card:hover .blog-card-img-wrap img {
    transform: scale(1.05);
}

.blog-category-tag {
    display: inline-block;
    padding: 0.25rem 0.625rem;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 6px;
    background: rgb(var(--c-primary-soft));
    color: rgb(var(--c-primary-text));
}

.blog-category-tag.tax { background: rgb(var(--c-primary-soft)); color: rgb(var(--c-primary-text)); }
.blog-category-tag.mca { background: rgb(var(--c-accent-soft)); color: rgb(var(--c-accent-text)); }
.blog-category-tag.startup { background: rgb(var(--c-primary-soft)); color: rgb(var(--navy-600)); }
.blog-category-tag.ip { background: #fce7f3; color: #db2777; }

.blog-card-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.blog-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: rgb(var(--c-text));
    line-height: 1.35;
    margin: 0.75rem 0 0.5rem;
    transition: color 0.2s ease;
}

.blog-post-card:hover .blog-card-title {
    color: rgb(var(--c-primary-text));
}

.blog-card-excerpt {
    color: rgb(var(--c-text-subtle));
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid rgb(var(--c-border));
    font-size: 0.75rem;
    color: rgb(var(--c-text-subtle));
}

/* Single Article Layout */
.article-header {
    padding: 4rem 0 2rem;
    background: rgb(var(--c-surface));
    text-align: center;
}

.article-content-wrapper {
    max-width: 820px;
    margin: 0 auto;
    padding-bottom: 5rem;
}

.article-body {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: rgb(var(--c-text-muted));
}

.article-body h2 {
    font-size: 1.75rem;
    color: rgb(var(--c-text));
    margin: 2.5rem 0 1rem;
    font-weight: 700;
}

.article-body h3 {
    font-size: 1.35rem;
    color: rgb(var(--c-text));
    margin: 2rem 0 0.75rem;
    font-weight: 600;
}

.article-body p {
    margin-bottom: 1.5rem;
}

.article-body ul, .article-body ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-body li {
    margin-bottom: 0.5rem;
}

.article-highlight-box {
    background: rgb(var(--c-primary-soft));
    border-left: 4px solid rgb(var(--brand-600));
    padding: 1.25rem 1.5rem;
    border-radius: 0 12px 12px 0;
    margin: 2rem 0;
}

.share-btn-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 600;
    border: 1px solid rgb(var(--c-border));
    color: rgb(var(--c-text-muted));
    background: rgb(var(--c-surface));
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.share-btn-pill:hover {
    border-color: rgb(var(--brand-600));
    color: rgb(var(--c-primary-text));
    background: rgb(var(--c-primary-soft));
}

@media (max-width: 992px) {
    .blog-featured-banner {
        grid-template-columns: 1fr;
    }
    .blog-featured-img {
        min-height: 240px;
    }
    .blog-featured-content {
        padding: 2rem;
    }
}

/* ===========================================================
   NAVIGATION DROPDOWN HOVER EFFECTS
   =========================================================== */
.light-dropdown-list a:hover {
    background-color: rgb(var(--c-surface-2));
    color: rgb(var(--c-primary-text));
    padding-left: 0.5rem;
    border-radius: 6px;
    transition: all 0.2s ease-in-out;
}

.mega-menu-list a:hover {
    color: rgb(var(--c-primary-text));
    transform: translateX(4px);
    transition: all 0.2s ease-in-out;
}

/* ===========================================================
   COMPREHENSIVE MOBILE-RESPONSIVE & MOBILE-ADAPTIVE SUITE
   =========================================================== */

/* Desktop Defaults for Adaptive Classes */
.hero-grid-adaptive {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
    align-items: center;
}

.services-grid-adaptive {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.75rem;
}

.matrix-grid-adaptive {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.stories-grid-adaptive {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.vip-cta-content-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

.stories-carousel-dots {
    display: none;
}

.mobile-bottom-dock {
    display: none;
}

.holo-nodes-container {
    position: static;
}

/* Tablet & Smaller Screens (<= 992px) */
@media (max-width: 992px) {
    :root {
        --container-padding: 1.25rem;
    }

    .hero-grid-adaptive {
        display: flex !important;
        flex-direction: column !important;
        gap: 2.5rem !important;
        text-align: left !important;
    }

    .hero-content {
        max-width: 100% !important;
    }

    .hero-title {
        font-size: clamp(2rem, 5vw, 2.75rem) !important;
    }

    .hero-subtitle {
        max-width: 100% !important;
    }

    .matrix-grid-adaptive {
        display: flex !important;
        flex-direction: column !important;
        gap: 2.5rem !important;
    }

    .vip-cta-content-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 2rem !important;
    }

    .stories-grid-adaptive {
        grid-template-columns: 1fr !important;
    }
}

/* Mobile Devices (<= 768px) */
@media (max-width: 768px) {
    /* Prevent content being covered by Mobile Bottom Dock */
    body {
        padding-bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px)) !important;
    }

    /* Navbar Header */
    .navbar {
        padding: 0.75rem 0 !important;
    }

    .nav-container {
        padding: 0 1rem !important;
    }

    .logo img {
        max-height: 32px !important;
    }

    .logo span {
        font-size: 1.35rem !important;
    }

    .header-cta-btn {
        padding: 0.45rem 0.8rem !important;
        font-size: 0.75rem !important;
    }

    /* Hero Section */
    .hero-section {
        padding: 92px 0 42px !important;
    }

    .hero-title {
        font-size: clamp(1.85rem, 6.8vw, 2.45rem) !important;
        line-height: 1.18 !important;
        margin-bottom: 1rem !important;
    }

    .hero-subtitle {
        font-size: 0.9375rem !important;
        line-height: 1.55 !important;
        margin-bottom: 1.5rem !important;
    }

    .hero-actions {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 0.75rem !important;
        margin-bottom: 1.75rem !important;
    }

    .hero-btn, .hero-btn-outline {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
        min-height: 48px !important;
        font-size: 0.9375rem !important;
        padding: 0.875rem 1.5rem !important;
    }

    .hero-badges {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.625rem !important;
        align-items: flex-start !important;
    }

    .hero-badge {
        font-size: 0.8125rem !important;
        padding: 0.4rem 0.85rem !important;
        border-radius: 8px !important;
    }

    /* Hero Floating Micro-Cards Docking */
    .ambient-glow-orb {
        display: none !important;
    }

    .float-card {
        position: static !important;
        width: 100% !important;
        margin-bottom: 0.625rem !important;
        animation: none !important;
        transform: none !important;
        box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05) !important;
        border-radius: 14px !important;
        padding: 0.75rem 1rem !important;
    }

    .float-card:hover {
        transform: none !important;
    }

    /* Nexus Console Mobile Card */
    .nexus-console {
        padding: 1.25rem 1rem !important;
        border-radius: 20px !important;
        box-shadow: 0 15px 30px -10px rgba(15, 23, 42, 0.1) !important;
    }

    .nexus-header {
        padding-bottom: 0.75rem !important;
        margin-bottom: 1rem !important;
    }

    .nexus-title-text {
        font-size: 0.875rem !important;
    }

    .nexus-secure-tag {
        font-size: 0.625rem !important;
        padding: 0.25rem 0.5rem !important;
    }

    .nexus-metrics-strip {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 0.375rem !important;
        margin-bottom: 1rem !important;
    }

    .metric-pill-box {
        padding: 0.5rem 0.375rem !important;
        border-radius: 10px !important;
        text-align: center !important;
    }

    .metric-pill-num {
        font-size: 1.05rem !important;
    }

    .metric-pill-label {
        font-size: 0.58rem !important;
    }

    .nexus-pipeline-title {
        font-size: 0.6875rem !important;
        margin-bottom: 0.5rem !important;
    }

    .pipeline-row {
        padding: 0.5rem 0.625rem !important;
        gap: 0.5rem !important;
        border-radius: 10px !important;
    }

    .pipeline-row:hover {
        transform: none !important;
    }

    .pipeline-icon-wrap {
        width: 28px !important;
        height: 28px !important;
        border-radius: 6px !important;
    }

    .pipeline-name {
        font-size: 0.75rem !important;
    }

    .pipeline-meta {
        font-size: 0.625rem !important;
    }

    .pipeline-badge-pill {
        font-size: 0.6rem !important;
        padding: 0.2rem 0.45rem !important;
    }

    /* Infinite Trust Bar */
    .futuristic-trust-bar {
        padding: 2rem 0 !important;
    }

    .trust-bar-header {
        margin-bottom: 1.25rem !important;
    }

    .trust-bar-title {
        font-size: 0.95rem !important;
        padding: 0 0.75rem !important;
        line-height: 1.4 !important;
    }

    .brand-card {
        padding: 0.55rem 0.95rem !important;
        border-radius: 10px !important;
    }

    .brand-logo-text {
        font-size: 0.9375rem !important;
    }

    .trust-metrics-ribbon {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.625rem !important;
        margin-top: 1.25rem !important;
        padding-top: 1rem !important;
    }

    .trust-metric-item {
        font-size: 0.75rem !important;
    }

    /* Services Horizontal Swipe Filter & Fluid Cards */
    .services-filter-bar {
        display: flex !important;
        overflow-x: auto !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        gap: 0.5rem !important;
        padding: 0.5rem 0.25rem 0.875rem !important;
        margin-bottom: 1.5rem !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
    }

    .services-filter-bar::-webkit-scrollbar {
        display: none !important;
    }

    .filter-pill-btn {
        flex-shrink: 0 !important;
        padding: 0.5rem 0.875rem !important;
        font-size: 0.78rem !important;
        border-radius: 9999px !important;
    }

    .services-grid-adaptive {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }

    .futuristic-service-card {
        padding: 1.5rem !important;
        border-radius: 18px !important;
    }

    .service-title {
        font-size: 1.15rem !important;
    }

    .service-desc {
        font-size: 0.875rem !important;
        margin-bottom: 1.25rem !important;
    }

    .service-btn-arrow {
        width: 44px !important;
        height: 44px !important;
    }

    /* Orchestration Matrix (AI Section) Mobile Adaptations */
    .matrix-section {
        padding: 3.5rem 0 !important;
    }

    .hologram-stage {
        min-height: auto !important;
        padding: 1.5rem 1rem !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        margin-top: 1rem !important;
        border-radius: 20px !important;
        background: rgb(var(--c-surface) / 0.75) !important;
    }

    .holo-lines-svg, .core-pulse-ring {
        display: none !important;
    }

    .core-hub-wrap {
        position: static !important;
        transform: none !important;
        margin-bottom: 1.25rem !important;
    }

    .core-center-sphere {
        width: 72px !important;
        height: 72px !important;
        box-shadow: 0 0 25px rgb(var(--brand-600) / 0.35) !important;
    }

    .core-center-title {
        font-size: 0.58rem !important;
    }

    .holo-nodes-container {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.625rem !important;
        width: 100% !important;
        position: static !important;
    }

    .holo-node {
        position: static !important;
        width: 100% !important;
        transform: none !important;
        padding: 0.75rem 0.625rem !important;
        border-radius: 12px !important;
        box-shadow: 0 4px 10px rgba(15, 23, 42, 0.04) !important;
        display: flex !important;
        align-items: center !important;
        gap: 0.5rem !important;
    }

    .holo-node:hover {
        transform: none !important;
    }

    .holo-node-icon {
        width: 32px !important;
        height: 32px !important;
        border-radius: 8px !important;
        flex-shrink: 0 !important;
    }

    .holo-node-icon svg {
        width: 16px !important;
        height: 16px !important;
    }

    .holo-node-name {
        font-size: 0.75rem !important;
    }

    .holo-node-status {
        font-size: 0.625rem !important;
    }

    .hud-telemetry-bar {
        position: static !important;
        transform: none !important;
        margin-top: 1.25rem !important;
        width: 100% !important;
        justify-content: space-around !important;
        font-size: 0.65rem !important;
        padding: 0.5rem 0.75rem !important;
        flex-wrap: wrap !important;
        gap: 0.375rem !important;
    }

    /* Stats Command Deck */
    .futuristic-stats-deck {
        padding: 3.5rem 0 !important;
    }

    .stats-deck-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }

    .stat-matrix-card {
        padding: 1.25rem 0.875rem !important;
        border-radius: 16px !important;
    }

    .stat-matrix-icon {
        width: 42px !important;
        height: 42px !important;
        margin-bottom: 0.875rem !important;
        border-radius: 10px !important;
    }

    .stat-matrix-num {
        font-size: 1.75rem !important;
        margin-bottom: 0.25rem !important;
    }

    .stat-matrix-label {
        font-size: 0.75rem !important;
    }

    /* Estimator / Calculator */
    .calculator-section {
        padding: 3.5rem 0 !important;
    }

    .calculator-wrapper {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        padding: 1.5rem !important;
        border-radius: 20px !important;
    }

    .calc-options-grid {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }

    .calc-option-card {
        padding: 0.875rem 1rem !important;
        border-radius: 14px !important;
    }

    .calc-result-deck {
        padding: 1.5rem !important;
        border-radius: 18px !important;
    }

    .calc-result-price {
        font-size: 2.25rem !important;
    }

    /* 5-Step Execution Timeline (Connected Vertical Stepper) */
    .futuristic-journey-deck {
        padding: 3.5rem 0 !important;
    }

    .journey-timeline-track {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
        position: relative !important;
        padding-left: 2.75rem !important;
        margin-top: 2rem !important;
    }

    .journey-track-line {
        display: block !important;
        position: absolute !important;
        top: 20px !important;
        bottom: 20px !important;
        left: 17px !important;
        width: 2px !important;
        height: auto !important;
        right: auto !important;
        background: linear-gradient(180deg, rgb(var(--brand-600)) 0%, rgb(var(--brand-500)) 50%, rgb(var(--navy-500)) 100%) !important;
        animation: none !important;
    }

    .journey-step-card {
        text-align: left !important;
        padding: 1.125rem 1.25rem !important;
        position: relative !important;
        margin: 0 !important;
        border-radius: 14px !important;
        box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03) !important;
    }

    .journey-step-card:hover {
        transform: none !important;
    }

    .journey-step-badge {
        position: absolute !important;
        left: -2.75rem !important;
        top: 0.875rem !important;
        margin: 0 !important;
        width: 36px !important;
        height: 36px !important;
        font-size: 0.8125rem !important;
        border-width: 2px !important;
    }

    .journey-step-title {
        font-size: 0.9375rem !important;
        margin-bottom: 0.25rem !important;
    }

    .journey-step-desc {
        font-size: 0.8125rem !important;
    }

    /* Customer Stories Snap Carousel & Dots */
    .stories-grid-adaptive {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        gap: 1rem !important;
        padding: 0.5rem 0.25rem 1rem !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
    }

    .stories-grid-adaptive::-webkit-scrollbar {
        display: none !important;
    }

    .stories-grid-adaptive .service-card {
        flex: 0 0 88% !important;
        scroll-snap-align: center !important;
        padding: 1.5rem !important;
        border-radius: 18px !important;
    }

    .stories-carousel-dots {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 0 !important;
        margin-top: 1rem !important;
    }

    .carousel-dot {
        position: relative;
        width: 8px;
        height: 8px;
        border-radius: 9999px;
        background: rgb(var(--c-border-strong));
        box-sizing: content-box;
        border: 8px solid transparent !important;   /* 24px tap target, 8px visible dot */
        background-clip: padding-box;
        border: none;
        padding: 0;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .carousel-dot.active {
        width: 26px;
        background: rgb(var(--brand-600));
    }

    /* FAQ Section */
    .faq-search-wrapper {
        margin-bottom: 1.25rem !important;
    }

    .faq-question {
        padding: 1.125rem 1rem !important;
        font-size: 0.9375rem !important;
    }

    .faq-text {
        font-size: 0.875rem !important;
    }

    .faq-answer {
        padding: 0 1rem 1.125rem !important;
        font-size: 0.875rem !important;
    }

    /* VIP CTA Banner */
    .vip-cta-banner {
        padding: 2.25rem 1.25rem !important;
        border-radius: 20px !important;
    }

    .vip-cta-ambient {
        display: none !important;
    }

    .vip-cta-content-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.75rem !important;
        text-align: center !important;
    }

    .vip-cta-content-grid > div:first-child {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .vip-cta-content-grid h2 {
        font-size: clamp(1.75rem, 6.5vw, 2.35rem) !important;
    }

    .vip-cta-content-grid p {
        font-size: 0.9375rem !important;
    }

    .vip-cta-content-grid > div:last-child {
        width: 100% !important;
    }

    /* Mobile Bottom Floating Action Dock */
    .mobile-bottom-dock {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 995 !important;
        background: rgba(15, 23, 42, 0.96) !important;
        backdrop-filter: blur(18px) !important;
        -webkit-backdrop-filter: blur(18px) !important;
        border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
        box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.3) !important;
        padding: 0.45rem 0 max(0.45rem, env(safe-area-inset-bottom, 0px)) !important;
    }

    .dock-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.2rem !important;
        color: rgb(var(--c-text-subtle)) !important;
        font-size: 0.65rem !important;
        font-weight: 600 !important;
        text-decoration: none !important;
        padding: 0.25rem 0 !important;
        transition: color 0.2s ease, transform 0.15s ease !important;
        cursor: pointer !important;
        background: transparent !important;
        border: none !important;
        -webkit-tap-highlight-color: transparent !important;
    }

    .dock-item:active {
        transform: scale(0.92) !important;
    }

    .dock-item.dock-item-highlight {
        color: rgb(var(--c-primary-text)) !important;
    }

    .dock-item.dock-item-active {
        color: rgb(var(--c-primary-text)) !important;
        position: relative;
    }

    .dock-item.dock-item-active::after {
        content: '';
        position: absolute;
        bottom: -2px;
        width: 16px;
        height: 3px;
        background: rgb(var(--brand-600));
        border-radius: 9999px;
        box-shadow: 0 0 8px rgb(var(--brand-600) / 0.8);
    }

    .dock-icon-wrap {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 26px !important;
        height: 26px !important;
    }

    .dock-icon-wrap-pulse {
        width: 28px !important;
        height: 28px !important;
        border-radius: 50% !important;
        background: linear-gradient(135deg, rgb(var(--brand-600)), rgb(var(--brand-700))) !important;
        color: #ffffff !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 0 10px rgb(var(--brand-600) / 0.5) !important;
    }

    .dock-icon-wrap-pulse svg {
        width: 16px !important;
        height: 16px !important;
    }

    .back-to-top-btn {
        bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px)) !important;
        right: 1.25rem !important;
        width: 42px !important;
        height: 42px !important;
    }
}

/* Small Smartphone Viewports (<= 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem !important;
    }

    .holo-nodes-container {
        grid-template-columns: 1fr !important;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 1.75rem !important;
    }

    .header-cta-btn {
        display: none !important;
    }
}


/* -----------------------------------------------------------
   Codly theme: sections that stay navy in both themes use the
   light text variants, so blue/orange text keeps its contrast.
----------------------------------------------------------- */
.stats-banner, .futuristic-stats-deck, .vip-cta-banner, .calc-result-deck, .mobile-bottom-dock,
.hud-telemetry-bar, .ai-brain, .core-center-sphere, .journey-step-badge, .svc-hero,
.blog-hero-premium, .cta-widget, .legal-hero, [style*="--navy-900"] {
    --c-primary-text: var(--brand-400);
    --c-accent-text: var(--accent-400);
    --c-text-subtle: 148 163 184;   /* light grey reads well on navy */
}
html.dark .matrix-grid-bg {
    background-image: linear-gradient(to right, rgb(255 255 255 / 0.04) 1px, transparent 1px),
                      linear-gradient(to bottom, rgb(255 255 255 / 0.04) 1px, transparent 1px);
}
