/* GOXLR Utility */

:root {
    --bg: #030303;
    --bg-2: #0a0a0b;
    --bg-3: #101012;
    --bg-app: #121214;

    --text: #f8f8f9;
    --text-2: #a8a8b3;
    --text-3: #6b6b76;

    --blue: #3b82f6;
    --blue-hover: #2563eb;
    --blue-glow: rgba(59, 130, 246, 0.45);
    --blue-dim: rgba(59, 130, 246, 0.12);
    --accent-magenta: rgba(255, 0, 153, 0.15);

    --line: rgba(255, 255, 255, 0.08);
    --line-2: rgba(255, 255, 255, 0.14);

    --font: 'Plus Jakarta Sans', system-ui, sans-serif;
    --font-head: 'Syne', var(--font);

    --r: 10px;
    --r-lg: 14px;
    --r-xl: 18px;

    --header: 68px;
    --section: clamp(80px, 9vw, 120px);
    --max: 1120px;
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-spring: cubic-bezier(0.34, 1.2, 0.64, 1);
    --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-soft: cubic-bezier(0.33, 1, 0.38, 1);

    --motion-page: 480ms;
    --motion-page-enter: 720ms;
    --motion-reveal: 0.92s;
    --motion-btn-press: 0.38s;
    --motion-btn-release: 0.55s;
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
}

body.page-enter { overflow: hidden; }
body.page-leaving { overflow: hidden; pointer-events: none; }

img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: #60a5fa; }

h1, h2, h3, h4 {
    font-family: var(--font-head);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: var(--text);
}

h1 { font-weight: 800; letter-spacing: -0.045em; }

.container { max-width: var(--max); padding-left: 20px; padding-right: 20px; }

.ambient-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 55% 45% at 85% -5%, rgba(59, 130, 246, 0.09), transparent 55%),
        radial-gradient(ellipse 40% 35% at 5% 90%, var(--accent-magenta), transparent 50%),
        radial-gradient(ellipse 80% 50% at 50% 50%, rgba(255, 255, 255, 0.015), transparent);
}

.page-home .ambient-bg {
    background:
        radial-gradient(ellipse 50% 40% at 75% 10%, rgba(59, 130, 246, 0.07), transparent 50%),
        radial-gradient(ellipse 35% 30% at 10% 80%, var(--accent-magenta), transparent 45%);
}

.site-grain {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.035;
    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.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.ambient-particles {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
}

.page-home .ambient-particles { opacity: 0.35; }

/* ── Header ── */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    height: var(--header);
    transition: background .2s, border-color .2s;
}

.site-header.scrolled,
.site-header--hero.scrolled {
    background: rgba(5,5,5,.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
}

.site-header--hero:not(.scrolled) {
    background: transparent;
    border-bottom: 1px solid transparent;
}

.site-header .navbar { height: var(--header); padding: 0; }

.navbar-brand {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 16px;
    color: var(--text) !important;
    letter-spacing: -0.03em;
    transition: opacity .2s;
}
.navbar-brand:hover { opacity: .85; color: var(--text) !important; }

.brand-text { color: var(--text); }
.brand-accent { color: var(--blue); }

/* Nav links + indicator */
.nav-links-wrap {
    position: relative;
    display: flex;
    justify-content: center;
}

.nav-indicator {
    position: absolute;
    top: 0;
    left: 0;
    border-radius: var(--r);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    pointer-events: none;
    opacity: 0;
    transition: transform .32s var(--ease-out), width .32s var(--ease-out), height .32s var(--ease-out), opacity .2s;
    z-index: 0;
}

.navbar-nav { position: relative; z-index: 1; }

.nav-link {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-2) !important;
    padding: 8px 14px !important;
    border-radius: var(--r);
    transition: color .2s;
    overflow: visible;
}

.nav-link__label { line-height: 1.2; }

.nav-link__hint {
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .04em;
    color: var(--blue);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s var(--ease-out), transform .22s var(--ease-out);
    background: rgba(5, 5, 5, 0.92);
    border: 1px solid var(--line-2);
    padding: 3px 8px;
    border-radius: 100px;
}

.nav-link:hover .nav-link__hint,
.nav-link:focus-visible .nav-link__hint {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.nav-link:hover,
.nav-link.active { color: var(--text) !important; }

.nav-link.active .nav-link__label { color: var(--text); }

.navbar-toggler { border: 1px solid var(--line); padding: 5px 9px; }
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,.7%29' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Page transition — crossfade load (goxlr.net-style, cleaner) */
.page-progress {
    position: fixed;
    top: 0; left: 0;
    height: 2px;
    width: 0;
    z-index: 9999;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.9), rgba(147, 197, 253, 0.4));
    box-shadow: 0 0 14px rgba(59, 130, 246, 0.4);
    transition: width 0.4s var(--ease-premium), opacity 0.45s ease;
    opacity: 0;
}

.page-progress.is-loading {
    opacity: 1;
    width: 30%;
    animation: progressPulse 0.9s var(--ease-soft) infinite alternate;
}

@keyframes progressPulse {
    from { width: 22%; opacity: 0.5; }
    to { width: 42%; opacity: 1; }
}

.page-progress.is-active {
    opacity: 1;
    width: 78%;
    transition: width 0.7s var(--ease-premium), opacity 0.25s;
}

.page-progress.is-done {
    opacity: 0;
    width: 100%;
    transition: width 0.28s var(--ease-premium), opacity 0.4s 0.1s;
}

