:root {
  --bg: #08090f;
  --bg-alt: #0d101b;
  --surface: rgba(20, 24, 39, 0.78);
  --surface-strong: #141827;
  --border: rgba(255, 255, 255, 0.09);
  --border-accent: rgba(255, 92, 64, 0.45);
  --text: #f3f5fa;
  --muted: #9ea8c3;
  --accent: #ff4f42;
  --accent-2: #ff8c42;
  --accent-glow: rgba(255, 79, 66, 0.28);
  --green: #2ee59d;
  --radius: 16px;
  --radius-sm: 10px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3, strong {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

/* Ambient Glow */
.bg-glow {
  position: fixed;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(130px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.35;
}
.bg-glow-1 {
  top: -160px;
  left: -140px;
  background: radial-gradient(circle, #ff4f42, transparent 70%);
}
.bg-glow-2 {
  top: 220px;
  right: -180px;
  background: radial-gradient(circle, #5b4bff, transparent 70%);
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(8, 9, 15, 0.78);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}
.brand-icon {
  font-size: 1.35rem;
}
.brand-text strong {
  color: var(--accent-2);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.94rem;
  color: var(--muted);
}
.nav-links a:hover {
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 1.15rem;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border-radius: 12px;
  font-weight: 700;
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.16s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  text-align: center;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-sm {
  padding: 9px 18px;
  font-size: 0.9rem;
}
.btn-lg {
  padding: 14px 26px;
  font-size: 1.02rem;
}
.btn-block {
  width: 100%;
  padding: 13px 20px;
  font-size: 0.96rem;
}
.btn-sub {
  font-size: 0.74rem;
  font-weight: 500;
  opacity: 0.92;
  font-family: "Inter", sans-serif;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 10px 28px var(--accent-glow);
}
.btn-primary:hover {
  box-shadow: 0 14px 36px rgba(255, 79, 66, 0.42);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.22);
}

/* Hero */
.hero {
  padding: 64px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 44px;
  align-items: center;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 79, 66, 0.12);
  border: 1px solid rgba(255, 79, 66, 0.35);
  color: #ffb2a3;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.pill-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}

.hero h1 {
  font-size: clamp(2.15rem, 4.3vw, 3.35rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.gradient-text {
  background: linear-gradient(120deg, #ff5d47, #ffaa4c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 1.06rem;
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 560px;
}
.hero-subtitle strong {
  color: var(--text);
  font-weight: 600;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Studio Mockup */
.studio-window {
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.65);
}

.window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--muted);
}
.window-dots {
  display: flex;
  gap: 6px;
}
.window-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}
.window-dots span:first-child { background: #ff5f56; }
.window-dots span:nth-child(2) { background: #ffbd2e; }
.window-dots span:nth-child(3) { background: #27c93f; }

.window-tag {
  background: rgba(46, 229, 157, 0.14);
  color: var(--green);
  border: 1px solid rgba(46, 229, 157, 0.3);
  padding: 2px 9px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.74rem;
}

.window-body {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 14px;
  padding: 16px;
  align-items: stretch;
}

.studio-sidebar-mock {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mock-item {
  padding: 9px 11px;
  border-radius: 9px;
  font-size: 0.82rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid transparent;
}
.mock-item.active {
  color: #fff;
  background: rgba(255, 79, 66, 0.14);
  border-color: rgba(255, 79, 66, 0.35);
  font-weight: 600;
}
.mock-divider {
  height: 1px;
  background: var(--border);
  margin: 4px 0;
}
.mock-metric {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
}
.mock-metric small {
  font-size: 0.7rem;
  color: var(--muted);
}
.mock-metric strong {
  font-size: 0.86rem;
  color: #fff;
}
.mock-chip {
  font-size: 0.74rem;
  padding: 6px 9px;
  border-radius: 8px;
  background: rgba(91, 75, 255, 0.12);
  border: 1px solid rgba(91, 75, 255, 0.28);
  color: #cfd3ff;
}

/* Phone 9:16 Preview */
.phone-preview {
  background: linear-gradient(160deg, #1b223a, #0e101c);
  border: 2px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 365px;
}

.phone-cam {
  height: 33%;
  background: linear-gradient(135deg, #272f52, #181c31);
  border-bottom: 2px solid rgba(255, 140, 66, 0.5);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cam-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.55);
  color: #ffbe76;
}
.cam-avatar {
  font-size: 2.2rem;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.16);
}

.phone-game {
  flex: 1;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: radial-gradient(circle at 50% 35%, rgba(255, 79, 66, 0.2), transparent 68%);
}

.hook-banner {
  background: #ffda29;
  color: #111;
  font-weight: 800;
  font-size: 0.72rem;
  text-align: center;
  padding: 5px 8px;
  border-radius: 8px;
  letter-spacing: 0.01em;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.game-scene {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 0;
}

.wave-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 36px;
}
.wave-bars span {
  width: 5px;
  border-radius: 4px;
  background: linear-gradient(to top, var(--accent), var(--accent-2));
  animation: eq 1.1s ease-in-out infinite;
}
.wave-bars span:nth-child(2) { animation-delay: 0.15s; }
.wave-bars span:nth-child(3) { animation-delay: 0.3s; }
.wave-bars span:nth-child(4) { animation-delay: 0.45s; }
.wave-bars span:nth-child(5) { animation-delay: 0.2s; }
.wave-bars span:nth-child(6) { animation-delay: 0.35s; }

@keyframes eq {
  0%, 100% { height: 10px; opacity: 0.65; }
  50% { height: 34px; opacity: 1; }
}

.animated-caption {
  text-align: center;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 0.96rem;
  line-height: 1.25;
  text-transform: uppercase;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.95);
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px;
}
.animated-caption .hl {
  color: #38f9a5;
  background: rgba(0, 0, 0, 0.45);
  padding: 1px 6px;
  border-radius: 6px;
}

.phone-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.66rem;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 8px;
}
.ready-pill {
  color: var(--green);
  font-weight: 700;
}

/* Strip */
.strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  padding: 26px 0;
}
.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.strip-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.strip-item strong {
  font-size: 1.15rem;
  color: #fff;
}
.strip-item span {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Sections */
.section {
  padding: 84px 0;
}
.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}
.section-kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-2);
  margin-bottom: 10px;
}
.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.section-head p {
  color: var(--muted);
  font-size: 1rem;
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.step-num {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--accent-2);
  margin-bottom: 12px;
}
.step-card h3 {
  font-size: 1.16rem;
  margin-bottom: 10px;
}
.step-card p {
  color: var(--muted);
  font-size: 0.94rem;
}

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.bento-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.bento-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
}
.bento-wide {
  grid-column: span 2;
}
.bento-icon {
  font-size: 1.65rem;
  margin-bottom: 12px;
}
.bento-card h3 {
  font-size: 1.14rem;
  margin-bottom: 8px;
}
.bento-card p {
  color: var(--muted);
  font-size: 0.94rem;
}

/* Comparison Table */
.compare-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}
.compare-table th,
.compare-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.94rem;
}
.compare-table thead th {
  background: rgba(255, 255, 255, 0.03);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.96rem;
}
.compare-table tbody tr:last-child td {
  border-bottom: none;
}
.col-highlight {
  background: rgba(255, 79, 66, 0.08);
  color: #fff;
}

/* Calculator */
.calc-box {
  background: var(--surface);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 36px;
}
.calc-left label {
  display: block;
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 0.96rem;
}
.calc-slider-row {
  display: flex;
  align-items: center;
  gap: 16px;
}
.calc-slider-row input[type="range"] {
  flex: 1;
  accent-color: var(--accent);
  cursor: pointer;
}
.calc-slider-row strong {
  min-width: 130px;
  text-align: right;
  color: var(--accent-2);
}
.calc-rec {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
}
.calc-rec span {
  font-size: 0.8rem;
  color: var(--muted);
}
.calc-rec strong {
  font-size: 1.05rem;
  color: var(--green);
}
.calc-rec small {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: stretch;
}
.price-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.price-featured {
  border-color: var(--accent);
  box-shadow: 0 20px 55px rgba(255, 79, 66, 0.16);
  background: linear-gradient(180deg, rgba(255, 79, 66, 0.1), var(--surface-strong) 45%);
}
.popular-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.price-top h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}
.price-top p {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 14px;
}
.price-value {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 2.15rem;
  font-weight: 800;
  line-height: 1.1;
}
.price-value span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}
.price-note {
  display: block;
  margin-top: 6px;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 18px;
}
.price-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.88rem;
  color: #d6dcef;
  margin-bottom: 22px;
  flex: 1;
}

