/* ============================================================
   GIDONX · Design System
   Dark + Orange · Game-inspired · Motosiklet Navigasyon
   ============================================================ */

:root {
    /* Brand */
    --orange: #ff6b1a;
    --orange-hot: #ff8a3d;
    --orange-deep: #d44a00;
    --orange-glow: rgba(255, 107, 26, 0.45);

    /* Base */
    --bg: #070709;
    --bg-soft: #0d0d12;
    --bg-elev: #13131a;
    --bg-card: #15151d;
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.16);

    /* Text */
    --text: #f5f5f7;
    --text-dim: #a8a8b3;
    --text-mute: #6e6e7a;

    /* Semantic */
    --ok: #34d399;
    --warn: #fbbf24;
    --danger: #ef4444;

    /* Layout */
    --maxw: 1200px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-sm: 10px;

    /* Motion */
    --ease: cubic-bezier(0.2, 0.8, 0.2, 1);

    /* Fonts */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Space Grotesk', var(--font-sans);
    --font-mono: 'JetBrains Mono', 'SFMono-Regular', Menlo, monospace;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Skip link */
.skip-link {
    position: absolute; top: -40px; left: 16px; background: var(--orange); color: #000;
    padding: 8px 16px; border-radius: 8px; font-weight: 700; z-index: 9999;
}
.skip-link:focus { top: 16px; }

/* Text utilities */
.text-grad {
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-hot) 50%, #ffd36b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(7, 7, 9, 0.72);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.is-scrolled {
    border-bottom-color: var(--line);
    background: rgba(7, 7, 9, 0.92);
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 72px; gap: 24px;
}
.brand {
    display: inline-flex; align-items: center; gap: 10px;
    color: var(--orange);
    font-family: var(--font-display);
    font-weight: 700; letter-spacing: 0.16em; font-size: 18px;
}
.brand-mark {
    width: 38px; height: 38px;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-deep) 100%);
    color: #000;
    border-radius: 10px;
    box-shadow: 0 8px 24px -8px var(--orange-glow), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.brand-name { color: var(--text); }

.site-nav ul { display: flex; gap: 4px; }
.site-nav a {
    display: inline-block; padding: 10px 16px; border-radius: 999px;
    color: var(--text-dim); font-weight: 500; font-size: 14px;
    transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.site-nav a:hover, .site-nav a.is-active { color: var(--text); background: var(--line); }

.header-cta { display: inline-flex; }
.nav-toggle {
    display: none; width: 42px; height: 42px; border-radius: 10px;
    background: var(--bg-card); border: 1px solid var(--line);
    flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
    border-top: 1px solid var(--line);
    background: var(--bg);
    padding: 16px 24px 24px;
}
.mobile-nav ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a {
    display: block; padding: 14px 16px; border-radius: 12px;
    color: var(--text); font-weight: 500;
}
.mobile-nav a:hover { background: var(--bg-card); }

/* ============================================================
   BUTTONS / BADGES
   ============================================================ */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 24px; border-radius: 12px;
    font-family: var(--font-display); font-weight: 600; font-size: 15px;
    letter-spacing: 0.02em;
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
    cursor: pointer; white-space: nowrap;
}
.btn-sm { padding: 10px 18px; font-size: 13px; }
.btn-block { width: 100%; }

.btn-primary {
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-hot) 100%);
    color: #0a0a0f;
    box-shadow: 0 10px 30px -12px var(--orange-glow), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px -10px var(--orange-glow), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-ghost {
    background: transparent; color: var(--text);
    border: 1px solid var(--line-strong);
}
.btn-ghost:hover { background: var(--bg-card); border-color: var(--orange); color: var(--orange); }

