:root {
    /* Tokyo Night inspired palette */
    --bg-void: #0f0f14;
    --bg-surface: #16161e;
    --bg-card: #1a1b26;
    --text-primary: #c0caf5;
    --text-secondary: #9aa5ce;
    --text-muted: #565f89;
    --accent: #ff9e64;
    --accent-dim: rgba(255, 158, 100, 0.1);
    --accent-glow: rgba(255, 158, 100, 0.3);
    --accent-border: rgba(255, 158, 100, 0.15);
    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-border-hover: rgba(255, 255, 255, 0.12);
    --glass-bg: rgba(255, 255, 255, 0.02);
    --glass-bg-hover: rgba(255, 255, 255, 0.04);
    --gradient-card: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, transparent 100%);
    --font-display: 'Inter', sans-serif;
    --font-mono: 'Space Mono', monospace;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-void);
    color: var(--text-primary);
    font-family: var(--font-mono);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ── Background layers ── */
.os-grid {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

.cursor-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 158, 100, 0.035) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    transition: left 0.3s ease-out, top 0.3s ease-out;
    will-change: left, top;
}

.particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0;
    animation: float-particle linear infinite;
    will-change: transform, opacity;
}

@keyframes float-particle {
    0% { opacity: 0; transform: translateY(100vh) scale(0); }
    10% { opacity: 0.4; }
    90% { opacity: 0.4; }
    100% { opacity: 0; transform: translateY(-10vh) scale(1); }
}

/* ── Header ── */
header {
    position: fixed;
    top: 2rem;
    left: 2rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    z-index: 10;
    font-family: var(--font-mono);
}

/* ── Scroll container ── */
.scroll-container {
    width: 100%;
    position: relative;
    z-index: 1;
}

/* ── Sections base ── */
section {
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 6rem 2rem;
    position: relative;
}

/* ── Scroll reveal ── */
.hidden {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* Staggered children */
.hidden .stagger-child {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.show .stagger-child { opacity: 1; transform: translateY(0); }
.show .stagger-child:nth-child(1) { transition-delay: 0ms; }
.show .stagger-child:nth-child(2) { transition-delay: 80ms; }
.show .stagger-child:nth-child(3) { transition-delay: 160ms; }
.show .stagger-child:nth-child(4) { transition-delay: 240ms; }
.show .stagger-child:nth-child(5) { transition-delay: 320ms; }
.show .stagger-child:nth-child(6) { transition-delay: 400ms; }

/* ═══════════════════════════════
   SECTION 1: HERO
   ═══════════════════════════════ */
.hero-section {
    text-align: center;
    min-height: 100vh;
}

.logo-container {
    position: relative;
    width: 280px;
    margin: 0 auto 2rem;
}

.logo-image {
    width: 100%;
    display: block;
    mix-blend-mode: screen;
    filter: drop-shadow(0 0 20px rgba(255, 158, 100, 0.15));
}

.status-block {
    text-align: center;
}

.system-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-size: 0.75rem;
    border: 1px solid var(--accent-border);
    padding: 6px 14px;
    border-radius: 20px;
    background: var(--accent-dim);
    margin-bottom: 1.5rem;
    letter-spacing: 0.08em;
}

.status-dot {
    width: 7px;
    height: 7px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent);
    animation: pulse 2s infinite;
}

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

.system-title {
    font-family: var(--font-display);
    font-size: 5.5rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 1rem;
    background: linear-gradient(180deg, #ffffff 30%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.system-tagline {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    color: var(--accent);
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
    min-height: 1.6em;
    border-right: 2px solid var(--accent);
    display: inline-block;
    padding-right: 4px;
}

.system-tagline.done {
    border-right-color: transparent;
    animation: blink-cursor 1s ease-in-out 3;
}

@keyframes blink-cursor {
    0%, 100% { border-right-color: transparent; }
    50% { border-right-color: var(--accent); }
}

.system-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 540px;
    margin: 0 auto;
}

.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    animation: bounce 2.5s infinite;
}

