/* =====================================================================
   GRAVE — MARKETING SITE STYLES
   Monochrome (black / white / grey only). Depth comes from gradients,
   blur, and opacity — never from color.
   ===================================================================== */

:root {
    --bg-0: #050505;
    --bg-1: #0a0a0a;
    --surface-1: #0d0d0d;
    --surface-2: #161616;
    --surface-3: #1c1c1c;
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.2);
    --text: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.6);
    --text-dim: rgba(255, 255, 255, 0.35);
    --glow-soft: rgba(255, 255, 255, 0.06);
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 10px;
    --nav-height: 76px;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-0);
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
ul { list-style: none; }

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

.section { position: relative; padding: 110px 0; z-index: 1; }

/* Defer layout/paint/style work for sections until they're near the
   viewport — this is the single biggest lever for scroll performance on
   a long single-page site. contain-intrinsic-size keeps a realistic
   placeholder height so the scrollbar/scroll position don't jump around
   before each section has been measured for the first time. */
.section,
.footer {
    content-visibility: auto;
    contain-intrinsic-size: auto 700px;
}

.eyebrow {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    color: var(--text-dim);
    border: 1px solid var(--border);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 20px;
    background: var(--surface-1);
}

.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 600; letter-spacing: -0.6px; margin-bottom: 14px; }
.section-sub { color: var(--text-secondary); font-size: 16px; line-height: 1.6; }

/* ---------------------------------------------------------------------
   Ambient background layers: drifting radial glow + faint moving grid.
   Pure CSS, transform/opacity/background-position only (GPU-friendly).
   --------------------------------------------------------------------- */
.bg-glow {
    position: fixed;
    inset: -20%;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 22% 28%, rgba(255, 255, 255, 0.05), transparent 42%),
        radial-gradient(circle at 78% 68%, rgba(255, 255, 255, 0.04), transparent 46%);
    animation: bgDrift 18s ease-in-out infinite alternate;
    will-change: transform;
}

@keyframes bgDrift {
    0%   { transform: translate(0, 0) scale(1); }
    50%  { transform: translate(2.5%, -2%) scale(1.05); }
    100% { transform: translate(-2%, 2.5%) scale(1); }
}

/* Note: the grid drift used to animate background-position, which forces
   the browser to repaint this full-viewport layer on every frame (a major
   scroll-jank source). It now animates `transform` on an oversized layer
   instead — the browser can composite that on the GPU with zero repaint. */
.bg-grid {
    position: fixed;
    inset: -64px;
    z-index: 0;
    pointer-events: none;
    background-image:
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0px, rgba(255, 255, 255, 0.025) 1px, transparent 1px, transparent 64px),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0px, rgba(255, 255, 255, 0.025) 1px, transparent 1px, transparent 64px);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 0%, transparent 75%);
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 0%, transparent 75%);
    animation: gridMove 22s linear infinite;
    will-change: transform;
    transform: translateZ(0);
}

@keyframes gridMove {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(-64px, 64px, 0); }
}

/* Glow orbs — behind hero / pricing sections.
   Kept on their own compositor layer (translateZ(0)) so the blur filter is
   rasterized once and then only transformed/faded on subsequent frames,
   instead of being recomputed every frame. */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 72%);
    pointer-events: none;
    z-index: 0;
    animation: orbPulse 10s ease-in-out infinite;
    will-change: transform, opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
}
.glow-orb--a { width: 480px; height: 480px; top: -120px; left: -100px; }
.glow-orb--b { width: 420px; height: 420px; bottom: -140px; right: -80px; animation-delay: -4s; }

@keyframes orbPulse {
    0%, 100% { opacity: 0.45; transform: scale(1) translate(0, 0); }
    50%      { opacity: 0.85; transform: scale(1.15) translate(2%, -3%); }
}

/* Cursor-reactive spotlight (JS sets --mx / --my on mousemove) */
.spotlight-zone { position: relative; isolation: isolate; }
.spotlight-zone::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: radial-gradient(circle 420px at var(--mx, 50%) var(--my, 20%), rgba(255, 255, 255, 0.07), transparent 70%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s var(--ease);
}
.spotlight-zone.spotlight-active::before { opacity: 1; }

