@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

.service-details {
    list-style: none;
    margin: 15px 0;
    padding: 0;
}

.service-details li {
    font-size: 0.88rem;
    color: var(--text-muted);
    padding: 4px 0 4px 20px;
    position: relative;
}

.service-details li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
}

.service-edge {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--accent);
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid var(--surface-border);
}

.card-short-text {
    font-weight: 500;
    color: var(--heading);
    margin-bottom: 10px;
}

/* Specialties Section Upgraded */
.specialties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.specialty-card-upgraded {
    background: var(--card-bg);
    border: 1px solid var(--surface-border);
    border-radius: 20px;
    padding: 32px;
    transition: var(--transition);
}

.specialty-card-upgraded:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: var(--shadow-glow);
}

.specialty-card-upgraded h3 {
    font-size: 1.25rem;
    color: var(--heading);
    margin-bottom: 20px;
}

.spec-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

.spec-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.spec-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent);
    font-weight: 700;
}

.spec-block ul {
    list-style: none;
    padding: 0;
}

.spec-block ul li {
    font-size: 0.9rem;
    color: var(--text);
    padding: 2px 0;
}

.spec-advantage {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--accent);
    padding-top: 15px;
    border-top: 1px solid var(--surface-border);
}

/* Standout Section */
.standout-banner {
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.05) 0%, rgba(6, 21, 37, 0.9) 100%);
    border: 1px solid var(--accent);
    border-radius: 30px;
    padding: 60px;
    position: relative;
    overflow: hidden;
}

[data-theme="light"] .standout-banner {
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.08) 0%, rgba(241, 245, 249, 0.95) 100%);
    border-color: rgba(0, 212, 170, 0.3);
}

.standout-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.standout-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.standout-item .check {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.standout-item h4 {
    font-size: 1.1rem;
    color: var(--heading);
    margin-bottom: 6px;
}

.standout-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

:root {
    /* ── ELUID DESIGN TOKENS ── */
    --primary: #061525;
    --accent: #00D4AA;
    --accent-2: #0056b3;
    --bg-void: #030816;
    --surface: rgba(255, 255, 255, 0.04);
    --surface-border: rgba(255, 255, 255, 0.08);
    --text: #E0E6ED;
    --heading: #FFFFFF;
    --text-muted: #94A3B8;
    --navbar-bg: rgba(3, 8, 22, 0.8);
    --card-bg: rgba(255, 255, 255, 0.02);

    /* Fluid Spacing & Typography */
    --font-size-base: clamp(1rem, 0.95rem + 0.25vw, 1.15rem);
    --font-size-h1: clamp(2.5rem, 1.5rem + 5vw, 4.5rem);
    --font-size-h2: clamp(2rem, 1.2rem + 4vw, 3.2rem);
    --section-padding: clamp(80px, 50px + 10vh, 160px);

    --shadow-glow: 0 0 60px rgba(0, 212, 170, 0.2);
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --container-width: 1280px;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition: all 0.5s var(--ease-out);
    
    /* Watermark Token - Increased for visibility */
    --watermark-opacity: 0.12;

    /* Missing variable definitions */
    --border-accent: rgba(0, 212, 170, 0.3);
    --success: #00D4AA;
}

[data-theme="light"] {
    --primary: #FFFFFF;
    --bg-void: #F8FAFC;
    --surface: #F1F5F9;
    --surface-border: #E2E8F0;
    --text: #1E293B;
    --heading: #0F172A;
    --text-muted: #64748B;
    --navbar-bg: rgba(255, 255, 255, 0.95);
    --card-bg: #FFFFFF;
    --shadow-glow: 0 10px 40px rgba(0, 212, 170, 0.1);
    --watermark-opacity: 0.05;
    --border-accent: rgba(0, 132, 61, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

html, body {
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    color: var(--text);
    background: var(--bg-void);
    line-height: 1.7;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    transition: background-color 0.5s ease, color 0.5s ease;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    color: var(--heading);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.04em;
    contain: content;
}

/* ── NOISE GRAIN OVERLAY ── */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.02;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-size: 128px 128px;
}

[data-theme="light"] body::after {
    display: none;
}

/* ── SITE WATERMARK ── */
.site-watermark {
    position: fixed;
    inset: 0;
    background-image: url('assets/logo_optimized.webp');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 45vw auto;
    opacity: var(--watermark-opacity);
    pointer-events: none;
    z-index: 1; /* Increased to stay above background meshes */
    user-select: none;
    mix-blend-mode: screen;
}

[data-theme="light"] .site-watermark {
    mix-blend-mode: normal;
    opacity: 0.06;
}


[data-theme="dark"] .logo img {
    /* Improve visibility of dark logo text on dark background */
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.15)) brightness(1.1);
}

