:root {
  --bg: #0b0b0f;
  --bg-2: #0f0f15;
  --panel: #14141b;
  --panel-2: #1a1a23;
  --text: #f5f5f7;
  --muted: #9a9aa6;
  --accent: #ff3b6b;
  --accent-2: #ff8a3b;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(255, 59, 107, 0.18), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(80, 120, 255, 0.10), transparent 60%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- Top nav ---------- */
.topnav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: rgba(11, 11, 15, 0.72);
  backdrop-filter: saturate(140%) blur(18px);
  -webkit-backdrop-filter: saturate(140%) blur(18px);
  border-bottom: 1px solid var(--border);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}
.brand-logo {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid; place-items: center;
  font-weight: 700; font-size: 14px; color: white;
  box-shadow: 0 6px 18px rgba(255, 59, 107, 0.35);
}
.brand-name { font-weight: 600; letter-spacing: -0.01em; }
.topnav-links { display: flex; gap: 18px; }
.topnav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s ease;
}
.topnav-links a:hover { color: var(--text); }
.topnav-links a[aria-current="page"] { color: var(--text); }

/* ---------- Layout ---------- */
.wrap { max-width: 1100px; margin: 0 auto; padding: 56px 24px 80px; }
.wrap.narrow { max-width: 760px; }

.page-header { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; margin-bottom: 32px; }
.logo {
  width: 100px; height: 100px; border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(255, 59, 107, 0.35);
}
.logo img { width: 100%; height: 100%; display: block; }
h1 { font-size: 34px; margin: 0; letter-spacing: -0.02em; line-height: 1.15; }
h2 { font-size: 20px; margin: 26px 0 10px; letter-spacing: -0.01em; }
h3 { font-size: 16px; margin: 16px 0 6px; color: var(--text); }
h2:first-child { margin-top: 0; }
.tag { color: var(--muted); font-size: 15px; margin-top: 2px; }

p, li { color: #d8d8df; font-size: 16px; }
ul, ol { padding-left: 20px; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
strong { color: var(--text); }

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

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px 26px;
  margin-bottom: 18px;
}

.nav-back { margin: 24px 0 8px; }
.nav-back a { color: var(--muted); font-size: 14px; }

footer {
  color: var(--muted);
  font-size: 13px;
  text-align: center;
  margin-top: 40px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 80px 24px 60px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  overflow: hidden;
}
.hero-eyebrow {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}
.hero h1.hero-title {
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: -0.035em;
  font-weight: 700;
  line-height: 1.02;
  margin: 0 auto 20px;
  max-width: 880px;
  background: linear-gradient(180deg, #ffffff 0%, #c8c8d3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: clamp(17px, 1.7vw, 20px);
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 32px;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}
.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 10px 28px rgba(255, 59, 107, 0.45);
}
.btn-primary:hover { transform: translateY(-1px); text-decoration: none; }
.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); text-decoration: none; }

.hero-image {
  margin: 56px auto 0;
  max-width: 1100px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border);
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  aspect-ratio: 3 / 2;
  background: linear-gradient(135deg, #1a1320, #0b0b0f);
}
.hero-image img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
}

/* ---------- Strip ---------- */
.strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  padding: 28px 24px;
  max-width: 1100px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.02em;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.strip span { display: inline-flex; align-items: center; gap: 8px; }
.strip .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); display: inline-block; }

/* ---------- Sections ---------- */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 24px;
}
.section-eyebrow {
  display: block;
  text-align: center;
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  text-align: center;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -0.025em;
  margin: 0 auto 16px;
  max-width: 760px;
  line-height: 1.1;
}
.section-sub {
  text-align: center;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 56px;
  font-size: 17px;
}

/* ---------- Feature grid w/ phone mocks ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature {
  background: linear-gradient(180deg, var(--panel) 0%, var(--panel-2) 100%);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px 24px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
  position: relative;
}
.feature h3 {
  font-size: 19px;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.feature p {
  color: var(--muted);
  font-size: 15px;
  margin: 0 0 28px;
  max-width: 260px;
}
.feature .phone-wrap {
  margin-top: auto;
  transform: translateY(20px);
}

/* ---------- Phone mock ---------- */
.phone {
  width: 220px;
  height: 440px;
  border-radius: 38px;
  background: #000;
  border: 8px solid #1c1c22;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  position: relative;
  padding: 12px;
  overflow: hidden;
}
.phone::before {
  content: "";
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 90px; height: 22px;
  background: #000;
  border-radius: 14px;
  z-index: 3;
}
.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  background: var(--bg);
  overflow: hidden;
  position: relative;
  padding: 38px 12px 12px;
}
.ps-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  color: var(--text);
}
.ps-sub { font-size: 9px; color: var(--muted); margin-bottom: 10px; }