/* ---------------------------------------------------------------------
   Scroll reveal
   --------------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in-view { opacity: 1; transform: none; }
.reveal-delay-1.in-view { transition-delay: 0.08s; }
.reveal-delay-2.in-view { transition-delay: 0.16s; }
.reveal-delay-3.in-view { transition-delay: 0.24s; }
.reveal-delay-4.in-view { transition-delay: 0.32s; }

/* ---------------------------------------------------------------------
   Navbar
   --------------------------------------------------------------------- */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    border-bottom: 1px solid transparent;
    background: transparent;
    /* backdrop-filter is intentionally NOT transitioned — animating a blur
       filter forces the browser to recompute it every frame, which is one
       of the more expensive CSS operations. Toggling it instantly and only
       transitioning background-color/border keeps this basically free. */
    transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
    transform: translateZ(0);
}
.navbar.scrolled {
    background: rgba(5, 5, 5, 0.72);
    backdrop-filter: blur(12px) saturate(140%);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
    border-bottom-color: var(--border);
}
.navbar-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }

.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { width: 34px; height: 34px; object-fit: contain; }
.brand-name { font-size: 16px; font-weight: 600; letter-spacing: -0.2px; }

.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-secondary);
    transition: color 0.2s ease, background 0.2s ease;
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
    display: none;
    width: 38px; height: 38px;
    align-items: center; justify-content: center;
    background: transparent;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    color: var(--text);
    cursor: pointer;
}
.nav-toggle svg { width: 18px; height: 18px; }

/* ---------------------------------------------------------------------
   Buttons
   --------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.1px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform 0.28s var(--ease), filter 0.28s var(--ease), box-shadow 0.28s var(--ease), background 0.28s var(--ease), border-color 0.28s var(--ease);
    white-space: nowrap;
}
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn-md { padding: 13px 26px; }
.btn-lg { padding: 16px 34px; font-size: 15px; }

.btn-primary {
    background: linear-gradient(180deg, #ffffff 0%, #d6d6d6 100%);
    color: #050505;
}
.btn-primary:hover {
    transform: scale(1.045);
    filter: brightness(1.08);
    box-shadow: 0 14px 40px rgba(255, 255, 255, 0.16);
}
.btn-primary:active { transform: scale(0.98); }

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    border-color: var(--border-strong);
    color: var(--text);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-1px);
}

.btn-block { width: 100%; }

/* Magnetic button wrapper (JS applies inline transform on top of hover states) */
.magnetic { transition: transform 0.25s var(--ease); }

/* ---------------------------------------------------------------------
   Hero
   --------------------------------------------------------------------- */
.hero {
    padding-top: calc(var(--nav-height) + 96px);
    padding-bottom: 60px;
    text-align: center;
    overflow: hidden;
}
.hero-content { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }

.hero-title {
    font-size: clamp(46px, 8vw, 88px);
    font-weight: 700;
    letter-spacing: -2.5px;
    line-height: 1;
    margin-bottom: 22px;
}

/* Animated gradient text */
.gradient-text {
    background: linear-gradient(90deg, #ffffff 0%, #8a8a8a 25%, #ffffff 50%, #8a8a8a 75%, #ffffff 100%);
    background-size: 250% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shine 7s linear infinite;
}
@keyframes shine { to { background-position: -250% center; } }

.hero-sub {
    font-size: clamp(16px, 2vw, 19px);
    color: var(--text-secondary);
    line-height: 1.65;
    max-width: 560px;
    margin: 0 auto 36px;
}

.hero-cta-row { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ---------------------------------------------------------------------
   Marquee strip
   --------------------------------------------------------------------- */
.marquee-wrap {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent);
}
.marquee-track {
    display: flex;
    align-items: center;
    gap: 56px;
    width: max-content;
    animation: marquee 32s linear infinite;
}
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-item {
    font-size: 14px;
    color: var(--text-dim);
    letter-spacing: 0.4px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 10px;
}
.marquee-item::before {
    content: '';
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--text-dim);
}

