/* ═══════════════════════════════════════════════
   EXPERIUM — SHARED DESIGN SYSTEM
   New brand: Emporium-first, FPV Racing hero
═══════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700;800;900&family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

:root {
  --carbon:      #0A0A0B;
  --surface:     #111114;
  --surface2:    #18181D;
  --surface3:    #1E1E25;
  --teal:        #00D4B1;
  --teal-dim:    rgba(0,212,177,0.12);
  --gold:        #F5A623;
  --gold-dim:    rgba(245,166,35,0.12);
  --crimson:     #FF2D55;
  --crimson-dim: rgba(255,45,85,0.12);
  --silver:      #9090A0;
  --white:       #EEEEE8;
  --teal-glow:   0 0 24px rgba(0,212,177,0.35), 0 0 48px rgba(0,212,177,0.12);
  --gold-glow:   0 0 24px rgba(245,166,35,0.4),  0 0 48px rgba(245,166,35,0.15);
  --crimson-glow:0 0 24px rgba(255,45,85,0.45),  0 0 48px rgba(255,45,85,0.18);
  --border:      rgba(255,255,255,0.07);
  --border-teal: rgba(0,212,177,0.2);
  --syne:       'Syne', sans-serif;
  --dm:         'DM Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--carbon);
  color: var(--white);
  font-family: var(--dm);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--carbon); }
::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 2px; }

/* ── TYPOGRAPHY HELPERS ── */
.exp-display {
  font-family: var(--syne);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.exp-label {
  font-family: var(--syne);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--teal);
}
.exp-label-gold {
  font-family: var(--syne);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── BUTTONS ── */
.btn-primary {
  font-family: var(--syne);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--crimson);
  color: #fff;
  border: none;
  padding: 15px 34px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
  transition: box-shadow 0.25s, transform 0.15s;
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.45s;
}
.btn-primary:hover::after { transform: translateX(100%); }
.btn-primary:hover { box-shadow: var(--crimson-glow); transform: translateY(-2px); }

.btn-outline {
  font-family: var(--syne);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: transparent;
  color: var(--teal);
  border: 1.5px solid var(--teal);
  padding: 13px 34px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
  transition: background 0.25s, box-shadow 0.25s, transform 0.15s;
}
.btn-outline:hover {
  background: rgba(0,212,177,0.08);
  box-shadow: var(--teal-glow);
  transform: translateY(-2px);
}

.btn-gold {
  font-family: var(--syne);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--gold);
  color: #0A0A0B;
  border: none;
  padding: 15px 34px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
  transition: box-shadow 0.25s, transform 0.15s;
}
.btn-gold:hover { box-shadow: var(--gold-glow); transform: translateY(-2px); }

.btn-nav {
  font-family: var(--syne);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--crimson);
  color: #fff;
  border: none;
  padding: 10px 22px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  transition: box-shadow 0.2s, transform 0.15s;
}
.btn-nav:hover { box-shadow: var(--crimson-glow); transform: translateY(-1px); }

/* ── NAV ── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10,10,11,0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-teal);
  padding: 0 40px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s;
}
.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
  gap: 2px;
}
.nav-wordmark {
  font-family: 'Orbitron', sans-serif;
  font-weight: 800;
  font-size: 26px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
  text-shadow: var(--teal-glow);
}
.nav-sub {
  font-family: var(--syne);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--silver);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-family: var(--syne);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--silver);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--teal);
  transform: scaleX(0);
  transition: transform 0.25s;
}
.nav-links a:hover { color: var(--teal); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--teal); }

/* ── HAMBURGER ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--teal);
  transition: 0.3s;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: rgba(10,10,11,0.98);
  border-bottom: 1px solid var(--border-teal);
  padding: 24px 40px;
  z-index: 999;
  flex-direction: column;
  gap: 0;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--syne);
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--teal); }
.mobile-menu .btn-nav { margin-top: 20px; text-align: center; }

/* ── LAYOUT ── */
section { padding: 100px 0; }
.container { max-width: 1260px; margin: 0 auto; padding: 0 40px; }

