/* PJALB — marketing site. Brand palette mirrors the app (Overlay.swift). */
:root {
  --base: #0d0a1c;
  --base-2: #120e24;
  --accent: #9466ff;
  --urgent: #ff7545;
  --ink: #ffffff;
  --muted: rgba(255, 255, 255, 0.62);
  --faint: rgba(255, 255, 255, 0.40);
  --surface: rgba(255, 255, 255, 0.05);
  --surface-2: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.12);
  --radius: 16px;
  --max: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--base);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 10, 28, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: 0.5px; }
.brand .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--urgent); box-shadow: 0 0 16px var(--urgent); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--muted); font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: var(--ink); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 15px;
  padding: 12px 22px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--urgent); color: #1a0f08; box-shadow: 0 10px 30px rgba(255, 117, 69, 0.35); }
.btn-primary:hover { box-shadow: 0 14px 40px rgba(255, 117, 69, 0.5); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-sm { padding: 9px 16px; font-size: 14px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 84px 0 60px; text-align: center; }
.hero::before {
  content: ""; position: absolute; inset: -20% 0 auto; height: 720px; z-index: -1;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(148, 102, 255, 0.30), transparent 70%),
    radial-gradient(40% 40% at 70% 20%, rgba(255, 117, 69, 0.16), transparent 70%);
}
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 2.5px; color: var(--accent);
  border: 1px solid rgba(148, 102, 255, 0.4); background: rgba(148, 102, 255, 0.08);
  padding: 7px 16px; border-radius: 999px; margin-bottom: 26px;
}
h1 { font-size: clamp(40px, 7vw, 72px); line-height: 1.02; font-weight: 850; letter-spacing: -1.5px; }
h1 .grad { background: linear-gradient(120deg, var(--urgent), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sub { max-width: 620px; margin: 22px auto 0; font-size: clamp(17px, 2.4vw, 20px); color: var(--muted); }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.cta-note { margin-top: 16px; font-size: 13px; color: var(--faint); }

.shot { margin: 56px auto 0; max-width: 940px; }
.shot img {
  width: 100%; height: auto; display: block; border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(148, 102, 255, 0.1);
}
.shot .caption { margin-top: 14px; font-size: 13px; color: var(--faint); }

/* ---------- sections ---------- */
section { padding: 72px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head .eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 2px; color: var(--urgent); text-transform: uppercase; }
.section-head h2 { font-size: clamp(28px, 4.5vw, 42px); line-height: 1.1; letter-spacing: -1px; margin-top: 12px; }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 17px; }

/* problem band */
.band { background: var(--base-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band .lead { font-size: clamp(22px, 3.4vw, 32px); font-weight: 700; line-height: 1.3; text-align: center; max-width: 760px; margin: 0 auto; letter-spacing: -0.5px; }
.band .lead em { color: var(--urgent); font-style: normal; }

/* feature grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: rgba(148, 102, 255, 0.45); transform: translateY(-3px); }
.card .ic { font-size: 26px; margin-bottom: 14px; }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }

/* privacy */
.privacy { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.privacy ul { list-style: none; margin-top: 20px; display: grid; gap: 14px; }
.privacy li { display: flex; gap: 12px; color: var(--muted); }
.privacy li b { color: var(--ink); }
.check { color: var(--urgent); font-weight: 800; }
.privacy .panel {
  background: linear-gradient(160deg, rgba(148, 102, 255, 0.14), rgba(255, 117, 69, 0.06));
  border: 1px solid rgba(148, 102, 255, 0.3); border-radius: 20px; padding: 32px;
}
.privacy .panel .big { font-size: 22px; font-weight: 800; line-height: 1.3; letter-spacing: -0.5px; }
.privacy .panel .small { color: var(--muted); margin-top: 12px; font-size: 15px; }

/* pricing */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.price {
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  padding: 30px; display: flex; flex-direction: column;
}
.price.feature { border-color: var(--urgent); background: linear-gradient(170deg, rgba(255, 117, 69, 0.12), var(--surface)); position: relative; }
.price .badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--urgent); color: #1a0f08; font-size: 12px; font-weight: 800; padding: 5px 14px; border-radius: 999px; letter-spacing: 0.5px; }
.price .name { font-size: 15px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.price .amount { font-size: 44px; font-weight: 850; letter-spacing: -1.5px; margin: 12px 0 2px; }
.price .amount .per { font-size: 16px; font-weight: 600; color: var(--faint); letter-spacing: 0; }
.price .tagline { color: var(--faint); font-size: 14px; min-height: 20px; }
.price ul { list-style: none; margin: 22px 0; display: grid; gap: 11px; flex: 1; }
.price li { display: flex; gap: 10px; font-size: 15px; color: var(--muted); }
.price li .check { color: var(--urgent); }
.price .btn { justify-content: center; }

/* comparison table */
.cmp { width: 100%; border-collapse: collapse; font-size: 15px; }
.cmp th, .cmp td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.cmp thead th { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--faint); }
.cmp thead th.pjalb { color: var(--urgent); }
.cmp tbody td:first-child { color: var(--muted); }
.cmp .pjalb { background: rgba(255, 117, 69, 0.06); font-weight: 600; }
.cmp .win { color: var(--urgent); }
.cmp-note { margin-top: 18px; font-size: 13px; color: var(--faint); text-align: center; }

/* final cta */
.final { text-align: center; }
.final h2 { font-size: clamp(30px, 5vw, 48px); letter-spacing: -1px; }
.final p { color: var(--muted); margin: 16px auto 28px; max-width: 520px; font-size: 17px; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--faint); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
footer a { color: var(--muted); }
footer a:hover { color: var(--ink); }
footer .legal { font-size: 12px; }

/* responsive */
@media (max-width: 860px) {
  .grid, .prices { grid-template-columns: 1fr; }
  .privacy { grid-template-columns: 1fr; }
  .nav-links a:not(.btn) { display: none; }
  .cmp { font-size: 13px; }
  .cmp th, .cmp td { padding: 12px 10px; }
}

/* ---------- trust additions ---------- */
.tribe { margin-top: 14px; font-size: 14px; color: var(--accent); font-weight: 600; }
.founder-band { background: var(--base-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.founder { text-align: center; max-width: 740px; margin: 0 auto; }
.founder .eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 2px; color: var(--urgent); text-transform: uppercase; }
.founder-note { font-size: clamp(18px, 2.6vw, 23px); line-height: 1.5; margin-top: 16px; color: var(--ink); font-weight: 500; }
.founder-sign { margin-top: 16px; color: var(--muted); font-size: 15px; font-style: italic; }
.anchor { margin-top: 12px; color: var(--urgent); font-weight: 700; }

/* ---------- waitlist form ---------- */
.wl-form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
.wl-form input[type="email"] {
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 12px 22px; color: var(--ink); font-size: 15px; min-width: 280px; outline: none;
  transition: border-color 0.2s ease;
}
.wl-form input[type="email"]:focus { border-color: var(--accent); }
.wl-form input[type="email"]::placeholder { color: var(--faint); }
.wl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