/* ---------------------------------------------------------------------
   Stats strip
   --------------------------------------------------------------------- */
.stats-strip { padding: 70px 0; }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: 560px;
    margin: 0 auto;
    gap: 24px;
    text-align: center;
}
.stat-block {
    padding: 32px 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, var(--surface-1) 0%, var(--surface-2) 100%);
}
.stat-value {
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 700;
    letter-spacing: -1px;
    font-variant-numeric: tabular-nums;
    margin-bottom: 6px;
}
.stat-label {
    font-size: 12px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--text-dim);
}

/* ---------------------------------------------------------------------
   Cards (shared: features, pricing, reviews, preview)
   --------------------------------------------------------------------- */
.card {
    position: relative;
    background: linear-gradient(180deg, var(--surface-1) 0%, var(--surface-2) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
    /* Scopes this card's paint invalidation to itself instead of the page. */
    contain: layout paint;
}
.card:hover {
    transform: translateY(-6px);
    border-color: var(--border-strong);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.5), 0 0 46px rgba(255, 255, 255, 0.05);
}

/* ---------------------------------------------------------------------
   Features
   --------------------------------------------------------------------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.feature-card { padding: 30px 26px; }
.feature-icon {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 20px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.03);
}
.feature-icon svg { width: 20px; height: 20px; }
.feature-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.2px; }
.feature-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* ---------------------------------------------------------------------
   Product preview
   --------------------------------------------------------------------- */
.preview-placeholder {
    position: relative;
    aspect-ratio: 16 / 9;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    overflow: hidden;
}
.preview-placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0px, rgba(255, 255, 255, 0.02) 2px, transparent 2px, transparent 14px);
    pointer-events: none;
}
.play-btn {
    position: relative;
    z-index: 1;
    width: 76px; height: 76px;
    border-radius: 50%;
    border: 1px solid var(--border-strong);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: transform 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.play-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.15);
}
.play-btn svg { width: 26px; height: 26px; margin-left: 3px; }
.preview-caption { position: relative; z-index: 1; color: var(--text-dim); font-size: 13px; letter-spacing: 0.4px; }

/* ---------------------------------------------------------------------
   Pricing
   --------------------------------------------------------------------- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
    position: relative;
    z-index: 1;
}
.pricing-card {
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
}
.pricing-card.highlighted {
    border-color: rgba(255, 255, 255, 0.35);
    background: linear-gradient(180deg, #131313 0%, #1f1f1f 100%);
    box-shadow: 0 30px 80px rgba(255, 255, 255, 0.07);
}
@media (min-width: 900px) {
    .pricing-card.highlighted { transform: scale(1.06); z-index: 2; }
    .pricing-card.highlighted:hover { transform: scale(1.06) translateY(-6px); }
}
.pricing-badge {
    position: absolute;
    top: -14px; left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    color: #050505;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 999px;
    white-space: nowrap;
}
.pricing-name { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.pricing-desc { font-size: 13px; color: var(--text-secondary); margin-bottom: 24px; }
.pricing-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 28px; }
.pricing-price .amount { font-size: 44px; font-weight: 700; letter-spacing: -1.5px; }
.pricing-price .period { font-size: 14px; color: var(--text-dim); }
.pricing-features { flex: 1; margin-bottom: 28px; }
.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
    padding: 8px 0;
    border-top: 1px solid var(--border);
}
.pricing-features li:first-child { border-top: none; }
.pricing-features svg { flex-shrink: 0; width: 16px; height: 16px; margin-top: 2px; color: var(--text); }

/* ---------------------------------------------------------------------
   Reviews carousel
   --------------------------------------------------------------------- */
.carousel { position: relative; overflow: hidden; }
.carousel-track {
    display: flex;
    transition: transform 0.55s var(--ease);
    will-change: transform;
}
.carousel-page {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    min-width: 100%;
    flex-shrink: 0;
}
.review-card {
    padding: 26px 26px 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 190px;
}
.review-text {
    font-size: 14.5px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 22px;
}
.review-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.review-name { font-size: 13px; font-weight: 600; color: var(--text-secondary); }
.review-stars { display: flex; gap: 3px; }
.review-stars svg { width: 14px; height: 14px; color: var(--text); }
.review-stars svg.star-empty { color: rgba(255, 255, 255, 0.18); }

