:root {
    /* Brand Colors - Standardized Palette */
    --primary-blue: #0066ff;
    --primary-blue-hover: #0052cc;
    --accent-red: #ff0000;
    --accent-red-hover: #cc0000;
    --accent-yellow: #FFB800;
    --accent-yellow-hover: #E5A600;

    /* Theme Colors (Light Default) */
    --bg-body: #FFFFFF;
    --bg-nav: rgba(255, 255, 255, 0.95);
    --bg-accent: #E6F7FF;
    --bg-hero-start: #F0F9FF;
    --bg-hero-end: #E6F7FF;

    --text-primary: #003755;
    /* Formerly --deep-navy */
    --text-secondary: #444444;
    /* Formerly --text-gray */
    --text-muted: #666666;
    /* Formerly --text-light */
    --text-inverse: #FFFFFF;

    --card-bg: #FFFFFF;
    --card-border: rgba(0, 0, 0, 0.03);
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);

    --hero-bg: #ffffff;
    --hero-text: #003755;
    --hero-subtext: #475569;
    --hero-glow-opacity: 0.3;
    --step-line-opacity: 1.0;

    --cta-primary-text: var(--primary-blue);
    --cta-secondary-text: var(--accent-red);
    --cta-secondary-bg: rgba(255, 0, 0, 0.05);
    --cta-border: rgba(0, 102, 255, 0.2);

    --orbit-ring: rgba(0, 102, 255, 0.2);
    --orbit-icon-bg: rgba(255, 255, 255, 0.9);
    --orbit-icon-border: rgba(0, 102, 255, 0.1);
    --orbit-icon-text: var(--primary-blue);

    --transition: all 0.3s ease-in-out;

    /* New Section & Component Tokens */
    --bg-section-dark: #ffffff;
    --bg-section-alt: #ffffff;
    --text-on-dark: #003755;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 102, 255, 0.2);
    --elite-card-bg: radial-gradient(circle at center, #ffffff 0%, #f0f7ff 100%);
    --elite-card-border: rgba(0, 102, 255, 0.15);
    --strategic-bg: #ffffff;
    --strategic-card-bg: rgba(255, 255, 255, 0.8);
    --scenarios-header-text: #003755;
    --scenarios-tab-text: rgba(0, 55, 85, 0.6);
    --footer-bg: linear-gradient(135deg, #001f2e 0%, #003755 100%);
    --footer-text: rgba(255, 255, 255, 0.7);
    --footer-heading: #ffffff;
    --deep-navy: #003755;
    --map-filter: grayscale(1) opacity(0.2);

    /* Brand Text Colors */
    --text-brand-blue: #0066ff;
    --text-brand-red: #ff0000;
    --text-brand-yellow: #A37F00;
    /* Darker yellow for text accessibility */

    /* Reveal Animation Base */
    --bg-dark: #f1f5f9;
    --bg-deep: #ffffff;
    --accent-blue: #00adef;
    --accent-purple: #8e2de2;
    --text-light: #f8fafc;

    /* Hero Gradients as Variables */
    --hero-gradient-red: linear-gradient(135deg, #003755 20%, #ff0000 100%);
    --hero-gradient-blue: linear-gradient(135deg, #003755 0%, #0066ff 100%);
    --hero-gradient-yellow: linear-gradient(135deg, #003755 20%, #FFB800 100%);
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

[data-theme="dark"] {
    --bg-dark: #0f172a;
    --bg-deep: #020617;
    --bg-body: #020617;
    --bg-nav: rgba(2, 6, 23, 0.95);
    --bg-accent: #020617;
    --bg-hero-start: #020617;
    --bg-hero-end: #020617;

    --text-primary: #f8fafc;
    --text-secondary: #e2e8f0;
    --text-muted: #94a3b8;
    --text-inverse: #020617;

    --card-bg: #1e293b;
    --card-border: rgba(255, 255, 255, 0.1);
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);

    --hero-bg: #020617;
    --hero-text: #ffffff;
    --hero-subtext: rgba(255, 255, 255, 0.7);
    --hero-glow-opacity: 0.15;
    --step-line-opacity: 0.6;

    --cta-primary-text: #00d2ff;
    --cta-secondary-text: #ffffff;
    --cta-secondary-bg: rgba(255, 255, 255, 0.05);
    --cta-border: rgba(255, 255, 255, 0.1);

    --orbit-ring: rgba(255, 255, 255, 0.25);
    --orbit-icon-bg: rgba(15, 23, 42, 0.4);
    --orbit-icon-border: rgba(255, 255, 255, 0.15);
    --orbit-icon-text: #ffffff;

    --bg-section-dark: #020617;
    --bg-section-alt: #020617;
    --text-on-dark: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.05);
    --elite-card-bg: radial-gradient(circle at center, rgba(20, 30, 48, 0.9) 0%, #020617 100%);
    --elite-card-border: rgba(0, 102, 255, 0.3);
    --strategic-bg: #020617;
    --strategic-card-bg: rgba(255, 255, 255, 0.03);
    --scenarios-header-text: #ffffff;
    --scenarios-tab-text: rgba(255, 255, 255, 0.7);
    --footer-bg: linear-gradient(135deg, #001f2e 0%, #003755 100%);
    --footer-text: rgba(255, 255, 255, 0.7);
    --footer-heading: #ffffff;
    --deep-navy: #000c14;
    --map-filter: brightness(0) saturate(100%) invert(11%) sepia(59%) saturate(3665%) hue-rotate(186deg) brightness(95%) contrast(104%);
}

/* Dark Mode Specific Overrides for Visibility */
[data-theme="dark"] .features-dropdown {
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 20px 60px -10px rgba(0, 0, 0, 0.8),
        0 0 30px rgba(0, 102, 255, 0.15),
        /* Blue Glow */
        0 0 15px rgba(255, 0, 0, 0.1);
    /* Purple Glow */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-secondary);
    line-height: 1.6;
    background-color: var(--bg-body);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2 {
    color: var(--text-primary);
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    letter-spacing: -0.03em;
}

h3 {
    color: var(--text-primary);
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    letter-spacing: -0.03em;
}

h3.layer-value {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 800;
    font-family: 'Poppins', serif;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.layer-icon {
    width: 44px;
    height: 44px;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: #60a5fa;
    font-size: 1.2rem;
}

.layer-icon.verified-icon-blue {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.4);
    color: #4ade80;
}

.layer-icon.verified-icon-blue i {
    font-size: 1.5rem;
}

/* Section Tags - Professional Pill Labels */
.section-tag {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 102, 255, 0.08);
    color: var(--primary-blue);
    border: 1px solid rgba(0, 102, 255, 0.2);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
    backdrop-filter: blur(5px);
}

[data-theme="dark"] .section-tag {
    background: rgba(0, 210, 255, 0.1);
    color: #00d2ff;
    border-color: rgba(0, 210, 255, 0.2);
}

.section-tag.light {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
}

/* --- PREMIUM HEADINGS (Branded Solid & Silver Theme) --- */
.premium-heading {
    color: var(--text-primary);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

[data-theme="dark"] .premium-heading {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 30%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.15));
}

[data-theme="light"] .feature-title:not(.feature-hero h1),
[data-theme="light"] .premium-heading:not(.feature-hero h1) {
    color: #003755 !important;
    background: none !important;
    -webkit-text-fill-color: #003755 !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    filter: none !important;
    font-weight: 800;
}


/* --- ELITE BRAND TEXT UTILITIES (Phase 2) --- */
.text-brand-blue {
    color: var(--text-brand-blue) !important;
}

.text-brand-red {
    color: var(--text-brand-red) !important;
}

.text-brand-yellow {
    color: var(--text-brand-yellow) !important;
}

/* Distinct Hero Gradient for Feature Pages */
.hero-gradient-red {
    background: var(--hero-gradient-red) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    font-weight: 800;
}

.hero-gradient-blue {
    background: var(--hero-gradient-blue) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    font-weight: 800;
}

.hero-gradient-yellow {
    background: var(--hero-gradient-yellow) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    font-weight: 800;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.15;
    font-weight: 800;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--text-muted);
}

a {
    text-decoration: none;
}

/* Nav Menu Arrow */
.nav-arrow {
    margin-left: 5px;
    font-size: 0.75em;
    display: inline-block;
    transition:
        transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        color 0.3s ease;
    /* Smooth Premium Easing */
    vertical-align: middle;
    color: inherit;
    opacity: 0.7;
}

/* Rotate on Li hover (covering dropdown and simple links) */
.nav-links li:hover .nav-arrow {
    transform: rotate(180deg);
    color: var(--primary-blue);
    opacity: 1;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--primary-blue);
    color: var(--text-inverse);
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--primary-blue-hover);
    transform: translateY(-2px);
}

/* Premium V3 Buttons (Navbar Style) */
.btn-primary-v3 {
    display: inline-block;
    background: rgba(0, 102, 255, 0.1);
    color: var(--primary-blue);
    padding: 10px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    white-space: nowrap;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 102, 255, 0.3);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-primary-v3:hover {
    background: rgba(0, 102, 255, 0.2);
    border-color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 102, 255, 0.2);
}



.btn-outline-v3 {
    display: inline-block;
    background: transparent;
    color: var(--text-primary);
    padding: 14px 34px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 1.5px solid rgba(0, 102, 255, 0.2);
    cursor: pointer;
    backdrop-filter: blur(10px);
    white-space: nowrap;
}

.btn-outline-v3:hover {
    background: rgba(0, 102, 255, 0.05);
    border-color: var(--primary-blue);
    transform: translateY(-2px);
}

.btn-large {
    padding: 15px 45px;
    font-size: 1.2rem;
}



.btn-text {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    margin-right: 20px;
}

.btn-text:hover {
    color: var(--primary-blue);
}

/* Theme Toggle & Language Selector */
.theme-btn {
    display: none !important;
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.theme-btn:hover {
    background: rgba(0, 102, 255, 0.08);
    color: var(--primary-blue);
}

/* Language Selector Styles - Refined */
.lang-selector {
    position: relative;
}

.lang-btn {
    background: rgba(0, 102, 255, 0.08);
    /* Softer blue tint */
    border: 1px solid rgba(0, 102, 255, 0.15);
    color: var(--primary-blue) !important;
    padding: 8px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.95rem;
    white-space: nowrap;
    font-weight: 600;
    /* Toned down from 800 for elegance */
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer !important;
    position: relative;
    z-index: 2;
}

.lang-btn:hover {
    background: rgba(0, 102, 255, 0.15);
    border-color: rgba(0, 102, 255, 0.3);
    transform: translateY(-1px);
}

.lang-btn i {
    font-size: 1.05rem;
    color: var(--primary-blue) !important;
}

/* Specific Dark Theme Override for lang-btn elegance */
[data-theme="dark"] .lang-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #FFFFFF !important;
}

[data-theme="dark"] .lang-btn i {
    color: #FFFFFF !important;
}

[data-theme="dark"] .lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    background: var(--bg-nav);
    border: 1px solid var(--elite-card-border);
    border-radius: 18px;
    min-width: 200px;
    padding: 10px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10000;
}

.lang-dropdown.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: all !important;
    transform: translateY(0) !important;
}

/* Footer-Specific Language Selector Styling */
.footer .lang-selector .lang-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff !important;
}

.footer .lang-selector .lang-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.footer .lang-selector .lang-dropdown {
    background: #001f2e;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    top: calc(100% + 10px);
    bottom: auto;
    z-index: 10001;
}

.footer .lang-selector .lang-option {
    color: #ffffff;
}

.footer .lang-selector .lang-option:hover {
    background: rgba(255, 255, 255, 0.1);
}

.lang-option {
    padding: 12px 16px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
}

.lang-option i {
    font-size: 0.8rem;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.lang-option:hover {
    background: rgba(0, 102, 255, 0.08);
    color: var(--primary-blue);
}

.lang-option.active {
    color: var(--primary-blue);
    font-weight: 600;
}

.lang-option.active i {
    opacity: 1;
}

.current-lang {
    font-size: 1rem;
    letter-spacing: 0.02em;
}

/* Navbar */
.navbar {
    height: 64px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--bg-nav);
    backdrop-filter: blur(10px);
    z-index: 10000;
    transition: background 0.3s ease;
    border: none;
    outline: none;
    overflow: visible;
}

.navbar::before,
.navbar::after {
    display: none !important;
}

.navbar .container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    border: none;
    outline: none;
    overflow: visible;
    box-sizing: border-box;
}

.navbar .container::before,
.navbar .container::after {
    display: none !important;
}

.nav-logo {
    text-decoration: none;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0;
    overflow: visible;
    margin-left: 0;
    margin-top: -2px;
}

.nav-logo:hover {
    transform: scale(1.05);
}

/* --- Branded Logo Components --- */
/* --- Logo Icon Wrapper --- */
.logo-icon-wrapper {
    position: relative;
    height: 4.2rem;
    width: 4.2rem;
    flex-shrink: 0;
    /* No overflow:hidden — layers use opacity to hide instead */
}

/* New Solution Card Themes */
.bento-card.supply-chain {
    background: #f0fdf4 !important;
    border: 1px solid #dcfce7 !important;
}

.bento-card.supply-chain .tag {
    background: rgba(34, 197, 94, 0.1) !important;
    color: #166534 !important;
}