a {
    text-decoration: none;
    transition: all 0.3s var(--ease-out);
}

ul {
    list-style: none;
}

/* ── PAGE TRANSITIONS ── */
.page-transition-overlay {
    position: fixed;
    inset: 0;
    background: var(--bg-void);
    z-index: 10000;
    pointer-events: none;
    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

.page-transition-overlay.active {
    transform: translateY(0);
    pointer-events: all;
}

body {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

body.page-ready {
    opacity: 1;
}

/* ── SKELETON LOADING ── */
.skeleton {
    position: relative;
    overflow: hidden;
    background: var(--surface) !important;
    border-color: transparent !important;
}

.skeleton::after {
    content: '';
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.05),
            transparent);
    animation: shimmer 2s infinite;
}

[data-theme="light"] .skeleton::after {
    background: linear-gradient(90deg,
            transparent,
            rgba(0, 0, 0, 0.05),
            transparent);
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

.skeleton>* {
    visibility: hidden;
}

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

/* ── UTILITIES ── */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

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

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

/* ── BUTTONS ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: 10px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: all 0.35s var(--ease-out);
    position: relative;
    overflow: hidden;
    border: none;
}

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

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

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    color: var(--primary);
    box-shadow: 0 4px 20px rgba(0, 212, 170, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 30px rgba(0, 212, 170, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--heading);
    border: 1px solid var(--border-accent);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(0, 212, 170, 0.1);
    border-color: var(--accent);
    transform: translateY(-2px);
    color: var(--accent);
}

/* ── THEME TOGGLE ── */
.theme-toggle {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text);
    transition: var(--transition);
    padding: 0;
    margin-left: 20px;
}

.theme-toggle:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    position: absolute;
    transition: transform 0.5s var(--ease-out), opacity 0.3s;
}

[data-theme="light"] .theme-toggle .sun {
    opacity: 0;
    transform: rotate(90deg) scale(0);
}

[data-theme="dark"] .theme-toggle .moon {
    opacity: 0;
    transform: rotate(-90deg) scale(0);
}

/* ── NAVBAR ── */
.navbar {
    height: 80px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s var(--ease-out);
}

.navbar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: transparent;
    z-index: -1;
    transition: all 0.4s var(--ease-out);
    pointer-events: none;
}

.navbar.scrolled {
    height: 70px;
}

.navbar.scrolled::before {
    background: var(--navbar-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid var(--surface-border);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--heading);
    letter-spacing: -0.02em;
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: clamp(20px, 3vw, 40px);
    align-items: center;
}

.nav-links li a {
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links li a:hover {
    color: var(--accent);
}

/* ── MOBILE NAV TOGGLE ── */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10001;
    padding: 10px;
}

.mobile-nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: var(--transition);
    border-radius: 2px;
}

@media (max-width: 991px) {
    .mobile-nav-toggle {
        display: flex;
    }
    
    .nav-cta {
        display: none !important;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(320px, 80%);
        height: 100dvh;
        background: var(--bg-void);
        flex-direction: column;
        padding: 100px 40px;
        transform: translateX(100%);
        transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
        box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
        z-index: 10000;
        align-items: flex-start !important;
        gap: 25px !important;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

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

    .mobile-nav-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .mobile-nav-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(20px);
    }

    .mobile-nav-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-links li {
        width: 100%;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.5s var(--ease-spring);
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
    }

    /* Staggered mobile menu items */
    .nav-links.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-links.active li:nth-child(2) { transition-delay: 0.2s; }
    .nav-links.active li:nth-child(3) { transition-delay: 0.3s; }
    .nav-links.active li:nth-child(4) { transition-delay: 0.4s; }
    .nav-links.active li:nth-child(5) { transition-delay: 0.5s; }

    .nav-links li a {
        font-size: 1.5rem;
        padding: 12px 0;
        display: block;
        font-weight: 700;
        letter-spacing: -0.02em;
    }

    .nav-links .btn-primary {
        margin-top: 30px;
        text-align: center;
        width: 100%;
        padding: 18px !important;
        color: #FFFFFF !important;
        justify-content: center;
        font-size: 1.1rem;
        border-radius: 14px;
        background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%) !important;
    }
}