.page-curtain {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: var(--bg);
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transition:
        opacity var(--motion-page-enter) var(--ease-premium),
        visibility 0s linear calc(var(--motion-page-enter) + 0.05s);
}

.page-curtain::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 55% 45% at 50% 42%, rgba(59, 130, 246, 0.08), transparent 70%);
    opacity: 0.85;
    animation: veilPulse 1.4s var(--ease-soft) infinite alternate;
}

.page-curtain::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 48px;
    height: 48px;
    margin: -24px 0 0 -24px;
    border-radius: 50%;
    border: 2px solid rgba(59, 130, 246, 0.15);
    border-top-color: rgba(59, 130, 246, 0.65);
    opacity: 0;
    animation: veilSpin 0.9s linear infinite;
    transition: opacity 0.25s ease;
}

body.page-enter .page-curtain::after,
body.page-entering .page-curtain::after {
    opacity: 1;
}

body.page-ready .page-curtain::after,
.page-curtain.is-hidden::after {
    opacity: 0;
    animation: none;
}

@keyframes veilPulse {
    from { opacity: 0.5; }
    to { opacity: 1; }
}

@keyframes veilSpin {
    to { transform: rotate(360deg); }
}

.page-curtain.is-hidden,
body.page-ready:not(.page-leaving) .page-curtain {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

body.page-entering .page-curtain {
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--motion-page-enter) var(--ease-premium) 0.06s;
}

body.page-leaving .page-curtain {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: all !important;
    transition: opacity 0.42s var(--ease-premium) 0.06s;
}

#main-content {
    position: relative;
    z-index: 2;
    padding-top: var(--header);
}

.page-home #main-content { padding-top: 0; }

body.page-enter #main-content {
    opacity: 0;
    transform: scale(0.985) translateY(12px);
}

body.page-entering #main-content {
    opacity: 1;
    transform: none;
    transition:
        opacity var(--motion-page-enter) var(--ease-premium) 0.08s,
        transform calc(var(--motion-page-enter) + 80ms) var(--ease-premium) 0.04s;
}

body.page-ready #main-content {
    opacity: 1;
    transform: none;
}

body.page-leaving #main-content {
    opacity: 0;
    transform: scale(1.012);
    transition:
        opacity 0.4s var(--ease-premium),
        transform 0.44s var(--ease-premium);
}

body.page-enter .site-header {
    opacity: 0;
}

body.page-entering .site-header,
body.page-ready .site-header {
    opacity: 1;
    transition: opacity 0.6s var(--ease-premium) 0.12s;
}

body.page-leaving .site-header {
    opacity: 0;
    transition: opacity 0.32s ease;
}

body.page-enter .site-footer {
    opacity: 0;
}

body.page-ready .site-footer {
    opacity: 1;
    transition: opacity 0.55s var(--ease-premium) 0.2s;
}

/* Scroll reveal — clean fade (no heavy blur) */
.scroll-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity var(--motion-reveal) var(--ease-premium) var(--reveal-delay, 0s),
        transform 0.95s var(--ease-premium) var(--reveal-delay, 0s);
}

.scroll-reveal--title {
    transform: translateY(28px);
    transition-delay: calc(var(--reveal-delay, 0s) + 0.08s);
}

.scroll-reveal--media {
    transform: translateY(20px) scale(0.98);
    opacity: 0;
    transition:
        opacity 1s var(--ease-premium) var(--reveal-delay, 0s),
        transform 1.05s var(--ease-premium) var(--reveal-delay, 0s);
}

.scroll-reveal.is-visible {
    opacity: 1;
    transform: none;
}

.scroll-reveal.is-faded {
    opacity: 0.45;
    transform: translateY(-8px);
    transition:
        opacity 0.55s var(--ease-premium),
        transform 0.6s var(--ease-premium);
}

.scroll-reveal.is-below {
    opacity: 0;
    transform: translateY(28px);
}

/* Hero staggered entrance */
.hero-stagger {
    opacity: 0;
    transform: translateY(16px);
    transition:
        opacity 0.8s var(--ease-premium),
        transform 0.85s var(--ease-premium);
    transition-delay: calc(0.14s + var(--i, 0) * 0.09s);
}

body.page-ready .hero-stagger {
    opacity: 1;
    transform: none;
}

.hero__content { max-width: 520px; }

/* ── Buttons ── */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    isolation: isolate;
    font-family: var(--font);
    font-weight: 600;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: var(--r);
    border: 1px solid transparent;
    -webkit-tap-highlight-color: transparent;
    transition:
        transform var(--motion-btn-release) var(--ease-premium),
        box-shadow 0.4s var(--ease-soft),
        background 0.35s ease,
        border-color 0.35s ease,
        color 0.3s ease;
    cursor: pointer;
    line-height: 1;
}

.btn__text { position: relative; z-index: 1; }

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.12) 50%, transparent 60%);
    transform: translateX(-120%);
    transition: transform 0.75s var(--ease-premium);
    pointer-events: none;
}

.btn:hover::after { transform: translateX(120%); }

.btn:hover:not(.btn-primary):not(.is-pressing):not(.is-releasing) { transform: scale(1.015); }

.btn.is-pressing {
    transform: scale(0.965);
    transition:
        transform var(--motion-btn-press) var(--ease-soft),
        box-shadow var(--motion-btn-press) ease,
        background var(--motion-btn-press) ease,
        border-color var(--motion-btn-press) ease;
}

