:root {
  --bg: #050d16;
  --glass: rgba(16, 30, 44, .58);
  --glass-strong: rgba(18, 34, 50, .82);
  --line: rgba(130, 190, 240, .16);
  --line-strong: rgba(130, 190, 240, .3);
  --text: #eef3f8;
  --muted: #9cadc0;
  --accent: #4db8ff;
  --accent-2: #7fd0ff;
  --ink: #03121e;
  --good: #63d38a;
  --r: 18px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 'Segoe UI', Inter, system-ui, -apple-system, Roboto, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--accent); }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 14px; }
h3 { font-size: 19px; margin-bottom: 8px; }
p { margin: 0 0 12px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.section { padding: clamp(48px, 8vw, 96px) 0 0; }
.sub { color: var(--muted); max-width: 720px; margin: 0 auto 32px; }
.note { color: var(--muted); margin-top: 22px; font-size: 14px; }
.eyebrow { color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }

/* Языки: показываем только выбранный */
html[data-lang='ru'] body [lang='en'], html[data-lang='en'] body [lang='ru'] { display: none !important; }

/* Фон: картинка из программы с камерой, затемнённая */
.backdrop { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1100px 600px at 80% -10%, rgba(77, 184, 255, .18), transparent 60%),
    linear-gradient(180deg, rgba(5, 13, 22, .55), rgba(5, 13, 22, .92) 55%, var(--bg)),
    url('img/backdrop.webp') right top / cover no-repeat; }

.glass { background: var(--glass); border: 1px solid var(--line); border-radius: var(--r);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 20px 50px rgba(0, 0, 0, .25); }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px;
  border-radius: 14px; border: 1px solid transparent; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  color: var(--ink); background: linear-gradient(180deg, var(--accent-2), var(--accent));
  box-shadow: 0 8px 26px rgba(77, 184, 255, .35); transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 32px rgba(77, 184, 255, .5); }
.btn.ghost { background: rgba(77, 184, 255, .08); color: var(--text); border-color: var(--line-strong); box-shadow: none; }
.btn.ghost:hover { border-color: var(--accent); }
.btn.sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn.wide { width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Шапка */
.top { position: sticky; top: 0; z-index: 10; background: rgba(5, 13, 22, .72); border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; letter-spacing: .04em; font-size: 18px; }
.brand img { border-radius: 10px; }
.brand b { color: var(--accent); }
.brand.small { font-size: 15px; }
.nav { display: flex; gap: 26px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav a:hover { color: var(--text); }
.top-act { display: flex; align-items: center; gap: 10px; }
.lang { display: flex; border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px; }
.lang button { border: 0; background: transparent; color: var(--muted); font-family: inherit; font-weight: 600; font-size: 13px; line-height: 1; padding: 8px 11px; border-radius: 999px; cursor: pointer; }
.lang button[aria-pressed='true'] { background: rgba(77, 184, 255, .18); color: var(--text); }

/* Первый экран */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px; align-items: center; padding-top: clamp(40px, 7vw, 88px); }
.hero h1 { font-size: clamp(34px, 5vw, 58px); font-weight: 800; margin-bottom: 18px; }
.lead { color: #c3d0dd; font-size: clamp(16px, 1.6vw, 19px); margin-bottom: 26px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: 14px; }
.ticks li::before { content: '✓'; color: var(--good); font-weight: 700; margin-right: 8px; }
.shot { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-strong); background: #061019;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(77, 184, 255, .08), 0 0 80px rgba(77, 184, 255, .12); }
.hero-shot { transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); transform-origin: left center; }

/* Видео */
.video { aspect-ratio: 16 / 9; overflow: hidden; display: grid; place-items: center; }
.video iframe { width: 100%; height: 100%; border: 0; }
.video-empty { text-align: center; color: var(--muted); padding: 16px; }
.play { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center;
  background: rgba(77, 184, 255, .14); border: 1px solid var(--line-strong); }
.play svg { width: 34px; fill: var(--accent); margin-left: 4px; }

/* Возможности */
.grid { display: grid; gap: 18px; }
.feats { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 34px; }
.feat { padding: 24px; }
.feat p, .way p, .steps p { color: var(--muted); font-size: 15px; margin: 0; }
.ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; margin-bottom: 16px;
  background: rgba(77, 184, 255, .12); border: 1px solid var(--line-strong); }
