/* ══════════════════════════════════════════════════════════════
   Factory 2026 – Design System
   Inspired by Paddock Academy: dark, gold, modern, bold
   ══════════════════════════════════════════════════════════════ */

/* ── TOKENS ─────────────────────────────────────────────────── */
:root {
    /* Palette */
    --gold:        #c9a84c;
    --gold-light:  #e4cf8e;
    --gold-bright: #f5d96e;
    --amber:       #d4a937;
    --dark:        #0c0c0e;
    --dark-card:   #141416;
    --dark-surface:#1a1a1e;
    --dark-border: #2a2a2e;
    --text-primary:#f0ece4;
    --text-muted:  #9a9690;
    --text-dim:    #6a6660;
    --accent-blue: #4a8fe7;

    /* Typography */
    --font: 'Outfit', system-ui, -apple-system, sans-serif;

    /* Spacing */
    --space-xs: .5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;

    /* Radius */
    --radius: 12px;
    --radius-sm: 8px;

    /* Transitions */
    --ease: cubic-bezier(.4, 0, .2, 1);
    --speed: 320ms;
}

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

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

body {
    font-family: var(--font);
    background: var(--dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* ── NAVIGATION ─────────────────────────────────────────────── */
.top-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem var(--space-md);
    background: rgba(12, 12, 14, .75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(201, 168, 76, .08);
    transition: background var(--speed) var(--ease);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: .08em;
    color: var(--text-primary);
}

.nav-logo {
    height: 28px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: .9;
}

.brand-hash {
    color: var(--gold);
    font-weight: 800;
}

.brand-year {
    color: var(--gold);
    font-size: .65em;
    vertical-align: super;
    margin-left: 2px;
}

.nav-links {
    display: flex;
    gap: var(--space-md);
}

.nav-links a {
    font-size: .85rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: .04em;
    transition: color var(--speed) var(--ease);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: var(--gold);
    transition: width var(--speed) var(--ease);
}

.nav-links a:hover { color: var(--gold-light); }
.nav-links a:hover::after { width: 100%; }

/* ── HERO ───────────────────────────────────────────────────── */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-xl) var(--space-md);
    background:
        radial-gradient(ellipse at 50% 20%, rgba(201, 168, 76, .10) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 80%, rgba(74, 143, 231, .05) 0%, transparent 50%),
        var(--dark);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="0.4" fill="%23c9a84c" opacity="0.15"/></svg>') repeat;
    background-size: 30px 30px;
    opacity: .4;
    animation: drift 60s linear infinite;
}

@keyframes drift {
    from { transform: translateY(0); }
    to   { transform: translateY(-30px); }
}

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

.hero-tag {
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .2em;
    color: var(--gold);
    margin-bottom: var(--space-md);
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: var(--space-sm);
}

.title-line-1 {
    display: block;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-line-2 {
    display: block;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 1.15rem;
    font-weight: 300;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto var(--space-md);
    line-height: 1.7;
}

.hero-meta {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    margin-bottom: var(--space-lg);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: .9rem;
    color: var(--text-muted);
}

.meta-icon { font-size: 1.2rem; }

.hero-cta {
    display: inline-block;
    padding: .9rem 2.5rem;
    border: 1px solid var(--gold);
    border-radius: 50px;
    font-size: .9rem;
    font-weight: 600;
    letter-spacing: .06em;
    color: var(--gold);
    transition: all var(--speed) var(--ease);
}

.hero-cta:hover {
    background: var(--gold);
    color: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201, 168, 76, .25);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: pulse-line 2s ease-in-out infinite;
}

@keyframes pulse-line {
    0%, 100% { opacity: .3; transform: scaleY(1); }
    50%      { opacity: 1;  transform: scaleY(1.3); }
}

/* ── LOGO STRIP ─────────────────────────────────────────────── */
.logo-strip {
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--dark-border);
    background: var(--dark-card);
}

.logo-strip-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.partner-logo {
    height: 40px;
    width: auto;
    opacity: .7;
    transition: opacity var(--speed) var(--ease);
}

.partner-logo:hover { opacity: 1; }

.partner-logo-invert {
    filter: brightness(0) invert(1);
}

/* ── SECTION COMMON ─────────────────────────────────────────── */
.section-tag {
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: var(--space-xs);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.section-desc {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
}

/* ── SESSION CARDS ──────────────────────────────────────────── */
.sessions-section {
    padding: var(--space-xl) 0;
    text-align: center;
}

.session-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: var(--space-md);
    text-align: left;
}

