/* DoomToll Phase 0 — Interstitial & Setup Guide Styles */

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

:root {
  --bg: #0a0a0a;
  --surface: #1a1a1a;
  --border: #2a2a2a;
  --text: #f5f5f5;
  --text-muted: #888;
  --pay-color: #ef4444;
  --pay-hover: #dc2626;
  --pay-disabled: #7f1d1d;
  --grass-color: #22c55e;
  --grass-hover: #16a34a;
  --accent: #fbbf24;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'SF Mono', SFMono-Regular, Menlo, Consolas, monospace;
}

html,
body {
  height: 100%;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

/* ── Screens ─────────────────────────────── */

.screen {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  padding-top: env(safe-area-inset-top, 24px);
  padding-bottom: env(safe-area-inset-bottom, 24px);
}

.hidden {
  display: none !important;
}

/* ── Interstitial ────────────────────────── */

.interstitial-card {
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.app-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.app-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  overflow: hidden;
}

.app-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-name {
  font-size: 14px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ── Stats ────────────────────────────────── */

.stats {
  display: flex;
  gap: 24px;
  justify-content: center;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-value {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
}

.stat-value.money {
  color: var(--accent);
}

.stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

/* ── Buttons ─────────────────────────────── */

.actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn {
  width: 100%;
  padding: 18px 24px;
  border: none;
  border-radius: 14px;
  font-family: var(--font);
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, opacity 0.15s, transform 0.1s;
  -webkit-appearance: none;
  appearance: none;
  touch-action: manipulation;
}

.btn:active {
  transform: scale(0.97);
}

.btn-pay {
  background: var(--pay-color);
  color: white;
  position: relative;
  overflow: hidden;
}

.btn-pay:hover:not(:disabled) {
  background: var(--pay-hover);
}

.btn-pay:disabled {
  background: var(--pay-disabled);
  color: rgba(255, 255, 255, 0.4);
  cursor: not-allowed;
}

.btn-pay:disabled::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.4);
  animation: pay-delay 1s linear forwards;
}

@keyframes pay-delay {
  from {
    width: 0%;
  }

  to {
    width: 100%;
  }
}

.btn-grass {
  background: var(--grass-color);
  color: white;
}

.btn-grass:hover {
  background: var(--grass-hover);
}

/* ── Touch Grass Success ─────────────────── */

.grass-message {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  animation: fade-in 0.3s ease;
}

.grass-emoji {
  font-size: 64px;
  line-height: 1;
}

.grass-text {
  font-size: 28px;
  font-weight: 700;
}

.grass-subtext {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Setup Guide ─────────────────────────── */

.guide {
  max-width: 600px;
  margin: 0 auto;
  padding: 48px 24px;
  padding-top: calc(env(safe-area-inset-top, 0px) + 48px);
}

.guide h1 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 8px;
}

.guide .tagline {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 40px;
}

.guide h2 {
  font-size: 20px;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 12px;
}

.guide p,
.guide li {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
}

.guide ol {
  padding-left: 20px;
}

.guide li {
  margin-bottom: 8px;
}

.guide code {
  font-family: var(--font-mono);
  font-size: 13px;
  background: var(--surface);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--accent);
}

.app-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}

.app-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
  transition: border-color 0.15s;
}

.app-link:hover {
  border-color: var(--text-muted);
}

.app-link img {
  width: 40px;
  height: 40px;
  border-radius: 9px;
}