.btn.is-releasing {
    transform: scale(1);
    transition: transform var(--motion-btn-release) var(--ease-premium);
}

.btn-primary.is-pressing {
    transform: scale(0.97);
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.45), 0 6px 22px rgba(37, 99, 235, 0.32);
}

.btn-primary.is-releasing {
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.2), 0 8px 28px rgba(37, 99, 235, 0.25);
    transition:
        transform var(--motion-btn-release) var(--ease-premium),
        box-shadow var(--motion-btn-release) var(--ease-soft);
}

.press-ripple {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.28);
    transform: scale(0);
    animation: pressRipple 0.78s var(--ease-premium) forwards;
    z-index: 0;
}

.platform-card .press-ripple,
.credibility-link .press-ripple {
    background: rgba(59, 130, 246, 0.25);
}

@keyframes pressRipple {
    to {
        transform: scale(1);
        opacity: 0;
    }
}

.platform-card.is-pressing,
.credibility-link.is-pressing {
    transform: perspective(800px) rotateX(var(--tilt-x, 0)) rotateY(var(--tilt-y, 0)) scale(0.985);
    transition: transform var(--motion-btn-press) var(--ease-soft);
}

.platform-card.is-releasing,
.credibility-link.is-releasing {
    transition: transform var(--motion-btn-release) var(--ease-premium);
}

.accordion-button.is-pressing {
    transform: scale(0.992);
    transition: transform var(--motion-btn-press) var(--ease-soft) !important;
}

.nav-link.is-pressing,
.footer-links a.is-pressing {
    opacity: 0.75;
    transition: opacity var(--motion-btn-press) ease, color 0.3s;
}

.hero-model-btn.is-pressing {
    transform: scale(0.94);
    transition: transform var(--motion-btn-press) var(--ease-soft);
}

.btn-primary {
    background: linear-gradient(165deg, #4f8ef7 0%, var(--blue) 45%, var(--blue-hover) 100%);
    border-color: rgba(96, 165, 250, 0.4);
    color: #fff;
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.2), 0 8px 28px rgba(37, 99, 235, 0.25);
}

.btn-primary::after {
    background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.14) 50%, transparent 60%);
}

.btn-primary:hover {
    background: linear-gradient(165deg, #60a5fa 0%, var(--blue-hover) 100%);
    border-color: rgba(147, 197, 253, 0.5);
    color: #fff;
    transform: none;
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.35), 0 12px 36px rgba(37, 99, 235, 0.35);
}

.btn-primary:active {
    background: #1e40af;
    border-color: #1e40af;
    color: #fff;
    transform: none;
}

.btn-ghost {
    background: rgba(255,255,255,.04);
    border-color: var(--line-2);
    color: var(--text);
    backdrop-filter: blur(8px);
}
.btn-ghost:hover {
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.2);
    color: #fff;
    transform: scale(1.02);
}

.btn-secondary, .btn-secondary-custom {
    background: transparent;
    border-color: var(--line-2);
    color: var(--text);
}
.btn-secondary:hover, .btn-secondary-custom:hover {
    background: var(--bg-3);
    border-color: rgba(255,255,255,.18);
    color: #fff;
    transform: scale(1.02);
}

.btn-outline-light {
    border-color: var(--line-2);
    color: var(--text);
    background: transparent;
}
.btn-outline-light:hover { background: var(--bg-3); color: #fff; }

.btn-lg { padding: 13px 26px; font-size: 15px; }
.btn-sm { padding: 7px 14px; font-size: 13px; }

/* ── Hero ── */
.hero--banner {
    position: relative;
    min-height: 88vh;
    min-height: 88dvh;
    display: flex;
    align-items: center;
    padding: calc(var(--header) + 40px) 0 100px;
    overflow: hidden;
    --hero-scroll-fade: 1;
}

.hero--banner .hero__content {
    opacity: var(--hero-scroll-fade, 1);
    transform: translateY(calc((1 - var(--hero-scroll-fade, 1)) * -24px));
    will-change: opacity, transform;
}

.hero--banner .hero__fade {
    opacity: calc(0.65 + var(--hero-scroll-fade, 1) * 0.35);
}

.hero__bg {
    position: absolute;
    inset: -4% 0;
    background-size: cover;
    background-position: 70% center;
    background-repeat: no-repeat;
    will-change: transform;
}

.hero__glow {
    position: absolute;
    right: 8%;
    top: 42%;
    width: min(420px, 40vw);
    height: min(420px, 40vw);
    transform: translateY(-50%);
    background: radial-gradient(circle, rgba(59, 130, 246, 0.07) 0%, transparent 68%);
    pointer-events: none;
    z-index: 1;
    animation: heroGlowPulse 7s ease-in-out infinite;
}

@keyframes heroGlowPulse {
    0%, 100% { opacity: 0.45; transform: translateY(-50%) scale(1); }
    50% { opacity: 0.75; transform: translateY(calc(-50% - 4px)) scale(1.04); }
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        rgba(5,5,5,.96) 0%,
        rgba(5,5,5,.88) 35%,
        rgba(5,5,5,.5) 65%,
        rgba(5,5,5,.25) 100%);
}

.hero__inner { position: relative; z-index: 2; }

.hero-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-2);
    padding: 6px 14px;
    margin-bottom: 24px;
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 100px;
    background: rgba(0, 0, 0, 0.45);
    box-shadow: 0 0 24px rgba(59, 130, 246, 0.08);
}

