/* ============================================
   TOKENS
   ============================================ */
:root {
    --bg: #0A0A0F;
    --surface: #16161F;
    --surface-secondary: #1E1E2A;
    --text: #F5F5F0;
    --text-dim: #8A8A9A;
    --text-muted: #6B6B7B;
    --accent: #E85D3A;
    --success: #4CAF7D;
    --divider: #2A2A38;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'DM Sans', sans-serif;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: opacity 0.2s;
}
a:hover {
    opacity: 0.8;
}

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

section {
    padding: 100px 0;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

@keyframes scoreFlash {
    0% { color: var(--text); }
    25% { color: var(--accent); }
    100% { color: var(--text); }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ============================================
   NAV
   ============================================ */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 0;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

nav.scrolled {
    border-bottom-color: var(--divider);
}

nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
}

.nav-brand img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.nav-brand span {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 20px;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--text-dim);
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text);
    opacity: 1;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    padding-bottom: 80px;
    position: relative;
}

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

.hero-icon {
    width: 100px;
    height: 100px;
    border-radius: 22px;
    margin: 0 auto 40px;
    box-shadow: 0 20px 60px rgba(232, 93, 58, 0.15);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(80px, 12vw, 160px);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 0.9;
    margin-bottom: 24px;
    color: var(--text);
}

.hero-tagline {
    font-family: var(--font-body);
    font-size: clamp(20px, 3vw, 28px);
    color: var(--text-dim);
    font-weight: 400;
    margin-bottom: 48px;
    line-height: 1.4;
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 64px;
    flex-wrap: wrap;
}

.badge-link {
    display: inline-block;
    transition: transform 0.2s, opacity 0.2s;
}
.badge-link:hover {
    transform: scale(1.05);
    opacity: 1;
}

.badge-link img {
    height: 54px;
}

.platform-note {
    font-size: 15px;
    color: var(--text-muted);
    font-weight: 500;
}

.platform-note svg {
    display: inline-block;
    vertical-align: middle;
    margin-right: 6px;
}

.hero-video-wrap {
    max-width: 960px;
    margin: 0 auto;
}

.hero-video-frame {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.04);
    background: #050507;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
}

.hero-video-frame video {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    background: #050507;
}

/* ============================================
   SECTION HEADER
   ============================================ */
.section-label {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 20px;
    color: var(--text-dim);
    max-width: 600px;
    line-height: 1.5;
}

.section-header {
    margin-bottom: 64px;
}

.section-header--center {
    text-align: center;
}

.section-header--center .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   FEATURES GRID
   ============================================ */
.features {
    background: var(--bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--divider);
    border-radius: 16px;
    padding: 36px 32px;
    transition: border-color 0.3s, transform 0.3s;
}