.guide .note {
  margin-top: 32px;
  padding: 16px;
  background: var(--surface);
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.guide .settings-info {
  margin-top: 24px;
}

.settings-info code {
  word-break: break-all;
}

/* ══════════════════════════════════════════════
   LANDING PAGE — Synthwave / Cyberpunk
   ══════════════════════════════════════════════ */

:root {
  --pixel-font: 'Press Start 2P', monospace;
  --neon-pink: #ff2d78;
  --neon-cyan: #00e5ff;
  --neon-green: #00ff88;
  --navy: #0d0d2b;
  --navy-light: #151540;
  --navy-card: #12123a;
}

/* ── Utility ───────────────────────────────────── */

.neon-pink {
  color: var(--neon-pink);
}

.neon-pink-text {
  color: var(--neon-pink);
}

.neon-cyan-text {
  color: var(--neon-cyan);
}

.neon-green-text {
  color: var(--neon-green);
}

.pixel-text {
  font-family: var(--pixel-font);
}

/* ── Layout ────────────────────────────────────── */

.landing {
  overflow-x: hidden;
  background: var(--navy);
}

.container {
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
  max-width: 1024px;
  margin-left: auto;
  margin-right: auto;
}

.section+.section {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ── Section typography ────────────────────────── */

.section-eyebrow {
  font-family: var(--pixel-font);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 12px;
}

.section-headline {
  font-size: 32px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.3;
}

.section-body {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 540px;
  margin-bottom: 40px;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 48px;
  line-height: 1.5;
}

.section-label {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

/* ══════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════ */

.hero {
  position: relative;
  padding: 60px 0 0;
  padding-top: calc(env(safe-area-inset-top, 0px) + 60px);
  text-align: center;
  overflow: hidden;
  background: linear-gradient(180deg, var(--navy) 0%, #0a0a20 100%);
  display: flex;
  flex-direction: row;
  justify-content: center;

}

.hero-content {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px;
  max-width: min(1024px, 100%);
}

/* ── Title ──────────────────────────────────────── */

.hero-logo {
  font-family: var(--pixel-font);
  font-size: 56px;
  font-weight: 400;
  margin-bottom: 20px;
  letter-spacing: 0.02em;

  /* Chrome text effect — purple/magenta like Gemini mockup */
  background: linear-gradient(to bottom,
      #e8b4f8 0%,
      #ffffff 25%,
      #7c3aed 40%,
      #5b21b6 50%,
      #c026d3 55%,
      #f0abfc 75%,
      #e8d5f5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.4);
  filter: drop-shadow(0 0 15px rgba(168, 85, 247, 0.6));
  position: relative;
  display: inline-block;
  line-height: 1.1;
}

/* Chrome outline effect (double layer) */
.hero-logo::before {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  -webkit-text-stroke: 4px #a855f7;
  -webkit-text-fill-color: transparent;
  filter: blur(4px) drop-shadow(0 0 10px #a855f7);
}

.hero-title {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 24px;
  font-weight: 900;
  color: #e0f2fe;
  text-transform: uppercase;
  line-height: 1.2;
  letter-spacing: 0.03em;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 229, 255, 0.5);
  max-width: 800px;
}

.gold-word {
  color: var(--accent);
  text-shadow: 0 0 12px rgba(251, 191, 36, 0.5), 0 4px 8px rgba(0, 0, 0, 0.8);
}

/* ── Arcade Cabinet ────────────────────────────── */

.cabinet-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-top: auto;
  position: relative;
  width: 100%;
}

.cabinet-side-text {
  font-family: var(--pixel-font);
  font-size: 7px;
  color: var(--text-muted);
  text-transform: uppercase;
  line-height: 2;
  letter-spacing: 0.1em;
  text-align: center;
  opacity: 0.5;
}

.arcade-cabinet-img {
  height: 500px;
  margin-bottom: 24px;
  width: auto;
  filter: drop-shadow(0 0 40px rgba(0, 229, 255, 0.15));
  display: block;
}

.cabinet-btn {
  position: absolute;
  bottom: 50px;
  /* Overlays on the bottom of the cabinet */
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.cabinet-note {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  z-index: 10;
}

/* ── Gold CTA Button ──────────────────────────── */

.btn-gold {
  font-family: var(--pixel-font);
  font-size: 11px;
  letter-spacing: 0.05em;
  padding: 10px 10px;
  line-height: 1.8;
  border: 2px solid var(--accent);
  border-radius: 999px;
  cursor: pointer;
  background: #fbbf24;
  color: #0a0a0a;
  text-transform: uppercase;
  transition: all 0.2s;
  box-shadow:
    0 0 12px rgba(251, 191, 36, 0.4),
    0 0 40px rgba(251, 191, 36, 0.15);
  position: relative;
  overflow: hidden;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 0 12px rgba(251, 191, 36, 0.5);
}

/* CRT scanline overlay */
.btn-gold::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg,
      transparent,
      transparent 2px,
      rgba(251, 191, 36, 0.06) 2px,
      rgba(251, 191, 36, 0.06) 4px);
  pointer-events: none;
  border-radius: inherit;
}

/* Soft CRT glow/blur halo */
.btn-gold::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  background: rgba(251, 191, 36, 0.08);
  filter: blur(6px);
  pointer-events: none;
  z-index: -1;
}

.btn-gold:hover {
  background: #f5b800;
  box-shadow:
    0 0 24px rgba(251, 191, 36, 0.6),
    0 0 60px rgba(251, 191, 36, 0.25);
  transform: translateY(-2px);
}

.btn-gold:active {
  transform: translateY(1px);
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.3);
}

.btn-gold:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Centered variant (on cabinet overlay) */
.cabinet-btn {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.cabinet-btn:hover {
  transform: translateX(-50%) translateY(-2px);
}

.cabinet-btn:active {
  transform: translateX(-50%) translateY(1px);
}

.cabinet-btn:disabled {
  transform: translateX(-50%);
}

/* Bottom CTA (standalone, centered) */
.btn-cta-bottom {
  display: block;
  margin: 0 auto;
}

/* ── Neon CTA Button ──────────────────────────── */

.btn-neon {
  font-family: var(--pixel-font);
  font-size: 11px;
  letter-spacing: 0.05em;
  padding: 20px 40px;
  border: 2px solid var(--neon-cyan);
  border-radius: 4px;
  cursor: pointer;
  background: rgba(0, 229, 255, 0.08);
  color: var(--neon-cyan);
  text-transform: uppercase;
  transition: all 0.2s;
  box-shadow:
    0 0 10px rgba(0, 229, 255, 0.2),
    inset 0 0 10px rgba(0, 229, 255, 0.05);
}

.btn-neon:hover {
  background: rgba(0, 229, 255, 0.15);
  box-shadow:
    0 0 20px rgba(0, 229, 255, 0.4),
    inset 0 0 20px rgba(0, 229, 255, 0.1);
  transform: translateY(-2px);
}

.btn-neon:active {
  transform: translateY(1px);
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.3);
}

.btn-neon:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.hero-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 12px;
  margin-top: 16px;
  opacity: 0.6;
}

