/* Landing page styles. privacy.html and terms.html keep using style.css. */
:root {
  --bg: #0d0f1c;
  --bg-2: #141729;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-hi: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.10);
  --text: #eef0fa;
  --muted: #a3a8c3;
  --lavender: #b9a3f0;
  --peach: #f6b38f;
  --mint: #8fd9be;
  --blue: #6c8cff;
  --grad: linear-gradient(120deg, var(--lavender), var(--peach) 50%, var(--mint));
  --radius: 22px;
  --max: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Ambient background glows */
.glow { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.glow span { position: absolute; border-radius: 50%; filter: blur(110px); opacity: 0.35; }
.glow span:nth-child(1) { width: 520px; height: 520px; background: var(--lavender); top: -160px; left: -140px; }
.glow span:nth-child(2) { width: 460px; height: 460px; background: var(--mint); top: 30%; right: -180px; opacity: 0.22; }
.glow span:nth-child(3) { width: 420px; height: 420px; background: var(--peach); bottom: -200px; left: 25%; opacity: 0.18; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  background: rgba(13, 15, 28, 0.6);
  border-bottom: 1px solid var(--border);
}
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; letter-spacing: -0.01em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 0.95rem; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--text); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: 14px;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
  border: 1px solid var(--border); background: var(--surface); color: var(--text);
  transition: transform .2s, background .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); background: var(--surface-hi); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-store { background: #fff; color: #0b0b0f; border-color: #fff; padding: 10px 20px 10px 16px; }
.btn-store:hover { background: #f1f1f4; }
.btn-store .lbl { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.btn-store small { font-size: 0.68rem; font-weight: 500; opacity: .75; }
.btn-store strong { font-size: 1.12rem; letter-spacing: -0.01em; }
.btn-sm { padding: 8px 14px; font-size: 0.9rem; border-radius: 11px; }
.btn-grad { background: var(--grad); color: #17142a; border: 0; }
.btn-grad:hover { background: var(--grad); filter: brightness(1.05); }

/* Hero */
.hero { padding: 72px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: 0.85rem; color: var(--muted); font-weight: 500;
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(143, 217, 190, .2); }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.3rem); line-height: 1.04; letter-spacing: -0.035em; margin: 20px 0 18px; font-weight: 800; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 540px; margin: 0 0 30px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-meta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: 0.9rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta svg { width: 16px; height: 16px; color: var(--mint); }

.phones { position: relative; height: 600px; }
.phone {
  position: absolute; width: 270px; border-radius: 40px; padding: 9px;
  background: linear-gradient(160deg, #2a2e48, #12142a);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .7), 0 0 0 1px rgba(0, 0, 0, .4) inset;
}
.phone img { border-radius: 32px; width: 100%; }
.phone.front { left: 50%; top: 0; transform: translateX(-30%) rotate(3deg); z-index: 2; }
.phone.back { left: 50%; top: 60px; transform: translateX(-95%) rotate(-7deg); opacity: .75; }

/* Sections */
section { padding: 88px 0; }
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.eyebrow { color: var(--lavender); font-weight: 700; font-size: 0.82rem; letter-spacing: .14em; text-transform: uppercase; }
.sec-head h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); letter-spacing: -0.03em; line-height: 1.12; margin: 10px 0 14px; }
.sec-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }

/* Video */
.video {
  position: relative; aspect-ratio: 16 / 9; max-width: 960px; margin: 0 auto;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); background: #000;
  box-shadow: 0 30px 80px -30px rgba(185, 163, 240, .45);
}
.video iframe, .video button { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video button { padding: 0; cursor: pointer; background: #000 center / cover no-repeat; }
.video button::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .55)); }
.video .play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 1;
  width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .16); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .35); transition: transform .2s;
}
.video button:hover .play { transform: translate(-50%, -50%) scale(1.08); }
.video .play svg { width: 30px; height: 30px; margin-left: 4px; color: #fff; }

/* Features */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; transition: transform .25s, border-color .25s, background .25s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(185, 163, 240, .4); background: var(--surface-hi); }
.card .ico {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(185, 163, 240, .25), rgba(143, 217, 190, .18));
  border: 1px solid var(--border);
}
.card .ico svg { width: 22px; height: 22px; color: var(--text); }
.card h3 { margin: 0 0 6px; font-size: 1.12rem; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); font-size: 0.97rem; }
.card .tag { display: inline-block; margin-left: 6px; font-size: 0.7rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--grad); color: #17142a; vertical-align: middle; }

