:root {
  --bg: #0b0f17;
  --surface: #141a26;
  --surface-2: #1c2433;
  --primary: #3ddc97;
  --secondary: #5b8cff;
  --text: #eef1f6;
  --muted: #8a94a6;
  --radius: 18px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.6; }
a { color: var(--primary); }
img { max-width: 100%; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

header { position: sticky; top: 0; background: rgba(11, 15, 23, .85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--surface-2); z-index: 5; }
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--text); text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
nav a { color: var(--muted); text-decoration: none; margin-left: 20px; font-size: 15px; }
nav a:hover { color: var(--text); }

.hero { padding: 88px 0 64px; text-align: center; background: radial-gradient(60% 60% at 50% 0%, rgba(61, 220, 151, .16), transparent); }
.hero h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.1; margin: 0 0 18px; letter-spacing: -.02em; }
.hero h1 span { color: var(--primary); }
.hero p { color: var(--muted); font-size: 19px; max-width: 640px; margin: 0 auto 32px; }
.btn { display: inline-block; padding: 14px 26px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.btn.primary { background: var(--primary); color: #06281a; }
.btn.ghost { border: 1px solid var(--surface-2); color: var(--text); margin-left: 8px; }

section { padding: 56px 0; }
section h2 { font-size: 30px; margin: 0 0 8px; text-align: center; }
section .lead { color: var(--muted); text-align: center; margin: 0 auto 36px; max-width: 620px; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.feature { background: var(--surface); border: 1px solid var(--surface-2); border-radius: var(--radius); padding: 22px; }
.feature .ico { font-size: 26px; }
.feature h3 { margin: 10px 0 6px; font-size: 18px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.plan { background: var(--surface); border: 1px solid var(--surface-2); border-radius: var(--radius); padding: 24px; }
.plan.popular { border: 2px solid var(--secondary); }
.plan h3 { margin: 0; font-size: 22px; }
.plan .price { font-size: 30px; font-weight: 800; margin: 8px 0 14px; }
.plan .price small { font-size: 14px; color: var(--muted); font-weight: 400; }
.plan ul { list-style: none; padding: 0; margin: 0; }
.plan li { padding: 4px 0 4px 26px; position: relative; color: var(--text); }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 700; }
.plan li.off { color: var(--muted); }
.plan li.off::before { content: "–"; color: var(--muted); }
.pay-note { text-align: center; color: var(--muted); margin-top: 22px; font-size: 14px; }

.contact { background: var(--surface); border: 1px solid var(--surface-2); border-radius: var(--radius); padding: 28px; text-align: center; }

.doc { max-width: 760px; padding: 48px 20px 64px; }
.doc h1 { font-size: 32px; margin: 0 0 4px; }
.doc .updated { color: var(--muted); margin: 0 0 28px; }
.doc h2 { font-size: 20px; text-align: left; margin: 28px 0 8px; }
.doc p, .doc li { color: #cfd5df; }
.doc .box { background: var(--surface); border: 1px solid var(--surface-2); border-radius: 14px; padding: 18px 20px; margin: 18px 0; }

footer { border-top: 1px solid var(--surface-2); padding: 28px 0; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
footer a { color: var(--muted); margin-left: 16px; text-decoration: none; }
footer a:hover { color: var(--text); }

@media (max-width: 640px) {
  nav a:not(.keep) { display: none; }
  .btn.ghost { margin: 10px 0 0; }
}
