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

:root {
  --bg:       #0B1220;
  --bg2:      #111927;
  --card:     #1A2E47;
  --card2:    #162440;
  --border:   #1E3554;
  --gold:     #D4A843;
  --gold-l:   #F0C96A;
  --teal:     #06B6D4;
  --teal-l:   #67E8F9;
  --purple:   #7C3AED;
  --purple-l: #A78BFA;
  --green:    #10B981;
  --ice:      #E8F4FD;
  --ice2:     #A8C0D8;
  --muted:    #4A6FA5;
  --radius:   12px;
  --radius-lg: 20px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--ice);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── Particles canvas ──────────────────────────────────────────────────── */
#particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

/* ── Layout ────────────────────────────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--purple) 0%, #5B21B6 100%);
  color: #fff;
  padding: 14px 28px;
  font-size: 15px;
  box-shadow: 0 4px 20px rgba(124,58,237,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(124,58,237,0.5);
}

.btn-outline {
  background: transparent;
  color: var(--ice2);
  border: 1px solid var(--border);
  padding: 10px 20px;
  font-size: 14px;
}
.btn-outline:hover {
  border-color: var(--purple-l);
  color: var(--ice);
}

.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-full { width: 100%; }

/* ── Header ────────────────────────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(11,18,32,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(30,53,84,0.6);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ── Logo ──────────────────────────────────────────────────────────────── */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 800;
  color: var(--ice);
  text-decoration: none;
}
.logo-icon { font-size: 22px; }
.logo-accent { color: var(--gold); }

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero {
  padding: 160px 0 100px;
  text-align: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(124,58,237,0.18) 0%, transparent 70%);
  pointer-events: none;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212,168,67,0.1);
  border: 1px solid rgba(212,168,67,0.3);
  color: var(--gold-l);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 28px;
  letter-spacing: 0.3px;
}
.badge-dot {
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

/* Headline */
.hero-title {
  font-size: clamp(42px, 7vw, 80px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  color: var(--ice);
}

.gradient-text {
  background: linear-gradient(135deg, var(--teal) 0%, var(--purple-l) 60%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--ice2);
  max-width: 580px;
  margin: 0 auto 52px;
  line-height: 1.7;
}

/* ── Countdown ─────────────────────────────────────────────────────────── */
.countdown-wrap {
  margin-bottom: 48px;
}

.countdown-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--muted);
  margin-bottom: 16px;
  font-weight: 600;
}

.countdown {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(26,46,71,0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 36px;
  backdrop-filter: blur(8px);
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 70px;
}

.countdown-num {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  line-height: 1;
  color: var(--ice);
  font-variant-numeric: tabular-nums;
  letter-spacing: -2px;
  text-shadow: 0 0 30px rgba(124,58,237,0.4);
}

.countdown-unit {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 6px;
  font-weight: 500;
}

.countdown-sep {
  font-size: 40px;
  font-weight: 900;
  color: var(--border);
  line-height: 1;
  margin-top: -10px;
}

/* ── Notify form ───────────────────────────────────────────────────────── */
.hero-cta { max-width: 480px; margin: 0 auto; }

.notify-form {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.notify-input {
  flex: 1;
  background: rgba(26,46,71,0.8);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--ice);
  font-family: inherit;
  font-size: 15px;
  padding: 14px 18px;
  outline: none;
  transition: border-color 0.2s;
}
.notify-input::placeholder { color: var(--muted); }
.notify-input:focus { border-color: var(--purple); }

.notify-hint {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

.notify-success {
  display: none;
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.3);
  color: #6ee7b7;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  margin-top: 4px;
}
.notify-success.show { display: block; }

/* ── Section titles ────────────────────────────────────────────────────── */
.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  text-align: center;
  margin-bottom: 14px;
  color: var(--ice);
  letter-spacing: -0.5px;
}

.section-sub {
  text-align: center;
  color: var(--ice2);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto 60px;
  line-height: 1.7;
}

