/* ═══════════════════════════════════════════
   SUPERBOWLNASHVILLE.LIVE — Design System
   ═══════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@400;700;900&display=swap');

:root {
  --gold: #D4A843;
  --gold-light: #E8C96A;
  --gold-dark: #A07D2E;
  --navy: #0A1628;
  --navy-light: #132240;
  --navy-mid: #1A2D4A;
  --surface: #111B2E;
  --surface-alt: #162036;
  --text: #F0EDE6;
  --text-muted: #8A94A6;
  --accent-blue: #4A90D9;
  --accent-red: #C0392B;
  --glass-bg: rgba(15, 25, 45, 0.65);
  --glass-border: rgba(212, 168, 67, 0.15);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --glow: 0 0 40px rgba(212, 168, 67, 0.15);
}

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

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

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--navy);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Loading Screen ── */
.loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--navy);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  transition: opacity 0.6s, visibility 0.6s;
}
.loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-ring {
  width: 60px; height: 60px;
  border: 3px solid var(--navy-light);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.loader-text {
  margin-top: 20px; font-size: 0.85rem;
  color: var(--text-muted); letter-spacing: 3px; text-transform: uppercase;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Navigation ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 40px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background 0.4s, backdrop-filter 0.4s, padding 0.4s;
}
.nav.scrolled {
  background: rgba(10, 22, 40, 0.88);
  backdrop-filter: blur(20px);
  padding: 12px 40px;
  border-bottom: 1px solid var(--glass-border);
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem; font-weight: 700; color: var(--gold);
  text-decoration: none;
}
.nav-logo span { color: var(--text); font-weight: 400; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  color: var(--text-muted); text-decoration: none;
  font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.5px; transition: color var(--transition);
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy) !important; padding: 10px 24px;
  border-radius: 50px; font-weight: 700 !important;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: var(--glow); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--gold); margin: 5px 0;
  transition: var(--transition);
}

/* ── Hero ── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('images/nashville-aerial.png') center/cover no-repeat;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10,22,40,0.5) 0%,
    rgba(10,22,40,0.7) 50%,
    var(--navy) 100%
  );
}
#hero-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 1;
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center; max-width: 900px; padding: 0 24px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  padding: 8px 20px; border-radius: 50px;
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 28px;
  opacity: 0; transform: translateY(20px);
}
.hero-badge .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.5); }
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900; line-height: 1.05;
  margin-bottom: 20px;
  opacity: 0; transform: translateY(30px);
}
.hero h1 .gold { color: var(--gold); }
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted); max-width: 600px;
  margin: 0 auto 36px; line-height: 1.7;
  opacity: 0; transform: translateY(20px);
}
.hero-actions {
  display: flex; gap: 16px;
  justify-content: center; flex-wrap: wrap;
  opacity: 0; transform: translateY(20px);
}
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 36px; border-radius: 50px;
  font-size: 0.95rem; font-weight: 700;
  text-decoration: none; cursor: pointer;
  transition: all var(--transition); border: none;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(212,168,67,0.3); }
.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(212,168,67,0.4);
  color: var(--gold);
}
.btn-outline:hover { background: rgba(212,168,67,0.1); transform: translateY(-3px); }

/* ── Countdown ── */
.countdown {
  display: flex; gap: 20px; justify-content: center;
  margin-top: 48px;
  opacity: 0; transform: translateY(20px);
}
.countdown-item {
  text-align: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  padding: 16px 20px; border-radius: var(--radius-sm);
  min-width: 80px;
}
.countdown-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; font-weight: 700; color: var(--gold);
  line-height: 1;
}
.countdown-label {
  font-size: 0.65rem; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 2px; margin-top: 6px;
}

/* ── Stats Bar ── */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--surface);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}
.stat {
  text-align: center; padding: 40px 20px;
  border-right: 1px solid var(--glass-border);
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem; font-weight: 700; color: var(--gold);
}
.stat-label {
  font-size: 0.8rem; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 1.5px; margin-top: 6px;
}

/* ── Section Common ── */
section { padding: 100px 40px; }
.section-header {
  text-align: center; max-width: 700px;
  margin: 0 auto 60px;
}
.section-tag {
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; margin-bottom: 16px;
}
.section-desc {
  font-size: 1rem; color: var(--text-muted); line-height: 1.7;
}

/* ── Explore Cards ── */
.cards-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; max-width: 1200px; margin: 0 auto;
}
.card {
  background: var(--surface-alt);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--glow); border-color: rgba(212,168,67,0.3); }
