/* ===== ROOT VARIABLES ===== */
:root {
    --apple-ease: cubic-bezier(0.25, 0.1, 0.25, 1);
    --apple-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --duration: 0.6s;
    --duration-fast: 0.35s;
}

/* ===== GLOBAL ===== */
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
::selection { background: rgba(20, 184, 166, 0.3); color: #fff; }

/* ===== NAVIGATION ===== */
.nav-bar {
    background: rgba(11, 17, 33, 0.6);
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1),
                0 4px 16px rgba(0, 0, 0, 0.15);
    transition: background var(--duration) var(--apple-ease),
                border-bottom-color var(--duration) var(--apple-ease),
                box-shadow var(--duration) var(--apple-ease);
}
.header-scrolled .nav-bar {
    background: rgba(11, 17, 33, 0.95);
    border-bottom-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35),
                0 12px 48px rgba(0, 0, 0, 0.25);
}

/* ===== NAV LIGHT MODE (chameleon — over dark sections) ===== */

/* --- Bar background & depth --- */
.nav-light .nav-bar {
    background: rgba(255, 255, 255, 0.95);
    border-bottom-color: rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04),
                0 4px 16px rgba(0, 0, 0, 0.06),
                inset 0 -1px 0 rgba(0, 0, 0, 0.03);
}
.nav-light.header-scrolled .nav-bar {
    background: rgba(255, 255, 255, 0.98);
    border-bottom-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04),
                0 8px 32px rgba(0, 0, 0, 0.08),
                inset 0 -1px 0 rgba(0, 0, 0, 0.03);
}

/* --- Logo --- */
.nav-light .nav-logo-text {
    color: #0f172a;
}
.nav-light .nav-logo-text .text-teal-400 {
    color: #0d9488;
}
.nav-light .nav-logo-icon {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1),
                0 4px 12px rgba(20, 184, 166, 0.2);
}
.nav-light .nav-logo:hover .nav-logo-icon {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12),
                0 0 24px rgba(20, 184, 166, 0.3);
}

/* --- Nav links --- */
.nav-light .nav-link {
    color: rgba(15, 23, 42, 0.5);
}
.nav-light .nav-link:hover {
    color: #0f172a;
}
.nav-light .nav-link.active {
    color: #0f172a;
}

/* --- Nav dot separators --- */
.nav-light .nav-dot {
    background: rgba(15, 23, 42, 0.1);
}

/* --- Mega menu trigger --- */
.nav-light .nav-mega-trigger {
    color: rgba(15, 23, 42, 0.5);
}
.nav-light .nav-mega-trigger:hover,
.nav-light .nav-mega.open .nav-mega-trigger {
    color: #0f172a;
}

/* --- Mega menu panel (light dropdown) --- */
.nav-light .nav-mega-panel {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04),
                0 12px 32px rgba(0, 0, 0, 0.1),
                0 24px 64px rgba(0, 0, 0, 0.06);
}
.nav-light .nav-mega-panel::before {
    background: linear-gradient(90deg, transparent, rgba(20, 184, 166, 0.5), transparent);
}
.nav-light .nav-mega-card:hover {
    background: rgba(15, 23, 42, 0.04);
}
.nav-light .nav-mega-card-title {
    color: #1e293b;
}
.nav-light .nav-mega-card:hover .nav-mega-card-title {
    color: #0f172a;
}
.nav-light .nav-mega-card-desc {
    color: #64748b;
}