.hero-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: -0.04em;
}

.hero-subtitle {
    font-size: 17px;
    color: var(--text-2);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 460px;
}

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

.hero__fade {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 120px;
    background: linear-gradient(transparent, var(--bg));
    z-index: 1;
}

/* Hero meta — inline under CTAs */
.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 20px;
    list-style: none;
    margin: 22px 0 0;
    padding: 0;
}

.hero-meta__item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-3);
    letter-spacing: 0.01em;
}

.hero-meta__item i {
    font-size: 13px;
    color: var(--blue);
    opacity: 0.85;
}

/* ── Home stats bar ── */
.stats-bar-home {
    position: relative;
    z-index: 2;
    padding: 8px 0 16px;
}

.stats-grid--home {
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 0;
}

.stat-value--text {
    font-variant-numeric: tabular-nums;
}

/* ── Credibility band ── */
.credibility-band {
    padding: var(--section) 0;
    position: relative;
}

.credibility-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(37, 99, 235, 0.06), transparent 70%);
    pointer-events: none;
}

.credibility-band__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    position: relative;
}

.credibility-band__lead {
    font-size: 15px;
    color: var(--text-2);
    line-height: 1.7;
    margin-top: 12px;
    max-width: 420px;
}

.credibility-band__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.credibility-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(12, 12, 12, 0.65);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    transition: border-color .25s, background .25s, transform .3s var(--ease-out), box-shadow .3s;
    transform: perspective(800px) rotateX(var(--tilt-x, 0)) rotateY(var(--tilt-y, 0));
}

.credibility-link:hover {
    border-color: rgba(59, 130, 246, 0.3);
    background: var(--bg-3);
    color: var(--text);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
}

.credibility-link > i:first-child {
    font-size: 18px;
    color: var(--blue);
    width: 22px;
    text-align: center;
}

.credibility-link span { flex: 1; }

.credibility-link__arrow {
    font-size: 12px;
    color: var(--text-3);
    transition: transform .25s var(--ease-out), color .2s;
}

.credibility-link:hover .credibility-link__arrow {
    transform: translate(2px, -2px);
    color: var(--blue);
}

/* ── App preview window ── */
.hero-preview {
    position: relative;
    z-index: 3;
    padding: 56px 0 48px;
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, transparent 0%, rgba(8, 8, 10, 0.4) 100%);
}

.hero-preview__inner {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.hero-preview__head {
    text-align: center;
    max-width: 520px;
    margin: 0 auto;
}

.hero-preview__title {
    font-size: clamp(22px, 3vw, 28px);
    margin-top: 8px;
    margin-bottom: 10px;
}

.hero-preview__lead {
    font-size: 15px;
    color: var(--text-2);
    line-height: 1.65;
    margin: 0;
}

.hero-preview__frame {
    max-width: 920px;
    margin: 0 auto;
    width: 100%;
}

.hero-preview .app-window {
    opacity: 0;
    transform: translate3d(0, 20px, 0) scale(0.99);
    transition: opacity 0.85s var(--ease-premium) 0.2s, transform 0.9s var(--ease-premium) 0.15s;
    backface-visibility: hidden;
}

body.page-ready .hero-preview .app-window {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    animation: appWindowFloat 8s ease-in-out 1.4s infinite;
}

body.page-ready .hero-preview__head.scroll-reveal {
    opacity: 1;
    transform: none;
}

@keyframes appWindowFloat {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, -6px, 0); }
}

.app-window {
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--r-xl);
    overflow: hidden;
    border: 1px solid rgba(59, 130, 246, 0.15);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04),
        0 32px 80px rgba(0, 0, 0, 0.65),
        0 0 60px rgba(59, 130, 246, 0.06);
}

.app-window__bar {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 12px 16px;
    background: #1a1a1a;
    border-bottom: 1px solid var(--line);
}

.app-window__dot {
    width: 10px; height: 10px;
    border-radius: 50%;
}
.app-window__dot--red { background: #ff5f57; }
.app-window__dot--yellow { background: #febc2e; }
.app-window__dot--green { background: #28c840; }

.app-window__title {
    flex: 1;
    text-align: center;
    font-size: 12px;
    color: var(--text-3);
    margin-right: 46px;
}

.app-window__body {
    background: var(--bg-app);
    cursor: zoom-in;
    line-height: 0;
}
.app-window__body img {
    width: 100%;
    height: auto;
}

/* ── Sections ── */
.section { padding: var(--section) 0; position: relative; }

.section--border {
    border: none;
}

.section--border::before {
    content: '';
    position: absolute;
    top: 0;
    left: 12%;
    right: 12%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.12), transparent);
}

.section--border::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 12%;
    right: 12%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
}

.section--muted { background: var(--bg-2); }
.section.pt-0 { padding-top: 0; }

.eyebrow, .section-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 10px;
}
.section-label.mx-auto { display: block; text-align: center; }

.section-header--center .eyebrow::after {
    content: '';
    display: block;
    width: 32px;
    height: 2px;
    margin: 10px auto 0;
    background: linear-gradient(90deg, transparent, var(--blue), transparent);
    opacity: 0.7;
}

.section-header { margin-bottom: 40px; max-width: 560px; }
.section-header--center { margin-left: auto; margin-right: auto; text-align: center; }

.section-title {
    font-size: clamp(26px, 3.5vw, 36px);
    margin-bottom: 12px;
}

.section-lead {
    font-size: 16px;
    color: var(--text-2);
    line-height: 1.65;
}