.bento-card.technical-ecosystem {
    background: #fffbeb !important;
    border: 1px solid #fef3c7 !important;
}

.bento-card.technical-ecosystem .tag {
    background: rgba(245, 158, 11, 0.1) !important;
    color: #9a3412 !important;
}

/* Base style for both image layers */
.logo-icon {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: contain;
    object-position: center;
}


/* Full logo — fades + slides in from below */
.logo-layer-blue {
    animation: blueIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s both;
}

@keyframes blueIn {
    from {
        opacity: 0;
        transform: translateY(40%);
    }

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


.logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(to right, #003755 40%, #0066ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.04em;
    line-height: 1.2;
    z-index: 1;
    transition: all 0.3s ease;
    display: inline-block;
    margin-left: -12px;
    padding-bottom: 4px;
    /* Space for the descender of 'g' */
    overflow: visible;
}

[data-theme="dark"] .logo-text,
.footer .logo-text {
    background: linear-gradient(to right, #ffffff 40%, #00d2ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-logo:hover .logo-icon {
    transform: scale(1.1) rotate(-5deg);
}

.nav-spacer {
    display: none;
}

.nav-btns {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    border: none;
    outline: none;
    gap: 12px;
    /* Decreased space between buttons */
    margin-left: 40px;
    /* Reduced space between buttons for better fit */
}


.nav-links {
    display: flex;
    list-style: none;
    gap: 22px;
    border: none;
    outline: none;
    margin: 0;
    padding: 5px 0;
    justify-self: center;
    overflow: visible;
}

.nav-links::before,
.nav-links::after {
    display: none !important;
}

.nav-links li {
    border: none;
    outline: none;
}

.nav-links li::before,
.nav-links li::after {
    display: none !important;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 400;
    font-size: 0.95rem;
    line-height: 1.5;
    white-space: nowrap;
    transition: var(--transition);
    border: none;
    outline: none;
    display: inline-flex;
    align-items: center;
    padding: 8px 0;
    overflow: visible;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

/* Features Dropdown */
.nav-item-with-dropdown {
    position: static;
}

.features-dropdown {
    position: absolute;
    top: calc(100% + 25px);
    left: 50%;
    /* Elite Gradient Background (Blue-Purple Mix) */
    background:
        radial-gradient(circle at 0% 0%, rgba(255, 230, 0, 0.05) 0%, transparent 25%),
        radial-gradient(circle at 100% 100%, rgba(255, 0, 0, 0.05) 0%, transparent 25%),
        radial-gradient(circle at 50% 50%, rgba(0, 102, 255, 0.06) 0%, transparent 60%),
        #f0f9ff !important;
    border: 1px solid rgba(0, 102, 255, 0.25) !important;
    border-top: 1px solid rgba(0, 102, 255, 0.2) !important;
    /* Premium top highlight */
    border-radius: 18px;
    width: 950px;
    padding: 30px;
    /* Deep structured shadow for elite feel */
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.05),
        0 20px 60px -10px rgba(0, 0, 0, 0.6),
        0 10px 20px -5px rgba(0, 0, 0, 0.4);
    /* backdrop-filter: blur(25px); Removed for solid visibility */
    /* -webkit-backdrop-filter: blur(25px); */
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-15px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10000;
}

/* Fix: Invisible bridge to prevent dropdown from closing when crossing the gap */
.features-dropdown::before {
    content: "";
    position: absolute;
    top: -30px;
    /* Slightly larger than the gap to be safe */
    left: 0;
    width: 100%;
    height: 30px;
    background: transparent;
}

.nav-item-with-dropdown:hover .features-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.features-dropdown-header {
    margin-bottom: 8px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--elite-card-border);
}

/* Flex container for Title + Subtext */
.header-text-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Align to center height */
    width: 100%;
    gap: 40px;
}

.features-dropdown-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #003755;
    margin: 0;
    margin-left: 15px;
    /* Shift right more */
    transform: translateY(-2px);
    /* Shift slightly up visually */
    white-space: nowrap;
}

.features-dropdown-header p {
    font-size: 0.9rem;
    color: #475569;
    margin: 0;
    text-align: left;
    max-width: 300px;
    line-height: 1.4;
}

/* Grid Alignment for Explore All Link */
.features-dropdown-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    align-items: center;
    /* Vertically align items */
}

.features-dropdown .explore-all {
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 600;
    color: #0066ff;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-right: 20px;
    /* Shift slightly left */
    opacity: 0;
    transform: translateY(10px);

    /* Place specifically in the last column of the last row */
    grid-column: 3;
    justify-self: end;
    /* Right align */
    align-self: center;
    /* Vertically center in the row */
}

.nav-item-with-dropdown:hover .explore-all {
    opacity: 1;
    transform: translateY(0);
    transition:
        opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 0.86s;
    /* Appears after grid items */
}

.explore-all:hover {
    color: var(--accent-red);
    transform: translateX(3px) !important;
    /* Override vertical transform */
}

.features-dropdown-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}

.features-dropdown .stretched-link::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10;
}

.features-dropdown .feature-item {
    position: relative;
    padding: 12px 12px 12px 0px;
    /* Shift content left inside hover box */
    border-radius: 10px;
    /* Premium Spring-like Animation */
    transition:
        background-color 0.2s ease,
        opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    display: flex;
    gap: 8px;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    /* Larger offset for better 'slide up' feel */
}

.nav-item-with-dropdown:hover .features-dropdown .feature-item {
    opacity: 1;
    transform: translateY(0);
}

/* Header Animation */
.header-text-group>* {
    opacity: 0;
    transform: translateY(10px);
    transition:
        opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-item-with-dropdown:hover .header-text-group>* {
    opacity: 1;
    transform: translateY(0);
}

.features-dropdown-header h3 {
    transition-delay: 0.05s;
}

.features-dropdown-header p {
    transition-delay: 0.1s;
}

/* Premium Staggered Delays (Wave Effect) - Shifted for Header */
/* The gap is 0.06s for a fast, responsive ripple */
.features-dropdown .feature-item:nth-child(1) {
    transition-delay: 0.2s;
}

.features-dropdown .feature-item:nth-child(2) {
    transition-delay: 0.26s;
}

.features-dropdown .feature-item:nth-child(3) {
    transition-delay: 0.32s;
}

.features-dropdown .feature-item:nth-child(4) {
    transition-delay: 0.38s;
}

.features-dropdown .feature-item:nth-child(5) {
    transition-delay: 0.44s;
}

.features-dropdown .feature-item:nth-child(6) {
    transition-delay: 0.5s;
}

.features-dropdown .feature-item:nth-child(7) {
    transition-delay: 0.56s;
}

.features-dropdown .feature-item:nth-child(8) {
    transition-delay: 0.62s;
}

.features-dropdown .feature-item:nth-child(9) {
    transition-delay: 0.68s;
}

.features-dropdown .feature-item:nth-child(10) {
    transition-delay: 0.74s;
}

.features-dropdown .feature-item:nth-child(11) {
    transition-delay: 0.8s;
}

.features-dropdown .feature-item:hover {
    background: rgba(0, 102, 255, 0.08);
    /* Light blue hover background */
    opacity: 1 !important;
    /* Ensure it stays visible on hover */
    transform: translateY(0) !important;
}

/* Feature Icon Styling */
.features-dropdown .feature-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: rgba(0, 102, 255, 0.05);
    border: 1px solid rgba(0, 102, 255, 0.15);
    display: grid !important;
    place-items: center !important;
    padding: 0 !important;
    color: var(--primary-blue);
    font-size: 18px;
    transition: all 0.2s ease;
}

.features-dropdown .feature-icon i {
    font-size: 18px;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    /* Refined Red and Yellow icon gradient for better visibility (20/80 split) */
    background: linear-gradient(135deg, #ff0000 20%, #ffff00 80%) !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    width: auto !important;
    height: auto !important;
}

.features-dropdown .feature-item:hover .feature-icon {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    transform: scale(1.05);
}

.features-dropdown .feature-item:hover .feature-icon i {
    /* Maintain visibility on hover background */
    -webkit-text-fill-color: #ffffff !important;
    background: none !important;
}

.features-dropdown .feature-text {
    flex: 1;
    margin-top: -18px;
}

.features-dropdown .feature-text h4 {
    font-size: 0.8rem;
    font-weight: 600;
    color: #003755;
    margin-bottom: 0;
}

.features-dropdown .feature-text p {
    font-size: 0.65rem;
    color: #64748b;
    line-height: 1.3;
    margin: 0;
}

.mobile-toggle,
.mobile-toggle *,
.mobile-toggle::before,
.mobile-toggle::after {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    position: absolute !important;
    pointer-events: none !important;
}

/* Solutions Dropdown */
.solutions-dropdown,
.api-dropdown,
.resources-dropdown {
    position: absolute;
    top: calc(100% + 25px);
    left: 50%;
    /* Elite Gradient Background - Matched to Features */
    background:
        radial-gradient(circle at 0% 0%, rgba(255, 230, 0, 0.05) 0%, transparent 25%),
        radial-gradient(circle at 100% 100%, rgba(255, 0, 0, 0.05) 0%, transparent 25%),
        radial-gradient(circle at 50% 50%, rgba(0, 102, 255, 0.06) 0%, transparent 60%),
        #f0f9ff !important;
    border: 1px solid rgba(0, 102, 255, 0.25) !important;
    border-top: 1px solid rgba(0, 102, 255, 0.2) !important;
    border-radius: 20px;
    width: 100%;
    max-width: 1180px;
    /* Expanded for more air */
    padding: 30px 35px;
    /* More generous padding */
    box-sizing: border-box;
    overflow: hidden;
    /* Force containment awareness */
    /* Deep structured shadow - Matched to Features */
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.05),
        0 20px 60px -10px rgba(0, 0, 0, 0.6),
        0 10px 20px -5px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-15px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10000;
    height: auto;
    min-height: min-content;
}

.api-dropdown {
    max-width: 1000px;
}

/* Staggered Animation for Solutions/API Columns */
.solutions-col {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-item-with-dropdown:hover .solutions-col {
    opacity: 1;
    transform: translateY(0);
}

.api-dropdown-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    column-gap: 40px;
    row-gap: 20px;
    /* Middle ground: 20px */
    width: 100%;
}

.api-dropdown .solutions-title {
    font-weight: 600;
    /* Matching Features dropdown weight as requested */
}

/* Ensure font-size and color consistency for headers */
.api-dropdown h4 {
    color: #475569;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 18px;
    opacity: 0.9;
}

.solutions-col:nth-child(1) {
    transition-delay: 0.1s;
}

.solutions-col:nth-child(2) {
    transition-delay: 0.2s;
}

.solutions-col:nth-child(3) {
    transition-delay: 0.3s;
}

.solutions-col:nth-child(4) {
    transition-delay: 0.4s;
}

/* Integration Logos Scaling */
.integration-icon-container {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: rgba(0, 102, 255, 0.03);
    border: 1px solid rgba(0, 102, 255, 0.1);
    display: grid !important;
    place-items: center !important;
    padding: 6px !important;
    transition: all 0.2s ease;
}

.integration-icon-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(0.2) contrast(0.9);
    transition: all 0.3s ease;
}

.solutions-list li a:hover .integration-icon-container {
    background: #ffffff;
    border-color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.1);
}

.solutions-list li a:hover .integration-icon-container img {
    filter: grayscale(0) contrast(1);
    transform: scale(1.1);
}

/* Developer Highlight Micro-Area */
.dev-highlight-strip {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(0, 102, 255, 0.04);
    border: 1px solid rgba(0, 102, 255, 0.1);
    border-radius: 8px;
    padding: 8px 16px;
    margin-bottom: 8px;
    /* Added back 8px of margin */
    transition: all 0.3s ease;
}

.dev-highlight-strip:hover {
    background: rgba(0, 102, 255, 0.08);
    border-color: rgba(0, 102, 255, 0.2);
    transform: translateY(-1px);
}