.scroll-indicator svg {
    width: 20px;
    height: 20px;
    stroke: var(--text-muted);
    stroke-width: 2;
    fill: none;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}

/* ═══════════════════════════════
   SECTION 2: USP BANNER
   ═══════════════════════════════ */
.usp-section {
    min-height: 80vh;
}

.section-header {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent);
    margin-bottom: 1rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.section-subtext {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 3.5rem;
    letter-spacing: 0.05em;
}

.usp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
    max-width: 1100px;
}

.usp-card {
    padding: 2.5rem 2rem;
    border: 1px solid var(--glass-border);
    background: var(--gradient-card);
    border-radius: 12px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.usp-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.usp-card:hover {
    border-color: var(--glass-border-hover);
    background: var(--glass-bg-hover);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px var(--accent-border);
}

.usp-card:hover::before { opacity: 1; }

.usp-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1.5rem;
}

.usp-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--accent);
    stroke-width: 1.5;
    fill: none;
}

.usp-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
    letter-spacing: 0.05em;
}

.usp-card p {
    color: var(--text-secondary);
    font-size: 0.78rem;
    line-height: 1.6;
}

/* ═══════════════════════════════
   SECTION 3: SPORTS SHOWCASE
   ═══════════════════════════════ */
.sports-section {
    min-height: 85vh;
}

.sports-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    width: 100%;
    max-width: 1000px;
}

.sport-card {
    padding: 2rem 1.5rem;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    border-radius: 12px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

.sport-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 1rem;
}

.sport-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--accent);
    stroke-width: 1.5;
    fill: none;
    transition: filter 0.3s ease;
}

.sport-card h3 {
    font-family: var(--font-mono);
    color: #fff;
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
    letter-spacing: 0.05em;
}

.sport-meta {
    color: var(--text-muted);
    font-size: 0.7rem;
    line-height: 1.4;
}

.sport-card:hover {
    border-color: var(--accent-border);
    transform: translateY(-4px);
    box-shadow: 0 0 24px var(--accent-dim);
}

.sport-card:hover .sport-icon svg {
    filter: drop-shadow(0 0 6px var(--accent));
}

/* ═══════════════════════════════
   SECTION 4: COMPETITIVE ADVANTAGE
   ═══════════════════════════════ */
.advantage-section {
    min-height: 80vh;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    width: 100%;
    max-width: 1100px;
}

.spec-item {
    text-align: center;
    padding: 2rem 1.5rem;
    border: 1px solid var(--glass-border);
    background: var(--gradient-card);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.spec-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-border), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.spec-item:hover {
    transform: translateY(-4px);
    border-color: var(--glass-border-hover);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px var(--accent-border);
}

.spec-item:hover::before { opacity: 1; }

.spec-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
}

.spec-label {
    font-size: 0.7rem;
    color: var(--accent);
    margin-bottom: 0.75rem;
    letter-spacing: 0.12em;
}

