/* Soma landing — dark dusk-toned design, matching the app's theme tokens. */
:root {
  --bg: #0e1320;
  --bg-elev: #161d2e;
  --card: #1c2438;
  --card-soft: #222c44;
  --primary: #8c9eff;
  --primary-soft: #5c6bc0;
  --accent: #f6c28b;
  --mint: #7fd1b9;
  --rose: #e8a0bf;
  --lilac: #b9a7e6;
  --text: #f5f7ff;
  --muted: #a9b2cc;
  --faint: #6c7693;
  --border: #2a3450;
  --radius: 20px;
  --maxw: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---- glow backdrop ---- */
.glow {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.glow::before, .glow::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.5;
}
.glow::before { width: 520px; height: 520px; background: #3a2b6b; top: -160px; left: -120px; }
.glow::after { width: 460px; height: 460px; background: #1b3a4b; top: 120px; right: -160px; opacity: 0.4; }

/* ---- nav ---- */
nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 19, 32, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}
nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.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(--text); }
.nav-links .lang { font-weight: 700; font-size: 13px; }

/* ---- 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.15s ease, opacity 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: #0c1020; }
.btn-ghost { background: transparent; border-color: var(--primary); color: var(--primary); }
.btn-sm { padding: 9px 18px; font-size: 14px; }

/* ---- hero ---- */
header.hero { position: relative; padding: 70px 0 40px; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 0.9fr; gap: 40px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: 0.4px;
  color: var(--mint); background: rgba(127, 209, 185, 0.1); border: 1px solid rgba(127, 209, 185, 0.25);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.08; letter-spacing: -1px; font-weight: 800; }
.hero h1 .grad {
  background: linear-gradient(120deg, var(--primary), var(--lilac) 60%, var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { color: var(--muted); font-size: 19px; margin: 22px 0 30px; max-width: 30ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.cta-note { color: var(--faint); font-size: 13px; margin-top: 16px; }

/* ---- phone frame ---- */
.phone {
  position: relative; width: 270px; border-radius: 44px; padding: 10px;
  background: linear-gradient(160deg, #2a3450, #111626);
  box-shadow: 0 30px 70px -20px rgba(0,0,0,0.8), inset 0 0 0 1px rgba(255,255,255,0.04);
}
.phone img { width: 100%; border-radius: 36px; display: block; }
.hero-phones { display: flex; justify-content: center; }
.hero-phones .phone { transform: rotate(2deg); }

/* ---- sections ---- */
section { position: relative; padding: 64px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -0.5px; font-weight: 800; }
.section-head p { color: var(--muted); font-size: 17px; margin-top: 12px; }

/* ---- privacy band ---- */
.band {
  border-radius: 28px; padding: 44px; text-align: center;
  background: linear-gradient(140deg, rgba(92,107,192,0.18), rgba(58,43,107,0.1));
  border: 1px solid var(--border);
}
.band .lock { font-size: 30px; }
.band h2 { font-size: clamp(24px, 3vw, 32px); margin: 14px 0 12px; letter-spacing: -0.5px; }
.band p { color: var(--muted); font-size: 17px; max-width: 56ch; margin: 0 auto; }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 24px; }
.pill { font-size: 13px; font-weight: 600; color: var(--text); background: var(--card); border: 1px solid var(--border); padding: 8px 16px; border-radius: 999px; }

/* ---- features ---- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.feat:hover { transform: translateY(-3px); border-color: var(--primary-soft); }
.feat .ico {
  width: 46px; height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.feat .ico svg { width: 24px; height: 24px; }
.feat h3 { font-size: 18px; margin-bottom: 7px; }
.feat p { color: var(--muted); font-size: 15px; }

/* ---- screenshot gallery ---- */
.gallery {
  display: flex; gap: 22px; overflow-x: auto; padding: 8px 24px 24px; scroll-snap-type: x mandatory;
  justify-content: flex-start;
}
.gallery .phone { flex: 0 0 auto; width: 232px; scroll-snap-align: center; }
.gallery .phone .cap { text-align: center; color: var(--faint); font-size: 13px; margin-top: 14px; }
@media (min-width: 1000px) { .gallery { justify-content: center; overflow: visible; } }

/* ---- on-device split ---- */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.split h2 { font-size: clamp(26px, 3.2vw, 34px); letter-spacing: -0.5px; }
.split p { color: var(--muted); font-size: 17px; margin: 16px 0; }
.checklist { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.checklist .ck { color: var(--mint); flex: 0 0 auto; margin-top: 2px; }
.checklist b { color: var(--text); }
.engines { display: grid; gap: 14px; }
.engine { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 20px; }
.engine .h { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.engine .h .dot { width: 10px; height: 10px; border-radius: 50%; }
.engine p { color: var(--muted); font-size: 14px; margin-top: 8px; }

/* ---- footer ---- */
footer { border-top: 1px solid var(--border); padding: 40px 0; margin-top: 30px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
footer .brand { font-size: 16px; }
footer .links { display: flex; gap: 22px; }
footer .links a { color: var(--muted); font-size: 14px; }
footer .links a:hover { color: var(--text); }
.disclaimer { color: var(--faint); font-size: 13px; margin-top: 18px; text-align: center; }

/* ---- legal page ---- */
.legal { max-width: 760px; margin: 0 auto; padding: 56px 0; }
.legal h1 { font-size: 34px; letter-spacing: -0.5px; }
.legal .updated { color: var(--faint); font-size: 14px; margin: 8px 0 30px; }
.legal h2 { font-size: 21px; margin: 32px 0 10px; }
.legal p, .legal li { color: var(--muted); font-size: 16px; margin-bottom: 10px; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--primary); }
.legal .back { display: inline-block; margin-bottom: 24px; color: var(--muted); font-size: 14px; }

/* ---- responsive ---- */
@media (max-width: 860px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero p.lead { max-width: none; }
  .hero-phones { margin-top: 20px; }
  .features { grid-template-columns: 1fr 1fr; }
  .nav-links a:not(.btn):not(.lang) { display: none; }
  .nav-links { gap: 14px; }
}
@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  section { padding: 48px 0; }
}