.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 32px; }
.carousel-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.25s ease, transform 0.25s ease;
}
.carousel-dot.active { background: #ffffff; transform: scale(1.35); }

/* ---------------------------------------------------------------------
   FAQ accordion
   --------------------------------------------------------------------- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
    border-bottom: 1px solid var(--border);
}
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: none;
    border: none;
    color: var(--text);
    font-size: 16px;
    font-weight: 500;
    text-align: left;
    padding: 24px 4px;
    cursor: pointer;
}
.faq-icon {
    flex-shrink: 0;
    width: 22px; height: 22px;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-secondary);
    transition: transform 0.35s var(--ease);
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer-wrap {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s var(--ease);
}
.faq-item.open .faq-answer-wrap { grid-template-rows: 1fr; }
.faq-answer-inner { overflow: hidden; }
.faq-answer { padding: 0 4px 24px; color: var(--text-secondary); line-height: 1.7; font-size: 14.5px; }

/* ---------------------------------------------------------------------
   Footer — visually distinct, calmer, more structured
   --------------------------------------------------------------------- */
.footer {
    position: relative;
    z-index: 1;
    background: #000000;
    border-top: 1px solid var(--border);
    padding: 72px 0 32px;
}
.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 48px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}
.footer-brand { max-width: 280px; }
.footer-brand .brand { margin-bottom: 14px; }
.footer-tagline { font-size: 13.5px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 22px; }
.footer-social { display: flex; gap: 10px; }
.social-btn {
    width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    color: var(--text-secondary);
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.social-btn:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.4); }
.social-btn svg { width: 17px; height: 17px; }

.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col-label {
    font-size: 11px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 16px;
    font-weight: 600;
}
.footer-link { display: block; padding: 6px 0; font-size: 14px; color: rgba(255, 255, 255, 0.65); transition: color 0.2s ease; }
.footer-link:hover { color: var(--text); }

.footer-rule { border: none; border-top: 1px solid var(--border); margin-bottom: 24px; }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.footer-copyright {
    font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 12px;
    color: var(--text-dim);
}
.footer-bottom-links { display: flex; gap: 22px; }
.footer-bottom-links a { font-size: 12.5px; color: var(--text-dim); transition: color 0.2s ease; }
.footer-bottom-links a:hover { color: var(--text-secondary); }

/* ---------------------------------------------------------------------
   Responsive
   --------------------------------------------------------------------- */
@media (max-width: 900px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
    .pricing-card.highlighted { transform: none; }
    .carousel-page { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 720px) {
    .nav-links { display: none; }
    .nav-toggle { display: flex; }
    .nav-links.nav-open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: var(--nav-height);
        left: 0; right: 0;
        background: rgba(5, 5, 5, 0.97);
        backdrop-filter: blur(16px);
        border-bottom: 1px solid var(--border);
        padding: 12px 20px 20px;
        gap: 4px;
    }
    .nav-links.nav-open a { padding: 12px 14px; }
    .features-grid { grid-template-columns: 1fr; }
    .footer-top { flex-direction: column; gap: 36px; }
    .footer-cols { gap: 32px; }
    .section { padding: 80px 0; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; max-width: 280px; }
    .hero-cta-row { flex-direction: column; width: 100%; }
    .hero-cta-row .btn { width: 100%; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------------------------------------------------------------------
   Reduced motion — pause/disable all decorative animation
   --------------------------------------------------------------------- */
/* Applied via JS (Page Visibility API) while the tab is in the background,
   so decorative animations don't keep burning CPU/GPU off-screen. */
body.bg-paused .bg-glow,
body.bg-paused .bg-grid,
body.bg-paused .glow-orb,
body.bg-paused .marquee-track,
body.bg-paused .gradient-text {
    animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
    .bg-glow, .bg-grid, .glow-orb, .marquee-track, .gradient-text { animation: none !important; }
    .reveal { opacity: 1 !important; transform: none !important; }
    .spotlight-zone::before { display: none !important; }
}