/* Store badges */
.store-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.store-badges.center { justify-content: center; }
.store-badge {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 12px 20px;
    background: #111;
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    color: var(--text);
    font-family: var(--font-display);
    font-weight: 600;
    transition: transform 0.2s var(--ease), border-color 0.2s, box-shadow 0.2s;
}
.store-badge:hover {
    transform: translateY(-2px);
    border-color: var(--orange);
    box-shadow: 0 14px 40px -16px var(--orange-glow);
}
.store-badge--lg { padding: 14px 22px; }
.store-badge--lg span { display: flex; flex-direction: column; line-height: 1.1; }
.store-badge--lg small { font-size: 10px; letter-spacing: 0.14em; color: var(--text-dim); text-transform: uppercase; }
.store-badge--lg strong { font-size: 16px; }
.store-badges--sm .store-badge { padding: 10px 16px; font-size: 13px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 8vw, 120px); }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-grid {
    position: absolute; inset: -2px;
    background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 70%);
    opacity: 0.6;
}
.hero-glow {
    position: absolute; border-radius: 50%;
    filter: blur(100px); opacity: 0.55; pointer-events: none;
}
.hero-glow--1 {
    top: -20%; left: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, var(--orange) 0%, transparent 65%);
    animation: floatA 18s ease-in-out infinite;
}
.hero-glow--2 {
    bottom: -30%; right: -10%;
    width: 700px; height: 700px;
    background: radial-gradient(circle, #ff3d00 0%, transparent 60%);
    opacity: 0.32;
    animation: floatB 22s ease-in-out infinite;
}
@keyframes floatA { 50% { transform: translate(40px, 30px) scale(1.05); } }
@keyframes floatB { 50% { transform: translate(-50px, -20px) scale(1.08); } }

.speed-lines { position: absolute; inset: 0; pointer-events: none; opacity: 0.15; }
.speed-lines span {
    position: absolute; left: -20%; height: 1px; width: 140%;
    background: linear-gradient(90deg, transparent, var(--orange), transparent);
    animation: speed 5s linear infinite;
}
.speed-lines span:nth-child(1) { top: 18%; animation-delay: 0s; }
.speed-lines span:nth-child(2) { top: 32%; animation-delay: 1.2s; }
.speed-lines span:nth-child(3) { top: 55%; animation-delay: 0.6s; }
.speed-lines span:nth-child(4) { top: 72%; animation-delay: 2s; }
.speed-lines span:nth-child(5) { top: 88%; animation-delay: 1.6s; }
@keyframes speed { 0% { transform: translateX(-20%); opacity: 0; } 50% { opacity: 1; } 100% { transform: translateX(30%); opacity: 0; } }

.hero-inner {
    display: grid; gap: 60px;
    grid-template-columns: 1.1fr 0.9fr; align-items: center;
    min-height: 620px;
}

.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 14px; border-radius: 999px;
    background: rgba(255, 107, 26, 0.08);
    border: 1px solid rgba(255, 107, 26, 0.3);
    color: var(--orange);
    font-family: var(--font-mono);
    font-size: 11px; letter-spacing: 0.12em;
    margin-bottom: 24px;
}
.status-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--orange); box-shadow: 0 0 0 0 var(--orange-glow);
    animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 107, 26, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 107, 26, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 107, 26, 0); }
}

.hero-title {
    font-size: clamp(40px, 6.4vw, 84px);
    font-weight: 700;
    margin-bottom: 20px;
}
.hero-sub {
    color: var(--text-dim);
    font-size: clamp(16px, 1.4vw, 19px);
    max-width: 56ch;
    margin-bottom: 36px;
}
.hero-cta { margin-bottom: 40px; }

.hero-stats {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
    padding-top: 32px; border-top: 1px solid var(--line);
    max-width: 520px;
}
.hero-stats li strong {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(22px, 2vw, 30px);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}
.hero-stats li span { font-size: 12px; color: var(--text-mute); text-transform: uppercase; letter-spacing: 0.08em; }