.section-footer-action { text-align: center; margin-top: 36px; }

/* ── Cards ── */
.cards-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.card-block {
    padding: 24px;
    background: rgba(12, 12, 12, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    transition: border-color .25s, transform .35s var(--ease-out), box-shadow .35s;
    transform: perspective(800px) rotateX(var(--tilt-x, 0)) rotateY(var(--tilt-y, 0));
}
.card-block:hover {
    border-color: var(--line-2);
    transform: perspective(800px) rotateX(var(--tilt-x, 0)) rotateY(var(--tilt-y, 0)) translateY(-3px);
    box-shadow: 0 10px 36px rgba(0,0,0,.28), 0 0 24px rgba(59, 130, 246, 0.04);
}

.card-block > i {
    font-size: 20px;
    color: var(--blue);
    margin-bottom: 16px;
    display: block;
}

.card-block h3 {
    font-size: 15px;
    margin-bottom: 8px;
}

.card-block p {
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.6;
    margin: 0;
}

/* ── Platform cards ── */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.platform-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    background: rgba(12, 12, 12, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    color: var(--text);
    transition: border-color .25s, background .25s, transform .3s var(--ease-out), box-shadow .3s;
    position: relative;
    overflow: hidden;
    transform: perspective(800px) rotateX(var(--tilt-x, 0)) rotateY(var(--tilt-y, 0));
}
.platform-card:hover {
    border-color: rgba(59,130,246,.25);
    background: var(--bg-3);
    color: var(--text);
    transform: perspective(800px) rotateX(var(--tilt-x, 0)) rotateY(var(--tilt-y, 0)) translateY(-2px);
    box-shadow: 0 8px 28px rgba(0,0,0,.25), 0 0 20px rgba(59, 130, 246, 0.05);
}

.platform-card > i:first-child {
    font-size: 22px;
    color: var(--text);
    width: 28px;
    text-align: center;
}

.platform-card strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
}

.platform-card span {
    font-size: 12px;
    color: var(--text-3);
}

.platform-card__arrow {
    margin-left: auto;
    font-size: 14px;
    color: var(--text-3);
    transition: transform .2s, color .2s;
}
.platform-card:hover .platform-card__arrow {
    transform: translateX(3px);
    color: var(--blue);
}

/* ── Feature pills ── */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--r);
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    transition: border-color .2s, transform .25s var(--ease-out), background .2s;
}
.feature-item:hover {
    border-color: var(--line-2);
    background: var(--bg-2);
    transform: translateY(-2px);
}

.feature-item i {
    font-size: 16px;
    color: var(--blue);
}

/* ── CTA ── */
.cta-simple {
    text-align: center;
    padding: 48px 32px;
    background: rgba(12, 12, 12, 0.65);
    backdrop-filter: blur(12px);
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
}

.cta-simple h2 {
    font-size: 28px;
    margin-bottom: 8px;
}

.cta-simple p {
    color: var(--text-2);
    margin-bottom: 24px;
}

.cta-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 36px 40px;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
}

.cta-panel h2 { font-size: 22px; margin-bottom: 6px; }
.cta-panel p { color: var(--text-2); font-size: 14px; margin: 0; }

/* ── Page hero ── */
.page-hero {
    position: relative;
    padding: calc(var(--header) + 48px) 0 44px;
    text-align: center;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--banner);
    background-size: cover;
    background-position: center;
    opacity: .14;
    mask-image: linear-gradient(black 15%, transparent 85%);
    -webkit-mask-image: linear-gradient(black 15%, transparent 85%);
}

.page-hero::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 20%;
    width: min(640px, 90vw);
    height: 200px;
    transform: translateX(-50%);
    background: radial-gradient(ellipse, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
    pointer-events: none;
    animation: pageHeroGlow 6s ease-in-out infinite;
}

@keyframes pageHeroGlow {
    0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(1); }
    50% { opacity: 0.9; transform: translateX(-50%) scale(1.05); }
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero-title {
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: 12px;
}

.page-hero-desc {
    font-size: 16px;
    color: var(--text-2);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.65;
}

/* ── Media frames ── */
.media-frame {
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    background: var(--bg-app);
    box-shadow: 0 16px 48px rgba(0,0,0,.4);
}

.media-frame--ui { aspect-ratio: 16/10; }
.media-frame--ui img { width: 100%; height: 100%; object-fit: contain; }
.media-frame--product { aspect-ratio: 4/3; }
.media-frame--product img { width: 100%; height: 100%; object-fit: contain; padding: 24px; }
.media-frame--hero { max-width: 880px; margin: 0 auto; }
.media-frame--wide { max-width: 880px; margin: 0 auto; }

.media-frame[data-lightbox] { cursor: zoom-in; }

.media-frame figcaption {
    position: absolute;
    bottom: 12px; left: 12px;
    font-size: 11px;
    padding: 4px 10px;
    background: rgba(0,0,0,.7);
    border-radius: var(--r);
    color: var(--text-2);
}

/* ── Split layout ── */
.split-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 56px;
}
.split-block--reverse .split-block__content { order: 2; }
.split-block--reverse .media-frame { order: 1; }
.split-block__content p { color: var(--text-2); margin-bottom: 16px; }