.ic svg { width: 23px; height: 23px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Шаги */
.steps { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.steps li { padding: 24px; }
.steps b { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: var(--ink); margin-bottom: 16px; }
.gallery { display: grid; grid-template-columns: 1.1fr 1fr; gap: 18px; margin-top: 28px; align-items: start; }

.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.way { padding: 28px; }

/* Цены */
.plans { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
.plan { padding: 30px 26px; display: flex; flex-direction: column; position: relative; }
.plan.best { border-color: rgba(77, 184, 255, .55); background: var(--glass-strong); box-shadow: 0 0 0 1px rgba(77, 184, 255, .25), 0 24px 70px rgba(77, 184, 255, .16); }
.tag { position: absolute; top: -13px; left: 26px; margin: 0; padding: 3px 12px; border-radius: 999px; background: var(--accent); color: var(--ink); font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.price { margin: 8px 0 18px; color: var(--muted); }
.price b { font-size: 46px; color: var(--text); letter-spacing: -.02em; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; color: #c3d0dd; font-size: 15px; flex: 1; }
.plan li { padding-left: 26px; position: relative; }
.plan li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 800; }

.download { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 32px; }
.download p { color: var(--muted); margin: 0; }

/* Вопросы */
.faq { display: grid; gap: 12px; max-width: 860px; margin: 30px auto 0; }
.faq details { padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 30px 18px 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 14px; font-size: 24px; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* Подвал */
.foot { margin-top: 96px; border-top: 1px solid var(--line); background: rgba(5, 13, 22, .8); padding: 32px 0 40px; }
.foot-in { display: grid; gap: 14px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot nav a { color: var(--muted); text-decoration: none; font-size: 14px; }
.foot nav a:hover { color: var(--text); }

/* Окно покупки */
.buy { width: min(480px, calc(100% - 32px)); padding: 28px; color: var(--text); background: rgba(12, 24, 36, .96); border-color: var(--line-strong); }
.buy::backdrop { background: rgba(0, 6, 12, .7); backdrop-filter: blur(4px); }
.buy h2 { font-size: 24px; margin: 0 0 20px; padding-right: 30px; }
.buy form { display: grid; gap: 16px; position: relative; }
.x { position: absolute; right: -8px; top: -10px; width: 36px; height: 36px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font-size: 26px; cursor: pointer; }
.x:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.field { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.field input { height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(0, 0, 0, .3); color: var(--text); font: inherit; font-weight: 400; }
.field input:focus { border-color: var(--accent); outline: none; }
.pay { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.pay legend { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.pay label { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-strong); cursor: pointer; }
.pay label:has(input:checked) { border-color: var(--accent); background: rgba(77, 184, 255, .1); }
.pay input { accent-color: var(--accent); margin-top: 5px; }
.pay b { display: block; font-size: 15px; }
.pay small { color: var(--muted); font-size: 13px; }
.renew summary { cursor: pointer; color: var(--accent); font-size: 14px; font-weight: 600; }
.renew .field { margin-top: 10px; }
.buy p { margin: 0; }

/* Телефон и планшет */
@media (max-width: 980px) {
  .nav { display: none; }
  .hero { grid-template-columns: 1fr; gap: 36px; }
  .hero-shot { transform: none; }
  .feats, .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .feats, .plans, .steps, .two, .gallery { grid-template-columns: 1fr; }
  .plan.best { order: -1; }
  .download { flex-direction: column; align-items: stretch; text-align: left; }
  .top-act .btn { display: none; }
  .cta .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

/* Документы: условия, возврат, конфиденциальность */
.doc { max-width: 860px; padding: clamp(24px, 5vw, 48px); margin-top: 40px; }
.doc h1 { font-size: clamp(28px, 4vw, 38px); margin-bottom: 8px; }
.doc h2 { font-size: 20px; margin: 28px 0 10px; }
.doc p { color: #c3d0dd; }
.video:has(.video-empty) { aspect-ratio: auto; min-height: 260px; }
.download .btn { flex-shrink: 0; white-space: nowrap; }
[hidden] { display: none !important; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
