/* ── Hero Section ────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: linear-gradient(145deg, #080C14 0%, #0D1421 55%, #101826 100%);
  overflow: hidden;
  padding-top: var(--nav-height);
}

/* SVG route lines */
.hero__routes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

@keyframes dash-travel {
  to { stroke-dashoffset: -300; }
}

.route-line {
  animation: dash-travel 10s linear infinite;
}
.route-line--2 { animation-duration: 14s; animation-delay: -4s; }
.route-line--3 { animation-duration: 18s; animation-delay: -8s; }
.route-line--4 { animation-duration: 22s; animation-delay: -2s; }
.route-line--5 { animation-duration: 12s; animation-delay: -6s; }

/* Radial glow at center */
.hero::before {
  content: '';
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
  top: 50%;
  left: 40%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* Bottom fade to next section */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--color-bg-deepest));
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-20) var(--space-6) var(--space-24);
}

/* ── Hero Content ───────────────────────────────────────────────────────── */

.hero__content {
  max-width: 580px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border-gold);
  background: var(--color-gold-glow);
  color: var(--color-gold-primary);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-6);
}

.hero__eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-gold-primary);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

.hero__headline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(3rem, 6vw, 5.2rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--color-text-primary);
  margin-bottom: var(--space-6);
}

.hero__headline em {
  font-style: normal;
  color: var(--color-gold-primary);
  position: relative;
}

.hero__sub {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-8);
  max-width: 480px;
}

.hero__ctas {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-bottom: var(--space-10);
}

/* ── Hero Stats Bar ─────────────────────────────────────────────────────── */

.hero__stats-bar {
  display: flex;
  gap: var(--space-6);
  padding: var(--space-5) var(--space-6);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-divider {
  width: 1px;
  background: var(--color-border);
  flex-shrink: 0;
}

.stat-value {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--color-gold-primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* ── Hero Visual (floating cards) ───────────────────────────────────────── */

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 520px;
}

@keyframes float-card-1 {
  0%, 100% { transform: translateY(0px) rotate(-4deg); }
  50%       { transform: translateY(-16px) rotate(-4deg); }
}

@keyframes float-card-2 {
  0%, 100% { transform: translateY(-8px) rotate(3deg); }
  50%       { transform: translateY(8px) rotate(3deg); }
}

@keyframes float-card-3 {
  0%, 100% { transform: translateY(4px) rotate(-1deg); }
  50%       { transform: translateY(-12px) rotate(-1deg); }
}

.hero-card {
  position: absolute;
  width: 260px;
  height: 160px;
  border-radius: 14px;
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(255,255,255,0.08) inset;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-card--1 {
  background: linear-gradient(135deg, #0f3460 0%, #16213e 50%, #1a1a2e 100%);
  top: 60px;
  left: -20px;
  animation: float-card-1 6s ease-in-out infinite;
  z-index: 2;
}

.hero-card--2 {
  background: linear-gradient(135deg, #2c2c2c 0%, #4a4a4a 40%, #1a1a1a 100%);
  top: 180px;
  right: 0px;
  animation: float-card-2 8s ease-in-out infinite;
  z-index: 3;
}

.hero-card--3 {
  background: linear-gradient(135deg, #064e3b 0%, #065f46 50%, #047857 100%);
  bottom: 60px;
  left: 20px;
  animation: float-card-3 7s ease-in-out infinite;
  z-index: 1;
}

.hero-card__chip {
  width: 28px;
  height: 22px;
  border-radius: 4px;
  background: linear-gradient(135deg, #D4AF37 0%, #8C7523 100%);
  box-shadow: 0 2px 6px rgba(212, 175, 55, 0.4);
}

.hero-card__label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.hero-card__bonus {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 500;
  color: #fff;
}

.hero-card__name {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}

.hero-card__dots {
  display: flex;
  gap: 4px;
}

.hero-card__dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
}

/* ── Navbar ──────────────────────────────────────────────────────────────── */

#main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background var(--transition-base), border-color var(--transition-base), backdrop-filter var(--transition-base);
  border-bottom: 1px solid transparent;
}

#main-header.scrolled {
  background: rgba(8, 12, 20, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--color-border-gold);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.nav__wordmark {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-text-primary);
  letter-spacing: 0.02em;
}

.nav__wordmark span {
  color: var(--color-gold-primary);
}

.nav__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-gold-primary);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav__link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
}

.nav__link:hover {
  color: var(--color-text-primary);
}

.nav__cta {
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
  background: var(--color-gold-primary);
  color: #080C14;
  font-size: 0.85rem;
  font-weight: 700;
  transition: all var(--transition-base);
}

.nav__cta:hover {
  background: var(--color-gold-light);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

/* Mobile toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  background: none;
  border: none;
  cursor: pointer;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.nav__toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__toggle.is-active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav__toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