/* --- CTA primary (teal button — boosted glow on white) --- */
.nav-light .nav-cta-primary {
    box-shadow: 0 2px 8px rgba(20, 184, 166, 0.3),
                0 4px 16px rgba(20, 184, 166, 0.12),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.nav-light .nav-cta-primary:hover {
    box-shadow: 0 4px 20px rgba(20, 184, 166, 0.45),
                0 0 32px rgba(20, 184, 166, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* --- CTA secondary --- */
.nav-light .nav-cta-secondary {
    color: rgba(15, 23, 42, 0.6);
    border-color: rgba(15, 23, 42, 0.1);
    background: rgba(15, 23, 42, 0.03);
}
.nav-light .nav-cta-secondary:hover {
    color: #0f172a;
    background: rgba(15, 23, 42, 0.06);
    border-color: rgba(15, 23, 42, 0.18);
}

/* --- CTA divider --- */
.nav-light .nav-cta-divider {
    background: rgba(15, 23, 42, 0.08);
}

/* --- Hamburger --- */
.nav-light .hamburger-line {
    background: #1e293b;
}

/* Logo hover glow */
.nav-logo-icon {
    transition: box-shadow var(--duration-fast) var(--apple-ease),
                transform var(--duration-fast) var(--apple-ease);
}
.nav-logo:hover .nav-logo-icon {
    box-shadow: 0 0 20px rgba(20, 184, 166, 0.3), 0 0 40px rgba(20, 184, 166, 0.1);
    transform: scale(1.05);
}
.nav-logo-text {
    transition: opacity var(--duration-fast) var(--apple-ease),
                color var(--duration) var(--apple-ease);
}

/* Nav links */
.nav-link {
    position: relative;
    color: rgba(255, 255, 255, 0.55);
    transition: color var(--duration) var(--apple-ease);
    padding: 0.25rem 0;
    letter-spacing: 0.01em;
}
.nav-link:hover { color: rgba(255, 255, 255, 0.95); }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #14b8a6, #10b981);
    border-radius: 2px;
    transition: width var(--duration-fast) var(--apple-ease-out);
}
.nav-link:hover::after { width: 100%; }
.nav-link.active {
    color: rgba(255, 255, 255, 0.95);
}
.nav-link.active::after {
    width: 100%;
    opacity: 0.7;
}

/* Nav separator bar */
.nav-dot {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    transition: background var(--duration) var(--apple-ease);
}

/* ===== NAV MEGA MENU ===== */
.nav-mega {
    position: relative;
}
.nav-mega-trigger {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0.25rem 0;
    letter-spacing: 0.01em;
    transition: color var(--duration) var(--apple-ease);
}
.nav-mega-trigger:hover,
.nav-mega.open .nav-mega-trigger {
    color: rgba(255, 255, 255, 0.95);
}
.nav-mega-trigger svg {
    width: 0.7rem;
    height: 0.7rem;
    opacity: 0.5;
    transition: transform var(--duration-fast) var(--apple-ease),
                opacity var(--duration-fast) var(--apple-ease);
}
.nav-mega.open .nav-mega-trigger svg {
    transform: rotate(180deg);
    opacity: 1;
}

.nav-mega-panel {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 0;
    transform: translateY(6px);
    width: 240px;
    background: rgba(11, 17, 33, 0.97);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 1rem;
    padding: 0.375rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s var(--apple-ease),
                visibility 0.25s var(--apple-ease),
                transform 0.3s var(--apple-ease-out),
                background var(--duration) var(--apple-ease),
                border-color var(--duration) var(--apple-ease),
                box-shadow var(--duration) var(--apple-ease);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                0 24px 64px rgba(0, 0, 0, 0.25),
                inset 0 1px 0 rgba(255, 255, 255, 0.04);
    z-index: 60;
}
/* Teal accent line */
.nav-mega-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 1rem;
    right: 1rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(20, 184, 166, 0.35), transparent);
}
.nav-mega.open .nav-mega-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.nav-mega-card {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.6rem 0.75rem;
    border-radius: 0.65rem;
    text-decoration: none;
    transition: all var(--duration-fast) var(--apple-ease);
}
.nav-mega-card:hover {
    background: rgba(255, 255, 255, 0.04);
}

.nav-mega-card-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform var(--duration-fast) var(--apple-ease);
}
.nav-mega-card:hover .nav-mega-card-icon {
    transform: scale(1.1);
}
.nav-mega-card-icon svg {
    width: 1rem;
    height: 1rem;
}
.nav-mega-card-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--duration-fast) var(--apple-ease);
}
.nav-mega-card:hover .nav-mega-card-title {
    color: #fff;
}
.nav-mega-card-desc {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.3);
    line-height: 1.4;
    font-weight: 400;
    transition: color var(--duration) var(--apple-ease);
}

/* Header CTA buttons */
.nav-cta-primary {
    background: linear-gradient(135deg, #14b8a6, #0d9488);
    color: #fff;
    font-weight: 600;
    font-size: 0.8125rem;
    padding: 0.5rem 1.15rem;
    border-radius: 0.625rem;
    transition: all var(--duration-fast) var(--apple-ease);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 2px 8px rgba(20, 184, 166, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
    letter-spacing: 0.01em;
}
.nav-cta-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(20, 184, 166, 0.35),
                0 0 24px rgba(20, 184, 166, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.nav-cta-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}
.nav-cta-primary:hover::after {
    transform: translateX(100%);
}
.nav-cta-secondary {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    font-size: 0.8125rem;
    padding: 0.5rem 1rem;
    border-radius: 0.625rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    transition: all var(--duration-fast) var(--apple-ease);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    letter-spacing: 0.01em;
}
.nav-cta-secondary:hover {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

/* CTA divider in nav */
.nav-cta-divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.08);
    margin: 0 0.25rem;
    transition: background var(--duration) var(--apple-ease);
}

/* ===== HAMBURGER ===== */
.hamburger-line {
    display: block;
    width: 20px;
    height: 2px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 1px;
    transition: transform var(--duration-fast) var(--apple-ease),
                opacity var(--duration-fast) var(--apple-ease),
                background var(--duration) var(--apple-ease);
}
.hamburger-active .hamburger-line:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger-active .hamburger-line:nth-child(2) { opacity: 0; }
.hamburger-active .hamburger-line:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ===== MOBILE MENU ===== */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--duration) var(--apple-ease);
}
.mobile-menu-overlay.active {
    pointer-events: auto;
    opacity: 1;
}
.mobile-menu-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.mobile-menu-sheet {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 85vw);
    background: rgba(15, 23, 42, 0.97);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateX(100%);
    transition: transform var(--duration) var(--apple-ease-out);
    overflow-y: auto;
}
.mobile-menu-overlay.active .mobile-menu-sheet {
    transform: translateX(0);
}
.mobile-nav-link {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity var(--duration) var(--apple-ease-out),
                transform var(--duration) var(--apple-ease-out);
}
.mobile-menu-overlay.active .mobile-nav-link {
    opacity: 1;
    transform: translateX(0);
    transition-delay: calc(var(--stagger, 0) * 50ms + 150ms);
}

