:root {
  --bg: #0b0b12;
  --bg-raised: #13131d;
  --bg-card: #171724;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #ecebf4;
  --text-muted: #a3a1b8;
  --text-faint: #6f6d85;
  --accent: #5e6ad2;
  --accent-strong: #7b85e3;
  --accent-soft: rgba(94, 106, 210, 0.16);
  --radius: 14px;
  --max: 1120px;
  color-scheme: dark;
}

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

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11, 11, 18, 0.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 650; font-size: 18px; letter-spacing: -0.01em; }
.brand img { width: 30px; height: 30px; }
.nav { display: flex; align-items: center; gap: 26px; font-size: 14px; color: var(--text-muted); }
.nav a { text-decoration: none; }
.nav a:hover { color: var(--text); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 10px;
  font: 600 15px/1 inherit; text-decoration: none; cursor: pointer;
  border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.04); color: var(--text);
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: rgba(255, 255, 255, 0.08); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-strong); border-color: var(--accent-strong); }
.btn-small { height: 36px; padding: 0 14px; font-size: 14px; }
.btn svg { width: 18px; height: 18px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 96px 0 72px; text-align: center; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: url("/img/hero.jpg") center / cover no-repeat;
  opacity: 0.28;
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.6) 55%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.6) 55%, transparent 100%);
}
.hero > .wrap { position: relative; }
.eyebrow { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--accent-soft); color: #c3c8f4; font-size: 13px; font-weight: 600; }
.hero h1 { margin: 22px auto 18px; max-width: 820px; font-size: clamp(38px, 6vw, 64px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 700; }
.hero p.lead { margin: 0 auto 34px; max-width: 640px; font-size: clamp(17px, 2vw, 20px); color: var(--text-muted); }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 14px; font-size: 13px; color: var(--text-faint); }
.shot {
  position: relative; margin: 64px auto 0; max-width: 1060px;
  border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(0, 0, 0, 0.4);
}

/* Sections */
section { padding: 88px 0; }
section + section { border-top: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head h2 { margin: 0 0 12px; font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.025em; line-height: 1.15; }
.section-head p { margin: 0; color: var(--text-muted); font-size: 18px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.feature h3 { margin: 14px 0 8px; font-size: 17px; letter-spacing: -0.01em; }
.feature p { margin: 0; color: var(--text-muted); font-size: 15px; }
.feature .icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: #c3c8f4; }
.feature .icon svg { width: 20px; height: 20px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.list li { display: flex; gap: 12px; color: var(--text-muted); }
.list li strong { color: var(--text); font-weight: 600; }
.list svg { flex: none; width: 20px; height: 20px; margin-top: 3px; color: var(--accent-strong); }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { display: flex; flex-direction: column; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.plan.featured { border-color: rgba(94, 106, 210, 0.7); background: linear-gradient(180deg, rgba(94, 106, 210, 0.12), var(--bg-card) 45%); }
.plan h3 { margin: 0; font-size: 16px; color: var(--text-muted); font-weight: 600; }
.plan .price { margin: 14px 0 4px; font-size: 44px; font-weight: 700; letter-spacing: -0.03em; }
.plan .price small { font-size: 16px; font-weight: 500; color: var(--text-muted); letter-spacing: 0; }
.plan .sub { color: var(--text-faint); font-size: 14px; min-height: 22px; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 10px; font-size: 15px; color: var(--text-muted); flex: 1; }
.plan ul li::before { content: "✓"; color: var(--accent-strong); margin-right: 10px; font-weight: 700; }
.badge { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 600; vertical-align: 2px; }
.trial { margin-top: 22px; text-align: center; color: var(--text-muted); font-size: 15px; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--bg-card); border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--text-faint); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 12px 0 0; color: var(--text-muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--text-faint); font-size: 14px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 22px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--text); }

/* Text pages */
.page { padding: 72px 0 96px; }
.page .wrap { max-width: 760px; }
.page h1 { font-size: 40px; letter-spacing: -0.03em; margin: 0 0 8px; }
.page h2 { font-size: 21px; margin: 36px 0 10px; }
.page p, .page li { color: var(--text-muted); }
.updated { color: var(--text-faint); font-size: 14px; margin-bottom: 32px; }

/* License page */
.license-box { margin: 28px 0; padding: 20px; border-radius: 12px; background: var(--bg-card); border: 1px solid var(--line-strong); }
.license-key { display: block; width: 100%; min-height: 96px; padding: 14px; border-radius: 10px; border: 1px solid var(--line-strong); background: #0d0d16; color: var(--text); font: 13px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; word-break: break-all; resize: vertical; }
.steps { padding-left: 20px; }
.notice { padding: 14px 18px; border-radius: 10px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); color: var(--text-muted); }

@media (max-width: 860px) {
  .nav .hide-sm { display: none; }
  .split, .pricing, .features { grid-template-columns: 1fr; }
  .hero { padding-top: 64px; }
  section { padding: 64px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