.dev-highlight-message {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dev-highlight-message i {
    color: #ff9d00;
    /* Lightning bolt orange/yellow */
    font-size: 0.9rem;
    filter: drop-shadow(0 0 5px rgba(255, 157, 0, 0.4));
}

.dev-highlight-message span {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.85rem;
    color: #475569;
    letter-spacing: -0.01em;
}

.solutions-dropdown::before,
.api-dropdown::before {
    content: "";
    position: absolute;
    top: -30px;
    left: 0;
    width: 100%;
    height: 30px;
    background: transparent;
}

.nav-item-with-dropdown:hover .solutions-dropdown,
.nav-item-with-dropdown:hover .api-dropdown,
.nav-item-with-dropdown:hover .resources-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.solutions-dropdown-content,
.resources-dropdown-content {
    display: grid;
    grid-template-columns: repeat(3, minmax(200px, 1fr)) 1.25fr;
    gap: 20px;
    /* Increased gap */
    width: 100%;
    box-sizing: border-box;
}

.resources-dropdown-content {
    display: grid;
    grid-template-columns: auto auto auto auto 1.5fr;
    grid-template-rows: auto auto;
    column-gap: 60px;
    row-gap: 15px;
}

.resources-dropdown-footer {
    grid-column: 1 / 5;
    grid-row: 2;
    margin-top: 0;
    padding: 15px 25px;
    background: rgba(0, 102, 255, 0.03);
    border: 1px solid rgba(0, 102, 255, 0.1);
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.featured-col {
    grid-column: 5;
    grid-row: 1 / 3;
    display: flex;
    flex-direction: column;
}

.resources-dropdown-footer .res-footer-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.resources-dropdown-footer .res-cta-label {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
}

.resources-dropdown-footer .btn-text-link {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.resources-dropdown-footer .btn-text-link:hover {
    color: #1d4ed8;
    transform: translateX(5px);
}

.resources-dropdown-footer .footer-contact {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    color: #475569;
    padding-left: 25px;
    border-left: 1px solid rgba(0, 102, 255, 0.15);
}

.resources-dropdown-footer .footer-contact i {
    color: var(--primary-blue);
    font-size: 1.1rem;
    opacity: 0.8;
}

.resources-dropdown-footer .footer-contact a {
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: underline;
}

.solutions-col h4 {
    color: #475569;
    /* Slightly darker slate for better definition */
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 18px;
    /* More breathing room below headers */
    opacity: 0.9;
    padding-left: 10px;
    border-left: 2px solid var(--primary-blue);
    /* Technical Accent bar */
    line-height: 1;
    display: flex;
    align-items: center;
}

.solutions-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    /* Increased item gap */
    min-width: 0;
}

.solutions-list li a {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    /* More space between icon and text */
    padding: 10px 12px;
    /* Breathable hover area */
    border-radius: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    line-height: 1;
}

.solutions-list li a:hover {
    background: rgba(0, 102, 255, 0.05);
    transform: translateX(5px);
}

.solutions-list li i {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: rgba(0, 102, 255, 0.05);
    border: 1px solid rgba(0, 102, 255, 0.15);
    display: grid !important;
    place-items: center !important;
    padding: 0 !important;
    font-size: 18px;
    transition: all 0.2s ease;
    margin-top: 0px;
}

.solutions-list li i::before {
    /* Refined Red and Yellow icon gradient for better visibility (20/80 split) */
    background: linear-gradient(135deg, #ff0000 20%, #ffff00 80%) !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    display: block;
}

.solutions-list li a:hover i {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    transform: scale(1.05);
}

.solutions-list li a:hover i::before {
    -webkit-text-fill-color: #ffffff !important;
    background: none !important;
}

.solutions-text {
    flex: 1;
}

.solutions-title {
    font-size: 0.8rem;
    font-weight: 500;
    color: #003755;
    margin-bottom: 2px;
    line-height: 1.4;
    /* More vertical air */
}

.solutions-desc {
    font-size: 0.65rem;
    color: #64748b;
    line-height: 1.5;
    /* Better readability air */
}

.solutions-list.compact {
    gap: 20px;
}

.solutions-list.compact li a {
    align-items: center;
    padding: 8px 12px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
}

.solutions-list.compact li i {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    background: rgba(0, 102, 255, 0.04);
    border: 1px solid rgba(0, 102, 255, 0.1);
    display: grid !important;
    place-items: center !important;
    padding: 0 !important;
    font-size: 14px;
    transition: all 0.2s ease;
    margin-top: 0;
}

.solutions-list.compact li i::before {
    /* Refined Red and Yellow icon gradient for better visibility (20/80 split) */
    background: linear-gradient(135deg, #ff0000 20%, #ffff00 80%) !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    display: block;
}

.solutions-list.compact li a:hover i {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    transform: scale(1.05);
}

.solutions-list.compact li a:hover i::before {
    -webkit-text-fill-color: #ffffff !important;
    background: none !important;
}

/* Highlight Card */
.solutions-highlight-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(0, 102, 255, 0.05));
    border: 1px solid var(--elite-card-border) !important;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    height: auto;
    align-self: flex-start;
}

.solutions-highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 102, 255, 0.1);
}

.solutions-highlight-card .card-image {
    height: 180px;
    overflow: hidden;
    position: relative;
    background: #f8fafc;
}

.solutions-highlight-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 1;
    transition: transform 0.5s ease;
}

.solutions-highlight-card:hover .card-image img {
    transform: scale(1.05);
}

.solutions-highlight-card .card-content {
    padding: 15px;
    /* Reduced padding */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.solutions-highlight-card .solutions-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #003755;
    margin-bottom: 4px;
    line-height: 1.2;
}

.solutions-highlight-card .solutions-desc {
    font-size: 0.65rem;
    color: #64748b;
    margin-bottom: 12px;
    line-height: 1.4;
}

/* API & Integrations Specific CTAs */
.api-dropdown .solutions-cta {
    background: linear-gradient(135deg, #00adef, #0072ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    position: relative;
    padding-bottom: 2px;
}

.api-dropdown .solutions-cta::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00adef, #8e2de2);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.api-dropdown .solutions-cta:hover {
    text-decoration: none !important;
    background: linear-gradient(135deg, #0072ff, #8e2de2);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transform: translateX(5px);
}

.api-dropdown .solutions-cta:hover::after {
    width: 100%;
}

.solutions-cta {
    display: inline-block;
    color: #00adef !important;
    /* Vibrant tech blue */
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.solutions-cta:hover {
    color: #8e2de2;
    /* Shift to purple on hover for elite feel */
    text-decoration: underline;
}

/* Dark Mode Overrides */
[data-theme="dark"] .solutions-dropdown {
    background:
        radial-gradient(circle at 0% 0%, rgba(255, 230, 0, 0.05) 0%, transparent 35%),
        radial-gradient(circle at 100% 100%, rgba(255, 0, 0, 0.05) 0%, transparent 35%),
        radial-gradient(circle at 50% 50%, rgba(0, 102, 255, 0.1) 0%, transparent 70%),
        var(--bg-nav) !important;
}

[data-theme="dark"] .solutions-list li a:hover {
    background: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .solutions-highlight-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.02), rgba(0, 102, 255, 0.05));
}

/* Hero Section */
.hero {
    /* Height > 100vh to allow for scroll-driven animation while content is pinned */
    height: 150vh;
    padding: 0;
    background: var(--hero-bg);
    text-align: center;
    position: relative;
    z-index: 20;
}

.hero-sticky-wrapper {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* Ensure padding inside the sticky wrapper so content is centered properly */
    padding: 60px 20px;
}

/* New Deep Tech Background Layers */
.hero-bg-layers {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.hero-glow-1,
.hero-glow-2,
.hero-glow-3 {
    display: none;
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: var(--hero-glow-opacity);
    z-index: 1;
    transition: opacity 0.4s ease;
}

.hero-glow-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #00d2ff, transparent 70%);
    top: -10%;
    left: -10%;
    animation: glowMove 25s infinite alternate ease-in-out;
}

.hero-glow-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #3b82f6, transparent 70%);
    bottom: -10%;
    right: -10%;
    animation: glowMove 30s infinite alternate-reverse ease-in-out;
}

.hero-glow-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #ff0000, transparent 70%);
    top: 30%;
    left: 40%;
    animation: glowMove 20s infinite alternate ease-in-out;
    opacity: 0.1;
}

@keyframes glowMove {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(100px, 50px) scale(1.1);
    }
}

.hero-grain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    z-index: 2;
    pointer-events: none;
}

.hero .hero-content {
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero h1 {
    font-size: 3.6rem;
    margin-bottom: 0.2rem;
    line-height: 1.15;
    font-weight: 800;
    color: var(--hero-text);
    letter-spacing: -0.02em;
    transition: color 0.4s ease;
    text-align: center;
}

.hero h1 span:first-child {
    white-space: nowrap;
}

.hero-gradient-text {
    display: inline-block;
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--accent-red) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    padding-bottom: 8px;
    /* Prevent clipping of descenders */
    letter-spacing: -0.01em;
}

.hero p {
    font-size: 1.05rem;
    color: var(--hero-subtext);
    margin: 0 auto 1.5rem;
    line-height: 1.6;
    max-width: 1200px;
    font-weight: 400;
    transition: color 0.4s ease;
    text-align: center;
}



.hero-cta-elite {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 1.5rem;
}

.cta-link {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--cta-secondary-text);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 0.01em;
    padding: 16px 36px;
    border-radius: 14px;
    transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.cta-link i {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.cta-link.primary {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.15), rgba(0, 82, 204, 0.15));
    border: 1px solid var(--cta-border);
    color: var(--cta-primary-text);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.1);
}

.cta-link.secondary {
    background: var(--cta-secondary-bg);
    border: 1px solid var(--cta-border);
    color: var(--cta-secondary-text);
}

.cta-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

.cta-link.primary:hover {
    background: rgba(0, 102, 255, 0.2);
    border-color: var(--primary-blue);
    box-shadow: 0 15px 40px rgba(0, 102, 255, 0.2);
}

.cta-link:hover i {
    transform: translateX(5px);
}

.cta-pipe {
    display: none;
}

.btn-outline {
    display: inline-block;
    background-color: transparent;
    color: var(--text-primary);
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: 2px solid var(--text-primary);
    cursor: pointer;
}

.hero-circuit-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.6;
}

.hero-circuit-bg svg {
    width: 100%;
    height: 100%;
}

.step-line {
    fill: none;
    stroke-width: 1.2;
    stroke-dasharray: 250 1500;
    stroke-dashoffset: 1500;
    opacity: 0;
    animation: stepLineTravel 12s linear infinite;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: opacity 0.4s ease;
}

/* Light Theme Visibility Boost */
[data-theme="light"] .step-line {
    stroke-width: 2.5px;
    filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.2));
    /* Slight dark shadow for contrast against white */
}

.step-line.blue {
    stroke: #00d2ff;
    filter: drop-shadow(0 0 3px #00d2ff) drop-shadow(0 0 8px rgba(0, 210, 255, 0.4));
}

.step-line.purple {
    stroke: #a855f7;
    filter: drop-shadow(0 0 3px #a855f7) drop-shadow(0 0 8px rgba(168, 85, 247, 0.4));
}

.step-line.delay-1 {
    animation-delay: 4s;
}

.step-line.delay-2 {
    animation-delay: 8s;
}

@keyframes stepLineTravel {
    0% {
        stroke-dashoffset: 1500;
        opacity: 0;
    }

    10% {
        opacity: var(--step-line-opacity);
    }

    90% {
        opacity: var(--step-line-opacity);
    }

    100% {
        stroke-dashoffset: -1500;
        opacity: 0;
    }
}

/* Floating Icons */
.floating-icons {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1440px;
    height: 100%;
    pointer-events: none;
    z-index: 100;
}

.icon {
    position: absolute;
    animation: float 6s ease-in-out infinite, entrance-fade 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
    opacity: 0;
    will-change: transform, opacity;
}

.doc-card {
    width: 90px;
    height: 90px;
    background: var(--card-bg);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.03);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform 0.3s ease;
}

/* Elite Card - Adaptive to theme */
.doc-card.elite-card {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.08),
        0 12px 24px rgba(0, 0, 0, 0.05) !important;
    border-radius: 12px;
}

.doc-card.elite-card .elite-icon-svg {
    filter: none;
    /* Removed blurry glow for clarity */
}

.doc-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.doc-card:hover {
    transform: scale(1.05);
}

.doc-card svg {
    width: 52px;
    height: 52px;
}

/* Elite 3D-Style SVG Effects (Fallback for Image Generation) */
.elite-icon-svg {
    width: 60px;
    height: 60px;
    filter: none;
    transition: transform 0.3s ease;
    stroke-width: 0;
    /* Switching to solid fills */
}

.elite-icon-svg:hover {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 4px 12px rgba(0, 102, 255, 0.6)) drop-shadow(0 8px 20px rgba(255, 0, 0, 0.4));
}

.elite-glow-cyan {
    stroke: #00ADEF;
    filter: none;
}

.elite-glow-purple {
    stroke: #8E2DE2;
    filter: none;
}

.elite-fill-glass {
    fill: rgba(255, 255, 255, 0.03);
    stroke: rgba(255, 255, 255, 0.15);
    stroke-width: 1;
    backdrop-filter: blur(8px);
}

.elite-fill-cyan {
    fill: #0066ff;
    filter: drop-shadow(0 0 8px rgba(0, 102, 255, 0.4));
}

.elite-fill-purple {
    fill: #ff0000;
    filter: drop-shadow(0 0 8px rgba(255, 0, 0, 0.4));
}

@keyframes entrance-fade {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }

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

.icon.audit-trail {
    animation-delay: 0s, 0.2s;
}

.icon.crypto-sig {
    animation-delay: 1.5s, 0.4s;
}

.icon.verify-id {
    animation-delay: 0.8s, 0.3s;
}

.icon.no-tracking {
    animation-delay: 2.2s, 0.6s;
}

.icon.zero-monetization {
    animation-delay: 3.5s, 0.5s;
}

.icon.vendor-neutral {
    animation-delay: 4.8s, 0.7s;
}

.icon.surveillance-free {
    animation-delay: 2.8s, 0.45s;
}

.icon.user-metadata {
    animation-delay: 5.5s, 0.8s;
}