/* ===== HERO ===== */
.hero-gradient {
    background: linear-gradient(160deg, #060a14 0%, #0b1121 20%, #0f1b35 50%, #111d38 75%, #0b1121 100%);
}
.hero-mesh {
    background:
        radial-gradient(ellipse 70% 50% at 20% 50%, rgba(20, 184, 166, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse 50% 70% at 80% 30%, rgba(16, 185, 129, 0.06) 0%, transparent 70%),
        radial-gradient(ellipse 60% 40% at 50% 80%, rgba(251, 191, 36, 0.03) 0%, transparent 70%);
}
@keyframes orb-float-1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(15px, -20px) scale(1.04); }
    66% { transform: translate(-10px, 10px) scale(0.97); }
}
@keyframes orb-float-2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-20px, 15px) scale(1.03); }
    66% { transform: translate(10px, -15px) scale(0.98); }
}
@keyframes orb-float-3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(12px, -18px) scale(1.05); }
}
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    will-change: transform;
}
.hero-orb-1 {
    width: 500px; height: 500px;
    top: -10%; left: -5%;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.15), transparent 70%);
    animation: orb-float-1 14s ease-in-out infinite;
}
.hero-orb-2 {
    width: 400px; height: 400px;
    top: 20%; right: -8%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.12), transparent 70%);
    animation: orb-float-2 16s ease-in-out infinite;
}
.hero-orb-3 {
    width: 300px; height: 300px;
    bottom: -5%; left: 30%;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.07), transparent 70%);
    animation: orb-float-3 12s ease-in-out infinite;
}

/* Hero stagger reveal */
.hero-fade {
    opacity: 0;
    transform: translateY(24px);
    animation: hero-fade-in 0.8s var(--apple-ease-out) forwards;
    animation-delay: calc(var(--hero-i, 0) * 120ms + 200ms);
}
@keyframes hero-fade-in {
    to { opacity: 1; transform: translateY(0); }
}

/* ===== STATS CARDS ===== */
.stat-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform var(--duration) var(--apple-ease),
                border-color var(--duration) var(--apple-ease),
                box-shadow var(--duration) var(--apple-ease);
}
.stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(20, 184, 166, 0.2);
    box-shadow: 0 8px 32px rgba(20, 184, 166, 0.1);
}

/* ===== TRUST GRID ===== */
.trust-container {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1.5rem;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}
.trust-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(20, 184, 166, 0.2), transparent);
}
.trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 1px solid transparent;
    position: relative;
    transition: all var(--duration-fast) var(--apple-ease);
}
.trust-item::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--item-color, rgba(255,255,255,0.06)), transparent);
    opacity: 0;
    transition: opacity var(--duration-fast) var(--apple-ease);
}
.trust-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
}
.trust-item:hover::after { opacity: 1; }
.trust-grid-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent);
}
.trust-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 6px 1px var(--dot-glow, rgba(255,255,255,0.1));
}

/* ===== SECTION CARDS (glassmorphism) ===== */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform var(--duration) var(--apple-ease),
                border-color var(--duration) var(--apple-ease),
                box-shadow var(--duration) var(--apple-ease);
}
.glass-card:hover {
    transform: translateY(-4px);
    border-color: rgba(20, 184, 166, 0.15);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

/* ===== STEP CONNECTOR ===== */
.step-connector {
    position: relative;
}
.step-connector::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, rgba(20, 184, 166, 0.4), rgba(20, 184, 166, 0.05));
    transform: translateY(-50%);
}
@media (max-width: 768px) {
    .step-connector::after { display: none; }
}

/* ===== BRAND PORTFOLIO CARDS ===== */
.brand-card {
    position: relative;
    overflow: hidden;
    border-radius: 1.25rem;
    padding: 2px;
    background: linear-gradient(
        135deg,
        var(--brand-c1, rgba(255,255,255,0.08)),
        rgba(255,255,255,0.03) 40%,
        rgba(255,255,255,0.01) 60%,
        var(--brand-c2, rgba(255,255,255,0.06))
    );
    transition: all var(--duration) var(--apple-ease);
}
.brand-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px -10px var(--brand-shadow, rgba(0,0,0,0.3));
}
.brand-card-inner {
    background: linear-gradient(160deg, rgba(15, 23, 42, 0.97), rgba(11, 17, 33, 0.99));
    border-radius: calc(1.25rem - 2px);
    padding: 1.75rem;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.brand-card-glow {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: var(--brand-glow, rgba(20,184,166,0.06));
    filter: blur(50px);
    opacity: 0.5;
    transition: opacity var(--duration) var(--apple-ease);
    pointer-events: none;
}
.brand-card:hover .brand-card-glow { opacity: 1; }
.brand-card-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--brand-accent, linear-gradient(90deg, #14b8a6, #10b981));
    opacity: 0;
    transition: opacity var(--duration-fast) var(--apple-ease);
}
.brand-card:hover .brand-card-accent { opacity: 1; }

.brand-badge {
    font-size: 0.65rem;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.7rem;
    border-radius: 9999px;
    font-weight: 600;
    text-transform: uppercase;
    position: relative;
}
.brand-badge::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    padding: 1px;
    background: var(--badge-border, linear-gradient(135deg, rgba(52,211,153,0.3), rgba(52,211,153,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;
}

.brand-tag {
    font-size: 0.7rem;
    font-weight: 500;
    padding: 0.3rem 0.75rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.5);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all var(--duration-fast) var(--apple-ease);
}
.brand-tag:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}
.brand-tag-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--tag-color, rgba(255,255,255,0.3));
}

