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

/* ── TOKENS ── */
:root {
  --bg: #0c0e13;
  --bg-card: #14171e;
  --bg-card-hover: #1a1e28;
  --border: #242938;
  --text: #e2e4ea;
  --text-dim: #7a8194;
  --accent: #4af0c0;
  --accent-dim: rgba(74, 240, 192, 0.1);
  --accent-glow: rgba(74, 240, 192, 0.25);
  --orange: #f0944a;
}

/* ── BASE ── */
html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; width: 100%; z-index: 100;
  padding: 1.25rem 2rem;
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(12, 14, 19, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700; font-size: 1.3rem;
  color: var(--accent);
  letter-spacing: 0.08em;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 8rem 2rem 4rem;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  opacity: 0.3; pointer-events: none;
}
.app-icon {
  width: clamp(160px, 26vw, 220px);
  height: clamp(160px, 26vw, 220px);
  border-radius: 26%;
  background: linear-gradient(145deg, #1c2030 0%, #0e1018 100%);
  border: 1px solid var(--border);
  box-shadow:
    0 0 0 1px rgba(74, 240, 192, 0.12),
    0 12px 48px rgba(0, 0, 0, 0.7),
    0 0 80px rgba(74, 240, 192, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2.5rem;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}
.app-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(255,255,255,0.05) 0%, transparent 50%);
  pointer-events: none;
  border-radius: inherit;
}
.hero-icon {
  width: 88%;
  height: 88%;
  object-fit: contain;
}
.hero-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem; font-weight: 600;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(74, 240, 192, 0.2);
  padding: 0.35rem 1rem;
  border-radius: 100px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}
.hero h1 {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}
.hero h1 span { color: var(--accent); }
.hero-sub {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 300;
  color: var(--text-dim);
  max-width: 580px;
  margin: 1rem auto 2.5rem;
  line-height: 1.5;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.9rem 2.2rem;
  background: var(--accent);
  color: var(--bg);
  font-family: 'Outfit', sans-serif;
  font-weight: 700; font-size: 1.05rem;
  border: none; border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px var(--accent-glow);
}
.hero-price-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-dim);
}
.hero-platforms {
  margin-top: 3rem;
  display: flex; gap: 2rem; align-items: center;
  color: var(--text-dim);
  font-size: 0.85rem;
  font-weight: 400;
}
.hero-platforms svg {
  width: 20px; height: 20px;
  fill: var(--text-dim);
  flex-shrink: 0;
}
.hero-platforms .plat {
  display: flex; align-items: center; gap: 0.45rem;
}

/* ── SECTION SHARED ── */
section { padding: 6rem 2rem; }
.container { max-width: 960px; margin: 0 auto; }
.section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

/* ── HOW IT WORKS ── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}
.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  position: relative;
  transition: background 0.25s, border-color 0.25s;
}
.step:hover {
  background: var(--bg-card-hover);
  border-color: rgba(74, 240, 192, 0.2);
}
.step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 1rem;
}
.step h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.step p {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.5;
}

/* ── FEATURES ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}
.feature {
  display: flex; gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: background 0.25s, border-color 0.25s;
}
.feature:hover {
  background: var(--bg-card-hover);
  border-color: rgba(74, 240, 192, 0.2);
}
.feature-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-dim);
  border-radius: 8px;
}
.feature-icon svg {
  width: 20px; height: 20px;
  stroke: var(--text-dim);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.feature p {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.45;
}

/* ── INDIE NOTE ── */
.indie-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.indie-card {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem 0;
}
.indie-card .tea {
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.indie-card .tea svg {
  width: 48px; height: 48px;
  stroke: var(--text-dim);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.indie-card h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.indie-card p {
  font-size: 1rem;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 0.75rem;
  text-align: left;
}
.indie-card .price-tag {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.75rem 2rem;
  border: 2px solid var(--accent);
  border-radius: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
}
.price-tag small {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-dim);
  margin-top: 0.25rem;
  letter-spacing: 0.05em;
}

/* ── FINAL CTA ── */
.final-cta {
  text-align: center;
  padding: 6rem 2rem;
}
.final-cta h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 1rem;
}
.final-cta p {
  color: var(--text-dim);
  font-size: 1rem;
  margin-bottom: 2rem;
  max-width: 480px;
  margin-left: auto; margin-right: auto;
}

/* ── FOOTER ── */
footer {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  nav { padding: 1rem 1.25rem; }
  .hero { padding: 7rem 1.25rem 3rem; }
  section { padding: 4rem 1.25rem; }
  .hero-platforms { flex-direction: column; gap: 0.75rem; }
  .steps { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.app-icon, .hero-badge, .hero h1, .hero-sub, .hero-cta, .hero-price-note, .hero-platforms {
  animation: fadeUp 0.6s ease-out both;
}
.hero-badge { animation-delay: 0.05s; }
.hero h1 { animation-delay: 0.1s; }
.hero-sub { animation-delay: 0.2s; }
.hero-cta { animation-delay: 0.3s; }
.hero-price-note { animation-delay: 0.35s; }
.hero-platforms { animation-delay: 0.4s; }

/* ── CARD PAGES (success / cancel) ── */
.card-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card {
  text-align: center;
  max-width: 480px;
  padding: 3rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.card h1 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.card p {
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}
.card a {
  color: var(--accent);
  text-decoration: none;
}
.card a:hover { text-decoration: underline; }

/* ── SUCCESS PAGE ── */
.check {
  width: 64px; height: 64px;
  margin: 0 auto 1.5rem;
  background: var(--accent-dim);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.check svg { stroke: var(--accent); }
.email-note {
  margin-top: 1.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  display: inline-block;
}
.success-page .back {
  display: inline-block;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ── CANCEL PAGE ── */
.cancel-page .back {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.65rem 1.6rem;
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.cancel-page .back:hover {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(74, 240, 192, 0.25);
}
