/* ================================================================
   The Chat Collective — Electric Green Cyberpunk Theme
   KcTrusted Glassmorphism Design System
   WCAG 2.1 AA compliant | Reduced-motion safe
   ================================================================ */

/* === Reset & Base === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 100%; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* === Design Tokens (KcTrusted Glassmorphism System) === */
:root {
    /* Electric Green Cyberpunk Palette */
    --neon-green: #00ff66;
    --neon-green-dark: #00cc52;
    --neon-green-light: #33ff85;
    --neon-green-glow: rgba(0, 255, 102, 0.8);
    --neon-green-subtle: rgba(0, 255, 102, 0.15);
    --neon-green-faint: rgba(0, 255, 102, 0.06);
    --neon-cyan: #00bfff;
    --neon-cyan-glow: rgba(0, 191, 255, 0.6);

    /* Backgrounds */
    --bg-pure: #000000;
    --bg-primary: #0a0a0a;
    --bg-secondary: #0d0d0d;
    --bg-elevated: #111111;

    /* Glassmorphism */
    --dark-glass-start: rgba(0, 0, 0, 0.8);
    --dark-glass-mid: rgba(20, 20, 20, 0.9);
    --dark-glass-end: rgba(0, 0, 0, 0.95);
    --glass-background: rgba(255, 255, 255, 0.04);
    --glass-background-light: rgba(255, 255, 255, 0.02);
    --glass-background-medium: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-hover: rgba(0, 255, 102, 0.25);
    --glass-border-strong: rgba(255, 255, 255, 0.15);
    --glass-blur: 20px;
    --glass-blur-heavy: 25px;
    --glass-inner-glow: rgba(255, 255, 255, 0.06);

    /* Text */
    --text: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.45);
    --text-disabled: rgba(255, 255, 255, 0.25);

    /* Spacing */
    --radius-md: 10px;
    --radius-lg: 12px;
    --radius-xl: 14px;
    --radius-xxl: 16px;
    --radius-round: 999px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
}

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--bg-pure);
    color: var(--text-secondary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: color var(--transition-fast); }
a:focus-visible, button:focus-visible {
    outline: 2px solid var(--neon-green);
    outline-offset: 2px;
    border-radius: 4px;
}

/* === Ambient Orb Field (global 3D glassmorphism depth) === */
.ambient-orb-field {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
.ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.07;
    will-change: transform, opacity;
}
.ambient-orb--a {
    width: 460px; height: 460px;
    background: radial-gradient(circle, rgba(0, 255, 102, 0.65), transparent 70%);
    top: 4%; left: -4%;
    animation: orbDrift1 26s ease-in-out infinite, orbPulse 9s ease-in-out infinite;
}
.ambient-orb--b {
    width: 380px; height: 380px;
    background: radial-gradient(circle, rgba(0, 191, 255, 0.55), transparent 70%);
    top: 30%; right: -3%;
    animation: orbDrift2 30s ease-in-out infinite, orbPulse 11s ease-in-out infinite 2s;
}
.ambient-orb--c {
    width: 420px; height: 420px;
    background: radial-gradient(circle, rgba(0, 204, 82, 0.5), transparent 70%);
    top: 62%; left: 6%;
    animation: orbDrift1 24s ease-in-out infinite reverse, orbPulse 13s ease-in-out infinite 4s;
}
.ambient-orb--d {
    width: 340px; height: 340px;
    background: radial-gradient(circle, rgba(51, 255, 133, 0.45), transparent 70%);
    top: 82%; right: 10%;
    animation: orbDrift2 20s ease-in-out infinite reverse, orbPulse 10s ease-in-out infinite 1s;
}
@keyframes orbDrift1 {
    0%   { transform: translate(0, 0) scale(1); }
    25%  { transform: translate(60px, -70px) scale(1.12); }
    50%  { transform: translate(-30px, -140px) scale(0.94); }
    75%  { transform: translate(40px, -50px) scale(1.08); }
    100% { transform: translate(0, 0) scale(1); }
}
@keyframes orbDrift2 {
    0%   { transform: translate(0, 0) scale(1); }
    33%  { transform: translate(-60px, 80px) scale(1.08); }
    66%  { transform: translate(45px, 35px) scale(0.92); }
    100% { transform: translate(0, 0) scale(1); }
}
@keyframes orbPulse {
    0%, 100% { opacity: 0.05; }
    50%      { opacity: 0.1; }
}
@media (prefers-reduced-motion: reduce) {
    .ambient-orb-field { display: none; }
}
/* Ensure real page content always stacks above the fixed orb field */
body > main, body > footer, body > #page-content { position: relative; z-index: 1; }