.card-img {
  width: 100%; height: 220px; object-fit: cover;
  transition: transform 0.6s;
}
.card:hover .card-img { transform: scale(1.05); }
.card-img-wrap { overflow: hidden; }
.card-body { padding: 28px; }
.card-label {
  font-size: 0.7rem; font-weight: 600;
  color: var(--gold); text-transform: uppercase;
  letter-spacing: 2px; margin-bottom: 10px;
}
.card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem; font-weight: 700; margin-bottom: 10px;
}
.card-text { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }
.card-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--gold); text-decoration: none;
  font-size: 0.85rem; font-weight: 600; margin-top: 16px;
  transition: gap var(--transition);
}
.card-link:hover { gap: 12px; }

/* ── Split Section ── */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
  max-width: 1200px; margin: 0 auto;
}
.split-img {
  border-radius: var(--radius);
  width: 100%; height: auto;
  border: 1px solid var(--glass-border);
}
.split-tag { font-size: 0.75rem; font-weight: 600; color: var(--gold); letter-spacing: 3px; text-transform: uppercase; margin-bottom: 12px; }
.split-title { font-family: 'Playfair Display', serif; font-size: 2.2rem; font-weight: 700; margin-bottom: 16px; }
.split-text { color: var(--text-muted); line-height: 1.7; margin-bottom: 24px; }
.split-features { list-style: none; display: grid; gap: 12px; margin-bottom: 28px; }
.split-features li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.9rem; color: var(--text-muted);
}
.split-features li::before {
  content: '✦'; color: var(--gold); font-size: 0.7rem;
}

/* ── Pricing Tiers ── */
.tiers {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; max-width: 1100px; margin: 0 auto;
}
.tier {
  background: var(--surface-alt);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 40px 32px; text-align: center;
  transition: all var(--transition);
  position: relative;
}
.tier.featured {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(212,168,67,0.08), var(--surface-alt));
}
.tier.featured::before {
  content: 'MOST POPULAR'; position: absolute; top: -12px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy); font-size: 0.65rem; font-weight: 800;
  padding: 4px 16px; border-radius: 50px; letter-spacing: 1.5px;
}
.tier:hover { transform: translateY(-6px); box-shadow: var(--glow); }
.tier-name { font-size: 0.8rem; font-weight: 600; color: var(--gold); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px; }
.tier-price { font-family: 'Playfair Display', serif; font-size: 3rem; font-weight: 700; color: var(--text); }
.tier-price span { font-size: 1rem; color: var(--text-muted); font-family: 'Inter', sans-serif; }
.tier-desc { font-size: 0.85rem; color: var(--text-muted); margin: 12px 0 24px; }
.tier-features { list-style: none; text-align: left; margin-bottom: 28px; }
.tier-features li { padding: 8px 0; font-size: 0.85rem; color: var(--text-muted); border-bottom: 1px solid rgba(255,255,255,0.05); display: flex; align-items: center; gap: 8px; }
.tier-features li::before { content: '✓'; color: var(--gold); font-weight: 700; }

/* ── Newsletter ── */
.newsletter {
  text-align: center; max-width: 600px;
  margin: 0 auto; padding: 80px 24px;
}
.newsletter-form {
  display: flex; gap: 12px; margin-top: 28px;
}
.newsletter-form input {
  flex: 1; padding: 14px 20px;
  background: var(--surface-alt);
  border: 1px solid var(--glass-border);
  border-radius: 50px; color: var(--text);
  font-size: 0.9rem; outline: none;
  transition: border-color var(--transition);
}
.newsletter-form input:focus { border-color: var(--gold); }
.newsletter-form input::placeholder { color: var(--text-muted); }

/* ── Footer ── */
.footer {
  padding: 60px 40px 30px;
  border-top: 1px solid var(--glass-border);
  background: var(--surface);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; max-width: 1200px; margin: 0 auto;
}
.footer-brand { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--gold); margin-bottom: 12px; }
.footer-about { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }
.footer-heading { font-size: 0.75rem; font-weight: 600; color: var(--gold); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.85rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--gold); }
.footer-bar {
  text-align: center; padding-top: 30px; margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 0.8rem; color: var(--text-muted);
}
.footer-ecosystem { display: flex; gap: 20px; justify-content: center; margin-top: 10px; }
.footer-ecosystem a { color: var(--gold); text-decoration: none; font-size: 0.8rem; }

/* ── Scroll Reveal ── */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s, transform 0.8s; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Accessibility (UI/UX Pro Max) ── */
.btn, .card, .card-link, .nav-links a, .nav-cta, .nav-toggle, .tier { cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .cards-grid, .tiers { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  section { padding: 60px 20px; }
  .nav { padding: 14px 20px; }
  .nav-links { display: none; position: fixed; top: 0; right: 0; bottom: 0; width: 280px; background: var(--navy-light); flex-direction: column; padding: 80px 30px; gap: 24px; z-index: 99; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; z-index: 100; }
  .cards-grid, .tiers { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--glass-border); }
  .countdown { gap: 10px; }
  .countdown-item { min-width: 65px; padding: 12px 10px; }
  .countdown-num { font-size: 1.5rem; }
  .newsletter-form { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
}