/* ===== ADVANTAGE CARDS ===== */
.advantage-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 1.25rem;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all var(--duration) var(--apple-ease);
}
.advantage-card:hover {
    transform: translateY(-4px);
    border-color: rgba(20, 184, 166, 0.15);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}
.advantage-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.12), rgba(16, 185, 129, 0.08));
    border: 1px solid rgba(20, 184, 166, 0.15);
}

/* ===== COVERAGE GRID ===== */
/* Region Bands */
.region-band {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: border-color var(--duration) var(--apple-ease),
                box-shadow var(--duration) var(--apple-ease);
}
.region-band:hover {
    border-color: rgba(20, 184, 166, 0.15);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}
.region-band::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--region-accent, #14b8a6), transparent);
    opacity: 0.6;
}
.region-flags-track {
    display: flex;
    gap: 0.5rem;
    animation: flags-scroll var(--scroll-speed, 25s) linear infinite;
    width: max-content;
}
.region-band:hover .region-flags-track {
    animation-play-state: paused;
}
@keyframes flags-scroll {
    to { transform: translateX(-50%); }
}
.region-flags-mask {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.flag-chip {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.6rem;
    border-radius: 0.4rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
    transition: all 0.3s var(--apple-ease);
}
.flag-chip:hover {
    background: rgba(20, 184, 166, 0.08);
    border-color: rgba(20, 184, 166, 0.2);
    color: rgba(255, 255, 255, 0.85);
}
.flag-chip .flag-icon { font-size: 1.1rem; line-height: 1; }
.region-count {
    font-variant-numeric: tabular-nums;
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--region-accent, #14b8a6), rgba(255, 255, 255, 0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

/* ===== CTA SECTION ===== */
.cta-gradient {
    background: linear-gradient(135deg, #0d3331 0%, #0b1121 50%, #162044 100%);
}
.cta-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.12), transparent 70%);
    filter: blur(60px);
}

/* ===== BUTTONS ===== */
.btn-primary {
    background: linear-gradient(135deg, #14b8a6, #10b981);
    color: #fff;
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    border-radius: 12px;
    transition: all var(--duration-fast) var(--apple-ease);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(20, 184, 166, 0.3);
}
.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}
.btn-primary:hover::after {
    transform: translateX(100%);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--duration-fast) var(--apple-ease);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* ===== SCROLL REVEAL ===== */
.reveal-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--apple-ease-out),
                transform 0.8s var(--apple-ease-out);
    transition-delay: calc(var(--delay, 0) * 120ms);
}
.reveal-item.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ===== COUNTER ===== */
.counter-value {
    font-variant-numeric: tabular-nums;
}

/* ===== PAYOUT TABLE ===== */
.payout-container {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 1.25rem;
    overflow: hidden;
    position: relative;
}
.payout-container::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #14b8a6, #10b981, transparent);
    opacity: 0.6;
}
.payout-search {
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.75rem;
    color: #fff;
    transition: border-color var(--duration-fast) var(--apple-ease),
                box-shadow var(--duration-fast) var(--apple-ease);
}
.payout-search:focus {
    outline: none;
    border-color: rgba(20, 184, 166, 0.4);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1), 0 0 20px rgba(20, 184, 166, 0.05);
}
.payout-search::placeholder { color: rgba(255, 255, 255, 0.3); }
.payout-scroll {
    max-height: 360px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(20, 184, 166, 0.3) transparent;
}
.payout-scroll::-webkit-scrollbar { width: 6px; }
.payout-scroll::-webkit-scrollbar-track { background: transparent; }
.payout-scroll::-webkit-scrollbar-thumb {
    background: rgba(20, 184, 166, 0.25);
    border-radius: 3px;
}
.payout-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(20, 184, 166, 0.45);
}
.payout-row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 0.625rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: background var(--duration-fast) var(--apple-ease);
}
.payout-row:hover {
    background: rgba(20, 184, 166, 0.05);
}
.payout-row:hover .payout-badge {
    box-shadow: 0 0 12px rgba(20, 184, 166, 0.2);
    border-color: rgba(20, 184, 166, 0.4);
}
.payout-row:last-child { border-bottom: none; }
.payout-badge {
    font-variant-numeric: tabular-nums;
    border-radius: 0.5rem;
    letter-spacing: 0.02em;
    transition: box-shadow var(--duration-fast) var(--apple-ease),
                border-color var(--duration-fast) var(--apple-ease);
}
.payout-badge-uniform {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.12), rgba(16, 185, 129, 0.08));
    border: 1px solid rgba(20, 184, 166, 0.2);
    color: #2dd4bf;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

