/* ============================================================
   FANOUS — Landing Page Design System
   Dark, glassy, lantern-glow aesthetic. RTL-first.
   ============================================================ */

:root {
    --bg: #07060f;
    --bg-soft: #0d0b1c;
    --surface: rgba(255, 255, 255, 0.04);
    --surface-strong: rgba(255, 255, 255, 0.07);
    --border: rgba(255, 255, 255, 0.09);
    --border-strong: rgba(255, 255, 255, 0.16);
    --text: #f2f1fa;
    --text-dim: rgba(242, 241, 250, 0.62);
    --text-faint: rgba(242, 241, 250, 0.4);
    --violet: #6d4aff;
    --violet-soft: #8b6dff;
    --ember: #ff5e3a;
    --amber: #ffb43a;
    --gradient: linear-gradient(120deg, #ffb43a, #ff5e3a 38%, #8b6dff 75%, #6d4aff);
    --radius: 20px;
    --nav-h: 72px;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    overflow-x: clip;
}

body {
    font-family: 'Tajawal', Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(109, 74, 255, 0.45); color: #fff; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ============ AMBIENT BACKGROUND ============ */
.bg-stage {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    background:
        radial-gradient(ellipse 80% 55% at 50% -10%, rgba(109, 74, 255, 0.16), transparent 60%),
        var(--bg);
}

#particles { position: absolute; inset: 0; width: 100%; height: 100%; }

.aurora {
    position: absolute;
    border-radius: 50%;
    filter: blur(110px);
    opacity: 0.5;
    will-change: transform;
}

.aurora-1 {
    width: 55vw; height: 55vw;
    top: -22vw; right: -12vw;
    background: radial-gradient(circle, rgba(109, 74, 255, 0.35), transparent 65%);
    animation: drift-1 26s ease-in-out infinite alternate;
}

.aurora-2 {
    width: 45vw; height: 45vw;
    bottom: -18vw; left: -14vw;
    background: radial-gradient(circle, rgba(255, 94, 58, 0.22), transparent 65%);
    animation: drift-2 32s ease-in-out infinite alternate;
}

.aurora-3 {
    width: 30vw; height: 30vw;
    top: 45%; left: 28%;
    background: radial-gradient(circle, rgba(255, 180, 58, 0.13), transparent 65%);
    animation: drift-3 22s ease-in-out infinite alternate;
}

@keyframes drift-1 { to { transform: translate(-8vw, 10vh) scale(1.15); } }
@keyframes drift-2 { to { transform: translate(10vw, -8vh) scale(1.1); } }
@keyframes drift-3 { to { transform: translate(-6vw, -10vh) scale(1.25); } }

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, black 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, black 30%, transparent 75%);
}

.noise {
    position: absolute;
    inset: 0;
    opacity: 0.5;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.035'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============ SCROLL PROGRESS ============ */
.scroll-progress {
    position: fixed;
    top: 0;
    right: 0;
    height: 3px;
    width: 0%;
    background: var(--gradient);
    z-index: 1000;
    border-radius: 0 0 0 3px;
    box-shadow: 0 0 12px rgba(255, 122, 58, 0.7);
}

/* ============ NAV ============ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 900;
    transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
    border-bottom: 1px solid transparent;
}

.nav.scrolled {
    background: rgba(7, 6, 15, 0.72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom-color: var(--border);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    height: var(--nav-h);
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand { display: flex; align-items: center; gap: 12px; }

.brand-logo {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 0 0 1px var(--border), 0 4px 18px rgba(109, 74, 255, 0.35);
}

.brand-name { font-size: 1.35rem; font-weight: 900; letter-spacing: -0.5px; }

.nav-links { display: flex; gap: 30px; }

.nav-links a {
    font-size: 0.98rem;
    font-weight: 500;
    color: var(--text-dim);
    position: relative;
    transition: color 0.25s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    border-radius: 2px;
    transition: width 0.3s var(--ease-out);
}

.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: inherit;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 14px 30px;
    border-radius: 100px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
    will-change: transform;
}

.btn-primary {
    background: linear-gradient(120deg, #ff7a3a, #ff5e3a 45%, #e8452a);
    color: #fff;
    box-shadow:
        0 4px 24px rgba(255, 94, 58, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 10px 40px rgba(255, 94, 58, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-ghost {
    background: var(--surface);
    border-color: var(--border-strong);
    color: var(--text);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-ghost:hover {
    transform: translateY(-3px);
    background: var(--surface-strong);
    border-color: rgba(139, 109, 255, 0.55);
    box-shadow: 0 8px 32px rgba(109, 74, 255, 0.25);
}

.btn-nav { padding: 10px 24px; font-size: 0.95rem; background: var(--surface); border-color: var(--border-strong); }
.btn-nav:hover { background: var(--surface-strong); border-color: rgba(139, 109, 255, 0.55); box-shadow: 0 6px 24px rgba(109, 74, 255, 0.3); }

.btn-lg { padding: 18px 40px; font-size: 1.15rem; }

/* ============ HERO ============ */
.hero {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding: calc(var(--nav-h) + 40px) 24px 80px;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 60px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    border-radius: 100px;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-dim);
    margin-bottom: 28px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--amber);
    box-shadow: 0 0 10px var(--amber);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.6; }
}