.icon.decentralized-enc {
    animation-delay: 1.2s, 0.35s;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

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

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

.icon.assembling {
    animation: none !important;
    transition: transform 0.1s linear, opacity 0.3s ease;
    z-index: 1000;
    pointer-events: none;
}



.int-card.preparing {
    opacity: 0.1 !important;
    /* Slightly visible to show the target grid structure */
    transform: scale(0.9) !important;
    border: 1px dashed rgba(0, 102, 255, 0.2) !important;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.int-card.assembled {
    opacity: 1 !important;
    transform: scale(1) !important;
    border: 1px solid rgba(0, 102, 255, 0.05) !important;
}



/* Integrations Section Removed - Styles kept for reference if needed elsewhere or cleaned up */


.integrations-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 20px;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.integrations-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 16px;
    padding: 30px 0 10px;
    position: relative;
    max-width: 620px;
    margin: 60px auto 0;
    /* Horizontal Fade for reference look */
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.int-card {
    background: var(--card-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 102, 255, 0.05);
    border-radius: 10px;
    padding: 10px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    aspect-ratio: 1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    background: #FFFFFF !important;
    grid-column: span 2;
    max-width: 100px;
}

/* Explicit Desktop Grid Placement (Prevents Wrapping) */
@media (min-width: 769px) {

    /* Row 1: Items 1-5 */
    .int-card:nth-child(1) {
        grid-column: 1 / span 2;
        grid-row: 1;
    }

    .int-card:nth-child(2) {
        grid-column: 3 / span 2;
        grid-row: 1;
    }

    .int-card:nth-child(3) {
        grid-column: 5 / span 2;
        grid-row: 1;
    }

    .int-card:nth-child(4) {
        grid-column: 7 / span 2;
        grid-row: 1;
    }

    .int-card:nth-child(5) {
        grid-column: 9 / span 2;
        grid-row: 1;
    }

    /* Row 2: Items 6-9 (Centered Offset) */
    .int-card:nth-child(6) {
        grid-column: 2 / span 2;
        grid-row: 2;
    }

    .int-card:nth-child(7) {
        grid-column: 4 / span 2;
        grid-row: 2;
    }

    .int-card:nth-child(8) {
        grid-column: 6 / span 2;
        grid-row: 2;
    }

    .int-card:nth-child(9) {
        grid-column: 8 / span 2;
        grid-row: 2;
    }
}

/* Mobile fallback: standard grid */
@media (max-width: 768px) {
    .integrations-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        padding: 20px 15px;
    }

    .int-card {
        grid-column: span 1 !important;
    }
}

/* Hero Grid Specifics */
.hero-grid {
    width: 100%;
    z-index: 50;
    pointer-events: auto;
}

/* Ensure hero content is above grid */
.hero .hero-content {
    position: relative;
    z-index: 50;
    margin-bottom: 160px;
}

/* int-card[data-target-id] logic handles visibility based on animation state */
.int-card[data-target-id] {
    opacity: 0;
    pointer-events: none;
    border-color: transparent;
    box-shadow: none;
    transform: translateY(20px);
}

/* When assembled, ensure they are visible */
.int-card.assembled {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
    pointer-events: auto !important;
}


.int-card.empty {
    border: none;
    background: var(--card-bg);
    opacity: 0.02;
    /* Hardly visible placeholder */
    box-shadow: none;
    pointer-events: none;
}

/* Elite Grid Card - Mimics the hero icon background */
.int-card.elite {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.08),
        0 12px 24px rgba(0, 0, 0, 0.05) !important;
    border-radius: 12px;
}

.int-card.elite .int-icon {
    filter: none;
    /* Removed legacy glow */
}

.int-card.elite:hover {
    border-color: var(--primary-blue) !important;
    box-shadow: 0 15px 35px rgba(0, 102, 255, 0.2), 0 0 20px rgba(0, 102, 255, 0.1) !important;
}

.int-icon {
    transition: transform 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.int-card:hover .int-icon {
    transform: scale(1.15);
}

/* Specific icon visibility - now handled by better SVGs in HTML */
.int-icon svg {
    width: 40px;
    height: 40px;
    filter: none;
    transition: filter 0.3s ease;
}

.int-card:hover .int-icon svg {
    filter: none;
}

.int-name {
    font-size: 0.58rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.int-card:hover .int-name {
    opacity: 1;
}

/* Strategic Asset Section */
.strategic-section {
    padding: 20px 0 100px;
    background: var(--strategic-bg);
    position: relative;
    overflow: visible;
    /* Ensure glows bleed out */
    transition: background 0.4s ease;
}

.strategic-left-glow {
    position: absolute;
    bottom: -10%;
    left: -15%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle at center, rgba(0, 102, 255, 0.3) 0%, rgba(0, 102, 255, 0) 70%);
    filter: blur(100px);
    z-index: 1;
    pointer-events: none;
    opacity: 0.9;
}


.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    position: relative;
    z-index: 10;
}


.strategic-section .section-header h2 span {
    color: var(--primary-blue);
    background: linear-gradient(90deg, #00d2ff, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.strategic-section .section-header {
    margin: 0 auto 40px;
    max-width: 1100px;
}


.strategic-section .section-header p {
    max-width: 780px;
    margin: 0 auto;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-header h2 span {
    background: linear-gradient(90deg, #00d2ff, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.strategic-dynamic-content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 10;
    max-width: 1300px;
    /* Broadened to allow 1-line headings */
    margin: 70px auto 0;
    /* Adjusted for tighter balance */
}

.strategic-cards-stack {
    position: relative;
    height: 400px;
    margin-top: 120px;
    flex: 1;
    max-width: 650px;
    flex-shrink: 0;
    /* Prevent the cards from being squeezed by flexbox */
}

.strategic-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    backdrop-filter: none;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: absolute;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    transform: translateY(30px) scale(0.95);
}

.strategic-card.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    background: transparent;
    box-shadow: none;
}

.strategic-card::before {
    display: none;
}

.strategic-card.active::before {
    display: none;
}



/* Expanded Orbit & Visual Showcase */
.edge-orbit-container.expanded-orbit {
    width: 800px;
    height: 800px;
    right: -300px;
    top: 55%;
    transform: translateY(-50%);
}

.edge-orbit-container.expanded-orbit .orbit-circle {
    transition: transform 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: none !important;
}

.edge-orbit-container.expanded-orbit .orbit-0 {
    width: 20%;
    height: 20%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.4);
    opacity: 0.6;
}

.edge-orbit-container.expanded-orbit .orbit-1 {
    width: 40%;
    height: 40%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 45px rgba(255, 0, 0, 0.5);
    opacity: 0.7;
}

.edge-orbit-container.expanded-orbit .orbit-2 {
    width: 70%;
    height: 70%;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 60px rgba(255, 0, 0, 0.5);
    opacity: 0.8;
}

.edge-orbit-container.expanded-orbit .orbit-3 {
    width: 130%;
    height: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    opacity: 0.8;
    box-shadow: 0 0 80px rgba(255, 0, 0, 0.6);
}

.orbit-node {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 1px;
    transform: translate(-50%, -50%) rotate(45deg);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    z-index: 5;
}

/* Product Hub UI Showcase - Complex Dashboard */
.strategic-visual-showcase {
    position: relative;
    width: 520px;
    height: 440px;
    z-index: 7;
    flex: 1;
    max-width: 560px;
    transform: translateX(60px);
    background: rgba(2, 6, 23, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    padding: 30px;
    backdrop-filter: blur(10px);
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(0, 210, 255, 0.05);
}

/* Feature-Specific Themes & RGB Variables */
.visual-item[data-index="0"] .hub-window {
    --feat-color: #00d2ff;
    --rgb-feat: 0, 210, 255;
    --feat-glow: rgba(0, 210, 255, 0.4);
}

.visual-item[data-index="1"] .hub-window {
    --feat-color: #a855f7;
    --rgb-feat: 168, 85, 247;
    --feat-glow: rgba(168, 85, 247, 0.4);
}

.visual-item[data-index="2"] .hub-window {
    --feat-color: #ffbb00;
    --rgb-feat: 255, 187, 0;
    --feat-glow: rgba(255, 187, 0, 0.4);
}

.visual-item[data-index="3"] .hub-window {
    --feat-color: #10b981;
    --rgb-feat: 16, 185, 129;
    --feat-glow: rgba(16, 185, 129, 0.4);
}

.hub-window {
    width: 100%;
    height: 100%;
    background: #020617;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    overflow: hidden;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.7),
        0 30px 60px -30px rgba(0, 0, 0, 0.5),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
    position: relative;
    backdrop-filter: blur(40px);
    font-family: 'Poppins', sans-serif;
}

/* Mac-style Window Controls */
.hub-window::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 20px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff5f56;
    box-shadow: 15px 0 0 #ffbd2e, 30px 0 0 #27c93f;
    z-index: 10;
}

.hub-window::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 5;
}

/* Unique Layout Elements */
.hub-node-map {
    position: relative;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hub-node {
    width: 60px;
    height: 60px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid var(--feat-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--feat-color);
    box-shadow: 0 0 20px var(--feat-glow);
    z-index: 2;
}

.hub-node-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--feat-color), transparent);
    width: 200px;
    opacity: 0.3;
}

.hub-ledger {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-left: 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 10px;
}

.hub-ledger-step {
    position: relative;
    padding-bottom: 20px;
}

.hub-ledger-step::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 5px;
    width: 8px;
    height: 8px;
    background: var(--feat-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--feat-glow);
}

.hub-progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    margin-top: 10px;
    overflow: hidden;
    position: relative;
}

.hub-progress-fill {
    position: absolute;
    height: 100%;
    background: var(--feat-color);
    box-shadow: 0 0 15px var(--feat-glow);
    border-radius: 2px;
}

.hub-sidebar {
    width: 65px;
    background: rgba(1, 4, 18, 0.8);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 50px;
    gap: 20px;
}

.hub-sidebar-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.95rem;
    background: transparent;
    border: 1px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hub-sidebar-icon.active {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--feat-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hub-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 25px 30px;
    background: radial-gradient(at 0% 0%, rgba(var(--rgb-feat), 0.15) 0%, transparent 50%),
        radial-gradient(at 100% 100%, rgba(var(--rgb-feat), 0.1) 0%, transparent 50%),
        #020617;
    position: relative;
    z-index: 1;
}

/* Texture overlay for professional feel */
.hub-content::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    mix-blend-mode: overlay;
    pointer-events: none;
}

.hub-sidebar-icon.active {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(var(--rgb-feat), 0.3);
    color: var(--feat-color);
    box-shadow: 0 0 20px rgba(var(--rgb-feat), 0.2),
        inset 0 0 10px rgba(255, 255, 255, 0.02);
}

.hub-header {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.hub-tab {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hub-tab::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent);
}

.hub-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Enhancing list items for better realism */
/* Elite Hub Items */
.hub-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hub-item-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.hub-item-info {
    flex: 1;
}

.hub-item-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #f8fafc;
    margin-bottom: 4px;
}

.hub-item-date {
    font-size: 0.75rem;
    color: rgba(148, 163, 184, 0.6);
}

.hub-item-status {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
}

/* Status variants */
.status-sealed {
    background: rgba(0, 210, 255, 0.1);
    color: #00d2ff;
}

.status-synced {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.status-verified {
    background: rgba(168, 85, 247, 0.1);
    color: #a855f7;
}

/* Phone Overlay */
/* Realistic iPhone 15 Pro Mockup */
.hub-phone-mockup {
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    width: 160px;
    height: 320px;
    background: #000000;
    border-radius: 32px;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 40px 100px -10px rgba(0, 0, 0, 0.9);
    z-index: 20;
}

.hub-phone-mockup::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 32px;
    border: 3px solid #1e293b;
    /* Titanium frame */
    pointer-events: none;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #020617;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Dynamic Island */
.phone-header {
    height: 35px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.phone-notch {
    width: 50px;
    height: 16px;
    background: #000000;
    border-radius: 20px;
}

.phone-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 15px;
}

/* --- 4 UNIQUE VISUAL ARCHITECTURES --- */

/* 1. Heavy Industrial (Vault) */
.hub-vault-container {
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-50%) perspective(1000px) rotateY(-15deg);
    width: 220px;
    height: 220px;
    background: #1e293b;
    border-radius: 20px;
    border: 10px solid #334155;
    box-shadow: -20px 40px 80px rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
}

.vault-door {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle at center, #475569, #0f172a);
    border-radius: 50%;
    border: 4px solid #0f172a;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.vault-wheel {
    font-size: 3.5rem;
    color: #94a3b8;
    animation: rotateWheel 15s linear infinite;
}

.vault-status {
    font-size: 0.7rem;
    font-weight: 900;
    color: #00d2ff;
    text-shadow: 0 0 15px #00d2ff;
    margin-top: 12px;
    letter-spacing: 2px;
}

/* 2. Enterprise Workstation (MacBook Space Gray) */
.hub-mac-mockup {
    position: absolute;
    right: -50px;
    top: 50%;
    transform: translateY(-50%) perspective(1500px) rotateY(-12deg);
    width: 350px;
    height: 230px;
    background: #1e293b;
    border-radius: 14px;
    border: 8px solid #0f172a;
    box-shadow: 20px 40px 100px rgba(0, 0, 0, 0.7);
    z-index: 20;
    overflow: visible;
}

