:root {
  --bg: #0d0f1e;
  --surface: #171a2e;
  --surface-high: #21253f;
  --text: #f3f4fa;
  --muted: #9aa0bc;
  --accent: #8b7cff;
  --accent2: #4fd1ff;
  --keep: #34d399;
  --delete: #ff5c7a;
  --radius: 22px;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent2); text-decoration: none; }
a:hover { text-decoration: underline; }

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

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

/* ---------- Header ---------- */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(13, 15, 30, 0.75);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 18px; }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav nav { margin-left: auto; display: flex; gap: 22px; }
.nav nav a { color: var(--muted); font-weight: 600; font-size: 15px; }
.nav nav a:hover, .nav nav a[aria-current] { color: var(--text); text-decoration: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 14px;
  font-weight: 700; font-size: 16px; color: #fff;
  background: linear-gradient(135deg, var(--accent), #6a5af0);
  box-shadow: 0 10px 30px rgba(139, 124, 255, 0.35);
}
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.btn.ghost { background: var(--surface-high); box-shadow: none; }
.btn svg { width: 22px; height: 22px; fill: currentColor; }

/* ---------- App Store badge ---------- */
.appstore {
  display: inline-flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 22px 0 16px; border-radius: 13px;
  background: #000; color: #fff; border: 1.5px solid #a6a6a6;
}
.appstore:hover { text-decoration: none; background: #111; }
.appstore svg { width: 30px; height: 30px; fill: #fff; }
.appstore span { display: flex; flex-direction: column; font-size: 23px; font-weight: 600; line-height: 1; letter-spacing: -0.01em; }
.appstore small { font-size: 12px; font-weight: 500; letter-spacing: 0.01em; margin-bottom: 3px; }

/* ---------- Final CTA ---------- */
.get { text-align: center; padding-top: 0; }
.get .icon { width: 96px; height: 96px; border-radius: 22px; margin: 0 auto 20px; box-shadow: 0 12px 40px rgba(30, 123, 239, 0.45); }
.get h2 { font-size: clamp(30px, 4vw, 42px); margin: 0 0 10px; }
.get p { color: var(--muted); font-size: 18px; margin: 0 0 26px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 80px 0 40px;
  background:
    radial-gradient(900px 500px at 15% 10%, rgba(139, 124, 255, 0.35), transparent 60%),
    radial-gradient(700px 500px at 90% 30%, rgba(79, 209, 255, 0.22), transparent 60%);
}
.hero .wrap.split { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 40px; }
.hero .wrap.split > *, .feature > * { min-width: 0; }
.hero h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.05; margin: 18px 0; letter-spacing: -0.02em; }
.hero h1 span {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { font-size: 20px; color: var(--muted); max-width: 520px; margin: 0 0 28px; }
.hero .icon { width: 84px; height: 84px; border-radius: 20px; box-shadow: 0 12px 40px rgba(30, 123, 239, 0.45); }
.hero .ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .note { margin-top: 16px; color: var(--muted); font-size: 14px; }
.hero .phones { position: relative; height: 640px; }
.hero .phones img { position: absolute; width: 290px; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.55)); }
.hero .phones img:first-child { left: 0; top: 60px; transform: rotate(-6deg); }
.hero .phones img:last-child { right: 0; top: 0; transform: rotate(4deg); }

/* ---------- Stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 40px auto 0; }
.stat { background: var(--surface); border-radius: var(--radius); padding: 22px; text-align: center; border: 1px solid rgba(255,255,255,0.05); }
.stat b { display: block; font-size: 28px; }
.stat span { color: var(--muted); font-size: 15px; }

/* ---------- Features ---------- */
section { padding: 90px 0; }
.section-title { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-title h2 { font-size: clamp(32px, 4vw, 44px); line-height: 1.15; margin: 0 0 12px; letter-spacing: -0.01em; }
.section-title p { color: var(--muted); font-size: 18px; margin: 0; }

.feature { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; margin-bottom: 100px; }
.feature:last-child { margin-bottom: 0; }
.feature.flip .shot { order: 2; }
.feature .shot { display: flex; justify-content: center; }
.feature .shot img { width: 300px; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.5)); }
.feature .tag {
  display: inline-block; padding: 5px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  background: rgba(139, 124, 255, 0.16); color: var(--accent);
}
.feature h3 { font-size: clamp(28px, 3.4vw, 38px); line-height: 1.15; margin: 14px 0; }
.feature p { color: var(--muted); font-size: 18px; margin: 0 0 18px; }
.feature ul { list-style: none; padding: 0; margin: 0; }
.feature li { padding-left: 30px; position: relative; margin: 10px 0; }
.feature li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--keep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%230d0f1e' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* ---------- Grid of small features ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--surface); border-radius: var(--radius); padding: 26px; border: 1px solid rgba(255,255,255,0.05); }
.card .em { font-size: 28px; }
.card h4 { margin: 12px 0 6px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }

/* ---------- Privacy band ---------- */
.band {
  border-radius: 32px; padding: 56px; text-align: center;
  background: linear-gradient(135deg, rgba(58, 75, 216, 0.55), rgba(139, 124, 255, 0.35));
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.band h2 { font-size: clamp(30px, 4vw, 42px); margin: 0 0 12px; }
.band p { color: #d9dcf0; font-size: 18px; max-width: 640px; margin: 0 auto 26px; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; }
details { background: var(--surface); border-radius: 16px; padding: 18px 22px; margin-bottom: 12px; border: 1px solid rgba(255,255,255,0.05); }
summary { cursor: pointer; font-weight: 700; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p, details ul { color: var(--muted); margin: 12px 0 0; }
details ul { padding-left: 20px; }

/* ---------- Document pages ---------- */
.doc { max-width: 780px; margin: 0 auto; padding: 64px 20px 90px; }
.doc h1 { font-size: clamp(34px, 5vw, 48px); margin: 0 0 8px; letter-spacing: -0.01em; }
.doc .updated { color: var(--muted); margin: 0 0 36px; }
.doc h2 { font-size: 24px; margin: 40px 0 10px; }
.doc p, .doc li { color: #c9cce0; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc .box { background: var(--surface); border-radius: var(--radius); padding: 24px 26px; border: 1px solid rgba(255,255,255,0.05); margin: 24px 0; }
.doc .box p { margin: 0; }
.contact { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid rgba(255, 255, 255, 0.06); padding: 36px 0; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
footer nav { margin-left: auto; display: flex; gap: 20px; }
footer a { color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero { padding-top: 48px; }
  .hero .wrap.split, .feature { grid-template-columns: 1fr; }
  .hero .phones { height: 520px; max-width: 460px; margin: 0 auto; width: 100%; }
  .hero .phones img { width: 230px; }
  .feature { gap: 30px; margin-bottom: 70px; text-align: left; }
  .feature.flip .shot { order: 0; }
  .feature .shot img { width: 250px; }
  .cards { grid-template-columns: 1fr 1fr; }
  section { padding: 64px 0; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .nav nav { gap: 16px; }
  .nav nav a.hide-sm { display: none; }
  .hero .phones { height: 430px; }
  .hero .phones img { width: 190px; }
  .stats, .cards { grid-template-columns: 1fr; }
  .band { padding: 36px 22px; border-radius: 24px; }
  footer nav { margin-left: 0; }
}