/* Why Surveys - Animated Bars */
.why-survey-bar {
    width: 0;
    transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.why-survey-bar.animate {
    width: var(--bar-width);
}

/* Traffic Sources Cards */
.traffic-card {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.85), rgba(11, 17, 33, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: relative;
    overflow: hidden;
    transition: border-color var(--duration) var(--apple-ease),
                box-shadow var(--duration) var(--apple-ease);
}
.traffic-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    border-radius: 2px 2px 0 0;
    opacity: 0.6;
    transition: opacity var(--duration) var(--apple-ease);
}
.traffic-card:hover::before { opacity: 1; }
.traffic-card-allowed {
    border-color: rgba(16, 185, 129, 0.1);
}
.traffic-card-allowed::before {
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.6), rgba(20, 184, 166, 0.6), transparent);
}
.traffic-card-allowed:hover {
    border-color: rgba(16, 185, 129, 0.18);
    box-shadow: 0 0 40px rgba(16, 185, 129, 0.04), inset 0 1px 0 rgba(16, 185, 129, 0.06);
}
.traffic-card-blocked {
    border-color: rgba(239, 68, 68, 0.1);
}
.traffic-card-blocked::before {
    background: linear-gradient(90deg, transparent, rgba(239, 68, 68, 0.5), rgba(239, 68, 68, 0.5), transparent);
}
.traffic-card-blocked:hover {
    border-color: rgba(239, 68, 68, 0.18);
    box-shadow: 0 0 40px rgba(239, 68, 68, 0.03), inset 0 1px 0 rgba(239, 68, 68, 0.05);
}
.traffic-category {
    position: relative;
    padding-left: 0.75rem;
}
.traffic-category::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.15rem;
    bottom: 0.15rem;
    width: 2px;
    border-radius: 1px;
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.3), rgba(16, 185, 129, 0.05));
}
.traffic-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    border-radius: 0.5rem;
    font-size: 0.78rem;
    font-weight: 500;
    transition: all var(--duration-fast) var(--apple-ease);
    position: relative;
}
.traffic-pill-allowed {
    background: rgba(16, 185, 129, 0.07);
    border: 1px solid rgba(16, 185, 129, 0.12);
    color: rgba(167, 243, 208, 0.85);
}
.traffic-pill-allowed:hover {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.1);
}
.traffic-pill-conditional {
    background: rgba(251, 191, 36, 0.07);
    border: 1px solid rgba(251, 191, 36, 0.12);
    color: rgba(253, 230, 138, 0.85);
}
.traffic-pill-conditional:hover {
    background: rgba(251, 191, 36, 0.15);
    border-color: rgba(251, 191, 36, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.08);
}
.traffic-pill-blocked {
    background: rgba(239, 68, 68, 0.07);
    border: 1px solid rgba(239, 68, 68, 0.12);
    color: rgba(252, 165, 165, 0.85);
}
.traffic-pill-blocked:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.08);
}
.traffic-category-blocked {
    position: relative;
    padding-left: 0.75rem;
}
.traffic-category-blocked::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.15rem;
    bottom: 0.15rem;
    width: 2px;
    border-radius: 1px;
    background: linear-gradient(180deg, rgba(239, 68, 68, 0.3), rgba(239, 68, 68, 0.05));
}
@keyframes traffic-pill-enter {
    from { opacity: 0; transform: translateY(6px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.traffic-card.visible .traffic-pill {
    animation: traffic-pill-enter 0.4s var(--apple-ease-out) both;
}
.traffic-card.visible .traffic-category:nth-child(1) .traffic-pill { animation-delay: 0.05s; }
.traffic-card.visible .traffic-category:nth-child(2) .traffic-pill { animation-delay: 0.12s; }
.traffic-card.visible .traffic-category:nth-child(3) .traffic-pill { animation-delay: 0.19s; }
.traffic-card.visible .traffic-category:nth-child(4) .traffic-pill { animation-delay: 0.26s; }
.traffic-card.visible .traffic-category:nth-child(5) .traffic-pill { animation-delay: 0.33s; }
.traffic-card.visible .traffic-category:nth-child(6) .traffic-pill { animation-delay: 0.40s; }
.traffic-card.visible .traffic-category:nth-child(7) .traffic-pill { animation-delay: 0.47s; }
.traffic-card.visible .traffic-category-blocked:nth-child(1) .traffic-pill { animation-delay: 0.05s; }
.traffic-card.visible .traffic-category-blocked:nth-child(2) .traffic-pill { animation-delay: 0.15s; }
.traffic-card.visible .traffic-category-blocked:nth-child(3) .traffic-pill { animation-delay: 0.25s; }

/* Highlight Cards */
.payout-highlight {
    background: linear-gradient(135deg, rgba(11, 17, 33, 0.95), rgba(15, 23, 42, 0.95));
    border: 1px solid rgba(20, 184, 166, 0.15);
    border-radius: 1rem;
    position: relative;
    overflow: hidden;
    transition: transform var(--duration) var(--apple-ease-out),
                border-color var(--duration) var(--apple-ease),
                box-shadow var(--duration) var(--apple-ease);
}
.payout-highlight:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: rgba(20, 184, 166, 0.35);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(20, 184, 166, 0.08);
}
.payout-highlight::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1rem;
    padding: 1px;
    background: linear-gradient(135deg, var(--hl-c1, rgba(20, 184, 166, 0.4)), transparent 60%);
    -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;
    transition: opacity var(--duration) var(--apple-ease);
    opacity: 0.6;
}
.payout-highlight:hover::before { opacity: 1; }
.payout-highlight::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(20, 184, 166, 0.05), transparent, transparent);
    animation: highlight-spin 8s linear infinite;
    pointer-events: none;
}
@keyframes highlight-spin {
    to { transform: rotate(360deg); }
}
.payout-highlight .flag-emoji {
    transition: transform var(--duration) var(--apple-ease-out);
}
.payout-highlight:hover .flag-emoji {
    transform: scale(1.15);
}