/* === Scroll-Reveal System === */
[data-reveal] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}
[data-reveal="left"] { transform: translateX(-60px); }
[data-reveal="right"] { transform: translateX(60px); }
[data-reveal="scale"] { transform: scale(0.92); }
[data-reveal].revealed,
[data-reveal="left"].revealed,
[data-reveal="right"].revealed,
[data-reveal="scale"].revealed {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}
[data-reveal-stagger] > * {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.55s cubic-bezier(0.22,1,0.36,1), transform 0.55s cubic-bezier(0.22,1,0.36,1);
}
[data-reveal-stagger].revealed > *:nth-child(1) { transition-delay: 0s; }
[data-reveal-stagger].revealed > *:nth-child(2) { transition-delay: 0.08s; }
[data-reveal-stagger].revealed > *:nth-child(3) { transition-delay: 0.16s; }
[data-reveal-stagger].revealed > *:nth-child(4) { transition-delay: 0.24s; }
[data-reveal-stagger].revealed > *:nth-child(5) { transition-delay: 0.32s; }
[data-reveal-stagger].revealed > *:nth-child(6) { transition-delay: 0.4s; }
[data-reveal-stagger].revealed > *:nth-child(7) { transition-delay: 0.48s; }
[data-reveal-stagger].revealed > *:nth-child(8) { transition-delay: 0.56s; }
[data-reveal-stagger].revealed > *:nth-child(9) { transition-delay: 0.64s; }
[data-reveal-stagger].revealed > * { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
    [data-reveal], [data-reveal-stagger] > * {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* === Skip Link (WCAG 2.4.1) === */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 200;
    padding: 12px 24px;
    background: var(--neon-green);
    color: #000;
    font-weight: 700;
    border-radius: 0 0 8px 8px;
    transition: top 0.2s;
}
.skip-link:focus { top: 0; outline: 3px solid #fff; }

/* === Container === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* === Gradient Text === */
.gradient-text {
    background: linear-gradient(135deg, var(--neon-green) 0%, var(--neon-green-light) 50%, var(--neon-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === Section Tag === */
.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--neon-green-faint);
    border: 1px solid rgba(0, 255, 102, 0.15);
    border-radius: var(--radius-round);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--neon-green);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

/* === Glass Card (KcTrusted system) — with 3D tilt + shimmer === */
.glass-card {
    background: linear-gradient(135deg, var(--dark-glass-start), var(--dark-glass-mid), var(--dark-glass-end));
    backdrop-filter: blur(var(--glass-blur-heavy));
    -webkit-backdrop-filter: blur(var(--glass-blur-heavy));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xxl);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
    will-change: transform;
}
.glass-card::before {
    content: "";
    position: absolute;
    top: -60%;
    left: -60%;
    width: 220%;
    height: 220%;
    background: linear-gradient(45deg, transparent 42%, rgba(0, 255, 102, 0.05) 50%, transparent 58%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.glass-card:hover {
    border-color: var(--glass-border-hover);
    box-shadow: 0 0 30px rgba(0, 255, 102, 0.08), 0 20px 50px rgba(0, 0, 0, 0.45);
}
.glass-card:hover::before { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
    .glass-card { transition: none; }
    .glass-card::before { display: none; }
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    font-weight: 600;
    border: 1px solid transparent;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all var(--transition-normal);
    font-size: 0.95rem;
    padding: 12px 24px;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}
.btn-sm { padding: 8px 18px; font-size: 0.85rem; border-radius: var(--radius-md); }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-xl { padding: 18px 40px; font-size: 1.1rem; border-radius: var(--radius-xxl); }
.btn-primary {
    background: linear-gradient(135deg, var(--neon-green-dark), var(--neon-green));
    color: #000;
    font-weight: 700;
    border-color: var(--neon-green);
    box-shadow: 0 0 20px rgba(0, 255, 102, 0.25), 0 4px 16px rgba(0, 0, 0, 0.3);
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--neon-green), var(--neon-green-light));
    box-shadow: 0 0 35px rgba(0, 255, 102, 0.4), 0 6px 24px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}
.btn-primary:active { transform: translateY(0); }
.btn-outline {
    background: var(--glass-background);
    color: var(--neon-green);
    border: 1px solid rgba(0, 255, 102, 0.25);
    backdrop-filter: blur(10px);
}
.btn-outline:hover {
    border-color: var(--neon-green);
    box-shadow: 0 0 15px rgba(0, 255, 102, 0.15);
    color: var(--neon-green-light);
}

/* === Navigation === */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    transition: all var(--transition-normal);
    background: transparent;
}
.nav.scrolled {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid var(--glass-border);
    padding: 10px 0;
}
.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
}
.logo-svg { flex-shrink: 0; }
.logo-img {
    flex-shrink: 0;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 8px rgba(0, 255, 102, 0.35);
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-links a { color: var(--text-muted); font-size: 0.9rem; font-weight: 500; }
.nav-links a:hover { color: var(--neon-green); }
.nav-links .btn { color: #000; }

/* Hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.hamburger, .hamburger::before, .hamburger::after {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--neon-green);
    border-radius: 2px;
    transition: all var(--transition-normal);
    position: relative;
}
.hamburger::before, .hamburger::after {
    content: "";
    position: absolute;
    left: 0;
    width: 22px;
}
.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.nav-toggle[aria-expanded="true"] .hamburger::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger::after { top: 0; transform: rotate(-45deg); }

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(var(--glass-blur));
    border-top: 1px solid var(--glass-border);
}
.mobile-menu a { color: var(--text-secondary); font-size: 1rem; font-weight: 500; padding: 8px 0; }
.mobile-menu a:hover { color: var(--neon-green); }
.mobile-menu.open { display: flex; }

/* === Hero === */
.hero {
    position: relative;
    padding: 160px 0 100px;
    text-align: center;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}
.hero > .container { position: relative; z-index: 2; width: 100%; }
.hero-bg {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(0, 255, 102, 0.05) 0%, rgba(0, 191, 255, 0.02) 40%, transparent 65%);
    pointer-events: none;
}
.hero-glow {
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(0, 255, 102, 0.04) 0%, transparent 70%);
    pointer-events: none;
}
/* Scanline effect */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 255, 102, 0.008) 2px,
        rgba(0, 255, 102, 0.008) 4px
    );
    pointer-events: none;
    z-index: 1;
}
.hero-badge {
    display: inline-block;
    padding: 6px 20px;
    background: var(--neon-green-faint);
    border: 1px solid rgba(0, 255, 102, 0.2);
    border-radius: var(--radius-round);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--neon-green);
    margin-bottom: 32px;
    letter-spacing: 0.5px;
    text-shadow: 0 0 10px var(--neon-green-glow);
}
.hero h1 {
    font-size: clamp(2.5rem, 5.5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}
.hero-sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto 40px;
    line-height: 1.75;
}
.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 72px;
}