/* Phone mockup */
.hero-visual { display: flex; justify-content: center; align-items: center; position: relative; }
.phone-stack { position: relative; width: 340px; height: 660px; }
.phone {
    position: absolute;
    width: 290px; height: 600px;
    background: #0a0a0f;
    border-radius: 42px;
    border: 10px solid #1a1a22;
    box-shadow:
        0 40px 100px -20px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 0 0 1px rgba(255, 255, 255, 0.04);
    overflow: hidden;
}
.phone--front { right: 0; bottom: 0; z-index: 2; transform: rotate(4deg); }
.phone--back { left: 0; top: 0; z-index: 1; transform: rotate(-8deg) scale(0.86); opacity: 0.95; }
.phone-notch {
    position: absolute; top: 10px; left: 50%;
    transform: translateX(-50%); width: 100px; height: 26px;
    background: #000; border-radius: 0 0 16px 16px; z-index: 3;
}
.phone-glow {
    position: absolute; inset: -40px; z-index: -1;
    background: radial-gradient(circle, var(--orange-glow) 0%, transparent 60%);
    filter: blur(30px);
}
.phone-screen { position: absolute; inset: 0; overflow: hidden; }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }

.phone-screen--map { background: #e8e6df; }
.mock-map {
    position: absolute; inset: 0; overflow: hidden;
    background:
        linear-gradient(115deg, #e6ddcf 0%, #e8ebe0 100%);
}
.mock-roads {
    position: absolute; inset: 0;
    background:
        linear-gradient(45deg, transparent 48%, #fff 48%, #fff 52%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, #fff 48%, #fff 52%, transparent 52%),
        linear-gradient(90deg, transparent 48%, #fff 48%, #fff 52%, transparent 52%);
    background-size: 80px 80px, 120px 120px, 160px 160px;
    opacity: 0.6;
}
.mock-route { position: absolute; inset: 0; width: 100%; height: 100%; }
.mock-bike {
    position: absolute; left: 50%; top: 55%;
    transform: translate(-50%, -50%);
    width: 38px; height: 38px; border-radius: 50%;
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-deep) 100%);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 0 4px rgba(255, 107, 26, 0.25), 0 8px 24px -4px rgba(0, 0, 0, 0.4);
    animation: bikePulse 2.4s ease-in-out infinite;
}
.mock-bike-dot { width: 16px; height: 16px; border-radius: 50%; background: #fff; }
@keyframes bikePulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(255, 107, 26, 0.25), 0 8px 24px -4px rgba(0, 0, 0, 0.4); }
    50% { box-shadow: 0 0 0 12px rgba(255, 107, 26, 0.05), 0 8px 24px -4px rgba(0, 0, 0, 0.4); }
}
.mock-search {
    position: absolute; top: 50px; left: 14px; right: 14px;
    display: flex; align-items: center; gap: 10px;
    padding: 12px 16px; border-radius: 14px;
    background: rgba(255, 255, 255, 0.95);
    color: #8a8a8a; font-size: 13px;
    box-shadow: 0 4px 14px -4px rgba(0, 0, 0, 0.15);
}
.mock-search-icon, .mock-mic { font-size: 16px; }
.mock-mic { margin-left: auto; color: var(--orange); }

.mock-hud {
    position: absolute; left: 14px; right: 14px; bottom: 20px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.97);
    border-radius: 16px;
    box-shadow: 0 -4px 20px -6px rgba(0, 0, 0, 0.15);
    color: #222;
    font-size: 11px;
}
.mock-hud-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.mock-hud-label { font-family: var(--font-display); font-weight: 700; font-size: 11px; color: #222; }
.mock-hud-value { color: var(--orange); font-weight: 700; }
.mock-hud-bar { height: 4px; border-radius: 4px; background: linear-gradient(90deg, #34d399 0% 40%, #fbbf24 40% 75%, #ef4444 75% 100%); margin: 8px 0; }
.mock-hud-eta { color: var(--orange); font-weight: 600; }

/* Warning panel mock */
.phone-screen--warn { background: #fff8f1; padding: 20px 18px; display: flex; flex-direction: column; }
.warn-panel { margin-top: auto; background: #fff; border-radius: 20px; padding: 20px; box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.12); }
.warn-head { display: flex; align-items: center; gap: 10px; color: #1a1a22; font-family: var(--font-display); font-weight: 700; }
.warn-icon { width: 28px; height: 28px; border-radius: 8px; background: var(--orange); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.warn-sub { font-size: 11px; color: #6e6e7a; margin: 8px 0 16px; }
.warn-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.warn-item {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    padding: 12px 6px; border-radius: 12px;
    background: #fff5ed; color: #1a1a22; font-size: 10px; font-weight: 600; text-align: center;
}
.warn-item span { font-size: 20px; }

.hero-scroll {
    position: absolute; bottom: 24px; left: 50%;
    transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    color: var(--text-mute); font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em;
}
.hero-scroll span {
    display: block; width: 1px; height: 32px;
    background: linear-gradient(180deg, transparent, var(--orange));
    animation: scrollDot 2s ease-in-out infinite;
}
@keyframes scrollDot { 0%, 100% { transform: translateY(0); opacity: 0.4; } 50% { transform: translateY(8px); opacity: 1; } }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
    overflow: hidden; padding: 22px 0;
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    background: var(--bg-soft);
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
    display: inline-flex; gap: 48px; white-space: nowrap;
    font-family: var(--font-display); font-weight: 700; letter-spacing: 0.14em; font-size: 14px;
    color: var(--text-dim);
    animation: marquee 45s linear infinite;
}
.marquee-track .dot { color: var(--orange); }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ============================================================
   SECTION COMMONS
   ============================================================ */
.section { padding: clamp(72px, 10vw, 140px) 0; position: relative; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.section-head--left { text-align: left; margin-left: 0; }
.section-kicker {
    display: inline-block;
    font-family: var(--font-mono); font-size: 11px;
    color: var(--orange); letter-spacing: 0.2em; text-transform: uppercase;
    padding: 6px 12px; border: 1px solid rgba(255, 107, 26, 0.3); border-radius: 999px;
    background: rgba(255, 107, 26, 0.05);
    margin-bottom: 20px;
}
.section-title {
    font-size: clamp(32px, 4vw, 56px);
    margin-bottom: 16px;
}
.section-sub { color: var(--text-dim); font-size: 17px; max-width: 58ch; margin: 0 auto; }
.section-head--left .section-sub { margin-left: 0; }

/* ============================================================
   FEATURES
   ============================================================ */
.feature-grid {
    display: grid; gap: 24px;
    grid-template-columns: repeat(3, 1fr);
}
.feature-card {
    position: relative;
    padding: 32px;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-soft) 100%);
    border: 1px solid var(--line);
    transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
    overflow: hidden;
}
.feature-card::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 100% 0%, rgba(255, 107, 26, 0.12), transparent 50%);
    opacity: 0; transition: opacity 0.3s;
}
.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 107, 26, 0.4);
    box-shadow: 0 30px 70px -30px rgba(255, 107, 26, 0.25);
}
.feature-card:hover::before { opacity: 1; }
.feature-card > * { position: relative; }
.feature-card--lg { grid-column: span 2; }
.feature-card--accent {
    background: linear-gradient(135deg, rgba(255, 107, 26, 0.12) 0%, var(--bg-card) 60%);
    border-color: rgba(255, 107, 26, 0.3);
}
.feature-icon {
    width: 56px; height: 56px; border-radius: 14px;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-deep) 100%);
    color: #0a0a0f;
    margin-bottom: 20px;
    box-shadow: 0 10px 28px -10px var(--orange-glow);
}
.feature-icon--warn { background: linear-gradient(135deg, #fbbf24, #d97706); }
.feature-icon--voice { background: linear-gradient(135deg, #34d399, #059669); }
.feature-icon--trophy { background: linear-gradient(135deg, #fcd34d, #f59e0b); }
.feature-icon--sos { background: linear-gradient(135deg, #ef4444, #b91c1c); color: #fff; }
.feature-icon--stops { background: linear-gradient(135deg, #60a5fa, #2563eb); color: #fff; }

.feature-card h3 {
    font-size: 22px; margin-bottom: 12px;
}
.feature-card p { color: var(--text-dim); font-size: 15px; }
.feature-checks { margin-top: 16px; display: grid; gap: 8px; }
.feature-checks li {
    font-size: 14px; color: var(--text-dim);
    padding-left: 22px; position: relative;
}
.feature-checks li::before {
    content: ''; position: absolute; left: 0; top: 9px;
    width: 14px; height: 14px; border-radius: 50%;
    background: var(--orange);
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center / 12px no-repeat;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center / 12px no-repeat;
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery { position: relative; overflow: hidden; }
.gallery::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(ellipse at 20% 30%, rgba(255, 107, 26, 0.08), transparent 55%),
                radial-gradient(ellipse at 80% 70%, rgba(255, 107, 26, 0.06), transparent 55%);
}
.gallery-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px;
    position: relative;
}
.gallery-item { text-align: center; }
.gallery-phone {
    position: relative;
    width: 100%; max-width: 260px; margin: 0 auto 20px;
    aspect-ratio: 9 / 19;
    background: #0a0a0f;
    border-radius: 36px;
    border: 8px solid #1a1a22;
    box-shadow:
        0 30px 70px -20px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        0 0 60px -30px var(--orange-glow);
    overflow: hidden;
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.gallery-phone::before {
    content: ''; position: absolute; top: 6px; left: 50%;
    transform: translateX(-50%);
    width: 80px; height: 20px;
    background: #000; border-radius: 0 0 12px 12px; z-index: 2;
}
.gallery-phone img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: center top;
    display: block;
}
.gallery-item:hover .gallery-phone {
    transform: translateY(-6px) scale(1.02);
    box-shadow:
        0 40px 90px -20px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 107, 26, 0.3),
        0 0 80px -20px var(--orange-glow);
}
.gallery-item figcaption {
    display: flex; flex-direction: column; gap: 4px;
}
.gallery-item figcaption strong {
    font-family: var(--font-display); font-size: 17px; color: var(--text); font-weight: 600;
}
.gallery-item figcaption span { font-size: 13px; color: var(--text-dim); }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.how-steps {
    display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr);
    counter-reset: step;
}
.how-step {
    position: relative;
    padding: 40px 32px 32px;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--line);
}
.how-num {
    font-family: var(--font-display); font-weight: 700; font-size: 56px;
    background: linear-gradient(180deg, var(--orange) 0%, transparent 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    line-height: 1; margin-bottom: 16px;
}
.how-step h3 { font-size: 22px; margin-bottom: 10px; }
.how-step p { color: var(--text-dim); font-size: 15px; }

/* ============================================================
   LEADERBOARD
   ============================================================ */
.leaderboard { position: relative; overflow: hidden; }
.leaderboard::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 80% 50%, rgba(255, 107, 26, 0.08), transparent 60%);
    pointer-events: none;
}
.leaderboard-grid {
    display: grid; gap: 60px; grid-template-columns: 1fr 1fr; align-items: center;
    position: relative;
}
.leaderboard-copy .section-title { font-size: clamp(32px, 4vw, 52px); }
.leaderboard-copy .section-sub { margin: 16px 0 24px; }
.leaderboard-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.leaderboard-pills li {
    padding: 8px 16px; border-radius: 999px;
    background: var(--bg-card); border: 1px solid var(--line);
    font-size: 13px; color: var(--text-dim);
}

.leaderboard-card {
    padding: 32px;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg) 100%);
    border: 1px solid var(--line);
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.5);
}
.lb-tabs { display: flex; gap: 8px; background: var(--bg-soft); padding: 6px; border-radius: 12px; margin-bottom: 24px; }
.lb-tab {
    flex: 1; padding: 10px 14px; border-radius: 8px;
    color: var(--text-dim); font-family: var(--font-display); font-weight: 600; font-size: 13px;
}
.lb-tab.is-active { background: var(--bg-card); color: var(--text); box-shadow: 0 4px 12px -4px rgba(0, 0, 0, 0.4); }

.lb-podium { display: grid; grid-template-columns: 1fr 1.2fr 1fr; align-items: end; gap: 12px; margin-bottom: 24px; }
.lb-pod {
    position: relative; text-align: center;
    padding: 14px 6px;
    background: var(--bg-soft);
    border-radius: 14px;
    border: 1px solid var(--line);
}
.lb-pod--1 { padding-top: 20px; border-color: var(--orange); box-shadow: 0 0 0 1px var(--orange), 0 20px 50px -20px var(--orange-glow); }
.lb-pod--2, .lb-pod--3 { opacity: 0.85; }
.lb-helmet { font-size: 32px; margin-bottom: 8px; }
.lb-helmet--crown { font-size: 36px; }
.lb-pod strong { display: block; color: var(--text); font-size: 14px; margin-bottom: 4px; }
.lb-pod small { color: var(--text-mute); font-size: 11px; }
.g-val { color: var(--orange); }
.lb-rank {
    position: absolute; top: -12px; left: 50%;
    transform: translateX(-50%);
    width: 26px; height: 26px; border-radius: 50%;
    background: var(--bg); border: 2px solid var(--orange);
    color: var(--orange); font-family: var(--font-mono); font-weight: 700; font-size: 12px;
    display: inline-flex; align-items: center; justify-content: center;
}
.lb-pod--1 .lb-rank { background: var(--orange); color: #0a0a0f; }

.lb-list { display: grid; gap: 8px; }
.lb-list li {
    display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 10px;
    padding: 12px 16px; border-radius: 12px; background: var(--bg-soft); border: 1px solid var(--line);
}
.lb-list span { color: var(--text-mute); font-family: var(--font-mono); font-size: 13px; }
.lb-list strong { color: var(--text); font-size: 14px; font-weight: 600; }
.lb-list em { color: var(--text-dim); font-style: normal; font-size: 12px; }

/* ============================================================
   STRIP
   ============================================================ */
.strip { padding: 80px 0; }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.strip-item {
    padding: 28px 24px; border-radius: var(--radius);
    background: var(--bg-card); border: 1px solid var(--line);
}
.strip-kbd {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 10px;
    background: var(--bg-soft); border: 1px solid var(--line);
    font-size: 20px; margin-bottom: 14px;
}
.strip-item h3 { font-size: 17px; margin-bottom: 6px; }
.strip-item p { font-size: 13px; color: var(--text-dim); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: var(--bg-soft); border-top: 1px solid var(--line); }
.faq-wrap { max-width: 860px; margin: 0 auto; }
.faq-list { display: grid; gap: 12px; }
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.2s;
}
.faq-item[open] { border-color: rgba(255, 107, 26, 0.4); }
.faq-item summary {
    list-style: none; cursor: pointer;
    padding: 22px 24px;
    font-family: var(--font-display); font-weight: 600; font-size: 17px;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--bg-soft); border: 1px solid var(--line);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 18px; color: var(--orange);
    transition: transform 0.2s;
}
.faq-item[open] summary::after { content: '−'; transform: rotate(180deg); background: var(--orange); color: #0a0a0f; }
.faq-item p { padding: 0 24px 22px; color: var(--text-dim); font-size: 15px; line-height: 1.7; }

/* ============================================================
   CTA
   ============================================================ */
.cta {
    position: relative; overflow: hidden; text-align: center;
    padding: clamp(80px, 10vw, 140px) 0;
}
.cta-bg {
    position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(ellipse at 50% 100%, rgba(255, 107, 26, 0.28), transparent 60%),
        linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}
.cta-glow {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: 800px; height: 800px;
    background: radial-gradient(circle, var(--orange-glow) 0%, transparent 55%);
    filter: blur(120px); opacity: 0.6;
}
.cta-inner { position: relative; }
.cta-title {
    font-size: clamp(40px, 6vw, 72px);
    margin-bottom: 16px;
}
.cta-sub { color: var(--text-dim); font-size: 18px; max-width: 52ch; margin: 0 auto 36px; }
.cta .store-badges { justify-content: center; }
.cta-note { margin-top: 24px; font-size: 13px; color: var(--text-mute); font-family: var(--font-mono); letter-spacing: 0.1em; }

/* ============================================================
   PAGE (inner) HERO
   ============================================================ */
.page-hero {
    position: relative; padding: 100px 0 60px;
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(ellipse at 50% 0%, rgba(255, 107, 26, 0.15), transparent 60%),
        linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}
.breadcrumb {
    font-family: var(--font-mono); font-size: 12px; color: var(--text-mute);
    margin-bottom: 16px; letter-spacing: 0.08em;
}
.breadcrumb a { color: var(--text-dim); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span:first-of-type { margin: 0 8px; color: var(--text-mute); }
.page-title {
    font-size: clamp(36px, 5vw, 64px);
    margin: 16px 0;
}
.page-lead { color: var(--text-dim); font-size: 18px; max-width: 60ch; }

/* Feature deep list */
.feature-list-deep { display: grid; gap: 48px; max-width: 900px; margin: 0 auto; }
.feature-deep {
    display: grid; grid-template-columns: 80px 1fr; gap: 24px;
    padding-bottom: 48px; border-bottom: 1px solid var(--line);
}
.feature-deep:last-child { border-bottom: 0; padding-bottom: 0; }
.feature-deep-num {
    font-family: var(--font-display); font-size: 42px; font-weight: 700;
    background: linear-gradient(180deg, var(--orange), transparent);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.feature-deep h2 { font-size: 28px; margin-bottom: 12px; }
.feature-deep p { color: var(--text-dim); font-size: 16px; margin-bottom: 16px; }
.feature-deep-shot {
    float: right; margin: 0 0 20px 32px;
    width: 180px; aspect-ratio: 9 / 19;
    background: #0a0a0f; border-radius: 24px; border: 6px solid #1a1a22;
    overflow: hidden; position: relative;
    box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.7), 0 0 40px -20px var(--orange-glow);
}
.feature-deep-shot::before {
    content: ''; position: absolute; top: 4px; left: 50%;
    transform: translateX(-50%);
    width: 56px; height: 14px;
    background: #000; border-radius: 0 0 8px 8px; z-index: 2;
}
.feature-deep-shot img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
@media (max-width: 760px) {
    .feature-deep-shot { float: none; margin: 0 auto 20px; }
}
.feature-deep ul li { color: var(--text-dim); font-size: 15px; }
.feature-deep strong { color: var(--text); }
.warn-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.warn-badges span {
    padding: 8px 14px; border-radius: 999px;
    background: var(--bg-card); border: 1px solid rgba(255, 107, 26, 0.3);
    font-size: 13px;
}
.feature-hint { font-size: 14px; color: var(--text-mute); font-style: italic; }

/* How page */
.steps-deep { display: grid; gap: 32px; max-width: 800px; margin: 0 auto; counter-reset: item; }
.step-deep {
    position: relative;
    padding: 32px 32px 32px 96px;
    border-radius: var(--radius-lg);
    background: var(--bg-card); border: 1px solid var(--line);
}
.step-deep-num {
    position: absolute; top: 32px; left: 32px;
    width: 48px; height: 48px; border-radius: 12px;
    background: linear-gradient(135deg, var(--orange), var(--orange-deep));
    color: #0a0a0f;
    font-family: var(--font-display); font-weight: 700; font-size: 20px;
    display: inline-flex; align-items: center; justify-content: center;
}
.step-deep h2 { font-size: 22px; margin-bottom: 10px; }
.step-deep p { color: var(--text-dim); font-size: 15px; }

/* Community page */
.community-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 900px; margin: 0 auto; }
.community-card {
    padding: 36px; border-radius: var(--radius-lg);
    background: linear-gradient(180deg, var(--bg-card), var(--bg-soft));
    border: 1px solid var(--line);
}
.community-card h2 { font-size: 24px; margin-bottom: 12px; }
.community-card p { color: var(--text-dim); }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 900px; margin: 0 auto; }
.contact-card {
    position: relative;
    padding: 32px; border-radius: var(--radius-lg);
    background: var(--bg-card); border: 1px solid var(--line);
    transition: border-color 0.2s, transform 0.2s var(--ease);
}
.contact-card:hover { border-color: rgba(255, 107, 26, 0.4); transform: translateY(-2px); }
.contact-card h2 { font-size: 20px; margin-bottom: 8px; }
.contact-card p { color: var(--text-dim); margin-bottom: 0; font-size: 14px; }
.contact-link { color: var(--orange); font-family: var(--font-mono); font-weight: 500; font-size: 14px; }
.contact-link:hover { text-decoration: underline; }
.contact-icon {
    width: 44px; height: 44px; border-radius: 12px;
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-deep) 100%);
    color: #0a0a0f;
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: 16px;
    box-shadow: 0 8px 20px -8px var(--orange-glow);
}