/* ── Surface cards (legacy pages) ── */
.surface-card, .glass-card, .bento-card {
    padding: 24px;
    background: rgba(12, 12, 12, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    transition: transform .3s var(--ease-out), box-shadow .3s, border-color .25s;
    transform: perspective(800px) rotateX(var(--tilt-x, 0)) rotateY(var(--tilt-y, 0));
}

.surface-card:hover {
    transform: perspective(800px) rotateX(var(--tilt-x, 0)) rotateY(var(--tilt-y, 0)) translateY(-2px);
    box-shadow: 0 8px 28px rgba(0,0,0,.22);
    border-color: var(--line-2);
}

.glass-card {
    background: rgba(12, 12, 12, 0.65);
    backdrop-filter: blur(12px);
}

.surface-card__icon, .bento-card__icon, .why-card-icon, .feature-card-icon {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    background: var(--blue-dim);
    border-radius: var(--r);
    color: var(--blue);
    font-size: 16px;
    margin-bottom: 16px;
}

.surface-card__title, .bento-card h3 { font-size: 15px; margin-bottom: 8px; }
.surface-card__text, .bento-card p { font-size: 14px; color: var(--text-2); margin: 0; }

.values-grid, .bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 56px;
}

.bento-card--wide { grid-column: span 2; }

.feature-detail-list { border-top: 1px solid var(--line); }

.feature-detail-row {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 20px;
    padding: 32px 0;
    border-bottom: 1px solid var(--line);
}

.feature-detail-row__index {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-3);
    padding-top: 4px;
}

.feature-detail-row h2 { font-size: 20px; margin-bottom: 10px; }
.feature-detail-row p { color: var(--text-2); font-size: 15px; }

.feature-list { list-style: none; margin-top: 12px; }
.feature-list li {
    position: relative;
    padding: 5px 0 5px 16px;
    font-size: 14px;
    color: var(--text-2);
}
.feature-list li::before {
    content: '';
    position: absolute;
    left: 0; top: 12px;
    width: 4px; height: 4px;
    border-radius: 50%;
    background: var(--blue);
}

/* ── Timeline ── */
.timeline-wrap { max-width: 640px; margin: 0 auto 56px; }

.timeline {
    position: relative;
    padding-left: 24px;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 4px; top: 6px; bottom: 6px;
    width: 1px;
    background: var(--line-2);
}

.timeline-item { position: relative; padding-bottom: 28px; }
.timeline-item::before {
    content: '';
    position: absolute;
    left: -24px; top: 5px;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--bg);
    border: 2px solid var(--blue);
}

.timeline-date {
    font-size: 11px;
    font-weight: 600;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 8px;
}

.timeline-card {
    padding: 20px;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
}
.timeline-card h4 { font-size: 15px; margin-bottom: 6px; }
.timeline-card p { font-size: 14px; color: var(--text-2); margin: 0; }

.version-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--blue);
    padding: 4px 10px;
    background: var(--blue-dim);
    border-radius: 100px;
    margin-bottom: 12px;
}

.changelog-list { list-style: none; }
.changelog-list li {
    padding: 5px 0 5px 14px;
    position: relative;
    font-size: 14px;
    color: var(--text-2);
}
.changelog-list li::before {
    content: '';
    position: absolute;
    left: 0; top: 12px;
    width: 4px; height: 4px;
    border-radius: 50%;
    background: var(--text-3);
}

/* ── Downloads table ── */
.downloads-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--bg-2);
}

.downloads-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.downloads-table thead { background: var(--bg-3); }
.downloads-table th {
    padding: 12px 16px;
    text-align: left;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text-3);
    border-bottom: 1px solid var(--line);
}
.downloads-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    color: var(--text-2);
    vertical-align: middle;
}
.downloads-table tbody tr {
    transition: background .25s var(--ease-out);
}
.downloads-table tbody tr:hover { background: rgba(59, 130, 246, 0.04); }
.downloads-table tbody tr:last-child td { border-bottom: none; }

.platform-cell { display: flex; align-items: center; gap: 8px; font-weight: 500; color: var(--text); }
.platform-cell i { color: var(--blue); }

.sha-cell {
    font-family: ui-monospace, monospace;
    font-size: 11px;
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.btn-copy-sha {
    padding: 2px 7px;
    font-size: 10px;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--text-3);
    border-radius: 4px;
    cursor: pointer;
    margin-left: 4px;
}
.btn-copy-sha:hover { border-color: var(--blue); color: var(--blue); }

.badge-coming {
    font-size: 11px;
    padding: 3px 8px;
    background: var(--bg-3);
    border: 1px solid var(--line);
    border-radius: 100px;
    color: var(--text-3);
}

.verify-steps { list-style: none; }
.verify-steps li {
    padding: 12px 0 12px 36px;
    position: relative;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
    color: var(--text-2);
    counter-increment: step;
}
.verify-steps { counter-reset: step; }
.verify-steps li::before {
    content: counter(step);
    position: absolute;
    left: 0; top: 12px;
    width: 22px; height: 22px;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px;
    font-weight: 600;
    color: var(--blue);
    background: var(--blue-dim);
    border-radius: 50%;
}

.verify-steps code, .docs-content code, .faq-accordion code {
    background: var(--bg-3);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    color: var(--blue);
}

/* ── FAQ ── */
.faq-accordion .accordion-item {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: var(--r) !important;
    margin-bottom: 6px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-accordion .accordion-item:has(.accordion-button:not(.collapsed)) {
    border-color: rgba(59, 130, 246, 0.28);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.06);
}