.logo {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--heading);
    letter-spacing: -0.02em;
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 36px;
    align-items: center;
}

.nav-links li a {
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.nav-links li a:hover {
    color: var(--accent);
}

/* ── HERO ── */
.hero {
    min-height: 100vh;
    padding-top: 140px;
    position: relative;
    overflow: hidden;
    background: var(--bg-void);
    display: flex;
    align-items: center;
}

.hero-mesh {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 70% 50%, rgba(0, 212, 170, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse 60% 80% at 20% 80%, rgba(0, 100, 200, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 100% 50% at 50% -10%, rgba(22, 51, 80, 0.6) 0%, transparent 50%),
        linear-gradient(170deg, var(--primary) 0%, var(--primary-mid) 50%, var(--primary) 100%);
    z-index: 0;
}

#hero-canvas {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.4;
    pointer-events: none;
}

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

.mesh-blob-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    top: -10%;
    right: -5%;
    animation: blobDrift 20s infinite alternate ease-in-out;
}

.mesh-blob-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #0056b3 0%, transparent 70%);
    bottom: 5%;
    left: -5%;
    animation: blobDrift 25s infinite alternate-reverse ease-in-out;
}

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

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

.hero-content-wrap {
    position: relative;
    z-index: 2;
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px;
    align-items: center;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 212, 170, 0.08);
    border: 1px solid rgba(0, 212, 170, 0.2);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.hero-eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.7);
    }
}

.hero-content h1 {
    font-size: clamp(2.8rem, 5vw, 4.2rem);
    margin-bottom: 28px;
    background: linear-gradient(135deg, var(--heading) 0%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content h1 .gradient-word {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text);
    margin-bottom: 40px;
    max-width: 560px;
    line-height: 1.75;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 44px;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    font-size: 0.88rem;
    color: var(--text);
    background: var(--card-bg);
    border: 1px solid var(--surface-border);
    padding: 8px 16px;
    border-radius: 50px;
}

.badge-item svg {
    color: var(--success);
    flex-shrink: 0;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.hero-dashboard-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 80px rgba(0, 212, 170, 0.05);
    animation: float 6s ease-in-out infinite;
    max-width: 380px;
    margin: 0 auto;
}

@keyframes float {

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

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

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--surface-border);
}

.dashboard-title {
    font-family: var(--font-display);
    font-size: 0.8rem;
    color: var(--heading);
    font-weight: 700;
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(0, 255, 136, 0.1);
    color: #00ff88;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 50px;
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.status-dot {
    width: 5px;
    height: 5px;
    background: #00ff88;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff88;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

.dashboard-simple-stats {
    text-align: center;
    padding: 20px 0;
}

.d-main-val {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--accent), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.d-main-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dashboard-footer-metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--surface-border);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text);
}

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

/* Mini chart bars */
.mini-chart {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 40px;
}

.mini-bar {
    flex: 1;
    border-radius: 2px 2px 0 0;
    background: linear-gradient(to top, var(--accent), var(--accent-blue));
    opacity: 0.6;
    animation: bar-grow 1s var(--ease-out) forwards;
    transform-origin: bottom;
}

@keyframes bar-grow {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}

.mini-bar:nth-child(1) { animation-delay: 0.1s; }
.mini-bar:nth-child(2) { animation-delay: 0.15s; }
.mini-bar:nth-child(3) { animation-delay: 0.2s; }
.mini-bar:nth-child(4) { animation-delay: 0.25s; }
.mini-bar:nth-child(5) { animation-delay: 0.3s; }
.mini-bar:nth-child(6) { animation-delay: 0.35s; }
.mini-bar:nth-child(7) { animation-delay: 0.4s; }
.mini-bar:nth-child(8) { animation-delay: 0.45s; }

/* ── MARQUEE BANNER ── */
.marquee-container {
    width: 100%;
    overflow: hidden;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
    color: var(--primary);
    padding: 12px 0;
    display: flex;
    white-space: nowrap;
    position: relative;
    z-index: 10;
    margin-top: 120px; /* Increased space from hero */
}
.marquee-content {
    display: flex;
    animation: scrollMarquee 25s linear infinite;
    width: max-content;
}
.marquee-content span {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    padding: 0 40px;
    text-transform: uppercase;
}