.session-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: var(--space-md);
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--speed) var(--ease);
    cursor: pointer;
}

.session-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--amber));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--speed) var(--ease);
}

.session-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow:
        0 12px 40px rgba(0,0,0,.4),
        0 0 60px rgba(201, 168, 76, .06);
}

.session-card:hover::before { transform: scaleX(1); }

.card-number {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(201, 168, 76, .08);
    position: absolute;
    top: -8px; right: 16px;
    pointer-events: none;
    transition: color var(--speed) var(--ease);
}

.session-card:hover .card-number { color: rgba(201, 168, 76, .15); }

.card-badge {
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: var(--space-sm);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--space-sm);
}

.card-desc {
    font-size: .9rem;
    color: var(--text-muted);
    line-height: 1.7;
    flex: 1;
    margin-bottom: var(--space-sm);
}

.card-details {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-bottom: var(--space-sm);
}

.detail-chip {
    font-size: .7rem;
    font-weight: 500;
    padding: .3rem .75rem;
    border: 1px solid var(--dark-border);
    border-radius: 50px;
    color: var(--text-dim);
    transition: all var(--speed) var(--ease);
}

.session-card:hover .detail-chip {
    border-color: rgba(201, 168, 76, .3);
    color: var(--gold-light);
}

.card-arrow {
    font-size: 1.5rem;
    color: var(--gold);
    opacity: 0;
    transform: translateX(-8px);
    transition: all var(--speed) var(--ease);
    align-self: flex-end;
}

.session-card:hover .card-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ── SCHEDULE / TIMELINE ────────────────────────────────────── */
.schedule-section {
    padding: var(--space-xl) 0;
    text-align: center;
}

.timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 72px;
    top: 0; bottom: 0;
    width: 1px;
    background: var(--dark-border);
}

.timeline-item {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-sm) 0;
    position: relative;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 68px;
    top: 50%;
    transform: translateY(-50%);
    width: 9px; height: 9px;
    border-radius: 50%;
    background: var(--dark-border);
    border: 2px solid var(--dark);
    transition: all var(--speed) var(--ease);
}

.timeline-item.active::after {
    background: var(--gold);
    box-shadow: 0 0 12px rgba(201, 168, 76, .4);
    width: 11px; height: 11px;
    left: 67px;
}

.tl-time {
    flex: 0 0 56px;
    font-size: .85rem;
    font-weight: 600;
    color: var(--text-dim);
    text-align: right;
    padding-top: 2px;
}

.timeline-item.active .tl-time { color: var(--gold); }

.tl-content {
    padding-left: var(--space-md);
}

.tl-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.timeline-item.active .tl-content h4 { color: var(--gold-light); }

.tl-content p {
    font-size: .85rem;
    color: var(--text-muted);
}

/* ── FOOTER ─────────────────────────────────────────────────── */
.site-footer {
    padding: var(--space-lg) 0 var(--space-md);
    border-top: 1px solid var(--dark-border);
}

.footer-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-md);
    flex-wrap: wrap;
}

.footer-logo {
    height: 32px;
    width: auto;
    opacity: .5;
    transition: opacity var(--speed) var(--ease);
}

.footer-logo:hover { opacity: .8; }

.footer-logo-invert {
    filter: brightness(0) invert(1);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    text-align: center;
}

.footer-brand {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.footer-sub {
    font-size: .75rem;
    color: var(--text-dim);
    margin-top: 4px;
    letter-spacing: .08em;
}

.footer-links {
    display: flex;
    gap: var(--space-md);
}

.footer-links a {
    font-size: .8rem;
    color: var(--text-muted);
    transition: color var(--speed) var(--ease);
}

.footer-links a:hover { color: var(--gold); }

.footer-copy {
    font-size: .7rem;
    color: var(--text-dim);
    margin-top: var(--space-sm);
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 768px) {
    .nav-links { display: none; }

    .hero-meta {
        flex-direction: column;
        gap: var(--space-xs);
    }

    .session-grid {
        grid-template-columns: 1fr;
    }

    .timeline::before { left: 52px; }
    .timeline-item::after { left: 48px; }
    .timeline-item.active::after { left: 47px; }
    .tl-time { flex: 0 0 40px; font-size: .8rem; }
}