/* Hero Metrics */
.hero-metrics {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}
.metric {
    display: flex;
    align-items: center;
    gap: 12px;
}
.metric-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--neon-green-faint);
    border: 1px solid rgba(0, 255, 102, 0.12);
    border-radius: var(--radius-lg);
}
.metric-label { font-size: 0.9rem; font-weight: 600; color: var(--text-muted); }
.metric-sep { width: 1px; height: 32px; background: var(--glass-border); }

/* === Section Header === */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}
.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    line-height: 1.15;
}
.section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.7;
}

/* === Platform Cards (Glass) === */
.platform { padding: 120px 0; }
.platform-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.platform-card {
    padding: 40px 32px;
}
.platform-card-lg { grid-column: span 2; }
.platform-card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--neon-green-faint);
    border: 1px solid rgba(0, 255, 102, 0.12);
    border-radius: var(--radius-xxl);
    margin-bottom: 20px;
    color: var(--neon-green);
}
.platform-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}
.platform-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 600px;
}

/* === Businesses === */
.businesses { padding: 120px 0; background: var(--bg-secondary); }
.biz-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.biz-content h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}
.biz-content > p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.75;
}
.biz-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 36px;
}
.biz-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.biz-list li svg { flex-shrink: 0; margin-top: 3px; }
.biz-list li strong { display: block; font-size: 0.95rem; color: var(--text); margin-bottom: 2px; }
.biz-list li span { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

/* Dashboard mockup (Glass) */
.biz-dashboard {
    background: linear-gradient(135deg, var(--dark-glass-start), var(--dark-glass-mid), var(--dark-glass-end));
    backdrop-filter: blur(var(--glass-blur-heavy));
    -webkit-backdrop-filter: blur(var(--glass-blur-heavy));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xxl);
    overflow: hidden;
}
.dash-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--glass-border);
}
.dash-dots { display: flex; gap: 6px; }
.dash-dots span { width: 10px; height: 10px; border-radius: 50%; }
.dash-dots span:nth-child(1) { background: #ff4444; }
.dash-dots span:nth-child(2) { background: #ffaa00; }
.dash-dots span:nth-child(3) { background: var(--neon-green); }
.dash-title { font-size: 0.78rem; color: var(--text-disabled); font-weight: 500; }
.dash-body { padding: 28px 24px; }
.dash-stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 28px; }
.dash-stat { text-align: center; }
.dash-stat-num { display: block; font-size: 1.6rem; font-weight: 800; color: var(--neon-green); text-shadow: 0 0 15px rgba(0, 255, 102, 0.3); }
.dash-stat-label { font-size: 0.75rem; color: var(--text-disabled); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.dash-chart { display: flex; gap: 8px; align-items: flex-end; height: 100px; margin-bottom: 24px; padding: 0 8px; }
.dash-bar {
    flex: 1;
    background: linear-gradient(180deg, var(--neon-green), var(--neon-green-dark));
    border-radius: 4px 4px 0 0;
    min-height: 10px;
    box-shadow: 0 0 8px rgba(0, 255, 102, 0.2);
}
.dash-row { display: flex; gap: 8px; }
.dash-badge {
    padding: 4px 12px;
    background: var(--neon-green-faint);
    border: 1px solid rgba(0, 255, 102, 0.2);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--neon-green);
}
.dash-badge-alt {
    background: rgba(0, 191, 255, 0.08);
    border-color: rgba(0, 191, 255, 0.2);
    color: var(--neon-cyan);
}

/* === Features (Glass Cards) === */
.features { padding: 120px 0; }
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.feature-card {
    padding: 32px 28px;
}
.feature-icon-wrap {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--neon-green-faint);
    border: 1px solid rgba(0, 255, 102, 0.1);
    border-radius: var(--radius-lg);
    margin-bottom: 18px;
    color: var(--neon-green);
}
.feature-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}
.feature-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* === Trust & Safety (Glass) === */
.trust-section { padding: 120px 0; background: var(--bg-secondary); }
.trust-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}
.shield-container { display: flex; justify-content: center; align-items: center; }
.shield-svg { filter: drop-shadow(0 0 40px rgba(0, 255, 102, 0.15)); }
.trust-content h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}
.trust-content > p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 36px;
}
.trust-items { display: flex; flex-direction: column; gap: 24px; }
.trust-item { display: flex; gap: 16px; align-items: flex-start; }
.trust-item-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--neon-green-faint);
    border: 1px solid rgba(0, 255, 102, 0.12);
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--neon-green);
    letter-spacing: 0.5px;
    text-shadow: 0 0 8px rgba(0, 255, 102, 0.3);
}
.trust-item strong { display: block; font-size: 0.95rem; color: var(--text); margin-bottom: 4px; }
.trust-item p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