.synthwave-env {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* Sky — purple gradient behind content */
.synthwave-sky {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      #0a0a25 0%,
      #1a0a3a 25%,
      #2d1060 45%,
      #6a1b9a 55%,
      #ab47bc 60%,
      #ce93d8 63%,
      #0a0a25 66%);
  opacity: 0.6;
}



/* Poly terrain mountains */
.synthwave-mountains {
  position: absolute;
  bottom: 34%;
  left: 0;
  width: 100%;
  height: 15%;
  z-index: 3;
  overflow: hidden;
}

.synthwave-mountains svg {
  width: 100%;
  min-width: 900px;
  height: 100%;
  display: block;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* Glowing horizon line */
.synthwave-horizon {
  position: absolute;
  bottom: 34%;
  left: 0;
  width: 100%;
  height: 2px;
  background: #a855f7;
  box-shadow:
    0 0 8px #a855f7,
    0 0 30px rgba(168, 85, 247, 0.5),
    0 0 60px rgba(168, 85, 247, 0.2);
  z-index: 4;
}

/* Perspective grid floor */
.synthwave-grid {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 34%;
  z-index: 3;
  perspective: 600px;
  overflow: hidden;
  background: #0d0d2b;
}

.synthwave-grid::after {
  content: "";
  position: absolute;
  width: 300vw;
  height: 300vh;
  top: 0;
  left: -100vw;
  z-index: 2;

  background-image:
    linear-gradient(rgba(168, 85, 247, 0.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 85, 247, 0.6) 1px, transparent 1px);
  background-size: 80px 80px;

  transform-origin: top center;
  transform: rotateX(72deg) translateY(0);

  animation: grid-move 1.5s linear infinite;

  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 25%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 25%);
}

@keyframes grid-move {
  0% {
    transform: rotateX(72deg) translateY(0);
  }

  100% {
    transform: rotateX(72deg) translateY(80px);
  }
}

/* ── Grid Plane (shared transform for icons) ── */

.grid-plane {
  position: absolute;
  width: 300vw;
  height: 4000px;
  top: 0;
  left: -100vw;
  transform-origin: top center;
  transform: rotateX(72deg);
  z-index: 1;
  pointer-events: none;
}



/* ══════════════════════════════════════════════
   PROBLEM SECTION
   ══════════════════════════════════════════════ */

.problem-section {
  border-top: 1px solid rgba(255, 45, 120, 0.15) !important;
}

.doom-loop-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 32px;
}

.loop-icons {
  display: flex;
  gap: 12px;
  font-size: 24px;
  animation: float-around 4s ease-in-out infinite;
}

.loop-icon {
  filter: drop-shadow(0 0 4px rgba(255, 45, 120, 0.5));
}

.loop-labels {
  display: flex;
  gap: 24px;
}