/* ── Features ──────────────────────────────────────────────────────────── */
.features {
  padding: 80px 0 100px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--card2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  gap: 18px;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.feature-card:hover {
  border-color: rgba(124,58,237,0.45);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}

/* last card full-width if grid has 5 items → make 2+3 layout */
.feature-card:nth-child(4) { grid-column: 1; }
.feature-card:nth-child(5) { grid-column: 2; }
.feature-card--cta         { grid-column: 3; grid-row: 2; }

.feature-icon {
  font-size: 28px;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-body { flex: 1; }

.feature-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ice);
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 13.5px;
  color: var(--ice2);
  margin-bottom: 14px;
  line-height: 1.6;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.feature-list li {
  font-size: 12.5px;
  color: var(--muted);
  padding-left: 16px;
  position: relative;
}
.feature-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--purple-l);
}

/* CTA card */
.feature-card--cta {
  background: linear-gradient(145deg, rgba(124,58,237,0.2) 0%, rgba(6,182,212,0.1) 100%);
  border-color: rgba(124,58,237,0.4);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0;
}

.feature-cta-icon {
  font-size: 40px;
  margin-bottom: 16px;
}
.feature-cta-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--ice);
  margin-bottom: 10px;
  line-height: 1.3;
}
.feature-cta-sub {
  font-size: 13px;
  color: var(--ice2);
  margin-bottom: 20px;
  line-height: 1.6;
}

/* ── Roadmap ───────────────────────────────────────────────────────────── */
.roadmap {
  padding: 80px 0 100px;
  background: linear-gradient(180deg, transparent 0%, rgba(17,25,39,0.5) 50%, transparent 100%);
}

.timeline {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, var(--purple) 0%, var(--teal) 50%, var(--border) 100%);
}

.timeline-item {
  display: flex;
  gap: 28px;
  margin-bottom: 44px;
  position: relative;
}
.timeline-item:last-child { margin-bottom: 0; }

.timeline-dot {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--bg2);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: all 0.3s;
  margin-top: 2px;
}

.timeline-item--done .timeline-dot {
  background: var(--green);
  border-color: var(--green);
  box-shadow: 0 0 16px rgba(16,185,129,0.4);
}
.timeline-item--done .timeline-dot::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.timeline-item--active .timeline-dot {
  background: var(--purple);
  border-color: var(--purple);
  box-shadow: 0 0 20px rgba(124,58,237,0.5);
  animation: pulse-dot 2.5s infinite;
}
.timeline-item--active .timeline-dot::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(124,58,237,0.3);
  animation: pulse-ring 2.5s infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 16px rgba(124,58,237,0.5); }
  50%       { box-shadow: 0 0 28px rgba(124,58,237,0.8); }
}
@keyframes pulse-ring {
  0%   { transform: scale(1);   opacity: 0.6; }
  100% { transform: scale(1.5); opacity: 0; }
}

.timeline-content {
  flex: 1;
  padding-bottom: 10px;
}

.timeline-tag {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(74,111,165,0.2);
  color: var(--muted);
  border: 1px solid rgba(74,111,165,0.3);
  margin-bottom: 10px;
}
.timeline-tag--done {
  background: rgba(16,185,129,0.15);
  color: #6ee7b7;
  border-color: rgba(16,185,129,0.3);
}
.timeline-tag--active {
  background: rgba(124,58,237,0.2);
  color: var(--purple-l);
  border-color: rgba(124,58,237,0.4);
}

.timeline-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ice);
  margin-bottom: 8px;
}

.timeline-desc {
  font-size: 14px;
  color: var(--ice2);
  line-height: 1.7;
}

/* ── Footer ────────────────────────────────────────────────────────────── */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-size: 13px;
  color: var(--muted);
}

.footer-email {
  font-size: 13px;
  color: var(--teal);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-email:hover { color: var(--teal-l); }

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
  .feature-card:nth-child(4),
  .feature-card:nth-child(5),
  .feature-card--cta {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  .hero { padding: 120px 0 70px; }

  .countdown {
    padding: 16px 20px;
    gap: 4px;
  }
  .countdown-item { min-width: 56px; }
  .countdown-num { font-size: 32px; }
  .countdown-sep { font-size: 28px; }

  .notify-form { flex-direction: column; }

  .features-grid { grid-template-columns: 1fr; }
  .feature-card:nth-child(n),
  .feature-card--cta {
    grid-column: auto;
    grid-row: auto;
  }

  .header .btn { display: none; }

  .footer-inner { flex-direction: column; text-align: center; }

  .timeline::before { left: 15px; }
  .timeline-dot { width: 32px; height: 32px; }
}