/* Shimmer effect on highlight badge */
.payout-highlight .payout-badge {
    position: relative;
    overflow: hidden;
}
.payout-highlight .payout-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
    transform: translateX(-100%);
    animation: badge-shimmer 3s ease-in-out infinite;
}
@keyframes badge-shimmer {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

/* Stagger entrance for rows */
.payout-row-enter {
    opacity: 0;
    transform: translateY(6px);
}
.payout-row-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s var(--apple-ease), transform 0.3s var(--apple-ease);
}

/* Region separator */
.payout-region-header {
    padding: 0.5rem 1.25rem;
    background: linear-gradient(90deg, rgba(20, 184, 166, 0.06), transparent);
    border-bottom: 1px solid rgba(20, 184, 166, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.payout-filter-btn {
    padding: 0.35rem 0.85rem;
    border-radius: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.5);
    transition: all var(--duration-fast) var(--apple-ease);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.payout-filter-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.15), rgba(16, 185, 129, 0.1));
    opacity: 0;
    transition: opacity var(--duration-fast) var(--apple-ease);
}
.payout-filter-btn:hover {
    border-color: rgba(20, 184, 166, 0.3);
    color: rgba(255, 255, 255, 0.7);
}
.payout-filter-btn:hover::before { opacity: 1; }
.payout-filter-btn.active {
    background: rgba(20, 184, 166, 0.15);
    border-color: rgba(20, 184, 166, 0.4);
    color: #2dd4bf;
    box-shadow: 0 0 12px rgba(20, 184, 166, 0.1);
}
.payout-filter-btn.active::before { opacity: 0; }

/* ===== SECTION DIVIDER ===== */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
}

/* ===== FOCUS ===== */
:focus-visible {
    outline: 2px solid rgba(20, 184, 166, 0.5);
    outline-offset: 3px;
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .hero-fade { opacity: 1; transform: none; }
    .reveal-item { opacity: 1; transform: none; }
    .region-flags-track { animation: none; }
    html { scroll-behavior: auto; }
}

/* ===== SCROLL PROGRESS ===== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    width: 0%;
    background: linear-gradient(90deg, #14b8a6, #10b981, #2dd4bf);
    z-index: 9999;
    transition: none;
    box-shadow: 0 0 8px rgba(20, 184, 166, 0.4);
}

/* ===== HERO CTA GLOW PULSE ===== */
@keyframes cta-glow-pulse {
    0%, 100% { box-shadow: 0 0 20px rgba(20, 184, 166, 0.2), 0 4px 16px rgba(20, 184, 166, 0.15); }
    50% { box-shadow: 0 0 30px rgba(20, 184, 166, 0.35), 0 4px 24px rgba(20, 184, 166, 0.25); }
}
.btn-primary-hero {
    animation: cta-glow-pulse 3s ease-in-out infinite;
}

/* ===== GRADIENT TEXT SHIMMER ===== */
@keyframes gradient-shimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.gradient-shimmer {
    background-size: 200% auto;
    animation: gradient-shimmer 6s ease-in-out infinite;
}

/* ===== CARD CURSOR GLOW ===== */
.card-glow-effect {
    position: relative;
    overflow: hidden;
}
.card-glow-effect .card-glow-orb {
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--glow-color, rgba(20, 184, 166, 0.08)), transparent 70%);
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.4s ease;
    z-index: 0;
}
.card-glow-effect:hover .card-glow-orb {
    opacity: 1;
}

/* ===== ADVANTAGE ICON HOVER ===== */
.advantage-card:hover .advantage-icon {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(20, 184, 166, 0.15);
}
.advantage-icon {
    transition: transform var(--duration-fast) var(--apple-ease),
                box-shadow var(--duration-fast) var(--apple-ease);
}

/* ===== SCROLLBAR ===== */
html {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.1) #0b1121;
}
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0b1121; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.1); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.2); }


/* =============================================================================
   DARK ↔ LIGHT — Transition overlays & component overrides
   ============================================================================= */