/* FAQ */
.faq-container {
  max-width: 780px;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-family: "Plus Jakarta Sans", sans-serif;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--accent-2);
}
.faq-item[open] summary::after {
  content: "−";
}
.faq-item p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.94rem;
}

/* Final CTA */
.final-cta {
  padding: 20px 0 84px;
}
.cta-banner {
  text-align: center;
  padding: 54px 28px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 79, 66, 0.16), rgba(91, 75, 255, 0.16));
  border: 1px solid var(--border-accent);
}
.cta-banner h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin-bottom: 10px;
}
.cta-banner p {
  color: #d8deef;
  margin-bottom: 24px;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  color: var(--muted);
  font-size: 0.88rem;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-links {
  display: flex;
  gap: 18px;
}
.footer-links a:hover {
  color: #fff;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 12, 0.78);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
}
.modal-backdrop.open {
  display: flex;
}
.modal-card {
  position: relative;
  width: min(470px, 100%);
  background: var(--surface-strong);
  border: 1px solid var(--border-accent);
  border-radius: 20px;
  padding: 30px 26px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7);
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--text);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
}
.modal-badge {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--green);
  background: rgba(46, 229, 157, 0.12);
  border: 1px solid rgba(46, 229, 157, 0.3);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.modal-card h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}
.modal-card p {
  color: var(--muted);
  font-size: 0.94rem;
  margin-bottom: 20px;
}
.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.modal-input {
  width: 100%;
  padding: 13px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease;
}
.modal-input:focus {
  border-color: var(--accent-2);
}
.waitlist-feedback {
  margin: 0 !important;
  font-size: 0.85rem !important;
  color: var(--green) !important;
  text-align: center;
  min-height: 18px;
}
.modal-footnote {
  display: block;
  text-align: center;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.78rem;
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid,
  .calc-box {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-grid,
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-wide {
    grid-column: span 1;
  }
}

@media (max-width: 680px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #0d101b;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 18px;
    gap: 14px;
  }
  .nav-links.open {
    display: flex;
  }
  .menu-toggle {
    display: inline-block;
  }
  .pricing-grid,
  .strip-grid,
  .window-body {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 40px 0 56px;
  }
}
