:root {
  --bg0: #070b12;
  --bg1: #0e1624;
  --ink: #e8eef7;
  --muted: #8b9bb4;
  --line: rgba(232, 238, 247, 0.12);
  --accent: #3ee0b0;
  --accent-2: #5ab0ff;
  --danger: #ff7b72;
  --card: rgba(14, 22, 36, 0.72);
  --font-display: "Syne", "Avenir Next", sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(90, 176, 255, 0.18), transparent 60%),
    radial-gradient(900px 500px at 90% 0%, rgba(62, 224, 176, 0.12), transparent 55%),
    linear-gradient(180deg, var(--bg0), var(--bg1) 45%, #090d16);
  background-attachment: fixed;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(232, 238, 247, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 238, 247, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  opacity: 0.5;
}
a { color: var(--accent-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; }
.wrap { width: min(1100px, calc(100% - 2rem)); margin: 0 auto; position: relative; z-index: 1; }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 0; gap: 1rem;
}
.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
}
.brand span { color: var(--accent); }
.nav-links { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.nav-links a:hover { color: var(--ink); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  border: 1px solid transparent; border-radius: 999px;
  padding: 0.75rem 1.2rem; font-weight: 700; font-family: inherit;
  cursor: pointer; text-decoration: none; transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #04140f; }
.btn-primary:hover { background: #6ff0c4; color: #04140f; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.hero {
  padding: 3.5rem 0 2.5rem;
  display: grid;
  gap: 2rem;
}
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.05fr 0.95fr; align-items: center; min-height: 70vh; }
}
.eyebrow {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin: 0 0 0.8rem;
}
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.03em; margin: 0 0 0.75rem; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.02; max-width: 12ch; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.lead { color: var(--muted); font-size: 1.1rem; line-height: 1.55; max-width: 36rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.preview-frame {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
  aspect-ratio: 1200 / 630;
}
.preview-frame img { width: 100%; display: block; }
.section { padding: 3.5rem 0; }
.section p { color: var(--muted); line-height: 1.6; }
.grid-3 { display: grid; gap: 1rem; }
@media (min-width: 800px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.25rem;
  background: var(--card);
  backdrop-filter: blur(8px);
}
.panel h3 { font-size: 1.15rem; }
.price { font-family: var(--font-display); font-size: 2rem; margin: 0.4rem 0; }
.muted { color: var(--muted); }
.form-grid { display: grid; gap: 0.85rem; }
label { display: grid; gap: 0.35rem; font-size: 0.9rem; color: var(--muted); }
input, select, textarea {
  width: 100%; border-radius: 12px; border: 1px solid var(--line);
  background: rgba(0,0,0,0.35); color: var(--ink);
  padding: 0.75rem 0.9rem; font: inherit;
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid rgba(62, 224, 176, 0.45); outline-offset: 1px;
}
.footer {
  border-top: 1px solid var(--line);
  margin-top: 3rem; padding: 1.5rem 0 2.5rem;
  color: var(--muted); font-size: 0.9rem;
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
}
code, pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9rem;
}
pre {
  overflow: auto;
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
}
.notice {
  border: 1px solid rgba(62, 224, 176, 0.35);
  background: rgba(62, 224, 176, 0.08);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  color: var(--ink);
}
.err {
  border-color: rgba(255, 123, 114, 0.45);
  background: rgba(255, 123, 114, 0.08);
  color: #ffd2ce;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero > * { animation: rise 0.7s ease both; }
.hero > :nth-child(2) { animation-delay: 0.12s; }
.preview-frame { animation: rise 0.8s ease 0.18s both; }

/* SEO / comparison articles */
.prose h1 { max-width: 18ch; }
.prose h2 { margin-top: 2rem; }
.prose ul { color: var(--muted); line-height: 1.6; }
.prose li { margin: 0.35rem 0; }
.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin: 1.25rem 0;
}
.compare th, .compare td {
  border: 1px solid var(--line);
  padding: 0.7rem 0.85rem;
  text-align: left;
  vertical-align: top;
}
.compare th { background: rgba(0,0,0,0.35); color: var(--ink); }
.compare td { color: var(--muted); }
.compare .yes { color: var(--accent); font-weight: 700; }
.pack-card { cursor: pointer; transition: border-color .15s ease, transform .15s ease; }
.pack-card:hover { border-color: rgba(62, 224, 176, 0.45); transform: translateY(-2px); }
.pack-card.is-selected { border-color: var(--accent); }