.mac-screen-content {
    position: absolute;
    inset: 5px;
    background: #020617;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cloud-dashboard {
    width: 80%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cloud-row {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.cloud-box {
    width: 60px;
    height: 60px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #a855f7;
}

.cloud-loader {
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.cloud-loader::after {
    content: '';
    position: absolute;
    left: -50%;
    width: 50%;
    height: 100%;
    background: #a855f7;
    animation: cloudLoad 2s infinite linear;
}

@keyframes cloudLoad {
    from {
        left: -50%;
    }

    to {
        left: 100%;
    }
}

.floating-data-shard {
    position: absolute;
    width: 25px;
    height: 25px;
    background: rgba(168, 85, 247, 0.2);
    border: 1px solid rgba(168, 85, 247, 0.4);
    z-index: 25;
}

.shard-1 {
    top: -20px;
    left: -20px;
    animation: driftShard 8s infinite ease-in-out;
}

.shard-2 {
    bottom: -20px;
    right: -20px;
    animation: driftShard 8s infinite ease-in-out -4s;
}

@keyframes driftShard {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(20px, 20px) rotate(180deg);
    }
}

/* 3. Futuristic Data Crystal (Holographic Cube) */
.hub-holo-crystal {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 200px;
    height: 200px;
    perspective: 1000px;
    z-index: 20;
}

.crystal-core {
    width: 120px;
    height: 120px;
    margin: 40px auto;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateCrystal 12s infinite linear;
}

.crystal-face {
    position: absolute;
    width: 120px;
    height: 120px;
    background: rgba(245, 158, 11, 0.05);
    border: 2px solid rgba(245, 158, 11, 0.4);
    box-shadow: inset 0 0 30px rgba(245, 158, 11, 0.2);
}

.crystal-face.front {
    transform: translateZ(60px);
}

.crystal-face.back {
    transform: rotateY(180deg) translateZ(60px);
}

.crystal-face.left {
    transform: rotateY(-90deg) translateZ(60px);
}

.crystal-face.right {
    transform: rotateY(90deg) translateZ(60px);
}

.crystal-face.top {
    transform: rotateX(90deg) translateZ(60px);
}

.crystal-face.bottom {
    transform: rotateX(-90deg) translateZ(60px);
}

@keyframes rotateCrystal {
    from {
        transform: rotateX(0deg) rotateY(0deg);
    }

    to {
        transform: rotateX(360deg) rotateY(360deg);
    }
}

.crystal-data-stream {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(to bottom, transparent, rgba(245, 158, 11, 0.2) 2px, transparent 4px);
    animation: streamMove 4s infinite linear;
}

@keyframes streamMove {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 0 100%;
    }
}

.holo-base {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 4px;
    background: rgba(245, 158, 11, 0.5);
    filter: blur(8px);
    border-radius: 50%;
}

/* 4. Mobile Projection (Identity Shield) */
.hub-phone-mockup {
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%) rotateY(-10deg);
    width: 160px;
    height: 320px;
    background: #0f172a;
    border-radius: 36px;
    border: 5px solid #334155;
    box-shadow: 20px 40px 80px rgba(0, 0, 0, 0.8);
    z-index: 20;
    overflow: visible;
}

.bio-auth-ui {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.auth-ring {
    width: 80px;
    height: 80px;
    border: 3px solid #10b981;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 2s infinite linear;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-finger {
    font-size: 2.5rem;
    color: #10b981;
}

.auth-success-badge {
    padding: 6px 15px;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 800;
}

.holo-id-projection {
    position: absolute;
    top: 10%;
    left: -120px;
    width: 140px;
    height: 90px;
    background: rgba(16, 185, 129, 0.1);
    border: 2px solid rgba(16, 185, 129, 0.4);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #10b981;
    backdrop-filter: blur(5px);
    animation: floatHolo 4s infinite ease-in-out;
}

@keyframes floatHolo {

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

    50% {
        transform: translateY(-15px) rotateX(-5deg);
    }
}

.scan-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: #10b981;
    animation: scanMove 3s infinite linear;
}

@keyframes scanMove {
    0% {
        top: 0;
    }

    100% {
        top: 100%;
    }
}

@keyframes rotateWheel {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* --- Mobile Components (Keeping only for Identity Shield) --- */

/* 4. Biometric Profile Reality */
.bio-profile {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 30px;
}

.profile-pic {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--feat-color);
}

.bio-scan-ring {
    position: absolute;
    inset: -5px;
    border: 2px solid var(--feat-color);
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 2s linear infinite;
    box-shadow: 0 0 15px var(--feat-glow);
}

.identity-switches {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mini-toggle {
    width: 30px;
    height: 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    position: relative;
    transition: all 0.3s ease;
}

.mini-toggle::after {
    content: '';
    position: absolute;
    left: 2px;
    top: 2px;
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.mini-toggle.active {
    background: var(--feat-color);
}

.mini-toggle.active::after {
    transform: translateX(14px);
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.phone-text h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
}

.phone-text p {
    font-size: 0.70rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.4;
}

/* Glossy screen reflection */
.phone-screen::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(125deg, rgba(255, 255, 255, 0.05) 0%, transparent 40%, rgba(255, 255, 255, 0.02) 100%);
    pointer-events: none;
}

/* Animations for item entrances */
.visual-item.active .hub-item {
    animation: hubItemSlide 0.6s ease forwards;
    animation-delay: var(--delay);
    opacity: 0;
}

@keyframes hubItemSlide {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

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

.visual-item {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform: translateX(30px) scale(0.98);
}

.visual-item.active {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.strat-icon-box {
    width: 64px;
    height: 64px;
    background: var(--elite-card-bg);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--elite-card-border);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.strat-content h3 {
    font-size: 2.2rem;
    /* Larger title for one-at-a-time display */
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 15px;
    letter-spacing: -0.01em;
    line-height: 1.1;
}

.strat-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.6;
}

@media (max-width: 1200px) {
    .edge-orbit-container.expanded-orbit {
        width: 1200px;
        height: 1200px;
        right: -600px;
        top: 55%;
        transform: translateY(-50%);
    }

    .strategic-visual-showcase {
        width: 500px;
        height: 350px;
    }
}

@media (max-width: 991px) {
    .strategic-dynamic-content {
        max-width: 100%;
    }

    .edge-orbit-container.expanded-orbit {
        position: relative;
        width: 100%;
        height: 400px;
        right: 0;
        margin-top: 50px;
        transform: none;
    }

    .strategic-visual-showcase {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        width: 100%;
        height: 300px;
    }

    .strategic-cards-stack {
        height: auto;
        position: static;
    }

    .strategic-card {
        position: relative;
        width: 100%;
        display: none;
    }

    .strategic-card.active {
        display: flex;
    }
}

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

    .section-header h2 {
        font-size: 2rem;
    }
}

/* Edge Glow Animations - High Visibility 'Semicircle' Fix */
.edge-glow {
    display: none;
    position: absolute;
    width: 600px;
    height: 600px;
    top: 65%;
    transform: translateY(-50%);
    filter: blur(120px);
    z-index: 5;
    /* Above bg-layers, behind container */
    pointer-events: none;
    border-radius: 50%;
    opacity: 0.3;
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 25%, black 75%, transparent);
    mask-image: linear-gradient(to bottom, transparent, black 25%, black 75%, transparent);
}

.edge-glow.left {
    left: -300px;
    /* Centered on the left edge */
    background: radial-gradient(circle at 100% 50%, rgba(0, 210, 255, 0.95) 0%, transparent 85%);
    animation: edgeGlowPulseLeft 10s ease-in-out infinite alternate;
}

.edge-glow.right {
    right: -550px;
    /* Centered on the right edge */
    background: radial-gradient(circle at 0% 50%, rgba(168, 85, 247, 0.95) 0%, transparent 85%);
    animation: edgeGlowPulseRight 12s ease-in-out infinite alternate;
}

@keyframes edgeGlowPulseLeft {
    0% {
        opacity: 0.4;
        transform: translateY(-50%) scale(1);
        left: -350px;
    }

    100% {
        opacity: 1;
        transform: translateY(-30%) scale(1.4);
        left: -280px;
    }
}

@keyframes edgeGlowPulseRight {
    0% {
        opacity: 0.4;
        transform: translateY(-50%) scale(1);
        right: -600px;
    }

    100% {
        opacity: 0.8;
        transform: translateY(-30%) scale(1.4);
        right: -500px;
    }
}

@media (max-width: 991px) {
    .edge-glow {
        width: 300px;
        height: 500px;
        filter: blur(80px);
        opacity: 0.6;
    }

    .edge-glow.left {
        left: -180px;
    }

    .edge-glow.right {
        right: -180px;
    }
}

/* Badges */
.badge {
    position: absolute;
    top: -6px;
    right: -6px;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    z-index: 2;
}

.badge.new {
    background: #6366F1;
    color: white;
}

.badge.beta {
    background: #94A3B8;
    color: white;
}

/* Animations for Grid Items - Sequential Staggered Reveal */


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

/* Grid layout tweaks for the infinite feel */
.integrations-grid>div:nth-child(7n+1),
.integrations-grid>div:nth-child(7n+7) {
    opacity: 0.15;
    /* More fade on extreme sides */
}


@media (max-width: 1200px) {
    .integrations-grid {
        grid-template-columns: repeat(5, 1fr);
        mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 95%);
        -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 95%);
    }
}

@media (max-width: 768px) {
    .integrations-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .hide-mobile {
        display: none;
    }
}

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

/* Edge Orbit Container - Strategic Asset Section */
.edge-orbit-container {
    position: absolute;
    top: 50%;
    right: -400px;
    transform: translateY(-50%);
    width: 800px;
    height: 800px;
    z-index: 6;
    pointer-events: none;
}

.edge-orbit-container .orbit-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px dashed var(--orbit-ring);
    border-radius: 50%;
    transition: border-color 0.4s ease;
}

.edge-orbit-container .orbit-1 {
    width: 300px;
    height: 300px;
    animation: edge-orbit-rotate 10s linear infinite;
}

.edge-orbit-container .orbit-2 {
    width: 550px;
    height: 550px;
    animation: edge-orbit-rotate 18s linear infinite reverse;
}


.edge-orbit-container .orbiting-icon {
    position: absolute;
    width: 46px;
    height: 46px;
    background: var(--orbit-icon-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.15rem;
    border: 1px solid var(--orbit-icon-border);
    color: var(--orbit-icon-text);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Specific icon positions for semicircular view */
.edge-orbit-container .orbit-1 .icon-pdf {
    top: 15%;
    left: 15%;
    transform: translate(-50%, -50%);
}

.edge-orbit-container .orbit-1 .icon-graph {
    bottom: 15%;
    left: 15%;
    transform: translate(-50%, -50%);
}

.edge-orbit-container .orbit-2 .icon-doc {
    top: 50%;
    left: 0;
    transform: translate(-50%, -50%);
}

.edge-orbit-container .orbit-2 .icon-shield {
    top: 15%;
    left: 15%;
    transform: translate(-50%, -50%);
}

.edge-orbit-container .orbit-2 .icon-lock {
    bottom: 15%;
    left: 15%;
    transform: translate(-50%, -50%);
}



.edge-orbit-container .orbiting-icon:hover {
    transform: scale(1.2) !important;
    background: rgba(255, 255, 255, 0.1);
    border-color: #00d2ff;
    box-shadow: 0 0 25px rgba(0, 210, 255, 0.4);
    z-index: 50;
}

/* Icon specific colors for vibrancy */
.edge-orbit-container .icon-pdf {
    border-color: rgba(239, 68, 68, 0.3);
    color: #ff6b6b;
}

.edge-orbit-container .icon-graph {
    border-color: rgba(245, 158, 11, 0.3);
    color: #ffd93d;
}

.edge-orbit-container .icon-doc {
    border-color: rgba(59, 130, 246, 0.3);
    color: #70a1ff;
}

.edge-orbit-container .icon-shield {
    border-color: rgba(16, 185, 129, 0.3);
    color: #55efc4;
}

.edge-orbit-container .icon-lock {
    border-color: rgba(139, 92, 246, 0.3);
    color: #a29bfe;
}

.edge-orbit-container .icon-cloud {
    border-color: rgba(6, 182, 212, 0.3);
    color: #00cec9;
}

.edge-orbit-container .icon-sign {
    border-color: rgba(244, 114, 182, 0.3);
    color: #fab1a0;
}

.edge-orbit-container .icon-folder {
    border-color: rgba(100, 116, 139, 0.3);
    color: #dfe6e9;
}

.edge-orbit-container .icon-excel {
    border-color: rgba(34, 197, 94, 0.3);
    color: #55efc4;
}

/* Keep Upright Animations for Edge Orbits */
.edge-orbit-container .orbiting-icon {
    animation: edge-keep-upright 25s linear infinite !important;
}

.edge-orbit-container .orbit-1 .orbiting-icon {
    animation-duration: 10s;
}

.edge-orbit-container .orbit-2 .orbiting-icon {
    animation-duration: 18s;
    animation-direction: reverse;
}

.edge-orbit-container .orbit-3 .orbiting-icon {
    animation-duration: 25s;
}

@keyframes edge-keep-upright {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(-360deg);
    }
}

@keyframes edge-orbit-rotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@media (max-width: 991px) {
    .edge-orbit-container {
        width: 400px;
        height: 400px;
        right: -20%;
    }

    .edge-orbit-container .orbit-1 {
        width: 150px;
        height: 150px;
    }

    .edge-orbit-container .orbit-2 {
        width: 275px;
        height: 275px;
    }

    .edge-orbit-container .orbit-3 {
        width: 400px;
        height: 400px;
    }

    .edge-orbit-container .orbiting-icon {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
}

/* Stats Section */

/* Stats Section */
/* Testimonials V3 Section */
/* Testimonials V3 Section - Enhanced 3D Look */
.testimonials-v3-section {
    padding: 120px 0;
    background: #020617;
    /* Solid dark background for depth */
    position: relative;
    overflow: hidden;
    color: #f8fafc;
    /* Force light text visibility */
    perspective: 1200px;
    /* Base for 3D effects */
}

.testimonials-v3-section .test-subtitle,
.testimonials-v3-section .card-text-content p {
    color: #94a3b8 !important;
    /* Muted light color for secondary text */
}

.testimonials-v3-section h2,
.testimonials-v3-section h3 {
    color: #f8fafc !important;
}

/* Testimonial Background Enhancements */
.test-glow-1,
.test-glow-2 {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    /* Slightly less blur for more definition */
    opacity: 0.4;
    /* Significantly higher opacity */
    z-index: 1;
    pointer-events: none;
}

.test-glow-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-blue), transparent 70%);
    top: -15%;
    left: -10%;
    animation: glowPulse 12s infinite alternate ease-in-out;
}