/* Screenshot strip */
.shots { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 20px 22px; scrollbar-width: thin; }
.shots img {
  flex: none; width: 230px; border-radius: 28px; scroll-snap-align: center;
  border: 1px solid var(--border); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .8);
}
@media (min-width: 1500px) { .shots { justify-content: center; } }

/* Android beta */
.beta {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start;
  padding: 44px; border-radius: 30px;
  background: linear-gradient(140deg, rgba(185, 163, 240, .12), rgba(143, 217, 190, .08));
  border: 1px solid var(--border);
}
.beta h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); letter-spacing: -0.03em; line-height: 1.12; margin: 10px 0 14px; }
.beta p { color: var(--muted); }
.steps { list-style: none; padding: 0; margin: 24px 0 0; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 0 0 18px 46px; color: var(--muted); }
.steps li strong { color: var(--text); display: block; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0;
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface-hi); border: 1px solid var(--border); color: var(--text); font-weight: 700; font-size: .88rem;
}
form.request { background: rgba(13, 15, 28, .55); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 6px; }
.field .hint { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--border); color: var(--text);
  font: inherit; font-size: .97rem; transition: border-color .2s, box-shadow .2s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { background: var(--bg-2); }
.field textarea { min-height: 84px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--lavender); box-shadow: 0 0 0 4px rgba(185, 163, 240, .18); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--muted); margin: 4px 0 18px; }
.consent input { margin-top: 4px; accent-color: var(--lavender); }
form.request .btn { width: 100%; justify-content: center; padding: 14px; }
.form-status { margin: 14px 0 0; font-size: .92rem; min-height: 1.4em; }
.form-status.ok { color: var(--mint); }
.form-status.err { color: #ff9b9b; }
.hp { position: absolute; left: -9999px; }

/* Support */
.support-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.support-grid .card p strong { color: var(--text); font-weight: 600; }
.notice { margin-top: 18px; text-align: center; color: var(--muted); font-size: .92rem; }
.notice a { color: var(--lavender); }

/* Final CTA + footer */
.final { text-align: center; padding: 64px 20px 88px; }
.final img { width: 88px; height: 88px; border-radius: 22px; margin: 0 auto 22px; box-shadow: 0 20px 60px -15px rgba(185, 163, 240, .6); }
.final h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); letter-spacing: -0.03em; margin: 0 0 12px; }
.final p { color: var(--muted); margin: 0 0 28px; }
.final .cta { justify-content: center; }
footer { border-top: 1px solid var(--border); padding: 30px 0; color: var(--muted); font-size: .9rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
footer nav { display: flex; gap: 22px; margin-left: auto; }
footer a { text-decoration: none; }
footer a:hover { color: var(--text); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .play { transition: none; }
}

/* Responsive */
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .cta, .hero-meta { justify-content: center; }
  .phones { height: 520px; max-width: 420px; margin: 0 auto; width: 100%; }
  .phone { width: 230px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .beta { grid-template-columns: 1fr; padding: 28px; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
  .hero { padding-top: 44px; }
  section { padding: 64px 0; }
  .grid, .support-grid { grid-template-columns: 1fr; }
  .phones { height: 450px; }
  .phone { width: 200px; border-radius: 32px; padding: 7px; }
  .phone img { border-radius: 26px; }
  .beta { padding: 22px 18px; border-radius: 24px; }
  form.request { padding: 20px; }
  .shots img { width: 190px; border-radius: 24px; }
  footer nav { margin-left: 0; }
}
