:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --ink: #0b1220;
  --ink-2: #4a5568;
  --ink-3: #8a94a6;
  --line: #e6eaf2;
  --accent: #0a84ff;
  --accent-ink: #ffffff;
  --navy: #13214a;
  --navy-2: #1d2f63;
  --ok: #22c55e;
  --warn: #f59e0b;
  --radius: 22px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 12px 40px -12px rgba(16, 24, 40, .14);
  --max: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0d14;
    --surface: #121722;
    --ink: #f2f5fa;
    --ink-2: #b4bccb;
    --ink-3: #7d879a;
    --line: #222a39;
    --navy: #0f1730;
    --navy-2: #17234a;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 40px -12px rgba(0, 0, 0, .6);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; text-decoration: none; letter-spacing: -.01em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; background: #fff; }
.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: 15px; }
.nav-links a { text-decoration: none; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 2px; font-size: 13px; font-weight: 600; }
.lang button { border: 0; background: none; color: var(--ink-3); padding: 4px 10px; border-radius: 999px; cursor: pointer; font: inherit; }
.lang button.on { background: var(--ink); color: var(--bg); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: var(--bg);
  padding: 12px 22px; border-radius: 14px;
  text-decoration: none; font-weight: 600; font-size: 16px;
  transition: transform .15s, opacity .15s;
}
.btn:hover { transform: translateY(-1px); opacity: .92; }
.btn svg { width: 22px; height: 22px; fill: currentColor; }
.btn small { display: block; font-size: 11px; font-weight: 500; opacity: .75; line-height: 1.1; }
.btn span { line-height: 1.15; text-align: left; }
.btn-sm { padding: 8px 14px; border-radius: 11px; font-size: 14px; }