/* === CTA === */
.cta {
    padding: 140px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 255, 102, 0.05), transparent 60%);
    pointer-events: none;
}
.cta h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    line-height: 1.15;
    position: relative;
}
.cta > .container > p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    position: relative;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}
.cta-actions { margin-bottom: 48px; position: relative; }
.cta-stores {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    position: relative;
}
.store-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--dark-glass-start), var(--dark-glass-mid));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    backdrop-filter: blur(10px);
    transition: all var(--transition-normal);
}
.store-badge:hover {
    border-color: var(--glass-border-hover);
    color: var(--neon-green);
    transform: translateY(-2px);
}

/* === App Download Section === */
.download-section { padding: 100px 0; }
.download-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    padding: 56px;
    position: relative;
}
.download-container::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(ellipse at 15% 30%, rgba(0, 255, 102, 0.05) 0%, transparent 60%),
                radial-gradient(ellipse at 85% 70%, rgba(0, 191, 255, 0.04) 0%, transparent 60%);
    pointer-events: none;
}
.download-text { flex: 1; min-width: 280px; position: relative; z-index: 1; }
.download-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--neon-green);
    margin-bottom: 10px;
}
.download-heading {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}
.download-desc {
    font-size: 0.98rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 420px;
    margin-bottom: 28px;
}
.download-badges { display: flex; gap: 14px; flex-wrap: wrap; }
.download-badge-link {
    display: block;
    width: 150px;
    border-radius: 8px;
    transition: transform 0.2s ease, opacity 0.2s ease, filter 0.2s ease;
}
.download-badge-link:hover {
    transform: translateY(-3px) scale(1.04);
    filter: drop-shadow(0 6px 18px rgba(0, 255, 102, 0.25));
}
.download-badge-img { width: 150px; height: 50px; display: block; object-fit: contain; }
.download-visual {
    flex-shrink: 0;
    width: 220px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}