.hero-title {
    font-size: clamp(2.6rem, 6vw, 4.6rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.hero-title .line { display: block; }

/* Word-by-word cinematic reveal */
.hero-title .w {
    display: inline-block;
    opacity: 0;
    transform: translateY(60px) rotate(6deg) scale(0.9);
    filter: blur(14px);
    transition:
        opacity 0.9s var(--ease-out),
        transform 0.9s var(--ease-out),
        filter 0.9s var(--ease-out);
    will-change: transform, filter;
}

.hero-title.ready .w {
    opacity: 1;
    transform: none;
    filter: blur(0);
}

.hero-title .w.grad {
    color: var(--violet-soft);
}

.hero-title .glow-text,
.hero-title .w.grad {
    filter: drop-shadow(0 0 28px rgba(139, 109, 255, 0.45));
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% auto;
    animation: gradient-shift 5s ease-in-out infinite alternate;
}

@keyframes gradient-shift {
    from { background-position: 0% center; }
    to { background-position: 100% center; }
}

.glow-text { filter: drop-shadow(0 0 28px rgba(255, 122, 58, 0.35)); }

.hero-sub {
    font-size: 1.2rem;
    color: var(--text-dim);
    max-width: 520px;
    margin-bottom: 36px;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 48px; }

/* Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-value { display: inline-flex; align-items: baseline; gap: 1px; }

.stat-num, .stat-plus {
    font-size: 2rem;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-label { font-size: 0.95rem; color: var(--text-faint); margin-top: -6px; }

.stat-divider { width: 1px; height: 44px; background: var(--border-strong); }

/* Tablet mockup (landscape iPad — screen image is 1600x1200, exact 4:3) */
.hero-visual { display: flex; justify-content: center; }

.tablet-scene {
    position: relative;
    perspective: 1400px;
}

.tablet-glow {
    position: absolute;
    inset: -12%;
    background: radial-gradient(circle, rgba(109, 74, 255, 0.35), rgba(255, 94, 58, 0.12) 50%, transparent 72%);
    filter: blur(36px);
    animation: breathe 5s ease-in-out infinite;
    z-index: 0;
}

@keyframes breathe {
    0%, 100% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.06); }
}

.tablet {
    position: relative;
    z-index: 1;
    width: min(540px, 88vw);
    border-radius: 34px;
    padding: 16px;
    background: linear-gradient(160deg, #2a2740, #14121f);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.12),
        0 50px 100px -20px rgba(0, 0, 0, 0.7),
        0 30px 60px -30px rgba(109, 74, 255, 0.4);
    transform-style: preserve-3d;
    transition: transform 0.15s ease-out;
    animation: float-tablet 7s ease-in-out infinite;
    overflow: hidden;
}

@keyframes float-tablet {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -16px; }
}

.tablet-camera {
    position: absolute;
    top: 50%;
    left: 6px;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #0a0914;
    box-shadow: inset 0 0 2px rgba(139, 109, 255, 0.8);
    z-index: 3;
}

.tablet-screen {
    width: 100%;
    border-radius: 20px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.tablet-shine {
    position: absolute;
    inset: 0;
    border-radius: 34px;
    background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.08) 45%, transparent 60%);
    background-size: 250% 100%;
    animation: shine-sweep 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 2;
}

