/* ===== PlayVault landing — dark theme matching the app ===== */
:root {
  --bg: #0f0f1a;
  --panel: #1e1e2e;
  --panel2: #211f3a;
  --line: #2e2e4e;
  --brand: #6c63ff;
  --brand-2: #4b45c9;
  --text: #ffffff;
  --muted: #9a9ab0;
  --muted-2: #7a7a90;
  --gold: #e5a50a;
  --green: #4ade80;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

.accent { color: var(--brand); }

/* ---- buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  border-radius: 12px;
  padding: 14px 26px;
  font-size: 16px;
  box-shadow: 0 8px 26px -6px var(--brand);
  transition: transform .12s ease, opacity .12s ease;
}
.btn:hover { transform: translateY(-2px); opacity: .95; }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 8px 16px; font-size: 14px; border-radius: 10px; box-shadow: none; }
.btn-lg { padding: 16px 34px; font-size: 18px; }

/* ---- top bar ---- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: rgba(15, 15, 26, .82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.topbar.scrolled { border-bottom-color: var(--line); }
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  font-size: 18px;
}
.brand img { border-radius: 8px; }

/* ---- layout ---- */
.section {
  max-width: 1040px;
  margin: 0 auto;
  padding: 64px 20px;
}
.section h2 {
  font-size: clamp(24px, 5vw, 34px);
  font-weight: 900;
  text-align: center;
}
.section-sub {
  text-align: center;
  color: var(--muted);
  margin-top: 8px;
  margin-bottom: 34px;
}

/* ---- hero ---- */
.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 20px 40px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 32px;
  align-items: center;
}
.pill {
  display: inline-block;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--muted);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
}
.hero h1 {
  font-size: clamp(38px, 9vw, 64px);
  line-height: 1.03;
  font-weight: 900;
  margin: 18px 0 14px;
  letter-spacing: -1px;
}
.lead { color: var(--muted); font-size: 17px; max-width: 460px; }
.hero-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 26px; }
.meta { color: var(--muted-2); font-size: 13px; display: flex; align-items: center; gap: 8px; }
.meta .dot { opacity: .5; }
.trust { margin-top: 18px; color: var(--muted-2); font-size: 13px; }

/* phone mockup */
.hero-art { display: flex; justify-content: center; }
.phone {
  width: 230px;
  height: 460px;
  border-radius: 34px;
  background: linear-gradient(160deg, #26243f, #14131f);
  border: 2px solid var(--line);
  padding: 12px;
  box-shadow: 0 30px 80px -20px rgba(108, 99, 255, .5);
}
.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  background: radial-gradient(120% 80% at 50% 0%, #221f3d 0%, var(--bg) 70%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 20px;
}
.app-icon { border-radius: 22px; box-shadow: 0 12px 30px -8px rgba(108, 99, 255, .6); }
.app-name { font-weight: 900; font-size: 22px; letter-spacing: .5px; }
.mini-board {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.mini-board span {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 22px;
}

/* ---- feature grid ---- */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
}
.card .ico { font-size: 30px; }
.card h3 { margin: 12px 0 6px; font-size: 17px; }
.card p { color: var(--muted); font-size: 14px; }

/* ---- steps ---- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  text-align: center;
}
.step .num {
  width: 40px; height: 40px; margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand); color: #fff;
  border-radius: 50%; font-weight: 900; font-size: 18px;
}
.step h3 { font-size: 16px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14px; }

/* ---- referral ---- */
.referral {
  background: linear-gradient(140deg, #2a2418, var(--panel));
  border: 1px solid var(--gold);
  border-radius: 20px;
  padding: 34px;
  text-align: center;
}
.ref-badge {
  display: inline-block;
  background: var(--gold);
  color: #201700;
  font-weight: 900;
  font-size: 12px;
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 14px;
}
.referral h2 { text-align: center; }
.referral p { color: var(--muted); max-width: 560px; margin: 12px auto 0; }
.referral b { color: var(--gold); }

/* ---- install ---- */
.install {
  max-width: 640px;
  margin: 0 auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 30px;
}
.install ol { padding-left: 20px; display: grid; gap: 12px; }
.install li { color: #d8d8e8; }
.install .note {
  margin-top: 16px;
  color: var(--green);
  font-size: 13px;
  background: rgba(74, 222, 128, .08);
  border-radius: 10px;
  padding: 10px 12px;
}

/* ---- FAQ ---- */
.faq { max-width: 720px; margin: 0 auto; display: grid; gap: 10px; }
.faq details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 4px 18px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 0;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 20px; font-weight: 900; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding: 0 0 16px; font-size: 14px; }

/* ---- final CTA ---- */
.final { text-align: center; }
.final h2 { margin-bottom: 22px; }
.final .meta { justify-content: center; margin-top: 14px; }

/* ---- footer ---- */
.footer {
  border-top: 1px solid var(--line);
  padding: 40px 20px 90px;
  text-align: center;
}
.foot-brand {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 900; font-size: 17px;
}
.foot-brand img { border-radius: 6px; }
.footer .wa {
  display: inline-block;
  margin: 16px 0;
  color: var(--brand);
  text-decoration: none;
  font-weight: 700;
}
.disclaimer { color: var(--muted-2); font-size: 12px; max-width: 560px; margin: 8px auto; line-height: 1.6; }
.copy { color: var(--muted-2); font-size: 12px; margin-top: 10px; }

/* ---- mobile sticky download ---- */
.sticky-dl {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--brand);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  border-radius: 14px;
  padding: 15px;
  box-shadow: 0 10px 30px -6px var(--brand);
  transform: translateY(120%);
  transition: transform .25s ease;
}
.sticky-dl.show { transform: translateY(0); }

/* ---- responsive ---- */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 32px; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .lead { margin: 0 auto; }
  .hero-cta { justify-content: center; }
  .hero-art { order: -1; margin-bottom: 8px; }
  .phone { width: 190px; height: 380px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .sticky-dl { display: flex; }
}
@media (max-width: 480px) {
  .grid { grid-template-columns: 1fr; }
  .section { padding: 48px 18px; }
}