/* Hero */
.hero { padding: 72px 0 40px; text-align: center; overflow: hidden; }
.eyebrow { display: inline-block; color: var(--accent); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
h1 { font-size: clamp(40px, 7vw, 76px); line-height: 1.02; letter-spacing: -.035em; margin: 0 auto 20px; max-width: 900px; font-weight: 800; }
h1 em { font-style: normal; background: linear-gradient(90deg, var(--accent), #5e5ce6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--ink-2); max-width: 640px; margin: 0 auto 32px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap; }
.hero-note { color: var(--ink-3); font-size: 14px; }
.hero-stage { position: relative; margin: 64px auto 0; max-width: 980px; height: 520px; }
.hero-stage .shot { position: absolute; width: 300px; border-radius: 28px; box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--surface); }
.hero-stage .s1 { left: 50%; top: 0; transform: translateX(-50%); z-index: 3; width: 340px; }
.hero-stage .s2 { left: 6%; top: 70px; transform: rotate(-6deg); z-index: 2; }
.hero-stage .s3 { right: 6%; top: 70px; transform: rotate(6deg); z-index: 2; }
.hero-stage .icon { position: absolute; width: 120px; left: 50%; top: -48px; transform: translateX(-210px) rotate(-8deg); z-index: 4; border-radius: 28px; filter: drop-shadow(0 18px 30px rgba(16,24,40,.18)); }

/* Trust strip */
.strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; padding: 28px 0 8px; color: var(--ink-2); font-size: 15px; }
.strip span::before { content: "✓"; color: var(--ok); font-weight: 700; margin-right: 8px; }

/* Sections */
section { padding: 96px 0; }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
h2 { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.06; letter-spacing: -.03em; margin: 0 0 16px; font-weight: 800; }
.sec-head p { color: var(--ink-2); font-size: 19px; margin: 0; }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 40px 0; }
.feature:nth-child(even) .feature-media { order: -1; }
.feature-media img { border-radius: 26px; box-shadow: var(--shadow); border: 1px solid var(--line); max-width: 440px; margin: 0 auto; }
.feature h3 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -.02em; line-height: 1.1; margin: 0 0 14px; }
.feature p { color: var(--ink-2); margin: 0 0 18px; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.feature ul { list-style: none; padding: 0; margin: 0; color: var(--ink-2); }
.feature li { padding: 6px 0 6px 28px; position: relative; }
.feature li::before { content: ""; position: absolute; left: 0; top: 13px; width: 16px; height: 10px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }

/* Grid of small features */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card .ico { font-size: 28px; margin-bottom: 14px; }
.card h4 { margin: 0 0 6px; font-size: 18px; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* Gallery */
.gallery { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 20px 24px; margin: 0 -20px; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery img { flex: 0 0 260px; border-radius: 22px; border: 1px solid var(--line); box-shadow: var(--shadow); scroll-snap-align: center; }

/* Privacy */
.privacy { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #eef2fb; border-radius: 36px; padding: 72px 56px; margin: 0 20px; }
.privacy h2 { color: #fff; }
.privacy .sec-head p { color: #b9c4e0; }
.privacy .grid { grid-template-columns: repeat(3, 1fr); }
.privacy .card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.1); }
.privacy .card p { color: #b9c4e0; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); justify-content: center; gap: 20px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; position: relative; }
.plan.best { border: 2px solid var(--accent); }
.plan .badge { position: absolute; top: -13px; left: 32px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.plan h4 { margin: 0 0 4px; font-size: 18px; }
.price { font-size: 44px; font-weight: 800; letter-spacing: -.03em; margin: 8px 0 2px; }
.price small { font-size: 16px; font-weight: 500; color: var(--ink-3); letter-spacing: 0; }
.plan p { color: var(--ink-2); margin: 0; font-size: 15px; }
.fine { text-align: center; color: var(--ink-3); font-size: 13px; max-width: 640px; margin: 24px auto 0; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 0 24px; margin-bottom: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 600; font-size: 18px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ink-3); font-weight: 400; font-size: 24px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--ink-2); }

/* CTA */
.cta { text-align: center; }
.cta img { width: 112px; margin: 0 auto 24px; border-radius: 26px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 40px 0 56px; color: var(--ink-3); font-size: 14px; }
footer .wrap { display: grid; gap: 20px; }
.foot-top { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
.foot-top .brand { color: var(--ink); margin-right: auto; }
footer a { text-decoration: none; color: var(--ink-2); }
footer a:hover { color: var(--ink); }

/* Legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 48px 20px 96px; }
.legal .back { display: inline-block; color: var(--accent); text-decoration: none; margin-bottom: 28px; font-weight: 600; }
.legal h1 { font-size: clamp(34px, 5vw, 48px); text-align: left; margin: 0 0 8px; }
.legal .updated { color: var(--ink-3); margin: 0 0 40px; }
.legal h2 { font-size: 22px; letter-spacing: -.01em; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { padding-left: 22px; }
.legal li { margin: 6px 0; }
.legal strong { color: var(--ink); }

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

/* Responsive */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .lang { margin-left: auto; }
  .hero { padding-top: 48px; }
  .hero-stage { height: 440px; }
  .hero-stage .s1 { width: 280px; }
  .hero-stage .s2, .hero-stage .s3 { width: 230px; top: 60px; }
  .hero-stage .s2 { left: -20px; }
  .hero-stage .s3 { right: -20px; }
  .hero-stage .icon { width: 84px; transform: translateX(-170px) rotate(-8deg); top: -30px; }
  .feature { grid-template-columns: 1fr; gap: 28px; padding: 28px 0; }
  .feature:nth-child(even) .feature-media { order: 0; }
  .grid, .privacy .grid { grid-template-columns: 1fr 1fr; }
  .privacy { padding: 56px 24px; margin: 0 12px; border-radius: 28px; }
  section { padding: 72px 0; }
}
@media (max-width: 560px) {
  .nav .btn-sm { display: none; }
  .hero-stage { height: 380px; }
  .hero-stage .s1 { width: 240px; }
  .hero-stage .s2, .hero-stage .s3 { display: none; }
  .hero-stage .icon { transform: translateX(-150px) rotate(-8deg); }
  .grid, .privacy .grid, .plans { grid-template-columns: 1fr; }
}
