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

:root {
  --charcoal: #1a1a1a;
  --charcoal-2: #222222;
  --charcoal-3: #2a2a2a;
  --gold: #fcd116;
  --gold-dim: #e6bc00;
  --green: #009b3a;
  --red: #ce1126;
  --white: #ffffff;
  --muted: #888888;
  --card-bg: #1f1f1f;
  --border: rgba(255,255,255,0.08);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  --radius: 16px;
  --max-w: 1100px;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--charcoal);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.gold { color: var(--gold); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, opacity 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-full { width: 100%; justify-content: center; }

.btn-primary {
  background: var(--gold);
  color: #111;
}
.btn-primary:hover { background: var(--gold-dim); box-shadow: 0 0 24px rgba(252,209,22,0.35); }

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}
.btn-outline:hover { background: rgba(252,209,22,0.08); }

.btn-ghost {
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.8);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); }

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 14px 24px;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}
.nav-scrolled {
  background: rgba(26,26,26,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-icon { width: 34px; height: 34px; border-radius: 8px; }
.nav-title { font-family: var(--font-serif); font-size: 16px; font-weight: 700; color: var(--gold); }

/* ── HERO ── */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 100px 24px 64px;
  position: relative;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(252,209,22,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 1;
}
.badge-pill {
  display: inline-block;
  background: rgba(252,209,22,0.12);
  border: 1px solid rgba(252,209,22,0.3);
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
}
.hero-heading {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.hero-free-note {
  font-size: 12px;
  color: var(--muted);
}
.hero-play-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 4px;
  border-radius: 10px;
  overflow: hidden;
  transition: opacity 0.15s, transform 0.15s;
  box-sizing: border-box;
}
.hero-play-badge:hover { opacity: 0.85; transform: scale(0.97); }
.hero-play-badge img {
  height: 54px;
  width: auto;
  display: block;
}
.btn-hero {
  padding: 10px 18px;
  font-size: 13px;
  height: 42px;
  box-sizing: border-box;
}
.hero-phone {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ── PHONE FRAME ── */
.phone-frame {
  width: 260px;
  border-radius: 36px;
  border: 3px solid rgba(255,255,255,0.12);
  background: #111;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 40px 80px rgba(0,0,0,0.5),
    0 0 60px rgba(252,209,22,0.1);
  overflow: hidden;
  position: relative;
}
.phone-frame::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 5px;
  background: rgba(255,255,255,0.15);
  border-radius: 10px;
  z-index: 2;
}
.phone-frame-sm { width: 185px; border-radius: 28px; }
.phone-screen {
  width: 100%;
  height: auto;
  display: block;
}

/* ── FEATURES ── */
.features {
  padding: 48px 0;
  position: relative;
}
.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}
.section-heading {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  line-height: 1.25;
}
.section-sub {
  text-align: center;
  color: var(--muted);
  margin-bottom: 56px;
  font-size: 15px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover {
  border-color: rgba(252,209,22,0.3);
  transform: translateY(-4px);
}
.feature-icon {
  font-size: 32px;
  margin-bottom: 16px;
  display: block;
}
.feature-card h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--white);
}
.feature-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
}