/* --- Glass cards on light sections --- */
#why-surveys .glass-card,
#how-it-works .glass-card {
    background: #ffffff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.06),
        0 4px 16px rgba(0, 0, 0, 0.08),
        0 20px 48px rgba(0, 0, 0, 0.1);
}
#why-surveys .glass-card:hover,
#how-it-works .glass-card:hover {
    border-color: rgba(20, 184, 166, 0.25);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.06),
        0 8px 24px rgba(20, 184, 166, 0.1),
        0 28px 60px rgba(0, 0, 0, 0.14);
    transform: translateY(-2px);
}

/* --- Brand cards on light --- */
#brands .brand-card {
    background: linear-gradient(
        135deg,
        var(--brand-c1, rgba(0,0,0,0.04)),
        rgba(255,255,255,0.8) 40%,
        rgba(255,255,255,0.9) 60%,
        var(--brand-c2, rgba(0,0,0,0.03))
    );
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.06),
        0 4px 16px rgba(0, 0, 0, 0.08),
        0 20px 48px rgba(0, 0, 0, 0.1);
}
#brands .brand-card:hover {
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.06),
        0 12px 32px var(--brand-shadow, rgba(0,0,0,0.1)),
        0 28px 60px rgba(0, 0, 0, 0.14);
    transform: translateY(-3px);
}
#brands .brand-card-inner {
    background: #ffffff;
}
#brands .brand-card-glow {
    opacity: 0.15;
}
#brands .brand-tag {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.08);
    color: #64748b;
}
#brands .brand-tag:hover {
    background: rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.12);
    color: #334155;
}

/* --- Advantage cards on light --- */
#advantages .advantage-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.06),
        0 4px 16px rgba(0, 0, 0, 0.08),
        0 20px 48px rgba(0, 0, 0, 0.1);
}
#advantages .advantage-card:hover {
    border-color: rgba(20, 184, 166, 0.25);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.06),
        0 8px 24px rgba(20, 184, 166, 0.1),
        0 28px 60px rgba(0, 0, 0, 0.14);
    transform: translateY(-3px);
}
#advantages .advantage-icon {
    background: #f0fdfa;
    border-color: #99f6e4;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* --- Selection on light --- */
#why-surveys ::selection,
#how-it-works ::selection,
#brands ::selection,
#advantages ::selection,
#coverage ::selection,
#trust ::selection,
footer ::selection {
    background: rgba(20, 184, 166, 0.15);
    color: #0f172a;
}

/* --- Card glow effect attenuated on light --- */
#brands .card-glow-effect .card-glow-orb,
#advantages .card-glow-effect .card-glow-orb {
    background: radial-gradient(circle, rgba(20, 184, 166, 0.06), transparent 70%);
}

/* --- Trust section on light --- */
#trust .trust-container {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.06),
        0 4px 16px rgba(0, 0, 0, 0.08),
        0 20px 48px rgba(0, 0, 0, 0.1);
}
#trust .trust-container::before {
    background: linear-gradient(90deg, transparent, rgba(20, 184, 166, 0.3), transparent);
}
#trust .trust-item:hover {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.06);
}
#trust .trust-grid-line {
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.06), transparent);
}


/* =============================================================================
   PREMIUM POLISH — Textures, micro-interactions, animations
   ============================================================================= */

/* --- 1. Subtle dot grid texture on light sections --- */
#why-surveys::after,
#how-it-works::after,
#brands::after,
#advantages::after,
#coverage::after,
#trust::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    z-index: 2;
}

/* --- 2. Subtle separators between light sections (CSS-only, inside section) --- */
#why-surveys::before,
#how-it-works::before,
#brands::before,
#advantages::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.3), transparent);
    border-radius: 1px;
    z-index: 5;
}

/* --- 3. Dark↔Light junction accent lines --- */
.junction-line {
    position: relative;
    z-index: 30;
    height: 2px;
    background: linear-gradient(90deg, transparent 5%, rgba(20, 184, 166, 0.35) 30%, rgba(16, 185, 129, 0.45) 50%, rgba(20, 184, 166, 0.35) 70%, transparent 95%);
}

/* --- 4. Icon box hover micro-animations (why-surveys) --- */
#why-surveys .flex.gap-5 > .shrink-0 {
    transition: transform 0.4s var(--apple-ease), box-shadow 0.4s var(--apple-ease);
}
#why-surveys .flex.gap-5:hover > .shrink-0 {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 8px 24px rgba(20, 184, 166, 0.12);
}

/* Icon boxes in how-it-works */
#how-it-works .glass-card .w-14 {
    transition: transform 0.4s var(--apple-ease), box-shadow 0.4s var(--apple-ease);
}
#how-it-works .glass-card:hover .w-14 {
    transform: translateY(-4px) scale(1.1) rotate(-3deg);
    box-shadow: 0 8px 24px rgba(20, 184, 166, 0.15);
}

/* --- 5. Glass card shimmer sweep on hover --- */
#how-it-works .glass-card {
    position: relative;
    overflow: hidden;
}
#how-it-works .glass-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(20, 184, 166, 0.03), rgba(255, 255, 255, 0.06), transparent);
    pointer-events: none;
    z-index: 1;
    transition: left 0.7s ease;
}
#how-it-works .glass-card:hover::after {
    left: 150%;
}