/* Floating chips */
.hero-chips {
    position: absolute;
    bottom: -20px;
    left: -20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chip {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--navbar-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--surface-border);
    border-radius: 12px;
    padding: 10px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--heading);
    white-space: nowrap;
    box-shadow: var(--shadow);
    animation: float 5s ease-in-out infinite;
}

.chip:nth-child(2) {
    animation-delay: -2s;
}

.chip-icon {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

/* ── SECTION HEADERS ── */
.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(0, 212, 170, 0.08);
    border: 1px solid rgba(0, 212, 170, 0.2);
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.section-heading {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--heading) 0%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-sub {
    font-size: 1.1rem;
    color: var(--text);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.75;
}

/* ── WHY SECTION ── */
.why-section {
    position: relative;
    overflow: hidden;
}

.why-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 40% at 50% 50%, rgba(0, 212, 170, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 64px;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--surface-border);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.feature-card:hover {
    background: var(--glass-bg-hover);
    border-color: var(--border-accent);
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: rgba(0, 212, 170, 0.08);
    border: 1px solid rgba(0, 212, 170, 0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--accent);
    transition: all 0.3s var(--ease-out);
}

.feature-card:hover .feature-icon {
    background: rgba(0, 212, 170, 0.15);
    box-shadow: 0 0 20px rgba(0, 212, 170, 0.2);
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--heading);
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.7;
}

/* ── METRICS BAR ── */
.metrics-bar {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.metrics-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.05) 0%, rgba(0, 100, 200, 0.05) 100%);
    border-top: 1px solid var(--surface-border);
    border-bottom: 1px solid var(--surface-border);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    z-index: 1;
}

.metric-item {
    text-align: center;
    padding: 20px;
    position: relative;
}

.metric-item+.metric-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: var(--surface-border);
}

.metric-item h3 {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    line-height: 1;
}

.metric-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

/* ── HOW IT WORKS ── */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 64px;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 28px;
    left: calc(12.5% + 20px);
    width: calc(75% - 40px);
    height: 1px;
    background: linear-gradient(90deg, var(--accent), transparent 33%, transparent 66%, var(--accent));
    background: repeating-linear-gradient(90deg, var(--border-accent) 0, var(--border-accent) 10px, transparent 10px, transparent 20px);
    z-index: 0;
}

.step-card {
    background: var(--card-bg);
    border: 1px solid var(--surface-border);
    border-radius: 18px;
    padding: 36px 28px;
    transition: all 0.4s var(--ease-out);
    position: relative;
    z-index: 1;
}

.step-card:hover {
    background: var(--glass-bg-hover);
    border-color: var(--border-accent);
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.step-number {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(0, 212, 170, 0.3);
}

.step-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--heading);
}

.step-card p {
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.6;
}

/* ── TESTIMONIALS ── */
.testimonials-section {
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(0, 212, 170, 0.04) 0%, transparent 60%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 64px;
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background: var(--card-bg);
    border: 1px solid var(--surface-border);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.4s var(--ease-out);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 28px;
    font-family: var(--font-display);
    font-size: 5rem;
    line-height: 1;
    color: var(--accent);
    opacity: 0.15;
    pointer-events: none;
}

.testimonial-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.testimonial-card blockquote {
    font-size: 1rem;
    color: var(--text);
    line-height: 1.75;
    margin-bottom: 28px;
    font-style: normal;
    padding-top: 24px;
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.testimonial-stars span {
    color: #F59E0B;
    font-size: 0.9rem;
}

.testimonial-author {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--accent);
    font-size: 0.9rem;
    letter-spacing: 0.02em;
}