.section-eyebrow {
  display: block;
  font-family: var(--syne);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Orbitron', sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 5.5vw, 68px);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--white);
  line-height: 0.95;
  margin-bottom: 18px;
}
.section-title span { color: var(--teal); }
.section-title .gold { color: var(--gold); }
.section-sub {
  color: var(--silver);
  font-size: 16px;
  font-weight: 300;
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 56px;
}

/* ── DIVIDERS ── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  opacity: 0.18;
}
.racing-divider {
  position: relative;
  height: 32px;
  overflow: hidden;
  background: var(--carbon);
}
.racing-divider::before {
  content: '';
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(0,212,177,0.3) 20%, var(--teal) 50%, rgba(0,212,177,0.3) 80%, transparent 100%);
}
.racing-divider::after {
  content: '◆';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  color: var(--teal);
  font-size: 9px;
  background: var(--carbon);
  padding: 0 16px;
}

/* ── REVEAL ANIMATION ── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ── FOOTER ── */
footer {
  background: #060607;
  border-top: 1px solid var(--border-teal);
  padding: 64px 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .wordmark {
  font-family: var(--syne);
  font-weight: 800;
  font-size: 32px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
  text-shadow: var(--teal-glow);
  display: block;
  margin-bottom: 4px;
}
.footer-brand .sub {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--silver);
  display: block;
  font-family: var(--syne);
  font-weight: 600;
  margin-bottom: 16px;
}
.footer-brand p { font-size: 14px; color: var(--silver); line-height: 1.7; max-width: 280px; margin-bottom: 20px; }
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 38px; height: 38px;
  border: 1px solid rgba(0,212,177,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; text-decoration: none;
  color: var(--silver);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s, color 0.2s;
}
.social-link:hover { border-color: var(--teal); box-shadow: var(--teal-glow); transform: translateY(-3px); color: var(--teal); }
.footer-col h4 {
  font-family: var(--syne);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 14px; color: var(--silver); text-decoration: none; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--teal); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.25); }
.legal-links { display: flex; gap: 20px; }
.legal-links a { font-size: 12px; color: rgba(255,255,255,0.25); text-decoration: none; transition: color 0.2s; }
.legal-links a:hover { color: var(--teal); }

/* ── LIGHT TRAIL (hero bg) ── */
.light-trail {
  position: absolute;
  height: 1.5px;
  width: 200px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  border-radius: 2px;
  opacity: 0;
  animation: trailMove 4s linear infinite;
}
.lt-gold { background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.lt-red   { background: linear-gradient(90deg, transparent, var(--crimson), transparent); }
.lt1 { top: 28%; animation-delay: 0s;   animation-duration: 3.5s; }
.lt2 { top: 52%; animation-delay: 1.1s; animation-duration: 4.2s; width: 300px; }
.lt3 { top: 70%; animation-delay: 2.4s; animation-duration: 3.8s; }
.lt4 { top: 18%; animation-delay: 3.7s; animation-duration: 5s;   width: 150px; }
.lt5 { top: 42%; animation-delay: 0.7s; animation-duration: 4.5s; width: 240px; }
@keyframes trailMove {
  0%   { left: -20%; opacity: 0; }
  10%  { opacity: 0.7; }
  90%  { opacity: 0.5; }
  100% { left: 120%; opacity: 0; }
}
.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,177,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,177,0.035) 1px, transparent 1px);
  background-size: 80px 80px;
}

/* ── GOLD TAG ── */
.exp-tag {
  display: inline-block;
  font-family: var(--syne);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
}
.exp-tag-teal  { background: var(--teal-dim);   color: var(--teal);   border: 1px solid var(--border-teal); }
.exp-tag-gold  { background: var(--gold-dim);   color: var(--gold);   border: 1px solid rgba(245,166,35,0.3); }
.exp-tag-red   { background: var(--crimson-dim); color: var(--crimson); border: 1px solid rgba(255,45,85,0.3); }

/* ── RESPONSIVE NAV ── */
@media (max-width: 860px) {
  .nav-links, .btn-nav { display: none; }
  .hamburger { display: flex; }
  #nav { padding: 0 24px; }
}
@media (max-width: 700px) {
  section { padding: 70px 0; }
  .container { padding: 0 20px; }
  .mobile-menu { padding: 20px 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
}