/* ── CHAPTERS STRIP ── */
.chapters-strip {
  padding: 40px 0;
  background: rgba(252,209,22,0.04);
  border-top: 1px solid rgba(252,209,22,0.1);
  border-bottom: 1px solid rgba(252,209,22,0.1);
}
.strip-label {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 20px;
  opacity: 0.7;
}
.chapters-scroll {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.chapter-chip {
  background: rgba(252,209,22,0.08);
  border: 1px solid rgba(252,209,22,0.2);
  color: rgba(255,255,255,0.8);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
}

/* ── SCREENSHOTS ── */
.screenshots {
  padding: 48px 0;
}
.screenshots-grid {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.screenshot-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.screenshot-caption {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
}

/* ── PRICING ── */
.pricing {
  padding: 48px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(252,209,22,0.03) 100%);
}
.pricing-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 680px;
  margin: 56px auto 0;
}
.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 28px;
  position: relative;
}
.pricing-card-featured {
  border-color: var(--gold);
  box-shadow: 0 0 40px rgba(252,209,22,0.12);
}
.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #111;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 50px;
  white-space: nowrap;
}
.pricing-tier {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 8px;
}
.pricing-price {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1;
}
.pricing-once {
  font-size: 14px;
  font-family: var(--font-sans);
  font-weight: 500;
  color: var(--muted);
}
.pricing-features {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pricing-features li {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
}
.pricing-note {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin-top: 28px;
}
.pricing-inapp-note {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin-top: 10px;
}

/* ── DOWNLOAD CTA ── */
.download {
  padding: 48px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.download::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(252,209,22,0.06) 0%, transparent 65%);
  pointer-events: none;
}
.download-inner {
  position: relative;
  z-index: 1;
}
.download-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  margin-bottom: 24px;
  box-shadow: 0 0 40px rgba(252,209,22,0.2);
}
.download-heading {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
}
.download-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 44px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}
.store-badges {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}
.store-badge-link { display: block; }
.store-badge { height: 60px; width: auto; }
.store-badge-coming {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.store-badge-disabled {
  opacity: 0.35;
  filter: grayscale(1);
  height: 54px;
  width: auto;
}
.coming-soon-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── DOWNLOAD OPTIONS ── */
.download-options {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.dl-badge {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  border-radius: 10px;
  overflow: hidden;
  transition: opacity 0.15s, transform 0.15s;
}
.dl-badge:hover { opacity: 0.85; transform: translateY(-2px); }
.dl-badge img { height: 54px; width: auto; display: block; }
.dl-badge-browser {
  background: var(--gold);
  gap: 9px;
  padding: 0 16px;
  height: 54px;
}
.dl-badge-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.dl-badge-sub {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #111;
  line-height: 1;
}
.dl-badge-main {
  font-size: 13px;
  font-weight: 700;
  color: #111;
  line-height: 1.2;
  white-space: nowrap;
}
.dl-badge-browser svg { color: #111; flex-shrink: 0; }
.dl-badge-coming {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-icon { width: 40px; height: 40px; border-radius: 10px; }
.footer-name {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--gold);
}
.footer-tagline { font-size: 13px; color: var(--muted); }
.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-links a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--gold); }
.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  text-align: center;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .hero {
    min-height: auto;
    padding: 88px 20px 48px;
  }
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 36px;
  }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-phone { order: -1; }
  .phone-frame { width: 180px; }
  .features { padding: 48px 0; }
  .screenshots { padding: 48px 0; }
  .pricing { padding: 48px 0; }
  .download { padding: 48px 0; }
  .pricing-cards { grid-template-columns: 1fr; max-width: 360px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-links { gap: 16px; }
  .features-grid { margin-top: 36px; }
  .pricing-cards { margin-top: 36px; }
  .download-options { gap: 24px; }
}

@media (max-width: 480px) {
  .nav-title { font-size: 14px; }
  .hero { padding: 76px 16px 40px; }
  .hero-heading { font-size: clamp(34px, 9vw, 44px); }
  .hero-sub { font-size: 15px; margin-bottom: 28px; }
  .features-grid { grid-template-columns: 1fr; gap: 12px; }
  .feature-card { padding: 20px 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-lg { width: 100%; justify-content: center; }
  .phone-frame { width: 150px; border-radius: 28px; }
  .phone-frame-sm { width: 130px; border-radius: 20px; }
  .screenshots-grid { gap: 16px; }
  .download-options { flex-direction: column; align-items: center; gap: 16px; }
  .download-divider { display: none; }
  .download-heading { font-size: clamp(28px, 7vw, 36px); }
  .download-sub { font-size: 15px; margin-bottom: 28px; }
  .store-badges { gap: 12px; }
  .container { padding: 0 16px; }
  .chapters-strip { padding: 28px 0; }
  .section-heading { font-size: clamp(24px, 6vw, 32px); }
}