/* ── CTA BANNER ── */
.cta-banner {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: 28px;
    padding: 100px 60px;
    text-align: center;
    margin: 60px 0;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 50% 60% at 50% 0%, rgba(0, 212, 170, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 30% 40% at 90% 100%, rgba(0, 100, 200, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.cta-banner h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
    position: relative;
    background: linear-gradient(135deg, var(--heading) 0%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-banner p {
    font-size: 1.15rem;
    color: var(--text);
    margin-bottom: 44px;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    position: relative;
}

/* ── FOOTER ── */
footer {
    background: var(--bg-void);
    border-top: 1px solid var(--surface-border);
    padding: 100px 0 48px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 72px;
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-top: 16px;
}

.footer-address {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-top: 12px;
    opacity: 0.8;
}

.footer-links h4 {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 24px;
}

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

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

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

.footer-links li {
    color: var(--text);
    font-size: 0.9rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--surface-border);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ── ABOUT PAGE ── */
.about-hero,
.services-hero {
    padding: 120px 0 80px;
    text-align: center;
    position: relative !important;
    overflow: hidden;
}

.about-hero::before,
.services-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 60%, rgba(0, 212, 170, 0.06) 0%, transparent 60%),
        var(--bg-void);
    z-index: 0;
}

.about-hero>*,
.services-hero>* {
    position: relative;
    z-index: 1;
}

.about-hero h1,
.services-hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    background: linear-gradient(135deg, var(--heading), var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mission-section {
    background: rgba(0, 212, 170, 0.04);
    border: 1px solid rgba(0, 212, 170, 0.15);
    border-radius: 24px;
    padding: 60px;
    margin: 40px 0;
    text-align: center;
}

.mission-text {
    font-size: 1.5rem;
    font-family: var(--font-display);
    font-weight: 600;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.4;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.compliance-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.compliance-card {
    background: var(--card-bg);
    border: 1px solid var(--surface-border);
    border-radius: 18px;
    padding: 36px;
    text-align: center;
    transition: all 0.4s var(--ease-out);
}

.compliance-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.compliance-card svg {
    color: var(--success);
    margin-bottom: 16px;
}

.compliance-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.compliance-card p {
    font-size: 0.9rem;
    color: var(--text);
}

/* ── SERVICES PAGE ── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
    margin-top: 64px;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--surface-border);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.4s var(--ease-out);
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out);
}

.service-card:hover {
    background: var(--glass-bg-hover);
    border-color: var(--border-accent);
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.service-card:hover::after {
    transform: scaleX(1);
}

.service-card h3 {
    font-size: 1.25rem;
    color: var(--heading);
}

.service-card .icon {
    color: var(--accent);
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.7;
}

/* ── CONTACT PAGE ── */
.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-top: 60px;
}

.contact-form {
    background: var(--card-bg);
    border: 1px solid var(--surface-border);
    border-radius: 24px;
    padding: 48px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.03em;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 18px;
    border-radius: 10px;
    border: 1px solid var(--surface-border);
    background: var(--surface);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--heading);
    transition: all 0.3s var(--ease-out);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.1);
    background: rgba(0, 212, 170, 0.03);
}

.form-group select option {
    background: var(--primary-mid);
    color: var(--heading);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: var(--card-bg);
    border: 1px solid var(--surface-border);
    border-radius: 16px;
    padding: 20px;
}

.info-item .icon {
    width: 44px;
    height: 44px;
    background: rgba(0, 212, 170, 0.08);
    border: 1px solid rgba(0, 212, 170, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}

.info-item h4 {
    font-size: 0.9rem;
    margin-bottom: 4px;
    color: var(--heading);
}

.info-item p {
    font-size: 0.88rem;
    color: var(--text);
}

.specialties-sidebar {
    background: rgba(0, 212, 170, 0.05);
    border: 1px solid rgba(0, 212, 170, 0.15);
    padding: 32px;
    border-radius: 20px;
    margin-top: 8px;
}

.specialties-sidebar h3 {
    color: var(--heading);
    margin-bottom: 20px;
    font-size: 1.05rem;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--surface-border);
}

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

.specialty-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text);
}

.specialty-list li::before {
    content: '→';
    color: var(--accent);
    font-size: 0.85rem;
}

/* ── SCROLL REVEAL ── */
[data-reveal] {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    transition: opacity 1.2s var(--ease-out), transform 1.2s var(--ease-out);
    will-change: transform, opacity;
}

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

.reveal-child {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
    will-change: transform, opacity;
}

.reveal-child.revealed {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Stagger delays */
.stagger-1 {
    transition-delay: 0.05s;
}

.stagger-2 {
    transition-delay: 0.12s;
}

.stagger-3 {
    transition-delay: 0.19s;
}

.stagger-4 {
    transition-delay: 0.26s;
}

.stagger-5 {
    transition-delay: 0.33s;
}

.stagger-6 {
    transition-delay: 0.40s;
}

/* ── ADVANCED MASK REVEAL ── */
.mask-reveal {
    overflow: hidden;
    display: block;
}

.mask-reveal span {
    display: block;
    transform: translateY(110%);
    transition: transform 1.2s var(--ease-out);
    will-change: transform;
}

.revealed .mask-reveal span {
    transform: translateY(0);
}

.section {
    padding: var(--section-padding) 20px;
    contain: paint;
}

/* ── PARALAX SHAPES ── */
.parallax-shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    will-change: transform;
}