.faq-accordion .accordion-button {
    background: transparent;
    color: var(--text);
    font-weight: 600;
    font-size: 14px;
    padding: 16px 20px;
    box-shadow: none !important;
    transition: background 0.28s ease, color 0.28s ease, transform var(--motion-btn-press) var(--ease-soft) !important;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: var(--bg-3);
    color: var(--text);
}

.faq-accordion .accordion-button::after {
    filter: invert(1);
    opacity: .35;
    transition: transform 0.32s var(--ease-premium) !important;
}

.faq-accordion .accordion-collapse,
.faq-accordion .collapsing,
.faq-accordion .accordion-collapse.collapsing {
    transition: height 0.28s var(--ease-premium) !important;
}
.faq-accordion .accordion-body {
    padding: 0 20px 16px;
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.65;
}

.faq-footer {
    text-align: center;
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}
.faq-footer p { color: var(--text-2); font-size: 14px; margin-bottom: 14px; }
.faq-footer-links { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

.faq-steps {
    margin: 12px 0 0;
    padding-left: 1.25rem;
}
.faq-steps li {
    margin-bottom: 10px;
    color: var(--text-2);
}
.faq-accordion .accordion-body p { margin-bottom: 10px; }

/* ── Docs ── */
.docs-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 40px;
    align-items: start;
}
.docs-sidebar { position: sticky; top: calc(var(--header) + 20px); }
.docs-search { position: relative; margin-bottom: 16px; }
.docs-search i { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--text-3); font-size: 13px; }
.docs-search input {
    width: 100%;
    padding: 9px 12px 9px 32px;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: var(--r);
    color: var(--text);
    font-size: 13px;
}
.docs-search input:focus { outline: none; border-color: var(--blue); }

.docs-nav { list-style: none; }
.docs-nav-category {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--text-3);
    padding: 12px 0 4px;
}
.docs-nav a {
    display: block;
    padding: 6px 10px;
    font-size: 13px;
    color: var(--text-2);
    border-radius: var(--r);
    border-left: 2px solid transparent;
}
.docs-nav a:hover, .docs-nav a.active {
    color: var(--text);
    background: var(--blue-dim);
    border-left-color: var(--blue);
}

.docs-content h2 {
    font-size: 22px;
    margin: 36px 0 12px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}
.docs-content h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.docs-content h3 { font-size: 17px; margin: 24px 0 8px; }
.docs-content p, .docs-content li { color: var(--text-2); font-size: 14px; }
.docs-content pre {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 14px;
    overflow-x: auto;
    margin: 12px 0;
}
.docs-content pre code { background: none; padding: 0; font-size: 12px; color: var(--text-2); }
.docs-section.hidden-by-search { display: none; }

/* ── SEO content block (home) ── */
.seo-content__body {
    max-width: 720px;
    margin: 0 auto;
}
.seo-content__body p {
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.75;
    margin-bottom: 16px;
}
.seo-content__body a {
    color: var(--blue);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.seo-content__body a:hover { color: #60a5fa; }

.seo-content .glass-card.seo-content__body {
    padding: 28px 32px;
    margin-top: 8px;
}

.docs-section--highlight > h2 {
    color: var(--text);
}
.driver-fix-card {
    margin-top: 16px;
    padding: 20px 22px;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    border-left: 3px solid var(--blue);
}
.driver-fix-card h3 {
    font-size: 15px;
    margin: 20px 0 10px;
    color: var(--text);
}
.driver-fix-card h3:first-child { margin-top: 0; }
.driver-fix-card ol {
    margin: 0 0 8px;
    padding-left: 1.25rem;
}
.driver-fix-card li { margin-bottom: 8px; }
.docs-note {
    margin-top: 16px;
    padding: 12px 14px;
    background: var(--blue-dim);
    border-radius: var(--r);
    font-size: 14px;
}

/* ── Legal / 404 ── */
.legal-content h2 { font-size: 20px; margin: 32px 0 12px; }
.legal-content h3 { font-size: 16px; margin: 20px 0 8px; }
.legal-content p, .legal-content li { font-size: 14px; color: var(--text-2); margin-bottom: 10px; }

.error-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 0;
}
.error-code {
    font-family: var(--font-head);
    font-size: clamp(64px, 12vw, 96px);
    font-weight: 700;
    letter-spacing: -.04em;
    margin-bottom: 8px;
}
.error-title { font-size: 20px; margin-bottom: 8px; }
.error-desc { color: var(--text-2); margin-bottom: 24px; }

/* ── Lightbox ── */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0,0,0,.94);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s, visibility .2s;
    padding: 24px;
}
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox img {
    max-width: min(94vw, 1100px);
    max-height: 90vh;
    border-radius: var(--r);
}
.lightbox-close {
    position: absolute;
    top: 16px; right: 16px;
    width: 40px; height: 40px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--bg-2);
    color: #fff;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}

/* ── Global trust (inner pages) ── */
.global-trust {
    position: relative;
    z-index: 2;
    padding: 20px 0 8px;
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, transparent, rgba(10, 10, 12, 0.6));
}

.global-trust__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.global-trust__pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--text-2);
    background: rgba(12, 12, 14, 0.8);
    border: 1px solid var(--line);
    border-radius: 100px;
    transition: border-color .25s, color .25s, box-shadow .3s;
}

.global-trust__pill i { color: var(--blue); font-size: 13px; }

.global-trust__pill--link:hover {
    border-color: rgba(59, 130, 246, 0.35);
    color: var(--text);
    box-shadow: 0 0 24px rgba(59, 130, 246, 0.08);
}