/* Contact layout (info + map) */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 40px;
    align-items: start;
}
.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.contact-map { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 96px; }
.map-frame {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--bg-card);
    box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.6), 0 0 60px -30px var(--orange-glow);
}
.map-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(0.2) contrast(1.05);
}
.map-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(255, 107, 26, 0.2), inset 0 0 80px -20px rgba(255, 107, 26, 0.08);
    border-radius: inherit;
}

@media (max-width: 1024px) {
    .contact-layout { grid-template-columns: 1fr; }
    .contact-map { position: static; }
}
@media (max-width: 760px) {
    .contact-info { grid-template-columns: 1fr; }
}

/* Legal pages */
.legal { max-width: 780px; margin: 0 auto; }
.legal h2 { font-size: 22px; margin: 40px 0 12px; color: var(--text); }
.legal h2:first-child { margin-top: 0; }
.legal p { color: var(--text-dim); margin-bottom: 16px; font-size: 15px; line-height: 1.8; }
.legal ul { margin-bottom: 16px; padding-left: 0; }
.legal ul li { color: var(--text-dim); font-size: 15px; line-height: 1.8; padding-left: 20px; position: relative; }
.legal ul li::before { content: '◆'; position: absolute; left: 0; color: var(--orange); font-size: 10px; top: 6px; }
.legal a { color: var(--orange); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--bg-soft);
    border-top: 1px solid var(--line);
    padding: 72px 0 32px;
    margin-top: 80px;
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--line);
}
.footer-brand p { color: var(--text-dim); margin: 16px 0 20px; max-width: 34ch; font-size: 14px; }
.footer-heading {
    font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--text-mute); margin-bottom: 14px;
}
.footer-list { display: grid; gap: 10px; }
.footer-list a { color: var(--text-dim); font-size: 14px; transition: color 0.2s; }
.footer-list a:hover { color: var(--orange); }
.platform-pill {
    display: inline-block;
    padding: 6px 12px; border-radius: 999px;
    background: var(--bg-card); border: 1px solid var(--line);
    font-size: 12px; color: var(--text-dim);
}
.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 24px; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { color: var(--text-mute); font-size: 13px; }
.footer-meta { font-family: var(--font-mono); letter-spacing: 0.08em; }
.footer-powered {
    font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em;
    color: var(--text-mute);
}
.footer-powered a {
    color: var(--orange); font-weight: 600;
    border-bottom: 1px dashed rgba(255, 107, 26, 0.4);
    padding-bottom: 1px;
    transition: color 0.2s, border-color 0.2s;
}
.footer-powered a:hover { color: var(--orange-hot); border-bottom-color: var(--orange-hot); }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
    .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; min-height: auto; gap: 80px; }
    .hero-visual { order: 2; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-card--lg { grid-column: span 2; }
    .how-steps { grid-template-columns: 1fr; }
    .leaderboard-grid { grid-template-columns: 1fr; gap: 48px; }
    .strip-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
}
@media (max-width: 760px) {
    .site-nav, .header-cta { display: none; }
    .nav-toggle { display: flex; }
    .header-inner { height: 64px; }
    .hero-stats { grid-template-columns: 1fr; gap: 16px; max-width: none; }
    .feature-grid { grid-template-columns: 1fr; }
    .feature-card--lg { grid-column: auto; }
    .strip-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .phone-stack { width: 280px; height: 540px; transform: scale(0.92); }
    .phone { width: 240px; height: 500px; }
    .gallery-grid { grid-template-columns: 1fr; }
    .community-grid, .contact-grid { grid-template-columns: 1fr; }
    .feature-deep { grid-template-columns: 1fr; gap: 12px; }
    .step-deep { padding: 88px 24px 24px; }
    .step-deep-num { top: 24px; left: 24px; }
    .hero-scroll { display: none; }
}

/* ============================================================
   SELECTION
   ============================================================ */
::selection { background: var(--orange); color: #0a0a0f; }