.test-glow-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #3b82f6, transparent 70%);
    bottom: -15%;
    right: -10%;
    animation: glowPulse 18s infinite alternate-reverse ease-in-out;
}


.test-grain-overlay {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.08;
    /* Increased grain visibility */
    z-index: 2;
    pointer-events: none;
}

@keyframes glowPulse {
    0% {
        transform: scale(1) translate(0, 0);
        opacity: 0.1;
    }

    100% {
        transform: scale(1.2) translate(30px, 20px);
        opacity: 0.2;
    }
}


.testimonials-v3-header p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

.testimonials-v3-carousel-wrapper {
    position: relative;
    padding: 0 60px;
}

.testimonials-v3-track-container {
    overflow: hidden;
    padding: 20px 0;
}

.testimonials-v3-track {
    display: flex;
    gap: 30px;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.test-card-v3 {
    flex: 0 0 100%;
    max-width: 100%;
}

.test-card-inner {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 50px 60px;
    border-radius: 32px;
    min-height: 250px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 40px;
    align-items: center;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    backdrop-filter: blur(20px);
    box-shadow:
        0 10px 30px -5px rgba(0, 0, 0, 0.3),
        0 20px 50px -10px rgba(0, 0, 0, 0.5),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
    transform-style: preserve-3d;
}

.test-card-v3:hover .test-card-inner {
    transform: translateY(-15px) rotateX(4deg) scale(1.02);
    border-color: rgba(0, 102, 255, 0.4);
    box-shadow:
        0 30px 60px -12px rgba(0, 0, 0, 0.6),
        0 18px 36px -18px rgba(0, 0, 0, 0.7),
        0 0 30px rgba(0, 102, 255, 0.1);
}

.test-card-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 32px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent 50%, rgba(255, 255, 255, 0.05));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.quote-icon {
    font-size: 3rem;
    color: var(--primary-blue);
    opacity: 0.2;
    align-self: flex-start;
    margin-top: -10px;
}

.test-card-inner h3 {
    font-size: 1.5rem;
    line-height: 1.3;
    color: var(--text-primary);
    margin: 0;
    font-weight: 700;
}

.test-card-inner p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

.testimonials-v3-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 100;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-primary);
    font-size: 1.2rem;
}

.testimonials-v3-nav:hover {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 30px rgba(0, 102, 255, 0.3);
}

.testimonials-v3-nav.prev {
    left: -30px;
}

.testimonials-v3-nav.next {
    right: -30px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.dot {
    width: 8px;
    height: 8px;
    background: rgba(0, 102, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    width: 24px;
    border-radius: 4px;
    background: var(--accent-yellow);
}

@media (max-width: 1200px) {
    .testimonials-v3-nav.prev {
        left: 10px;
    }

    .testimonials-v3-nav.next {
        right: 10px;
    }

    .testimonials-v3-carousel-wrapper {
        padding: 0 40px;
    }
}

@media (max-width: 1024px) {
    .test-card-inner {
        padding: 40px;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .test-card-inner {
        display: flex;
        flex-direction: column;
        padding: 30px;
        text-align: center;
        gap: 20px;
    }

    .quote-icon {
        align-self: center;
        font-size: 2rem;
    }

    .test-card-inner h3 {
        font-size: 1.3rem;
    }

    .testimonials-v3-nav {
        display: none;
    }
}



/* Management Carousel Section */
.management-section {
    padding: 60px 0 100px;
    background: var(--bg-body);
}

.management-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.management-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
}

.management-header h2 span {
    color: var(--primary-blue);
    background: linear-gradient(90deg, #0066ff, #ff0000);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.carousel-controls {
    display: flex;
    gap: 15px;
}

.carousel-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid var(--card-border);
    background: var(--card-bg);
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    color: var(--text-primary);
}

.carousel-btn:hover {
    background: var(--primary-blue);
    color: var(--text-inverse);
    border-color: var(--primary-blue);
    transform: translateY(-2px);
}

.management-carousel {
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 30px;
}

.carousel-card {
    min-width: calc(100% - 60px);
    background: var(--card-bg);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    height: 500px;
    opacity: 0.5;
    transform: scale(0.95);
    transition: all 0.6s ease;
}

.carousel-card.active {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 20px 60px rgba(0, 102, 255, 0.15);
}

.card-content {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-category {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-blue);
    letter-spacing: 1.5px;
    margin-bottom: 15px;
}

.card-content h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.card-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.card-image {
    background: var(--bg-accent);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.carousel-card.active .card-image img {
    transform: scale(1.05);
}

/* Features Section */
.features {
    padding: 60px 0 100px;
    background: var(--bg-body);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.feature-card {
    padding: 40px;
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-block;
}

/* CTA Section */
.cta {
    padding: 60px 0 100px;
    background: var(--text-primary);
    color: var(--text-inverse);
    text-align: center;
}

/* Footer */
.footer {
    padding: 80px 0 20px;
    background: var(--bg-hero-start);
    color: var(--text-muted);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

/* Testimonials Section */
.testimonials-section {
    padding: 60px 0 100px;
    background: var(--bg-body);
    text-align: center;
}

.testimonials-title {
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.testimonials-title span {
    color: var(--primary-blue);
    background: linear-gradient(90deg, #0066ff, #ff0000);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.test-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.test-slide {
    min-width: 100%;
    padding: 0 40px;
    opacity: 0.2;
    transform: scale(0.9);
    transition: all 0.6s ease;
}

.test-slide.active {
    opacity: 1;
    transform: scale(1);
}

.test-quote {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 30px;
    font-style: normal;
}

.test-brand {
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    overflow: hidden;
}

.press-logo {
    max-width: 200px;
    height: auto;
    object-fit: contain;
}

/* Clipping press logos set to show specific logos */
.press-logo.techradar {
    object-position: 0% center;
}

.press-logo.wired {
    object-position: 25% center;
}

.press-logo.forbes {
    object-position: 50% center;
}

.press-logo.pcmag {
    object-position: 75% center;
}

.read-more {
    display: inline-block;
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: var(--transition);
}

.read-more:hover {
    text-decoration: underline;
    transform: translateX(5px);
}

.test-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    height: 50px;
    border-radius: 50%;
    border: 1px solid var(--card-border);
    background: var(--card-bg);
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    z-index: 10;
    color: var(--text-primary);
}

.test-btn:hover {
    background: var(--primary-blue);
    color: var(--text-inverse);
    border-color: var(--primary-blue);
}

.test-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary-blue);
    width: 24px;
    border-radius: 4px;
}

/* Scenarios Section (Sticky Scroll) */
.scenarios-section {
    position: relative;
    background: transparent;
    color: var(--text-primary);
}

.scenarios-sticky-wrapper {
    height: 600vh;
    /* 6 slides * 100vh */
    position: relative;
}

.scenario-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.8;
    background-size: cover;
    background-position: center;
    transition: background-image 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    filter: blur(5px) brightness(0.6) saturate(0.9);
    transform: scale(1.1);
}

/* Subtle Premium Grain */
.scenario-bg-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3%3Cfilter id='noiseFilter'%3%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.04;
    mix-blend-mode: overlay;
    pointer-events: none;
}

.sticky-content {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 70px;
    padding-bottom: 40px;
    overflow: hidden;
    width: 100% !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.scenarios-section .container {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

.scenario-header {
    text-align: center;
    margin-bottom: 20px;
    padding: 0;
    flex-shrink: 0;
    position: relative;
    z-index: 5;
}

.scenario-header h2 {
    color: #f8fafc;
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.03em;
    line-height: 1.1;
    white-space: normal;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.scenario-header h2 span {
    color: var(--primary-blue);
    background: linear-gradient(90deg, #0ea5e9, #2563eb);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

.scenario-subheader {
    font-size: 1.05rem;
    opacity: 0.9;
    font-weight: 400;
    /* Reduced size */
    color: #ffffff;
    max-width: 1200px;
    /* Reduced to align with heading */
    margin: 0 auto 35px;
    /* Increased margin for better spacing */
    line-height: 1.5;
    text-align: center;
    font-weight: 400;
}

.scenario-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    /* Reduced gap */
    padding: 2px 0;
    position: relative;
    border-bottom: none;
    flex-wrap: wrap;
    margin-bottom: 10px;
    /* Minimal space */
}

.tab {
    padding: 10px 22px;
    /* Reduced padding */
    border-radius: 100px;
    font-size: 0.9rem;
    /* Smaller font */
    font-weight: 500;
    color: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
    position: relative;
    text-shadow: none;
}

.tab.active {
    color: #f8fafc;
    font-weight: 700;
    /* Slightly bolder when active */
}

.nav-marker {
    position: absolute;
    bottom: unset;
    /* Override bottom -16px */
    top: 50%;
    /* Center vertically */
    transform: translateY(-50%);
    height: 46px;
    /* Matches tab height roughly */
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.4) 0%, rgba(96, 165, 250, 0.3) 100%);
    border: 2px solid rgba(29, 78, 216, 0.8);
    /* Darker blue border */
    border-bottom: 4px solid rgba(29, 78, 216, 1);
    /* Thicker bottom for 3D effect */
    border-radius: 100px;
    z-index: 1;
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.5), inset 0 2px 5px rgba(255, 255, 255, 0.2), inset 0 -2px 5px rgba(0, 0, 0, 0.3);
    /* Multiple shadows for depth */
}

.scenario-visual-container {
    position: relative;
    max-width: 100% !important;
    width: 100% !important;
    height: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    margin: 0 !important;
    padding: 0 !important;
    min-height: 500px;
}

.scenario-visual-track {
    width: 100%;
    height: 100%;
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.scenario-slide {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 40px;
    opacity: 0;
    transform: translateY(20px) translateY(-50%);
    transition: all 0.5s ease;
    perspective: 2000px;
    transform-style: preserve-3d;
}

.scenario-slide.active {
    opacity: 1;
    transform: translateY(0) translateY(-50%);
}

.scenario-caption {
    font-size: 1.15rem;
    font-weight: 500;
    color: #cbd5e1;
    /* Soft gray for body text */
    max-width: 1200px !important;
    width: 100%;
    text-align: left;
    line-height: 1.7;
    flex: 0 0 55%;
    padding: 60px 60px 60px 150px !important;
    margin-left: 0 !important;
    border-bottom: none !important;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.scenario-caption strong {
    display: block;
    font-size: 2.2rem;
    /* Slightly larger for impact */
    color: #f8fafc;
    /* Crisp white header */
    margin-bottom: 16px;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: none;
    -webkit-text-fill-color: initial;
    text-shadow: none;
}

.mockup-frame {
    flex: 0 0 45%;
    /* Increased size slightly */
    margin-left: auto;
    margin-right: 120px !important;
    height: 460px;
    /* Fixed height restored */
    background: transparent;
    border-radius: 20px;
    padding: 0;
    /* Remove padding to let image fill */
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    /* Clean, deep shadow */
    display: flex;
    justify-content: center;
    align-items: center;
    transform: perspective(1000px) rotateY(-5deg);
    /* Subtle depth only */
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.mockup-frame:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
    box-shadow: 0 35px 60px -15px rgba(0, 0, 0, 0.6);
}

.mockup-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    /* Smooth corners */
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* Subtle border */
    display: block;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
    /* Inner shadow for definition */
}

/* MacBook Camera Dot */
/* MacBook Camera Dot - Removed for immersive view */
.mockup-frame::before {
    display: none;
}

/* Glossy Reflection Overlay - Removed to hide extra "box" elements */
.mockup-frame::after {
    display: none;
}

.scenario-slide.active .mockup-frame img {
    transform: scale(1.02);
}

/* User Testimonials V2 */
.user-testimonials-v2 {
    padding: 80px 0 40px;
    background: var(--bg-hero-end);
    overflow: hidden;
    position: relative;
}

/* Testimonials V3 Header Styles */
.testimonials-v3-header {
    text-align: center;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.header-left {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.test-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(0, 102, 255, 0.1);
    border: 1px solid rgba(0, 102, 255, 0.3);
    border-radius: 50px;
    color: #0066ff;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.testimonials-v3-header h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin: 0;
    white-space: nowrap;
    display: inline-block;
}

.testimonials-v3-header h2 span {
    background: linear-gradient(90deg, #0066ff, #8A2BE2);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.testimonials-v3-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
    max-width: 100%;
}

.testimonial-v2-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.testimonial-v2-header h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
}

.highlight-purple {
    background: linear-gradient(90deg, #0066ff, #8A2BE2);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.testimonial-v2-nav {
    display: flex;
    gap: 15px;
}

.nav-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid #d2d2d7;
    background: transparent;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.nav-btn:hover {
    border-color: #86868b;
    background: rgba(0, 0, 0, 0.05);
}

.testimonial-v2-track-wrapper {
    overflow: hidden;
    padding: 20px 0;
}

.testimonial-v2-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease;
}

.testimonial-v2-card {
    min-width: 350px;
    background: var(--card-bg);
    padding: 18px;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--card-border);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.quote-icon {
    margin-bottom: 6px;
}

.testimonial-v2-card h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin: 0;
}

.testimonial-v2-card .role {
    font-size: 0.9rem;
    color: #0066ff;
    font-weight: 500;
}

.testimonial-v2-card .text {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-top: 6px;
}

/* Footer Enhancements */
.footer {
    padding: 100px 0 120px;
    background: var(--footer-bg);
    color: var(--footer-text);
    position: relative;
    z-index: 100;
}

.footer p,
.footer-newsletter p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-newsletter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 60px;
}

.newsletter-content h3 {
    color: var(--footer-heading);
    font-size: 2rem;
    margin-bottom: 10px;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    max-width: 450px;
}

.newsletter-form input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--footer-heading);
    padding: 0 20px;
    font-size: 1rem;
    outline: none;
}

.newsletter-form .btn-primary {
    padding: 12px 30px;
    border-radius: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.2fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: var(--footer-heading);
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a {
    color: var(--footer-text);
    transition: color 0.3s ease;
    text-decoration: none;
}

.footer-col a:hover {
    color: var(--primary-blue);
}

.branding .logo {
    color: var(--footer-heading);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    display: inline-block;
}

.branding p {
    line-height: 1.6;
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--footer-heading);
    transition: all 0.3s ease;
}


.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid var(--card-border);
}