/* ── ABOUT WHO WE ARE ── */
.who-text {
    font-size: 1.1rem;
    color: var(--text);
    line-height: 1.8;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .hero-content p {
        margin: 0 auto 40px;
    }

    .hero-badges {
        justify-content: center;
    }

    .hero-actions {
        justify-content: center;
    }

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

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

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

    .steps-grid::before {
        display: none;
    }

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

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

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

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

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 16px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .section {
        padding: 60px 16px;
    }

    .cta-banner {
        padding: 40px 20px;
    }

    .cta-banner h2 {
        font-size: 1.8rem;
    }

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

    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-chips {
        display: none;
    }

    .standout-banner {
        padding: 40px 20px;
    }

    .standout-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .navbar {
        height: 64px;
    }

    .logo {
        font-size: 1.1rem;
    }

    .logo img {
        height: 28px;
    }

    .service-card, .specialty-card-upgraded {
        padding: 24px;
        border-radius: 20px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    }

    [data-theme="dark"] .service-card, [data-theme="dark"] .specialty-card-upgraded {
        box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    }

    .section-heading {
        font-size: 1.75rem;
        letter-spacing: -0.03em;
    }

    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 20px;
    }
}

/* ── CUSTOM CURSOR UPGRADED ── */
:root {
    --cursor-size: clamp(22px, 2.5vw, 32px);
    --cursor-dot-size: clamp(5px, 0.5vw, 7px);
}

@media (pointer: fine) {
    body, a, button, input, select, textarea {
        cursor: none !important;
    }
}

.cursor-dot, .cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 100000;
    pointer-events: none;
    will-change: transform, width, height, opacity;
}

.cursor-dot {
    width: var(--cursor-dot-size);
    height: var(--cursor-dot-size);
    background-color: var(--accent);
    box-shadow: 0 0 15px var(--accent);
    transition: transform 0.15s ease;
}

.cursor-outline {
    width: var(--cursor-size);
    height: var(--cursor-size);
    border: 1.5px solid var(--accent);
    background-color: rgba(0, 212, 170, 0.05);
    /* mix-blend-mode: difference; Optional: makes it visible on all colors but can be jarring with accent color */
    transition: 
        width 0.4s cubic-bezier(0.23, 1, 0.32, 1),
        height 0.4s cubic-bezier(0.23, 1, 0.32, 1),
        background-color 0.4s ease,
        border-color 0.4s ease,
        opacity 0.4s ease;
}

.cursor-outline.hovering {
    width: calc(var(--cursor-size) * 1.5);
    height: calc(var(--cursor-size) * 1.5);
    background-color: rgba(0, 212, 170, 0.1);
    border-color: var(--accent);
}

.cursor-outline.text-hovering {
    width: 2px;
    height: 24px;
    border-radius: 1px;
    background-color: var(--accent);
    border: none;
}

.cursor-outline.clicking {
    transform: translate(-50%, -50%) scale(0.85);
    background-color: rgba(0, 212, 170, 0.3);
}

.cursor-dot.clicking {
    transform: translate(-50%, -50%) scale(1.4);
}

.cursor-hidden {
    opacity: 0;
}

/* Marquee animation moved to global if needed, but keeping it here for context */
@keyframes scrollMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ── EXIT INTENT MODAL ── */
.exit-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(3, 8, 22, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10005;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease-out);
}
.exit-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.exit-modal-card {
    background: var(--card-bg);
    border: 1px solid var(--accent);
    border-radius: 24px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    transform: translateY(40px) scale(0.95);
    transition: all 0.4s var(--ease-out);
    box-shadow: var(--shadow-glow);
}
.exit-modal-overlay.active .exit-modal-card {
    transform: translateY(0) scale(1);
}
.exit-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
}
.exit-modal-close:hover { color: var(--accent); }