.download-visual-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(0, 255, 102, 0.15);
    animation: glowPulse 4s ease-in-out infinite;
}
.download-visual-ring::before {
    content: "";
    position: absolute;
    inset: 24px;
    border-radius: 50%;
    border: 1px solid rgba(0, 191, 255, 0.12);
}
.download-visual-glow {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 255, 102, 0.14) 0%, transparent 70%);
    filter: blur(20px);
}
.download-visual-logo {
    width: 88px;
    height: 88px;
    border-radius: 24px;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 24px rgba(0, 255, 102, 0.35));
    animation: logoFloat 6s ease-in-out infinite;
}
@keyframes glowPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50%      { opacity: 1; transform: scale(1.06); }
}
@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}
@media (prefers-reduced-motion: reduce) {
    .download-visual-ring, .download-visual-logo { animation: none; }
}

/* === Footer === */
.footer {
    padding: 64px 0 40px;
    border-top: 1px solid var(--glass-border);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-name { font-weight: 700; font-size: 1.05rem; color: #fff; }
.footer-brand p { font-size: 0.88rem; color: var(--text-disabled); line-height: 1.6; max-width: 280px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}
.footer-col a { font-size: 0.9rem; color: var(--text-disabled); }
.footer-col a:hover { color: var(--neon-green); }
.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--glass-border);
}
.footer-bottom p { font-size: 0.82rem; color: var(--text-disabled); }
.footer-bottom a { color: var(--neon-green); }
.footer-bottom a:hover { color: var(--neon-green-light); text-shadow: 0 0 8px var(--neon-green-glow); }

/* === High Contrast (WCAG) === */
@media (prefers-contrast: high) {
    body { background: #000; color: #fff; }
    .glass-card { border-color: #555; }
    .hero-sub, .section-header p, .biz-content > p, .trust-content > p,
    .feature-card p, .trust-item p, .biz-list li span,
    .metric-label { color: #ccc; }
    .nav.scrolled { background: rgba(0, 0, 0, 0.98); }
}

/* === Responsive === */
@media (max-width: 1024px) {
    .platform-grid { grid-template-columns: 1fr 1fr; }
    .platform-card-lg { grid-column: span 2; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-toggle { display: block; }
    .hero { padding: 120px 0 80px; min-height: auto; }
    .hero::after { display: none; }
    .platform-grid { grid-template-columns: 1fr; }
    .platform-card-lg { grid-column: span 1; }
    .feature-grid { grid-template-columns: 1fr; }
    .biz-grid { grid-template-columns: 1fr; gap: 48px; }
    .trust-grid { grid-template-columns: 1fr; gap: 48px; }
    .trust-visual { order: -1; }
    .shield-svg { width: 140px; height: 168px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .hero-metrics { gap: 20px; }
    .metric-sep { display: none; }
    .platform, .features, .businesses, .trust-section { padding: 80px 0; }
    .cta { padding: 100px 0; }
    .download-section { padding: 64px 0; }
    .download-container { flex-direction: column; padding: 40px 28px; text-align: center; }
    .download-text { text-align: center; }
    .download-desc { margin-left: auto; margin-right: auto; }
    .download-badges { justify-content: center; }
    .ambient-orb { filter: blur(60px); opacity: 0.045; }
}
@media (max-width: 480px) {
    .hero h1 { font-size: 2rem; }
    .hero-actions { flex-direction: column; align-items: center; }
    .dash-stat-num { font-size: 1.3rem; }
    .cta-stores { flex-direction: column; align-items: center; }
    .download-badges { flex-direction: column; align-items: center; }
    .download-visual { width: 160px; height: 160px; }
}
