:root {
  --bg: #070c16;
  --bg-2: #0c1424;
  --card: #101a2e;
  --line: #1d2a44;
  --text: #e8eef8;
  --muted: #9fb0c8;
  --accent: #2ea8ff;
  --accent-2: #1b7fd6;
  --ok: #34c77b;
  --radius: 14px;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(7, 12, 22, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 19px;
}
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.nav { display: flex; gap: 22px; font-size: 15px; }
.nav a { color: var(--muted); }
.nav a:hover { color: var(--text); text-decoration: none; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 16px;
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent-2); color: #fff; }
.btn-primary:hover { background: var(--accent); }
.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-small { padding: 8px 16px; font-size: 14px; }
.btn-disabled { background: #1a2740; color: var(--muted); border-color: var(--line); cursor: default; }

/* Hero */
.hero { padding: 72px 0 40px; text-align: center; }
.badge {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(32px, 5.2vw, 54px);
  line-height: 1.12;
  margin: 18px auto 16px;
  max-width: 900px;
}
.hero h1 span { color: var(--accent); }
.hero p.lead {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  max-width: 760px;
  margin: 0 auto 30px;
}
.hero .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero .price-note { margin-top: 14px; color: var(--muted); font-size: 14px; }

.showcase { padding: 24px 0 8px; }
.showcase a {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}
.showcase .play {
  position: absolute;
  right: 18px;
  bottom: 18px;
  background: rgba(7, 12, 22, 0.85);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}
.showcase .caption { text-align: center; color: var(--muted); font-size: 14px; margin-top: 12px; }

/* Sections */
section { padding: 64px 0; }
section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-size: clamp(26px, 3.4vw, 34px); margin: 0 0 12px; line-height: 1.2; }
.section-lead { color: var(--muted); max-width: 760px; margin: 0 0 34px; }

.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.card h3 { margin: 0 0 8px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); }
.step-num {
  display: inline-flex;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: rgba(46, 168, 255, 0.14);
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 12px;
}

ul.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
ul.checks li { position: relative; padding-left: 30px; }
ul.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ok);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.2 14.2-4-4 1.4-1.4 2.6 2.6 5-5 1.4 1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.2 14.2-4-4 1.4-1.4 2.6 2.6 5-5 1.4 1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip {
  padding: 4px 11px;
  border-radius: 8px;
  background: rgba(46, 168, 255, 0.1);
  border: 1px solid rgba(46, 168, 255, 0.25);
  font-size: 14px;
  color: var(--text);
}
.note { color: var(--muted); font-size: 15px; margin-top: 16px; }

.versions dt { font-weight: 700; margin-top: 4px; }
.versions dd { margin: 4px 0 14px; color: var(--muted); }

/* Pricing */
.price-card {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(180deg, #12203a, var(--card));
  border: 1px solid #24406a;
  border-radius: 18px;
  padding: 36px 28px;
}
.price-card .amount { font-size: 48px; font-weight: 800; line-height: 1.1; }
.price-card .amount small { font-size: 18px; color: var(--muted); font-weight: 500; }
.price-card .sub { color: var(--muted); margin: 8px 0 22px; }
.price-card ul.checks { text-align: left; max-width: 400px; margin: 0 auto 26px; }
.price-card .fine { color: var(--muted); font-size: 13px; margin-top: 16px; }

/* FAQ */
details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 10px;
}
summary { cursor: pointer; font-weight: 600; }
details p { color: var(--muted); margin: 10px 0 0; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 48px;
  color: var(--muted);
  font-size: 14px;
}
.site-footer .links { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 14px; }
.site-footer p { margin: 6px 0; }

/* Document pages */
.doc { padding: 48px 0 64px; }
.doc .wrap { max-width: 820px; }
.doc h1 { font-size: clamp(28px, 4vw, 38px); margin: 0 0 6px; }
.doc .meta { color: var(--muted); margin: 0 0 30px; }
.doc h2 { font-size: 22px; margin: 34px 0 8px; }
.doc p, .doc li { color: #cdd8e8; }
.doc pre {
  white-space: pre-wrap;
  word-wrap: break-word;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  font-family: Consolas, "Cascadia Mono", Menlo, monospace;
  font-size: 14px;
  line-height: 1.55;
  color: #d6e0ee;
}

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .nav { display: none; }
  section { padding: 48px 0; }
  .hero { padding: 48px 0 28px; }
  .showcase .play { right: 10px; bottom: 10px; padding: 5px 11px; font-size: 12px; }
}
