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

:root {
    --bg:        #0a0a08;
    --bg2:       #111110;
    --surface:   #1a1a18;
    --accent:    #e8ff47;
    --accent2:   #ff6b35;
    --text:      #f0ede6;
    --muted:     #8a8880;
    --border:    rgba(232,255,71,0.15);

    --font-display: 'Bebas Neue', sans-serif;
    --font-body:    'DM Sans', sans-serif;

    --radius: 4px;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    font-weight: 300;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ===== NAV ===== */
.main-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 3rem;
    height: 70px;
    background: rgba(10,10,8,0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--text);
    text-decoration: none;
    letter-spacing: 0.05em;
}
.nav-logo span { color: var(--accent); }

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    text-decoration: none;
    transition: color var(--transition);
    position: relative;
    padding-bottom: 2px;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0; height: 1px;
    background: var(--accent);
    transition: width var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--accent); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 1.3rem;
    padding: 4px 10px;
    cursor: pointer;
    border-radius: var(--radius);
}

/* ===== MAIN ===== */
main { padding-top: 70px; min-height: calc(100vh - 140px); }

/* ===== HERO ===== */
.hero {
    position: relative;
    height: calc(100vh - 70px);
    display: flex;
    align-items: flex-end;
    padding: 6rem 4rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 70% 40%, rgba(232,255,71,0.06) 0%, transparent 60%),
        radial-gradient(ellipse 50% 80% at 20% 80%, rgba(255,107,53,0.05) 0%, transparent 55%),
        linear-gradient(160deg, #0a0a08 0%, #121210 100%);
}

/* animated grid lines */
.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(232,255,71,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(232,255,71,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridDrift 20s linear infinite;
}

@keyframes gridDrift {
    0%   { transform: translateY(0); }
    100% { transform: translateY(60px); }
}

.hero-track {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 6px;
    background: repeating-linear-gradient(90deg, var(--accent) 0, var(--accent) 60px, transparent 60px, transparent 80px);
    opacity: 0.5;
}

.hero-content { position: relative; z-index: 2; max-width: 800px; }

.hero-kicker {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}
.hero-kicker::before {
    content: '';
    width: 32px; height: 1px;
    background: var(--accent);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(5rem, 13vw, 11rem);
    line-height: 0.9;
    color: var(--text);
    margin-bottom: 2rem;
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-title em {
    font-style: normal;
    color: var(--accent);
    display: block;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--muted);
    max-width: 480px;
    margin-bottom: 2.5rem;
    animation: slideUp 0.8s 0.15s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    animation: slideUp 0.8s 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: var(--radius);
    transition: all var(--transition);
    cursor: pointer;
    border: none;
}
.btn-primary {
    background: var(--accent);
    color: #0a0a08;
}
.btn-primary:hover { background: #d4eb30; transform: translateY(-2px); }

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid rgba(240,237,230,0.25);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* ===== STATS BAR ===== */
.stats-bar {
    display: flex;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.stat-item {
    flex: 1;
    padding: 2rem;
    text-align: center;
    border-right: 1px solid var(--border);
    transition: background var(--transition);
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: var(--surface); }
.stat-num {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--accent);
    line-height: 1;
}
.stat-label {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 0.3rem;
}

/* ===== SECTION ===== */
.section {
    padding: 6rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    display: flex;
    align-items: baseline;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

.section-num {
    font-family: var(--font-display);
    font-size: 5rem;
    color: var(--border);
    line-height: 1;
    user-select: none;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1;
    color: var(--text);
}

/* ===== CARDS ===== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5px;
    border: 1.5px solid var(--border);
    background: var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.card {
    background: var(--bg);
    padding: 2.5rem 2rem;
    transition: background var(--transition);
    position: relative;
    overflow: hidden;
}
.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}
.card:hover { background: var(--surface); }
.card:hover::before { transform: scaleX(1); }

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
    display: block;
}

.card-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    color: var(--text);
}

.card p { color: var(--muted); font-size: 0.95rem; }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    padding: 5rem 4rem 3rem;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: attr(data-title);
    position: absolute;
    right: 2rem; top: -1.5rem;
    font-family: var(--font-display);
    font-size: 14rem;
    color: rgba(232,255,71,0.03);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}
.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 0.95;
    margin-bottom: 1rem;
}
.page-hero h1 span { color: var(--accent); }
.page-hero p {
    color: var(--muted);
    max-width: 550px;
    font-size: 1.05rem;
}

/* ===== TABLE ===== */
.run-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.run-table th {
    text-align: left;
    padding: 0.8rem 1.2rem;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
    border-bottom: 1px solid var(--border);
}
.run-table td {
    padding: 1rem 1.2rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    color: var(--text);
}
.run-table tr:hover td { background: var(--surface); }
.run-table .tag {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.tag-easy   { background: rgba(100,220,100,0.15); color: #7ddf7d; }
.tag-medium { background: rgba(232,255,71,0.12);  color: var(--accent); }
.tag-hard   { background: rgba(255,107,53,0.15);  color: var(--accent2); }

/* ===== TIP BOX ===== */
.tip-box {
    border-left: 3px solid var(--accent);
    background: rgba(232,255,71,0.04);
    padding: 1.5rem 2rem;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin: 2rem 0;
}
.tip-box strong { color: var(--accent); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; }
.tip-box p { color: var(--muted); margin-top: 0.4rem; }

/* ===== TWO COL ===== */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}
@media (max-width: 768px) { .two-col { grid-template-columns: 1fr; } }

.prose h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    margin: 2rem 0 0.8rem;
    color: var(--text);
}
.prose p { color: var(--muted); margin-bottom: 1rem; }
.prose ul { list-style: none; padding: 0; }
.prose li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    color: var(--muted);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.prose li::before { content: '›'; position: absolute; left: 0; color: var(--accent); }

/* ===== GEAR CARDS ===== */
.gear-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.gear-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    transition: transform var(--transition), border-color var(--transition);
}
.gear-card:hover { transform: translateY(-4px); border-color: var(--accent); }

.gear-card .gear-icon { font-size: 3rem; margin-bottom: 1rem; display: block; }
.gear-card h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    margin-bottom: 0.6rem;
}
.gear-card p { color: var(--muted); font-size: 0.9rem; }
.gear-card .price {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 500;
    letter-spacing: 0.05em;
}

/* ===== FOOTER ===== */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 2.5rem 4rem;
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    color: var(--accent);
}
.site-footer p { color: var(--muted); font-size: 0.82rem; }
.footer-nav { display: flex; gap: 1.5rem; }
.footer-nav a { font-size: 0.78rem; color: var(--muted); text-decoration: none; }
.footer-nav a:hover { color: var(--accent); }

/* ===== ABOUT ===== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}
.team-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
}
.team-avatar {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: var(--bg);
    border: 2px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1rem;
}
.team-card h3 { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 0.3rem; }
.team-card p { font-size: 0.85rem; color: var(--muted); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .main-nav { padding: 0 1.5rem; }
    .nav-links {
        display: none;
        position: fixed;
        top: 70px; left: 0; right: 0;
        background: var(--bg);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--border);
    }
    .nav-links.open { display: flex; }
    .nav-toggle { display: block; }
    .hero { padding: 3rem 1.5rem; }
    .hero-title { font-size: 4.5rem; }
    .stats-bar { flex-wrap: wrap; }
    .stat-item { min-width: 50%; }
    .section { padding: 4rem 1.5rem; }
    .page-hero { padding: 4rem 1.5rem 2.5rem; }
    .site-footer { padding: 2rem 1.5rem; }
    .footer-inner { flex-direction: column; align-items: flex-start; }
}