/* ── MOBILE STICKY ACTION BAR ── */
.mobile-action-bar {
    display: none;
    position: fixed;
    bottom: 24px;
    left: 16px;
    right: 16px;
    width: calc(100% - 32px);
    background: rgba(var(--primary-rgb, 15, 23, 42), 0.8);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 10px;
    z-index: 9998;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

[data-theme="light"] .mobile-action-bar {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(0,0,0,0.05);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.mobile-action-bar-inner {
    display: flex;
    gap: 10px;
}

.mobile-action-bar .btn {
    flex: 1;
    justify-content: center;
    padding: 14px 0;
    font-size: 0.95rem;
    border-radius: 16px;
    font-weight: 700;
}

@media (max-width: 768px) {
    .mobile-action-bar {
        display: block;
    }
    body {
        padding-bottom: 110px;
    }
}

/* ── CUSTOM SCROLLBAR ── */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg);
}
::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-blue);
}

/* ── PRELOADER ── */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 100000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}
.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}
.preloader-logo {
    width: 80px;
    height: auto;
    animation: pulseLogo 1.5s infinite var(--ease-spring);
}
@keyframes pulseLogo {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); opacity: 0.8; }
}

/* ── STATS SECTION ── */
.stats-section {
    padding: 80px 0;
    background: var(--card-bg);
    border-top: 1px solid var(--surface-border);
    border-bottom: 1px solid var(--surface-border);
    position: relative;
    overflow: hidden;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}
.stat-item {
    padding: 20px;
}
.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    font-family: var(--font-display);
    color: var(--accent);
    margin-bottom: 10px;
    line-height: 1;
}
.stat-label {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}



/* ── SOCIAL LINKS ── */
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid var(--surface-border);
    color: var(--text-muted);
    transition: all 0.3s var(--ease-out);
}
.social-icon:hover {
    color: var(--accent);
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 212, 170, 0.2);
}

/* ── ACTIVE NAV LINK ── */
.nav-links li a.active-link {
    color: var(--accent);
    font-weight: 700;
    position: relative;
}
.nav-links li a.active-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

/* ── SCROLL TO TOP BUTTON ── */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    color: var(--primary);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 212, 170, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s var(--ease-out);
    z-index: 9999;
}
.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.scroll-top-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 212, 170, 0.5);
}
.scroll-top-btn svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .scroll-top-btn {
        bottom: 90px; /* Offset for the sticky mobile action bar */
        right: 20px;
    }
}

/* ── COOKIE BANNER ── */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 600px;
    margin: 0 auto;
    background: var(--navbar-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--surface-border);
    border-radius: 16px;
    padding: 20px;
    z-index: 10000;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.5s var(--ease-out);
}
.cookie-banner.hide {
    animation: slideDown 0.5s var(--ease-out) forwards;
}
.cookie-content {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: space-between;
}
.cookie-content p {
    font-size: 0.85rem;
    color: var(--text);
    margin: 0;
    line-height: 1.5;
}
.cookie-content a {
    color: var(--accent);
    text-decoration: underline;
}
.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
    flex-shrink: 0;
}
@keyframes slideUp {
    from { transform: translateY(100px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
@keyframes slideDown {
    from { transform: translateY(0); opacity: 1; }
    to { transform: translateY(100px); opacity: 0; }
}
@media (max-width: 600px) {
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ── FAQ ACCORDION ── */
.faq-section {
    position: relative;
}
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--surface-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}
.faq-item.active {
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(0, 212, 170, 0.1);
}
.faq-question {
    width: 100%;
    text-align: left;
    padding: 24px;
    background: transparent;
    border: none;
    color: var(--heading);
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}
.faq-question:hover {
    color: var(--accent);
}
.faq-icon {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--accent);
    transition: transform 0.4s var(--ease-spring);
}
.faq-item.active .faq-icon {
    transform: rotate(45deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-out);
    padding: 0 24px;
}
.faq-item.active .faq-answer {
    max-height: 600px;
    padding-bottom: 24px;
}
.faq-answer p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ── EXTRA MOBILE POLISH (< 480px) ── */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem !important;
    }
    .section-heading {
        font-size: 1.8rem !important;
    }
    .stat-number {
        font-size: 2.8rem;
    }
    .btn {
        width: 100%;
        justify-content: center;
    }
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .marquee-content span {
        font-size: 0.8rem;
        padding: 0 15px;
    }
    .footer-grid {
        gap: 30px;
    }
    .cookie-banner {
        left: 10px;
        right: 10px;
        bottom: 85px; /* Offset for the sticky mobile action bar */
        padding: 15px;
    }
}