.footer-legal {
    display: flex;
    gap: 30px;
}

.footer-legal a,
.footer-legal a:visited {
    font-size: 0.9rem;
    color: var(--footer-text);
}

.footer-bottom p {
    color: var(--footer-text);
}


/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .test-quote {
        font-size: 1.4rem;
    }

    .test-btn {
        display: none;
    }

    .scenario-header h2 {
        font-size: 2rem;
    }

    .scenario-slide {
        flex-direction: column;
        justify-content: flex-start;
        gap: 20px;
        text-align: center;
        top: 0;
        transform: translateY(20px);
    }

    .scenario-slide.active {
        transform: translateY(0);
    }

    .scenario-slide .scenario-caption {
        flex: 0 0 auto;
        max-width: 100%;
        text-align: center;
        padding: 0 20px 20px;
        border-bottom: none;
    }

    .scenario-slide .mockup-frame {
        width: 100%;
        height: auto;
        min-height: 300px;
        flex: 0 0 auto;
    }
}

/* Scenario Navigation Arrows */

/* Scroll-driven Text Animations */
.scenario-header {
    transition: transform 0.1s linear;
    will-change: transform;
    position: relative;
    z-index: 2;
}

.scenario-slide .scenario-caption {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    flex: 0 0 55% !important;
    max-width: 1100px !important;
    padding-left: 150px !important;
    margin-left: 0 !important;
}

.scenario-slide.active .scenario-caption {
    opacity: 1;
    transform: translateY(0);
}

/* Box Reveal Animation Overrides */
/* Consolidated with main scenario-bg-overlay above */

/* .sticky-content rules consolidated above */


/* Interactive Image Scroll (Parallax) */
.card-image img {
    transition: transform 0.2s ease-out;
    /* Smooth movement */
    will-change: transform;
    display: block;
    /* Ensure it behaves correctly */
    pointer-events: none;
    /* Prevent interference */
}

/* Ensure container allows overflow if needed, or keep hidden */
.card-image {
    overflow: hidden;
    perspective: 1000px;
    /* Optional for 3D feel */
}


/* Drag-to-Slide Cursors */

.management-carousel.active {
    cursor: grabbing !important;
}

/* Testimonial V2 Track Speed */
.testimonial-v2-track {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Glassmorphism for Scenario Visuals */
.hub-window {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.36), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
}

/* HIGH-SPECIFICITY SCENARIO FINALIZATION */
.scenarios-section .scenario-slide {
    perspective: 2000px !important;
    transform-style: preserve-3d !important;
    gap: 120px !important;
}

.scenarios-section .scenario-slide .scenario-caption {
    font-size: 1.15rem !important;
    padding-left: 150px !important;
    flex: 0 0 50% !important;
    max-width: 1000px !important;
}

.scenarios-section .scenario-slide .scenario-caption strong {
    font-size: 1.8rem !important;
    white-space: nowrap !important;
}

.scenarios-section .scenario-slide .mockup-frame {
    margin-right: 150px !important;
    flex: 0 0 35% !important;
    height: 320px !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    transform: rotateY(-10deg) rotateX(5deg) !important;
    box-shadow: none !important;
    transform-style: preserve-3d !important;
    overflow: hidden !important;
    /* Aggressive clipping of edge artifacts */
}

/* Aggressively target the jurisdiction image to remove the black border or bracket artifacts */
#slide-3 .mockup-frame img {
    border: none !important;
    box-shadow: none !important;
    /* Use an aggressive 8px crop to remove any artifacts near the edges */
    clip-path: inset(8px) !important;
    object-fit: cover !important;
    /* Maintain standard subtle scale */
    transform: scale(1.02) !important;
}


/* --- Feature Page Specific (Elite Enhancement) --- */
.feature-page {
    background-color: #020617;
    /* Slate 950 */
}

.feature-hero {
    position: relative;
    padding: 180px 0 120px;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #312e81 100%);
    overflow: hidden;
}

.feature-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.feature-hero .container {
    position: relative;
    z-index: 2;
}

.feature-title {
    font-size: 4.8rem;
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 40px;
    letter-spacing: -0.03em;
    filter: drop-shadow(0 0 40px rgba(0, 102, 255, 0.2));
}

.blob-3 {
    top: -100px;
    left: -100px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.1) 0%, transparent 70%);
}

.blob-4 {
    bottom: -100px;
    right: -100px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
}

.hero-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(circle at 50% 50%, black, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at 50% 50%, black, transparent 80%);
    pointer-events: none;
    z-index: 1;
}

.feature-description {
    font-size: 1.4rem;
    color: #94a3b8;
    /* Slate 400 */
    max-width: 850px;
    line-height: 1.5;
    margin-bottom: 50px;
}

.feature-description strong {
    color: #f8fafc;
    /* Slate 50 */
    font-weight: 600;
}

.feature-description .emphasized {
    margin-top: 25px;
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 1.5rem;
}

.feature-ctas {
    display: flex;
    gap: 25px;
}

/* --- Feature Page Specific (Elite Enhancement) --- */
.feature-page {
    background-color: #020617;
}

.feature-hero {
    position: relative;
    padding: 100px 0 30px;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1447 50%, #2d1b69 100%);
    overflow: hidden;
    min-height: 100vh;
    max-height: 100vh;
    display: flex;
    align-items: center;
}

.feature-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.feature-hero .container {
    position: relative;
    z-index: 2;
}

/* Hero Layout - Two Column */
.hero-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.feature-hero .hero-content {
    max-width: 750px;
    padding-top: 60px;
}

/* Elite Badge */
.elite-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 102, 255, 0.12);
    border: 1.5px solid rgba(0, 102, 255, 0.5);
    padding: 8px 16px;
    border-radius: 100px;
    color: var(--primary-blue);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.2);
    animation: badge-glow 3s ease-in-out infinite;
}

@keyframes badge-glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(0, 102, 255, 0.2);
    }

    50% {
        box-shadow: 0 0 30px rgba(0, 102, 255, 0.4);
    }
}

.elite-badge i {
    font-size: 1rem;
}

/* Feature Title */
.feature-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -0.03em;
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff 30%, var(--primary-blue) 90%, #a78bfa 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    filter: drop-shadow(0 0 40px rgba(0, 102, 255, 0.3)) !important;
}

/* Hero Subtitle */
.hero-subtitle {
    margin-bottom: 25px;
}

.hero-subtitle p {
    font-size: 1.05rem;
    color: #94a3b8;
    line-height: 1.5;
    margin-bottom: 12px;
}

.hero-subtitle .highlight-text {
    font-size: 1.1rem;
    color: #e2e8f0;
    line-height: 1.4;
}

.hero-subtitle .highlight-text strong {
    color: #ffffff;
    font-weight: 700;
}

/* Trust Statement */
.trust-statement {
    display: flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.08) 0%, rgba(99, 102, 241, 0.05) 100%);
    border-left: 4px solid var(--primary-blue);
    padding: 18px 22px;
    border-radius: 12px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.statement-icon {
    width: 42px;
    height: 42px;
    background: rgba(0, 102, 255, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.statement-icon i {
    font-size: 1.2rem;
    color: var(--primary-blue);
}

.statement-text {
    flex: 1;
}

.statement-text strong {
    font-size: 1rem;
    color: var(--primary-blue);
    line-height: 1.3;
}

/* Feature CTAs */
.feature-ctas {
    display: flex;
    gap: 20px;
    flex-wrap: nowrap;
    align-items: center;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0096d1 100%);
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 102, 255, 0.4);
}

.btn-primary i {
    transition: transform 0.3s ease;
}

.btn-primary:hover i {
    transform: translateX(5px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #f8fafc;
    padding: 13px 26px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    border-color: var(--primary-blue);
    background: rgba(0, 102, 255, 0.1);
    transform: translateY(-2px);
}

/* Proof Showcase Card */
.hero-visual {
    position: relative;
}

.animated-tech-visual {
    position: relative;
    width: 100%;
    max-width: 750px;
    height: 650px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1500px;
}

.visual-core {
    position: relative;
    width: 480px;
    height: 480px;
    transform-style: preserve-3d;
    animation: core-float 6s ease-in-out infinite;
}

.core-inner {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 50px rgba(59, 130, 246, 0.3);
    z-index: 5;
    overflow: hidden;
    padding: 10px;
}

.core-dashboard-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.5));
    border-radius: 12px;
    animation: dashboard-pulse 4s ease-in-out infinite;
}

@keyframes dashboard-pulse {

    0%,
    100% {
        filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.5)) brightness(1);
    }

    50% {
        filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.8)) brightness(1.2);
    }
}

/* ========================================
   LIGHT MODE OVERRIDES - FEATURE HERO
   ======================================== */

[data-theme="light"] .feature-page {
    background-color: #f8fafc;
}

[data-theme="light"] .feature-hero {
    background:
        radial-gradient(circle at 30% 50%, rgba(0, 102, 255, 0.12) 0%, transparent 65%),
        #f0f9ff;
    box-shadow: inset 0 -20px 40px rgba(0, 102, 255, 0.03);
}