@keyframes shine-sweep {
    0%, 60% { background-position: 130% 0; }
    100% { background-position: -60% 0; }
}

/* Floating chips */
.float-chip {
    position: absolute;
    z-index: 2;
    padding: 10px 18px;
    border-radius: 100px;
    background: rgba(20, 18, 34, 0.78);
    border: 1px solid var(--border-strong);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    font-size: 0.92rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
    animation: float-chip 6s ease-in-out infinite;
}

.chip-1 { top: -7%; right: -7%; animation-delay: 0s; }
.chip-2 { top: 42%; left: -13%; animation-delay: 1.4s; }
.chip-3 { bottom: -8%; right: 8%; animation-delay: 2.6s; }

@keyframes float-chip {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* Scroll hint */
.scroll-hint {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.75;
    transition: opacity 0.3s ease;
}

.scroll-hint:hover { opacity: 1; }

.scroll-hint.hidden {
    opacity: 0;
    transform: translateX(-50%) translateY(14px);
    pointer-events: none;
}

.scroll-hint { transition: opacity 0.5s ease, transform 0.5s ease; }

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(242, 241, 250, 0.5);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    padding-top: 7px;
}

.wheel {
    width: 4px;
    height: 8px;
    border-radius: 4px;
    background: var(--amber);
    box-shadow: 0 0 8px var(--amber);
    animation: wheel-scroll 1.8s ease-in-out infinite;
}

@keyframes wheel-scroll {
    0% { transform: translateY(0); opacity: 1; }
    70% { transform: translateY(12px); opacity: 0; }
    100% { transform: translateY(0); opacity: 0; }
}

.chevrons { display: flex; flex-direction: column; align-items: center; margin-top: -4px; }

.chevrons span {
    display: block;
    width: 10px;
    height: 10px;
    border-left: 2px solid rgba(242, 241, 250, 0.6);
    border-bottom: 2px solid rgba(242, 241, 250, 0.6);
    transform: rotate(-45deg);
    margin: -5px 0;
    animation: chevron-fade 1.8s ease-in-out infinite;
}

.chevrons span:nth-child(2) { animation-delay: 0.2s; }
.chevrons span:nth-child(3) { animation-delay: 0.4s; }

@keyframes chevron-fade {
    0%, 100% { opacity: 0.15; }
    50% { opacity: 1; }
}

/* ============ SECTIONS COMMON ============ */
section { position: relative; }

.section-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 60px;
    padding: 0 24px;
}

.eyebrow {
    display: inline-block;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--amber);
    background: rgba(255, 180, 58, 0.08);
    border: 1px solid rgba(255, 180, 58, 0.25);
    padding: 6px 18px;
    border-radius: 100px;
    margin-bottom: 18px;
}

.section-head h2 {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 900;
    letter-spacing: -0.5px;
    line-height: 1.25;
}

.section-head p { color: var(--text-dim); font-size: 1.1rem; margin-top: 14px; }

/* ============ MARQUEE ============ */
.marquee-section { padding: 110px 0; overflow: hidden; }

.marquee {
    overflow: hidden;
    padding: 14px 0;
    mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee-rtl 36s linear infinite;
    will-change: transform;
}

.marquee[data-direction="ltr"] .marquee-track { animation-name: marquee-ltr; animation-duration: 42s; }

.marquee:hover .marquee-track { animation-play-state: paused; }

/* RTL layout: track flows right-to-left naturally; animate accordingly */
@keyframes marquee-rtl {
    from { transform: translateX(0); }
    to { transform: translateX(50%); }
}

@keyframes marquee-ltr {
    from { transform: translateX(50%); }
    to { transform: translateX(0); }
}

.cat-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-inline-end: 18px;
    padding: 14px 30px;
    border-radius: 100px;
    background: var(--surface);
    border: 1px solid var(--border);
    font-size: 1.1rem;
    font-weight: 700;
    white-space: nowrap;
    transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.cat-chip:hover {
    border-color: rgba(255, 122, 58, 0.6);
    background: rgba(255, 94, 58, 0.08);
    transform: translateY(-3px);
}

.cat-chip.alt:hover {
    border-color: rgba(139, 109, 255, 0.6);
    background: rgba(109, 74, 255, 0.1);
}