.loop-badge {
  font-family: var(--pixel-font);
  font-size: 9px;
  padding: 8px 16px;
  border-radius: 4px;
  letter-spacing: 0.1em;
}

.loop-badge-up {
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid var(--neon-green);
  color: var(--neon-green);
  text-shadow: 0 0 8px var(--neon-green);
}

.loop-badge-over {
  background: rgba(255, 45, 120, 0.1);
  border: 1px solid var(--neon-pink);
  color: var(--neon-pink);
  text-shadow: 0 0 8px var(--neon-pink);
}

/* ══════════════════════════════════════════════
   SOLUTION SECTION
   ══════════════════════════════════════════════ */

.solution-section {
  border-top: 1px solid rgba(0, 229, 255, 0.15) !important;
}

.solution-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 16px;
}

@media (max-width: 640px) {
  .solution-layout {
    flex-direction: column;
    align-items: center;
  }
}

.solution-callouts {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.callout {
  background: var(--navy-card);
  border: 1px solid rgba(0, 229, 255, 0.12);
  border-radius: 8px;
  padding: 20px;
}

.callout h3 {
  font-family: var(--pixel-font);
  font-size: 8px;
  color: var(--neon-cyan);
  margin-bottom: 8px;
  line-height: 1.6;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.callout p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.callout strong {
  color: var(--text);
}

/* ── Phone Mockup ──────────────────────────────── */

.phone-frame {
  flex-shrink: 0;
  width: 260px;
  background: #050510;
  border-radius: 32px;
  padding: 14px;
  box-shadow:
    0 0 0 2px rgba(0, 229, 255, 0.15),
    0 0 30px rgba(0, 229, 255, 0.08),
    0 24px 48px rgba(0, 0, 0, 0.4);
}

.phone-notch {
  width: 90px;
  height: 20px;
  background: #050510;
  border-radius: 0 0 14px 14px;
  margin: -14px auto 10px;
  position: relative;
  z-index: 2;
}

.phone-screen {
  background: var(--navy);
  border-radius: 20px;
  overflow: hidden;
  padding: 20px 14px;
}

.phone-home-bar {
  width: 90px;
  height: 4px;
  background: #444;
  border-radius: 2px;
  margin: 10px auto 0;
}

/* Mockup interstitial content */
.mockup-interstitial {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.mockup-app-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.mockup-icon {
  border-radius: 10px;
}

.mockup-app-name {
  font-family: var(--pixel-font);
  font-size: 7px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.mockup-stats {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.mockup-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.mockup-stat-value {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
}

.mockup-stat-value.money {
  color: var(--neon-pink);
  text-shadow: 0 0 8px rgba(255, 45, 120, 0.4);
}

.mockup-stat-label {
  font-family: var(--pixel-font);
  font-size: 5px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

.mockup-actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mockup-btn {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  font-family: var(--pixel-font);
  font-size: 8px;
  font-weight: 600;
  text-align: center;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.1em;
}

.mockup-btn-pay {
  background: rgba(255, 45, 120, 0.15);
  border: 1px solid var(--neon-pink);
  color: var(--neon-pink);
}

.mockup-pay-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--neon-pink);
  animation: mockup-pay-fill 2s ease-in-out infinite;
}

@keyframes mockup-pay-fill {
  0% {
    width: 0%;
  }

  50% {
    width: 100%;
  }

  51% {
    width: 100%;
  }

  52% {
    width: 100%;
    background: transparent;
  }

  53% {
    width: 0%;
    background: var(--neon-pink);
  }

  100% {
    width: 0%;
  }
}

.mockup-btn-grass {
  background: rgba(0, 255, 136, 0.15);
  border: 1px solid var(--neon-green);
  color: var(--neon-green);
}

/* ══════════════════════════════════════════════
   APP LOGOS
   ══════════════════════════════════════════════ */

.apps-section {
  padding: 48px 0;
}

.apps-row {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.app-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.app-badge img {
  width: 56px;
  height: 56px;
  border-radius: 13px;
  transition: transform 0.2s, filter 0.2s;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.1));
}

.app-badge:hover img {
  transform: scale(1.1);
  filter: drop-shadow(0 0 12px rgba(0, 229, 255, 0.4));
}

.app-badge span {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ══════════════════════════════════════════════
   UPGRADES
   ══════════════════════════════════════════════ */

.upgrades-section {
  border-top: 1px solid rgba(0, 255, 136, 0.15) !important;
}

.upgrade-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 32px;
}

@media (min-width: 600px) {
  .upgrade-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.upgrade-card {
  background: var(--navy-card);
  border: 1px solid rgba(0, 255, 136, 0.1);
  border-radius: 8px;
  padding: 24px;
}

.upgrade-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.upgrade-aka {
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 12px;
}

.upgrade-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Dashboard mockup inside upgrade card */
.dashboard-mockup {
  margin-top: 12px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dash-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dash-label {
  font-family: var(--pixel-font);
  font-size: 6px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.dash-value {
  font-family: var(--pixel-font);
  font-size: 12px;
}

/* Redirect icons */
.redirect-icons {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  font-size: 24px;
}

.redirect-icon {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 8px;
  line-height: 1;
}


/* ══════════════════════════════════════════════
   HOW IT WORKS
   ══════════════════════════════════════════════ */

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 40px;
}

@media (min-width: 600px) {
  .steps {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.step {
  background: var(--navy-card);
  border: 1px solid rgba(0, 229, 255, 0.1);
  border-radius: 8px;
  padding: 28px 24px;
  text-align: center;
}

.step-num {
  font-family: var(--pixel-font);
  font-size: 24px;
  color: var(--neon-cyan);
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.4);
  margin-bottom: 16px;
}

.step h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.step p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ══════════════════════════════════════════════
   THE MATH
   ══════════════════════════════════════════════ */

.math-section .container {
  text-align: center;
}

.math-block {
  display: inline-block;
  text-align: left;
  background: var(--navy-card);
  border: 1px solid rgba(0, 229, 255, 0.1);
  border-radius: 8px;
  padding: 28px 32px;
  margin-top: 32px;
  width: 100%;
  max-width: 400px;
}

.math-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 8px 0;
}

.math-label {
  font-size: 14px;
  color: var(--text-muted);
}

.math-value {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.math-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 8px 0;
}

.math-total .math-label {
  color: var(--text);
  font-weight: 600;
}

.math-total .math-value {
  color: var(--neon-pink);
  font-size: 20px;
  text-shadow: 0 0 8px rgba(255, 45, 120, 0.4);
}

.math-kicker {
  margin-top: 24px;
  font-size: 16px;
  color: var(--text-muted);
  font-style: italic;
}

/* ══════════════════════════════════════════════
   COMPETITIVE POSITIONING
   ══════════════════════════════════════════════ */

.quadrant-table {
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: 2px;
  margin: 48px auto;
  max-width: 560px;
  font-size: 13px;
}

.qt-header {
  background: rgba(255, 255, 255, 0.06);
  padding: 12px 16px;
  font-weight: 700;
  color: var(--text);
  text-align: center;
  font-size: 12px;
}

.qt-corner {
  background: transparent;
}

.qt-label {
  background: rgba(255, 255, 255, 0.06);
  padding: 12px 16px;
  font-weight: 700;
  color: var(--text);
  font-size: 12px;
  display: flex;
  align-items: center;
}

.qt-cell {
  background: var(--navy-card);
  padding: 16px;
  text-align: center;
  color: var(--text-muted);
  line-height: 1.5;
}

.qt-highlight {
  background: rgba(0, 229, 255, 0.08);
  border: 2px solid var(--neon-cyan);
  color: var(--neon-cyan);
  font-family: var(--pixel-font);
  font-size: 12px;
  font-weight: 400;
  text-shadow: 0 0 8px rgba(0, 229, 255, 0.4);
}

/* ══════════════════════════════════════════════
   FAQ
   ══════════════════════════════════════════════ */

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 40px;
}

@media (min-width: 500px) {
  .faq-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.faq-item {
  background: var(--navy-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 24px;
}

.faq-item h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.faq-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ══════════════════════════════════════════════
   FINAL CTA — READY, PLAYER?
   ══════════════════════════════════════════════ */

.cta-section {
  text-align: center;
  padding: 96px 0;
}

.cta-headline {
  font-family: var(--pixel-font);
  font-size: 24px;
  color: var(--neon-green);
  text-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
  margin-bottom: 32px;
}

.btn-start {
  font-family: var(--pixel-font);
  font-size: 16px;
  letter-spacing: 0.15em;
  padding: 20px 64px;
  border: 2px solid var(--neon-green);
  border-radius: 4px;
  cursor: pointer;
  background: rgba(0, 255, 136, 0.1);
  color: var(--neon-green);
  text-transform: uppercase;
  transition: all 0.2s;
  box-shadow:
    0 0 15px rgba(0, 255, 136, 0.2),
    inset 0 0 15px rgba(0, 255, 136, 0.05);
  animation: start-glow 2s ease-in-out infinite;
}

@keyframes start-glow {

  0%,
  100% {
    box-shadow:
      0 0 15px rgba(0, 255, 136, 0.2),
      inset 0 0 15px rgba(0, 255, 136, 0.05);
  }

  50% {
    box-shadow:
      0 0 30px rgba(0, 255, 136, 0.4),
      0 0 60px rgba(0, 255, 136, 0.15),
      inset 0 0 25px rgba(0, 255, 136, 0.1);
  }
}

.btn-start:hover {
  background: rgba(0, 255, 136, 0.2);
  transform: translateY(-2px);
}

.btn-start:active {
  transform: translateY(1px);
}

.btn-start:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  animation: none;
}

.cta-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 20px;
  opacity: 0.6;
}

/* ══════════════════════════════════════════════
   CTA SECTION
   ══════════════════════════════════════════════ */

.cta-section {
  text-align: center;
  padding: 96px 0;
}

.cta-sub {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 40px;
}

/* ══════════════════════════════════════════════
   PSYCH GRID (Why It Works cards)
   ══════════════════════════════════════════════ */

.psych-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 32px;
}

@media (min-width: 600px) {
  .psych-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.psych-card {
  background: var(--navy-card);
  border: 1px solid rgba(0, 229, 255, 0.1);
  border-radius: 8px;
  padding: 24px;
}

.psych-card h3 {
  font-family: var(--pixel-font);
  font-size: 10px;
  color: var(--accent);
  margin-bottom: 12px;
  line-height: 1.6;
}

.psych-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.psych-card strong {
  color: var(--text);
}

/* ══════════════════════════════════════════════
   MOCKUP SECTION
   ══════════════════════════════════════════════ */

.mockup-section {
  text-align: center;
}

.mockup-section .phone-frame {
  margin: 32px auto 0;
}

/* ══════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════ */

.landing-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 48px 0;
  text-align: center;
}

.footer-brand {
  font-size: 10px;
  color: var(--neon-cyan);
  text-shadow: 0 0 6px rgba(0, 229, 255, 0.3);
  margin-bottom: 8px;
}

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

.footer-legal {
  font-size: 11px;
  color: #555;
}

/* ══════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   ══════════════════════════════════════════════ */

.step,
.upgrade-card,
.faq-item,
.app-badge,
.callout,
.math-block,
.psych-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.step.revealed,
.upgrade-card.revealed,
.faq-item.revealed,
.app-badge.revealed,
.callout.revealed,
.math-block.revealed,
.psych-card.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger */
.step:nth-child(2),
.upgrade-card:nth-child(2),
.faq-item:nth-child(2),
.app-badge:nth-child(2),
.callout:nth-child(2),
.psych-card:nth-child(2) {
  transition-delay: 0.1s;
}

.step:nth-child(3),
.upgrade-card:nth-child(3),
.faq-item:nth-child(3),
.app-badge:nth-child(3),
.callout:nth-child(3),
.psych-card:nth-child(3) {
  transition-delay: 0.2s;
}

.faq-item:nth-child(4),
.app-badge:nth-child(4) {
  transition-delay: 0.3s;
}

.app-badge:nth-child(5) {
  transition-delay: 0.4s;
}

/* ══════════════════════════════════════════════
   MOBILE
   ══════════════════════════════════════════════ */

@media (max-width: 480px) {
  .hero {
    padding-top: calc(env(safe-area-inset-top, 0px) + 40px);
    min-height: auto;
  }

  .hero-logo {
    font-size: 28px;
  }

  .hero-tagline {
    font-size: 8px;
  }

  .section-headline {
    font-size: 24px;
  }

  .section {
    padding: 56px 0;
  }

  .phone-frame {
    width: 240px;
  }

  .quadrant-table {
    font-size: 11px;
  }

  .qt-header,
  .qt-label {
    padding: 8px 10px;
    font-size: 10px;
  }

  .qt-cell {
    padding: 12px 8px;
    font-size: 11px;
  }

  .qt-highlight {
    font-size: 10px;
  }

  .math-block {
    padding: 20px;
  }

  .cta-sub {
    font-size: 22px;
  }

  .btn-neon,
  .btn-gold {
    font-size: 9px;
    padding: 10px 12px;
    width: 100%;
    line-height: 1.8;
  }

  .apps-row {
    gap: 16px;
  }

  .app-badge img {
    width: 48px;
    height: 48px;
  }
}