[data-theme="light"] .feature-hero-bg {
    background: radial-gradient(circle at 10% 10%, rgba(255, 230, 0, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 90%, rgba(255, 50, 50, 0.08) 0%, transparent 40%);
}

[data-theme="light"] .hero-grid-overlay {
    background-image:
        linear-gradient(rgba(0, 102, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 102, 255, 0.05) 1px, transparent 1px);
    mask-image: radial-gradient(circle at 50% 50%, black, transparent 90%);
}

[data-theme="light"] .elite-badge {
    background: rgba(0, 102, 255, 0.08);
    border-color: rgba(0, 102, 255, 0.3);
    color: #0066ff;
    box-shadow: 0 5px 15px rgba(0, 102, 255, 0.1);
}

[data-theme="light"] .gradient-text {
    background: linear-gradient(135deg, #003755 30%, #0066ff 90%) !important;
    -webkit-text-fill-color: transparent !important;
    filter: none !important;
}

[data-theme="light"] .hero-subtitle p {
    color: #475569;
}

[data-theme="light"] .hero-subtitle .highlight-text {
    color: #003755;
}

[data-theme="light"] .hero-subtitle .highlight-text strong {
    color: #0066ff;
}

[data-theme="light"] .trust-statement {
    background: rgba(255, 255, 255, 0.8);
    border-color: #003755;
    box-shadow: 0 10px 30px rgba(0, 55, 85, 0.05);
}

[data-theme="light"] .statement-icon {
    background: rgba(0, 102, 255, 0.1);
}

[data-theme="light"] .btn-outline {
    border-color: rgba(0, 102, 255, 0.3);
    color: #003755;
}

[data-theme="light"] .btn-outline:hover {
    border-color: #0066ff;
    color: #0066ff;
}

[data-theme="light"] .core-inner {
    background: #ffffff;
    border-color: rgba(0, 102, 255, 0.15);
    box-shadow: 0 30px 60px rgba(0, 55, 85, 0.12);
}

[data-theme="light"] .core-dashboard-img {
    filter: drop-shadow(0 0 15px rgba(0, 102, 255, 0.2));
}

[data-theme="light"] .visual-particles .particle {
    background: rgba(0, 102, 255, 0.3);
    box-shadow: 0 0 10px rgba(0, 102, 255, 0.2);
}

[data-theme="light"] .visual-scan-line {
    background: linear-gradient(to bottom, transparent, rgba(0, 102, 255, 0.3), transparent);
}


.core-rings {
    position: absolute;
    inset: -90px;
    transform-style: preserve-3d;
}

.ring {
    position: absolute;
    inset: 0;
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 50%;
}

.ring-1 {
    transform: rotateX(70deg) rotateY(10deg);
    animation: ring-rotate-1 8s linear infinite;
}

.ring-2 {
    transform: rotateX(60deg) rotateY(-20deg);
    border-color: rgba(147, 51, 234, 0.3);
    animation: ring-rotate-2 10s linear infinite;
}

.ring-3 {
    transform: rotateX(80deg) rotateY(40deg);
    border-width: 1px;
    animation: ring-rotate-3 12s linear infinite;
}

.proof-showcase {
    position: relative;
    width: 100%;
    max-width: 1100px;
    /* Expanded for fanned inward stack */
    height: 600px;
    margin: 0 auto;
    perspective: 3000px;
    /* High perspective for deep 3D feel */
    transform-style: preserve-3d;
    display: flex;
    align-items: center;
    justify-content: center;
}

.proof-layer {
    position: absolute;
    width: 260px;
    /* Reduced further */
    min-height: 380px;
    padding: 40px 25px;
    /* Tighter padding for narrower width */
    background: rgba(15, 23, 42, 0.94);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 36px;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    /* Managed by margins now */
    overflow: hidden;
    /* For bottom line clipping */
    box-shadow: 0 80px 160px rgba(0, 0, 0, 0.85);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    transform-style: preserve-3d;
    opacity: 0;
    /* Angle inward toward the steps */
    transform: rotateY(-25deg) rotateX(10deg);
}

.proof-layer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.1),
            transparent);
    transform: translateX(-100%) skewX(-25deg);
    pointer-events: none;
    z-index: 5;
}

.proof-layer.active {
    animation: layer-slide-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Horizontal Stacking Offsets (Inward Fanned - Reversed Z) */
.proof-layer.layer-1 {
    animation-delay: 0.1s;
    --x-offset: -280px;
    --z-offset: 150px;
    --progress-width: 16.6%;
}

.proof-layer.layer-2 {
    animation-delay: 0.2s;
    --x-offset: -170px;
    --z-offset: 120px;
    --progress-width: 33.3%;
}

.proof-layer.layer-3 {
    animation-delay: 0.3s;
    --x-offset: -60px;
    --z-offset: 90px;
    --progress-width: 50%;
}

.proof-layer.layer-4 {
    animation-delay: 0.4s;
    --x-offset: 50px;
    --z-offset: 60px;
    --progress-width: 66.6%;
}

.proof-layer.layer-5 {
    animation-delay: 0.5s;
    --x-offset: 160px;
    --z-offset: 30px;
    --progress-width: 83.3%;
}

.proof-layer.layer-6 {
    animation-delay: 0.6s;
    --x-offset: 270px;
    --z-offset: 0px;
    --progress-width: 100%;
}


@keyframes layer-slide-in {
    from {
        opacity: 0;
        transform: rotateY(-25deg) rotateX(10deg) translateX(calc(var(--x-offset) - 80px)) translateZ(var(--z-offset)) scale(0.9);
    }

    to {
        opacity: 1;
        transform: rotateY(-25deg) rotateX(10deg) translateX(var(--x-offset)) translateZ(var(--z-offset)) scale(1);
    }
}

@keyframes lightSweep {
    0% {
        transform: translateX(-100%) skewX(-25deg);
        opacity: 0;
    }

    50% {
        opacity: 0.3;
    }

    100% {
        transform: translateX(200%) skewX(-25deg);
        opacity: 0;
    }
}

.proof-layer:hover {
    background: rgba(30, 41, 59, 1);
    border-color: rgba(59, 130, 246, 0.9);
    transform: rotateY(-25deg) rotateX(10deg) translateX(calc(var(--x-offset) + 8px)) translateY(-8px) translateZ(var(--z-offset)) scale(1.02) !important;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), 0 0 30px rgba(59, 130, 246, 0.4);
}

.proof-layer:hover::before {
    animation: lightSweep 0.8s ease-in-out forwards;
}

.layer-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 102, 255, 0.1);
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.layer-icon i {
    font-size: 1.25rem;
    color: var(--primary-blue);
}

.layer-title-v2 {
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 800;
    margin: 4px 0 8px;
    letter-spacing: -0.01em;
    line-height: 1.1;
}

.headline-v2 {
    color: rgba(255, 255, 255, 0.5);
    /* Faded text for details */
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0 0 16px;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.headline-v2 i {
    color: #10b981;
    /* Green checkmark */
    font-size: 0.8rem;
}

.layer-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
}

.layer-meta {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    font-family: 'JetBrains Mono', monospace;
    margin-top: 4px;
}

.layer-meta-right {
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
    text-align: right;
}

.layer-status-keyword {
    position: absolute;
    top: 40px;
    right: 25px;
    padding: 6px 12px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 4px;
    color: #60a5fa;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    backdrop-filter: blur(5px);
    z-index: 10;
}

.layer-status-keyword.verified {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.4);
    color: #4ade80;
}

.layer-content {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.layer-divider {
    width: 60px;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: auto 0 20px;
    /* Pushes content to top, pins metadata to bottom */
}

.layer-bottom-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: var(--progress-width, 60%);
    height: 6px;
    /* Slightly thicker for better visibility */
    background: #3b82f6;
    border-radius: 0 10px 0 0;
    /* Rounded only on the right end */
    box-shadow: 0 -4px 20px rgba(59, 130, 246, 0.7);
}

.layer-status-keyword.verified+.layer-bottom-line {
    background: #10b981;
    box-shadow: 0 -4px 15px rgba(16, 185, 129, 0.6);
}

/* Removed redundant layer-label as it moved to status-keyword */

.layer-value {
    font-size: 0.9rem;
    color: #e2e8f0;
    font-weight: 600;
    font-family: 'Courier New', monospace;
}

.layer-status {
    flex-shrink: 0;
}

.layer-status.verified i {
    font-size: 1.2rem;
    color: #22c55e;
}

/* Proof Seal */
.proof-seal {
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
    border: 1px solid rgba(34, 197, 94, 0.2);
    padding: 16px 20px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.proof-seal::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.1), transparent);
    animation: seal-shimmer 3s ease-in-out infinite;
}

@keyframes seal-shimmer {
    0% {
        left: -100%;
    }

    50%,
    100% {
        left: 100%;
    }
}

.seal-icon {
    width: 44px;
    height: 44px;
    background: rgba(34, 197, 94, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.seal-icon i {
    font-size: 1.3rem;
    color: #22c55e;
}

.seal-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.seal-text strong {
    font-size: 1rem;
    color: #22c55e;
    font-weight: 700;
}

.seal-text span {
    font-size: 0.8rem;
    color: #86efac;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .feature-title {
        font-size: 3.5rem;
    }

    .proof-showcase {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .feature-hero {
        padding: 100px 0 80px;
        min-height: auto;
    }

    .feature-title {
        font-size: 2.8rem;
    }

    .hero-subtitle p,
    .hero-subtitle .highlight-text {
        font-size: 1.1rem;
    }

    .feature-ctas {
        flex-direction: row;
        justify-content: flex-start;
    }

    .btn-primary,
    .btn-outline {
        width: auto;
        padding: 10px 18px;
        font-size: 0.85rem;
    }
}

/* Feature Details (Elite Overhaul) */
.feature-details {
    position: relative;
    background: #020617;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    overflow: hidden;
    padding: 60px 0 120px;
}

/* Background Decorations */
.glow-blob {
    position: absolute;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    filter: blur(100px);
}

.blob-1 {
    top: -200px;
    right: -100px;
}

.blob-2 {
    bottom: -200px;
    left: -100px;
    background: radial-gradient(circle, rgba(55, 48, 163, 0.1) 0%, transparent 70%);
}

.feature-details .container {
    position: relative;
    z-index: 2;
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff 40%, var(--primary-blue) 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    filter: drop-shadow(0 0 30px rgba(0, 102, 255, 0.2)) !important;
}

.elite-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 102, 255, 0.15);
    border: 1px solid rgba(0, 102, 255, 0.4);
    padding: 8px 16px;
    border-radius: 100px;
    color: var(--primary-blue);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.section-subtitle {
    font-size: 1.25rem;
    color: #94a3b8;
    margin-bottom: 50px;
    line-height: 1.6;
    letter-spacing: -0.01em;
}

.section-subtitle strong {
    color: #f8fafc;
    font-weight: 600;
}

/* Analogy Box 2.0 */
.analogy-box {
    margin-top: 70px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 35px;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.analogy-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.analogy-title {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary-blue);
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.security-badge {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    padding: 6px 12px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #4ade80;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.analogy-box p {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #cbd5e1;
    margin-bottom: 25px;
}

.analogy-footer {
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
    font-style: italic;
}

/* Comparison Dashboard */
.comparison-dashboard {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 40px;
    padding: 50px;
    position: relative;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 1);
}

.dashboard-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #475569;
    letter-spacing: 0.2em;
    margin-bottom: 40px;
}

.header-dot {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    box-shadow: 0 0 10px #ef4444;
}

.comparison-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cue-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.cue-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateX(10px);
}

.cue-label {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #64748b;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.proof-label {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 8px;
}

.proof-text {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.25;
}

.text-muted {
    color: #475569;
}

.status-indicator {
    margin-top: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #475569;
}

.vs-divider {
    display: flex;
    justify-content: center;
    margin: -10px 0;
    z-index: 5;
}

.vs-circle {
    width: 44px;
    height: 44px;
    background: #020617;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.75rem;
    color: #64748b;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

/* Elite Dashboard Card */
.cue-card.elite {
    background: linear-gradient(145deg, rgba(0, 102, 255, 0.1) 0%, rgba(2, 6, 23, 0.9) 100%);
    border: 1px solid rgba(0, 102, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 102, 255, 0.1);
}

.elite-glow-inner {
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.2) 0%, transparent 70%);
}

.label-primary {
    color: var(--primary-blue) !important;
}

.elite-text {
    background: linear-gradient(to right, #ffffff, #0066ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.status-indicator-elite {
    margin-top: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background: var(--primary-blue);
    border-radius: 50%;
    position: relative;
}

.pulse-dot::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-blue);
    border-radius: 50%;
    animation: elite-pulse 2s infinite ease-out;
}

@keyframes elite-pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(3.5);
        opacity: 0;
    }
}

/* Section Mechanics Refresh */
.icon-circle {
    width: 54px;
    height: 54px;
    background: rgba(0, 102, 255, 0.08);
    border: 1px solid rgba(0, 102, 255, 0.15);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.feature-list li:hover .icon-circle {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
}

.feature-list li:hover .icon-circle i {
    color: #fff;
}

/* Responsive Fixes for Feature Page */
@media (max-width: 1024px) {
    .detail-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .feature-title {
        font-size: 3.5rem;
    }

    .elite-card-preview {
        transform: none;
    }
}

@media (max-width: 768px) {
    .hero h1 span:first-child {
        white-space: normal;
    }

    .hero h1 {
        font-size: 2.8rem;
    }
}

/* 3D Grounding Pedestal Grid */
.stack-pedestal {
    position: absolute;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%) rotateX(65deg) translateZ(-100px);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.1) 0%, transparent 75%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.5s;
}

.lifecycle-visual-column.active .stack-pedestal {
    opacity: 1;
}

.pedestal-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.15) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(circle, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(circle, black 30%, transparent 70%);
}

.pedestal-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
    filter: blur(60px);
}

/* Solutions Footer CTAs */
.solutions-footer {
    grid-column: 1 / -1;
    /* Span all columns in the grid */
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 102, 255, 0.08);
    display: flex;
    gap: 15px;
    /* Tighter gap for buttons */
    align-items: center;
    justify-content: flex-end;
    /* Professional Right Alignment */

    /* Hidden state for animation */
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-item-with-dropdown:hover .solutions-footer {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
    /* Appears after columns */
}

.footer-cta {
    font-size: 0.875rem;
    font-weight: 600;
    color: #FFFFFF;
    background: var(--primary-blue);
    padding: 12px 28px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1.5px solid var(--primary-blue);
    box-shadow: 0 2px 8px rgba(0, 102, 255, 0.18);
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: 0.01em;
}

.footer-cta.secondary {
    color: var(--primary-blue);
    background: transparent;
    border: 1.5px solid rgba(0, 102, 255, 0.35);
    box-shadow: none;
}

.footer-cta:hover {
    background: #0052cc;
    border-color: #0052cc;
    color: #FFFFFF;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 82, 204, 0.3);
}

.footer-cta.secondary:hover {
    background: rgba(0, 102, 255, 0.07);
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    transform: translateY(-1px);
}