/* ============ FINAL CTA — open lantern stage ============ */
.cta-final {
    padding: 120px 24px 170px;
}

.cta-stage {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Light beam falling from above */
.cta-beam {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: min(720px, 96vw);
    height: 600px;
    /* Hotspot centered so the glow fully dissolves inside its own box
       on all sides — nothing left to get clipped. */
    background: radial-gradient(ellipse 42% 40% at 50% 42%,
        rgba(255, 180, 58, 0.2),
        rgba(255, 122, 58, 0.07) 48%,
        transparent 74%);
    pointer-events: none;
    animation: beam-flicker 6s ease-in-out infinite;
}

@keyframes beam-flicker {
    0%, 100% { opacity: 0.85; }
    42% { opacity: 1; }
    58% { opacity: 0.7; }
    74% { opacity: 0.95; }
}

/* Expanding light ripples behind the logo */
.cta-rings {
    position: absolute;
    top: 52px;
    left: 50%;
    width: 0;
    height: 0;
    pointer-events: none;
}

.cta-rings span {
    position: absolute;
    top: 0;
    left: 0;
    width: 110px;
    height: 110px;
    margin: -55px 0 0 -55px;
    border-radius: 50%;
    border: 1px solid rgba(255, 180, 58, 0.55);
    animation: ring-ripple 3.6s cubic-bezier(0.2, 0.6, 0.4, 1) infinite;
}

.cta-rings span:nth-child(2) { animation-delay: 1.2s; border-color: rgba(255, 122, 58, 0.45); }
.cta-rings span:nth-child(3) { animation-delay: 2.4s; border-color: rgba(139, 109, 255, 0.45); }

@keyframes ring-ripple {
    0% { transform: scale(0.55); opacity: 0; }
    18% { opacity: 0.9; }
    100% { transform: scale(3.4); opacity: 0; }
}

/* Floating glowing logo */
.cta-logo {
    position: relative;
    width: 104px;
    height: 104px;
    border-radius: 28px;
    object-fit: cover;
    margin-bottom: 36px;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.15),
        0 18px 50px rgba(0, 0, 0, 0.55),
        0 0 70px rgba(255, 140, 58, 0.45);
    animation: cta-logo-float 5s ease-in-out infinite;
    transition: transform 0.5s var(--ease-out);
}

.cta-logo:hover { transform: scale(1.1) rotate(-4deg); }

@keyframes cta-logo-float {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -14px; }
}

.cta-title {
    position: relative;
    font-size: clamp(2.6rem, 7vw, 4.8rem);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.cta-buttons {
    margin-top: 34px;
    position: relative;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

/* ============ FOOTER ============ */
.footer {
    border-top: 1px solid var(--border);
    background: rgba(7, 6, 15, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 28px;
}

.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand p { color: var(--text-faint); font-size: 0.92rem; }

.footer-logo {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 0 0 1px var(--border);
}

.footer-links { display: flex; flex-wrap: wrap; gap: 26px; }

.footer-links a {
    color: var(--text-dim);
    font-size: 0.98rem;
    transition: color 0.25s ease;
}

.footer-links a:hover { color: var(--amber); }

.footer-bottom {
    border-top: 1px solid var(--border);
    text-align: center;
    padding: 20px 24px;
    color: var(--text-faint);
    font-size: 0.9rem;
}

/* ============ SCROLL REVEAL ============ */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.42s; }
.reveal[data-delay="5"] { transition-delay: 0.55s; }

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1020px) {
    .hero-inner { grid-template-columns: 1fr; gap: 70px; text-align: center; }
    .hero-copy { display: flex; flex-direction: column; align-items: center; }
    .hero-sub { margin-inline: auto; }
    .hero-stats { justify-content: center; }
    .nav-links { display: none; }
    .chip-1 { right: -2%; }
    .chip-2 { left: -4%; }
    .chip-3 { right: 4%; }
}

@media (max-width: 640px) {
    .hero { padding-top: calc(var(--nav-h) + 24px); }
    .hero-cta { width: 100%; justify-content: center; }
    .btn { width: 100%; justify-content: center; }
    .btn-nav { width: auto; }
    .stat-divider { display: none; }

    /* Stats: three equal centered columns */
    .hero-stats {
        width: 100%;
        gap: 8px;
        align-items: flex-start;
        flex-wrap: nowrap;
    }

    .stat {
        flex: 1 1 0;
        min-width: 0;
    }

    .stat-num, .stat-plus { font-size: 1.4rem; }

    .stat-label {
        font-size: 0.8rem;
        margin-top: -2px;
        line-height: 1.4;
    }

    .scroll-hint { display: none; }
    .cta-final { padding: 80px 24px 110px; }
    .cta-logo { width: 84px; height: 84px; border-radius: 22px; }
    .cta-rings { top: 42px; }
    .footer-inner { flex-direction: column; text-align: center; }
    .footer-brand { flex-direction: column; }
}

/* ============ CURSOR LIGHT AURA ============ */
.cursor-aura {
    position: fixed;
    top: 0;
    left: 0;
    width: 560px;
    height: 560px;
    margin: -280px 0 0 -280px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 5;
    background: radial-gradient(circle,
        rgba(139, 109, 255, 0.08),
        rgba(255, 122, 58, 0.05) 38%,
        transparent 65%);
    mix-blend-mode: screen;
    opacity: 0;
    transition: opacity 0.6s ease;
    will-change: transform;
}

body.aura-on .cursor-aura { opacity: 1; }

/* ============ SHOOTING STARS ============ */
.shooting-star {
    position: absolute;
    width: 130px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(139, 109, 255, 0.4), transparent);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.35);
    opacity: 0;
    transform: rotate(-32deg);
    animation: shoot 11s linear infinite;
}

