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

:root {
  --bg:        #0b0e17;
  --bg-2:      #0f1320;
  --bg-3:      #141826;
  --border:    rgba(255,255,255,0.07);
  --text:      #e2e8f0;
  --text-muted:#8892a4;
  --accent:    #f0b90b;
  --accent-2:  #f7d060;
  --blue:      #3b82f6;
  --green:     #22c55e;
  --red:       #ef4444;
  --radius:    12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Layout ── */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ── Nav ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11,14,23,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1120px; margin: 0 auto; padding: 0 24px; height: 64px;
}
.logo {
  display: flex; align-items: center; gap: 8px;
  font-size: 18px; font-weight: 700; color: var(--text);
  text-decoration: none; letter-spacing: -0.3px;
}
.logo-icon { color: var(--accent); font-size: 20px; }
.logo-accent { color: var(--accent); }
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  color: var(--text-muted); font-size: 14px; font-weight: 500;
  text-decoration: none; transition: color .2s;
}
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; gap: 10px; }

/* ── Buttons ── */
button, .btn-primary, .btn-ghost, .btn-outline {
  font-family: 'Inter', sans-serif;
  cursor: pointer; border: none; border-radius: 8px;
  font-size: 14px; font-weight: 600; transition: all .2s;
}
.btn-primary {
  background: var(--accent);
  color: #0b0e17;
  padding: 9px 20px;
}
.btn-primary:hover { background: var(--accent-2); transform: translateY(-1px); }
.btn-ghost {
  background: transparent; color: var(--text-muted);
  padding: 9px 16px;
}
.btn-ghost:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.btn-outline {
  background: transparent; color: var(--text);
  border: 1px solid var(--border);
  padding: 9px 20px;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 13px 28px; font-size: 15px; border-radius: 10px; }
.btn-full { width: 100%; padding: 13px; font-size: 15px; border-radius: 10px; margin-top: 4px; }