.spec-desc {
    font-size: 0.72rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ═══════════════════════════════
   SECTION 5: CORE MODULES
   ═══════════════════════════════ */
.modules-section {
    min-height: 90vh;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    width: 100%;
    max-width: 1100px;
}

.module-card {
    padding: 2.5rem 2rem;
    border: 1px solid var(--glass-border);
    background: var(--gradient-card);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.module-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-border), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.module-card:hover {
    border-color: var(--glass-border-hover);
    background: var(--glass-bg-hover);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px var(--accent-border),
                inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.module-card:hover::before { opacity: 1; }

.module-card h3 {
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    letter-spacing: 0.1em;
}

.module-card p {
    color: var(--text-secondary);
    font-size: 0.78rem;
    line-height: 1.6;
}

/* ═══════════════════════════════
   SECTION 6: HOW IT WORKS
   ═══════════════════════════════ */
.process-section {
    min-height: 70vh;
}

.process-flow {
    display: flex;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    max-width: 1000px;
}

.process-step {
    flex: 1;
    text-align: center;
    padding: 2rem 1.5rem;
    position: relative;
}

.step-number {
    width: 48px;
    height: 48px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent);
}

.process-step h3 {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: #fff;
    margin-bottom: 0.75rem;
    letter-spacing: 0.1em;
}

.process-step p {
    color: var(--text-secondary);
    font-size: 0.75rem;
    line-height: 1.6;
}

/* Connector lines between steps */
.process-connector {
    flex: 0 0 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 1.2rem;
}

.process-connector svg {
    width: 60px;
    height: 2px;
    overflow: visible;
}

.process-connector line {
    stroke: var(--accent-border);
    stroke-width: 2;
    stroke-dasharray: 6 4;
}

/* ═══════════════════════════════
   SECTION 7: STATS
   ═══════════════════════════════ */
.stats-section {
    min-height: 40vh;
    padding: 4rem 2rem;
}

.stats-row {
    display: flex;
    gap: 4rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

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

.stat-value {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.3rem;
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* ═══════════════════════════════
   SECTION 8: CTA / CONTACT
   ═══════════════════════════════ */
.cta-section {
    min-height: 80vh;
}

.cta-container {
    text-align: center;
    max-width: 600px;
    width: 100%;
}

.cta-title {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.cta-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 3rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-field label {
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.form-field input,
.form-field textarea {
    background: var(--bg-surface);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 12px 14px;
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: var(--accent-border);
}

.form-field textarea {
    min-height: 100px;
    resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

.cta-button {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent);
    border: 2px solid var(--accent);
    padding: 14px 48px;
    border-radius: 8px;
    text-decoration: none;
    letter-spacing: 0.15em;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    cursor: pointer;
    margin-top: 0.5rem;
}

.cta-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.cta-button:hover {
    color: var(--bg-void);
    box-shadow: 0 0 30px rgba(255, 158, 100, 0.25);
}

.cta-button:hover::before {
    transform: translateY(0);
}

.cta-note {
    display: block;
    margin-top: 1.5rem;
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.form-success {
    display: none;
    color: var(--accent);
    font-size: 0.85rem;
    padding: 1rem;
    border: 1px solid var(--accent-border);
    border-radius: 8px;
    background: var(--accent-dim);
    margin-top: 1rem;
}

.form-success.visible {
    display: block;
}

/* ═══════════════════════════════
   SECTION 9: FOOTER
   ═══════════════════════════════ */
.footer-section {
    min-height: auto;
    padding: 4rem 2rem 2rem;
    justify-content: flex-end;
}

.footer-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-stat {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.footer-stat span {
    color: var(--text-secondary);
}

.footer-divider {
    width: 60px;
    height: 1px;
    background: var(--glass-border);
    margin-bottom: 1.5rem;
}

footer {
    color: var(--text-muted);
    font-size: 0.65rem;
    text-align: center;
    letter-spacing: 0.05em;
}

footer .copyright {
    margin-top: 0.5rem;
    opacity: 0.6;
}

/* ═══════════════════════════════
   RESPONSIVE
   ═══════════════════════════════ */
@media (max-width: 1024px) {
    .modules-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sports-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .usp-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    section {
        padding: 4rem 1.5rem;
    }

    .system-title {
        font-size: 3.5rem;
    }

    .usp-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .modules-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .sports-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-flow {
        flex-direction: column;
        align-items: center;
    }

    .process-connector {
        transform: rotate(90deg);
        flex: 0 0 30px;
    }

    .stats-row {
        gap: 2rem;
    }

    .stat-value {
        font-size: 1.6rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .cta-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .system-title {
        font-size: 2.8rem;
    }

    .system-tagline {
        font-size: 0.9rem;
    }

    .specs-grid,
    .sports-grid {
        grid-template-columns: 1fr;
    }

    header {
        display: none;
    }

    .stats-row {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-stats {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
    .hidden {
        transition: none;
    }

    .hidden .stagger-child {
        transition: none;
    }

    .particle {
        display: none;
    }

    .cursor-glow {
        display: none;
    }

    .status-dot {
        animation: none;
        opacity: 1;
    }

    .scroll-indicator {
        animation: none;
    }
}