.footer-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 20px;
    padding: 20px 0 24px;
    margin-top: 8px;
    border-top: 1px solid var(--line);
    font-size: 12px;
    color: var(--text-3);
}

.footer-trust span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-trust i { color: var(--blue); }

.footer-trust a { color: var(--text-2); }
.footer-trust a:hover { color: var(--text); }

/* ── Footer ── */
.site-footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--line);
    background: var(--bg-2);
    padding: 56px 0 0;
    margin-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 16px;
    color: var(--text);
    margin-bottom: 12px;
}

.footer-desc {
    font-size: 13px;
    color: var(--text-2);
    line-height: 1.6;
    margin-bottom: 16px;
    max-width: 260px;
}

.footer-email {
    font-size: 13px;
    margin: -8px 0 16px;
}
.footer-email a {
    color: var(--text-2);
}
.footer-email a:hover { color: var(--text); }

.footer-links a {
    font-size: 13px;
    color: var(--text-3);
    display: inline-block;
    transition: color .2s, transform .2s var(--ease-out);
}
.footer-links a:hover { color: var(--text); transform: translateX(3px); }

.footer-social a {
    width: 34px; height: 34px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--line);
    border-radius: var(--r);
    color: var(--text-3);
    font-size: 15px;
    position: relative;
    overflow: hidden;
    transition: color .2s, border-color .2s, transform .25s var(--ease-spring);
}
.footer-social a:hover {
    color: var(--text);
    border-color: var(--line-2);
    transform: translateY(-3px);
}

.footer-heading {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text);
    margin-bottom: 14px;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 7px; }

.footer-social { display: flex; gap: 6px; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    margin-top: 40px;
    border-top: 1px solid var(--line);
    flex-wrap: wrap;
    gap: 8px;
}
.footer-bottom p { font-size: 12px; color: var(--text-3); margin: 0; }

/* ── Toast ── */
.toast-notification {
    position: fixed;
    bottom: 20px; right: 20px;
    z-index: 300;
    padding: 10px 18px;
    background: var(--bg-3);
    border: 1px solid var(--line-2);
    border-radius: var(--r);
    font-size: 13px;
    color: var(--text);
    transform: translateY(20px) scale(0.96);
    opacity: 0;
    filter: blur(6px);
    transition:
        transform 0.55s var(--ease-premium),
        opacity 0.5s var(--ease-premium),
        filter 0.45s ease;
}
.toast-notification.show {
    transform: translateY(0) scale(1);
    opacity: 1;
    filter: none;
}

/* ── Stats ── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 48px;
    padding: 28px 24px;
    background: rgba(12, 12, 12, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
}

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

.stat-value {
    display: block;
    font-family: var(--font-head);
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 12px;
    color: var(--text-3);
    letter-spacing: 0.02em;
}

/* ── Linux note (about) ── */
.linux-note {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    margin-top: 48px;
}
.linux-note img { width: 64px; height: 64px; object-fit: contain; flex-shrink: 0; }
.linux-note h3 { font-size: 16px; margin-bottom: 6px; }
.linux-note p { font-size: 14px; color: var(--text-2); margin: 0; }

/* ── Responsive ── */
@media (max-width: 991px) {
    .nav-link__hint { display: none; }
    .nav-indicator { display: none; }
    .nav-links-wrap { width: 100%; }
    .cards-4, .values-grid, .bento-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid--home { grid-template-columns: repeat(2, 1fr); }
    .credibility-band__inner { grid-template-columns: 1fr; }
    .bento-card--wide { grid-column: span 1; }
    .platform-grid, .feature-grid { grid-template-columns: 1fr; }
    .split-block, .split-block--reverse { grid-template-columns: 1fr; gap: 28px; }
    .split-block--reverse .split-block__content,
    .split-block--reverse .media-frame { order: unset; }
    .docs-layout { grid-template-columns: 1fr; }
    .docs-sidebar { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .cta-panel { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 767px) {
    .cards-4, .values-grid, .bento-grid, .footer-grid, .stats-grid, .stats-grid--home { grid-template-columns: 1fr; }
    .credibility-band__inner { grid-template-columns: 1fr; gap: 28px; }
    .hero-meta { gap: 10px 14px; margin-top: 18px; }
    .hero-meta__item { font-size: 11px; }
    .feature-grid { grid-template-columns: 1fr 1fr; }
    .hero--banner { min-height: auto; padding-bottom: 80px; }
    .hero__overlay {
        background: linear-gradient(180deg, rgba(5,5,5,.94) 0%, rgba(5,5,5,.82) 100%);
    }
    .hero__bg { background-position: center 30%; }
    .hero-preview { padding: 40px 0 32px; }
    .hero-preview__inner { gap: 24px; }
    .feature-detail-row { grid-template-columns: 1fr; gap: 4px; }
    .downloads-table th:nth-child(3), .downloads-table td:nth-child(3),
    .downloads-table th:nth-child(5), .downloads-table td:nth-child(5) { display: none; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .nav-actions { margin-top: 10px; padding-bottom: 10px; }
    .linux-note { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
    html { scroll-behavior: auto; }
    .scroll-reveal, .hero-stagger, .hero-preview .app-window { opacity: 1; transform: none; animation: none !important; }
    .hero--banner .hero__content { opacity: 1; transform: none; }
    .page-curtain, .page-progress, .ambient-particles { display: none; }
}