/* ── Badge ── */
.badge {
  display: inline-block;
  background: rgba(240,185,11,0.12);
  color: var(--accent);
  border: 1px solid rgba(240,185,11,0.25);
  border-radius: 100px;
  padding: 4px 14px;
  font-size: 12px; font-weight: 600; letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* ── Hero ── */
.hero {
  position: relative; overflow: hidden;
  padding: 100px 0 80px;
  text-align: center;
}
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(240,185,11,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-title {
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 700; line-height: 1.1;
  letter-spacing: -1.5px; margin-bottom: 20px;
}
.gradient-text {
  background: linear-gradient(90deg, var(--accent), #f97316);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  max-width: 580px; margin: 0 auto 36px;
  color: var(--text-muted); font-size: 17px; line-height: 1.7;
}
.hero-cta { display: flex; gap: 12px; justify-content: center; margin-bottom: 56px; }
.hero-stats {
  display: flex; gap: 0; justify-content: center; align-items: center;
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 16px; padding: 24px 40px; width: fit-content; margin: 0 auto;
}
.hero-stat { text-align: center; padding: 0 32px; }
.stat-value { display: block; font-size: 26px; font-weight: 700; color: var(--text); }
.stat-label { display: block; font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.hero-stat-divider { width: 1px; height: 40px; background: var(--border); flex-shrink: 0; }

/* ── Ticker ── */
.ticker-wrap {
  background: var(--bg-2); border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden; padding: 12px 0;
}
.ticker {
  display: flex; gap: 48px; white-space: nowrap;
  animation: ticker-scroll 30s linear infinite;
  font-size: 13px; font-weight: 500; color: var(--text-muted);
}
.ticker span { flex-shrink: 0; }
.green { color: var(--green); }
.red   { color: var(--red); }
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Sections ── */
.section { padding: 96px 0; }
.section-dark { background: var(--bg-2); }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700; letter-spacing: -0.8px; margin-bottom: 14px;
}
.section-header p { color: var(--text-muted); font-size: 16px; }

/* ── Features grid ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: border-color .2s, transform .2s;
}
.feature-card:hover { border-color: rgba(240,185,11,0.3); transform: translateY(-2px); }
.feature-icon { font-size: 28px; margin-bottom: 14px; }
.feature-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ── Stats grid ── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.stat-card {
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 24px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.stat-card-value { font-size: 36px; font-weight: 700; }
.stat-card-label { font-size: 14px; color: var(--text-muted); font-weight: 500; }
.stat-card-sub { font-size: 12px; color: var(--text-muted); }

/* ── Pricing ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px; align-items: start;
}
.pricing-card {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px; position: relative;
}
.pricing-card-featured {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(240,185,11,0.06) 0%, var(--bg-2) 60%);
}
.pricing-badge-top {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #0b0e17;
  font-size: 11px; font-weight: 700; padding: 3px 14px; border-radius: 100px;
  white-space: nowrap;
}
.pricing-tier { font-size: 13px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 8px; }
.pricing-price { font-size: 40px; font-weight: 700; margin-bottom: 24px; }
.pricing-price span { font-size: 16px; color: var(--text-muted); }
.pricing-features { list-style: none; margin-bottom: 28px; display: flex; flex-direction: column; gap: 10px; }
.pricing-features li { font-size: 14px; color: var(--text-muted); }
.pricing-features li:not(.dim) { color: var(--text); }

/* ── Footer ── */
.footer { border-top: 1px solid var(--border); padding: 32px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-copy { font-size: 13px; color: var(--text-muted); }

/* ── Modals ── */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.7); backdrop-filter: blur(6px);
  align-items: center; justify-content: center;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 18px; padding: 40px; width: 100%; max-width: 420px;
  position: relative; animation: modal-in .2s ease;
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(12px) scale(.97); }
  to   { opacity: 1; transform: none; }
}
.modal-close {
  position: absolute; top: 16px; right: 16px;
  background: none; border: none; color: var(--text-muted);
  font-size: 18px; cursor: pointer; padding: 4px 8px;
  border-radius: 6px; transition: background .2s;
}
.modal-close:hover { background: rgba(255,255,255,0.06); }
.modal-logo { font-size: 15px; font-weight: 700; color: var(--text-muted); margin-bottom: 20px; }
.modal-title { font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.modal-sub { font-size: 14px; color: var(--text-muted); margin-bottom: 28px; }
.modal-footer-text { text-align: center; font-size: 13px; color: var(--text-muted); margin-top: 20px; }
.modal-footer-text a { color: var(--accent); text-decoration: none; }

.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 500; color: var(--text-muted); margin-bottom: 6px; }
.form-group input {
  width: 100%; background: var(--bg-3); border: 1px solid var(--border);
  border-radius: 8px; padding: 11px 14px; color: var(--text);
  font-size: 14px; font-family: 'Inter', sans-serif;
  transition: border-color .2s; outline: none;
}
.form-group input:focus { border-color: var(--accent); }
.form-error {
  font-size: 13px; color: var(--red); min-height: 18px;
  margin-bottom: 14px; text-align: center;
}

/* ── Registration suspended ── */
.registration-suspended {
  text-align: center; padding: 8px 0 24px;
}
.suspended-icon { font-size: 40px; margin-bottom: 14px; }
.registration-suspended h3 { font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.registration-suspended p { font-size: 14px; color: var(--text-muted); margin-bottom: 8px; }
.suspended-sub { font-size: 13px !important; }
.waitlist-input {
  width: 100%; background: var(--bg-3); border: 1px solid var(--border);
  border-radius: 8px; padding: 11px 14px; color: var(--text);
  font-size: 14px; font-family: 'Inter', sans-serif;
  outline: none; margin: 16px 0 12px;
}
.waitlist-input:focus { border-color: var(--accent); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero-stats { flex-direction: column; gap: 16px; padding: 24px; }
  .hero-stat-divider { width: 60px; height: 1px; }
  .hero-cta { flex-direction: column; align-items: center; }
  .footer-inner { flex-direction: column; text-align: center; }
}