/* Library grid in phone */
.ps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}
.ps-poster {
  aspect-ratio: 2/3;
  border-radius: 6px;
  background: linear-gradient(135deg, #2a1530, #4a1a2a);
  position: relative;
  overflow: hidden;
}
.ps-poster::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.6));
}
.ps-poster.p1 { background: linear-gradient(135deg, #5a2030, #1a0d1f); }
.ps-poster.p2 { background: linear-gradient(135deg, #1f3a5a, #0d1a2a); }
.ps-poster.p3 { background: linear-gradient(135deg, #5a4520, #2a200d); }
.ps-poster.p4 { background: linear-gradient(135deg, #4a1f5a, #1f0d2a); }
.ps-poster.p5 { background: linear-gradient(135deg, #5a2020, #2a0d0d); }
.ps-poster.p6 { background: linear-gradient(135deg, #205a3a, #0d2a1f); }
.ps-poster.p7 { background: linear-gradient(135deg, #2a2a3a, #14141b); }
.ps-poster.p8 { background: linear-gradient(135deg, #5a3a20, #2a1f0d); }
.ps-poster.p9 { background: linear-gradient(135deg, #3a205a, #1f0d2a); }

/* Discover hero card */
.ps-hero {
  aspect-ratio: 3/4;
  border-radius: 10px;
  background: linear-gradient(135deg, #6a1f3a, #2a0d1f);
  position: relative;
  overflow: hidden;
  margin-bottom: 8px;
}
.ps-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255, 100, 130, 0.4), transparent 60%);
}
.ps-hero-label {
  position: absolute;
  bottom: 8px; left: 8px; right: 8px;
  font-size: 10px;
  font-weight: 700;
  z-index: 2;
}
.ps-chip-row { display: flex; gap: 4px; flex-wrap: wrap; }
.ps-chip {
  font-size: 8px;
  padding: 3px 7px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
}
.ps-chip.active { background: var(--accent); border-color: var(--accent); }

/* Tag card */
.ps-tag-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  display: flex;
  gap: 10px;
}
.ps-tag-poster {
  width: 50px; height: 75px;
  border-radius: 5px;
  background: linear-gradient(135deg, #4a1f5a, #1f0d2a);
  flex-shrink: 0;
}
.ps-tag-content { flex: 1; min-width: 0; }
.ps-tag-title { font-size: 10px; font-weight: 700; margin-bottom: 2px; }
.ps-tag-meta { font-size: 8px; color: var(--muted); margin-bottom: 6px; }
.ps-stars { color: var(--accent); font-size: 9px; letter-spacing: 1px; }
.ps-actions { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.ps-action {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 9px;
  padding: 7px 9px;
  background: rgba(255,255,255,0.04);
  border-radius: 7px;
  border: 1px solid var(--border);
}
.ps-action.on { background: rgba(255, 59, 107, 0.15); border-color: rgba(255, 59, 107, 0.35); color: var(--accent); }
.ps-toggle { width: 18px; height: 11px; border-radius: 99px; background: rgba(255,255,255,0.1); position: relative; }
.ps-toggle::after { content: ""; position: absolute; top: 1px; left: 1px; width: 9px; height: 9px; border-radius: 50%; background: white; }
.ps-toggle.on { background: var(--accent); }
.ps-toggle.on::after { left: auto; right: 1px; }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step {
  padding: 28px 24px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  position: relative;
}
.step-num {
  display: inline-block;
  width: 32px; height: 32px;
  border-radius: 10px;
  background: rgba(255, 59, 107, 0.15);
  color: var(--accent);
  font-weight: 700;
  display: grid; place-items: center;
  margin-bottom: 14px;
  font-size: 14px;
}
.step h3 { margin: 0 0 6px; font-size: 17px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- Big footer CTA ---------- */
.cta-card {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 32px;
  border-radius: 28px;
  text-align: center;
  background:
    radial-gradient(600px 240px at 50% 0%, rgba(255, 59, 107, 0.25), transparent 70%),
    linear-gradient(180deg, var(--panel) 0%, var(--panel-2) 100%);
  border: 1px solid var(--border-strong);
}
.cta-card h2 {
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.025em;
  margin: 0 0 12px;
}
.cta-card p { color: var(--muted); margin: 0 0 28px; }

/* ---------- Site footer ---------- */
.site-footer {
  max-width: 1100px;
  margin: 80px auto 40px;
  padding: 32px 24px 0;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
}
.site-footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer-links a { color: var(--muted); }
.site-footer-links a:hover { color: var(--text); text-decoration: none; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Details / FAQ ---------- */
details {
  margin: 10px 0;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px solid var(--border);
}
details summary { cursor: pointer; font-weight: 600; }
details[open] { background: rgba(255, 255, 255, 0.05); }
details p { margin: 10px 0 4px; color: var(--muted); }

.contact-btn {
  display: inline-block;
  margin-top: 6px;
  padding: 12px 18px;
  background: var(--accent);
  color: white;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(255, 59, 107, 0.35);
}
.contact-btn:hover { text-decoration: none; opacity: 0.95; }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .features { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .steps { grid-template-columns: 1fr; }
  .section { padding: 70px 20px; }
  .hero { padding: 56px 20px 40px; }
  .topnav { padding: 12px 16px; }
  .topnav-links { gap: 14px; }
  .topnav-links a { font-size: 13px; }
}
@media (max-width: 520px) {
  .topnav-links a:nth-child(n+3) { display: none; }
  .strip { gap: 12px; font-size: 12px; padding: 18px 16px; }
}