/* --- 6. Step connectors (dashed line between how-it-works cards) --- */
@media (min-width: 768px) {
    #how-it-works .grid > .reveal-item {
        position: relative;
    }
    #how-it-works .grid > .reveal-item:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 5.5rem;
        right: -2rem;
        width: 2rem;
        height: 2px;
        background: repeating-linear-gradient(90deg,
            rgba(20, 184, 166, 0.25) 0, rgba(20, 184, 166, 0.25) 5px,
            transparent 5px, transparent 11px);
        z-index: 5;
    }
}
@media (min-width: 1024px) {
    #how-it-works .grid > .reveal-item:not(:last-child)::after {
        right: -3rem;
        width: 3rem;
    }
}

/* --- 7. Advantage card accent line on hover --- */
#advantages .advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 1.5rem;
    right: 1.5rem;
    height: 2px;
    background: linear-gradient(90deg, transparent, #14b8a6, #10b981, transparent);
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.4s var(--apple-ease);
}
#advantages .advantage-card:hover::before {
    opacity: 1;
}

/* --- 8. Brand card shimmer sweep --- */
#brands .brand-card-inner::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.04), transparent);
    pointer-events: none;
    transition: left 0.8s ease;
}
#brands .brand-card:hover .brand-card-inner::after {
    left: 150%;
}

/* --- 9. Trust dot scale + glow on hover --- */
#trust .trust-dot {
    transition: transform 0.3s var(--apple-ease), box-shadow 0.3s var(--apple-ease);
}
#trust .trust-item:hover .trust-dot {
    transform: scale(1.5);
    box-shadow: 0 0 12px 2px var(--dot-glow, rgba(20, 184, 166, 0.3));
}
#trust .trust-item:hover {
    background: rgba(20, 184, 166, 0.04);
    border-color: rgba(20, 184, 166, 0.12);
    transform: translateY(-3px) scale(1.02);
}

/* --- 10. Footer animated gradient line --- */
footer > .h-px {
    height: 2px;
    background: linear-gradient(90deg, transparent, #14b8a6, #10b981, transparent);
    background-size: 200% 100%;
    animation: footer-gradient-sweep 4s ease-in-out infinite alternate;
}
@keyframes footer-gradient-sweep {
    0% { background-position: 0% 0; }
    100% { background-position: 100% 0; }
}

/* --- 11. Highlight pill hover (why-surveys bottom pills) --- */
#why-surveys .flex.flex-wrap > .inline-flex {
    transition: transform 0.25s var(--apple-ease), box-shadow 0.25s var(--apple-ease), border-color 0.25s var(--apple-ease);
    cursor: default;
}
#why-surveys .flex.flex-wrap > .inline-flex:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(20, 184, 166, 0.1);
    border-color: rgba(20, 184, 166, 0.25);
}

/* --- 12. Stat card glow overlay (hero) --- */
.stat-card {
    position: relative;
    overflow: hidden;
}
.stat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.08), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s var(--apple-ease);
    pointer-events: none;
}
.stat-card:hover::before {
    opacity: 1;
}

/* --- 13. CTA orbs subtle breathing --- */
#cta .cta-glow {
    animation: cta-orb-breathe 5s ease-in-out infinite;
}
@keyframes cta-orb-breathe {
    0%, 100% { opacity: 0.8; filter: blur(60px); }
    50% { opacity: 1; filter: blur(50px); }
}

/* --- 14. Footer nav links hover underline --- */
footer nav a {
    position: relative;
    display: inline-block;
}
footer nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #14b8a6, #10b981);
    transition: width 0.3s var(--apple-ease-out);
}
footer nav a:hover::after {
    width: 100%;
}

/* --- 15. Region band subtle slide on hover --- */
.region-band {
    transition: border-color var(--duration) var(--apple-ease),
                box-shadow var(--duration) var(--apple-ease),
                transform var(--duration) var(--apple-ease);
}
.region-band:hover {
    transform: translateX(3px);
}

/* --- 15b. Coverage section — light theme overrides --- */
#coverage {
    color: #0f172a;
}
#coverage .region-band {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
}
#coverage .region-band:hover {
    border-color: rgba(20, 184, 166, 0.3);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}
#coverage .region-band::before {
    opacity: 0.9;
}
#coverage .flag-chip {
    background: rgba(241, 245, 249, 0.9);
    border: 1px solid rgba(226, 232, 240, 0.7);
    color: #334155;
}
#coverage .flag-chip:hover {
    background: rgba(20, 184, 166, 0.1);
    border-color: rgba(20, 184, 166, 0.3);
    color: #0f766e;
}
#coverage .region-count {
    background: linear-gradient(135deg, var(--region-accent, #14b8a6), #0f172a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- 16. Why-surveys stat bar shine effect --- */
.why-survey-bar {
    position: relative;
    overflow: hidden;
}
.why-survey-bar::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 30%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25));
    border-radius: inherit;
    pointer-events: none;
}

/* --- 17. Payout highlight flag drop-shadow --- */
.payout-highlight .flag-emoji {
    display: inline-block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* --- 18. Enhanced scroll progress bar glow --- */
.scroll-progress {
    box-shadow: 0 0 12px rgba(20, 184, 166, 0.5), 0 0 24px rgba(20, 184, 166, 0.2);
}