.shooting-star.s1 { left: 68%; top: 14%; animation-delay: 2.5s; }
.shooting-star.s2 { left: 26%; top: 7%; animation-delay: 6.8s; }
.shooting-star.s3 { left: 84%; top: 36%; animation-delay: 10.2s; }

@keyframes shoot {
    0% { opacity: 0; transform: rotate(-32deg) translateX(0); }
    1.5% { opacity: 1; }
    7% { opacity: 0; transform: rotate(-32deg) translateX(-380px); }
    100% { opacity: 0; transform: rotate(-32deg) translateX(-380px); }
}

/* ============ TABLET GLARE (follows cursor) ============ */
.tablet-glare {
    position: absolute;
    inset: 0;
    border-radius: 34px;
    background: radial-gradient(380px circle at var(--gx, 50%) var(--gy, 40%),
        rgba(255, 255, 255, 0.14), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 2;
}

.tablet-scene:hover .tablet-glare { opacity: 1; }

/* ============ MICRO-INTERACTIONS ============ */
.stat {
    transition: transform 0.4s var(--ease-out);
}

.stat:hover { transform: translateY(-5px); }

.cat-chip:hover { transform: translateY(-4px) rotate(-1.5deg) scale(1.04); }

.brand-logo { animation: logo-glow 4s ease-in-out infinite; }

@keyframes logo-glow {
    0%, 100% { box-shadow: 0 0 0 1px var(--border), 0 4px 18px rgba(109, 74, 255, 0.35); }
    50% { box-shadow: 0 0 0 1px var(--border), 0 4px 30px rgba(255, 122, 58, 0.5); }
}

/* Big CTA button heartbeat glow */
.btn-lg.btn-primary {
    position: relative;
    animation: btn-heartbeat 2.8s ease-in-out infinite;
}

@keyframes btn-heartbeat {
    0%, 100% { box-shadow: 0 4px 24px rgba(255, 94, 58, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
    50% { box-shadow: 0 4px 48px rgba(255, 94, 58, 0.75), 0 0 80px rgba(255, 122, 58, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
}

/* Footer animated divider */
.footer { position: relative; }

.footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--amber), var(--ember), var(--violet-soft), transparent);
    background-size: 200% 100%;
    animation: footer-sweep 6s linear infinite;
    opacity: 0.7;
}

@keyframes footer-sweep {
    from { background-position: 200% 0; }
    to { background-position: -200% 0; }
}

/* Marquee rows tilt with scroll velocity (set from JS via translate/rotate) */
.marquee { will-change: transform; }

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; }
    .hero-title .w { opacity: 1; transform: none; filter: none; }
    .cursor-aura, .shooting-star { display: none; }
}
