:root {
  --bg: #07080c;
  --bg-2: #0b0d13;
  --surface: #11141c;
  --surface-2: #171b26;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #eef1f6;
  --muted: #a0a8b6;
  --dim: #7f8899;
  --accent: #3dff8f;
  --accent-ink: #03140a;
  --accent-soft: rgba(61, 255, 143, 0.12);
  --accent-line: rgba(61, 255, 143, 0.45);
  --amber: #ffc24b;
  --amber-soft: rgba(255, 194, 75, 0.12);
  --danger: #ff6b6b;
  --radius: 18px;
  --radius-sm: 10px;
  --wrap: 1120px;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--font-head); line-height: 1.1; letter-spacing: -0.02em; margin: 0; }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: 1.15rem; }
p { margin: 0; }
a { color: inherit; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 24px; } }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--accent); color: var(--accent-ink); padding: 10px 14px; border-radius: var(--radius-sm);
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.lead { color: var(--muted); font-size: clamp(1rem, 2vw, 1.125rem); max-width: 60ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px;
  border-radius: 999px; border: 1px solid var(--line-2);
  background: transparent; color: var(--text);
  font: 600 0.95rem/1 var(--font-body);
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, transform 0.15s, filter 0.15s;
}
.btn:hover { border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.04); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.btn-primary:hover { background: var(--accent); filter: brightness(1.1); }
.btn-ghost { background: rgba(255, 255, 255, 0.03); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 0.875rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 8, 12, 0.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; text-decoration: none; letter-spacing: -0.01em; min-width: 0; }
.brand > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand-mark {
  flex: none; width: 26px; height: 26px; border-radius: 8px;
  background:
    radial-gradient(circle at 50% 50%, var(--bg) 0 4px, transparent 5px),
    conic-gradient(from 210deg, var(--accent), #1fbf6a, var(--accent));
  box-shadow: 0 0 18px rgba(61, 255, 143, 0.35);
}
.topnav { display: flex; align-items: center; gap: 22px; flex: none; }
.topnav-link { color: var(--muted); text-decoration: none; font-size: 0.925rem; font-weight: 500; }
.topnav-link:hover { color: var(--text); }
@media (max-width: 700px) { .topnav-link { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(56px, 10vw, 112px) 0 clamp(56px, 9vw, 104px);
  border-bottom: 1px solid var(--line);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg::before {
  content: ""; position: absolute; width: 1000px; height: 1000px; right: -360px; top: -520px;
  background: radial-gradient(circle, rgba(61, 255, 143, 0.14), transparent 62%);
}
.hero-bg .grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(ellipse 75% 80% at 75% 35%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 75% 80% at 75% 35%, #000 20%, transparent 75%);
}
.radar {
  position: absolute; top: 50%; right: max(-140px, calc(50% - 720px));
  width: min(520px, 82vw); aspect-ratio: 1; transform: translateY(-50%);
  border-radius: 50%;
  border: 1px solid rgba(61, 255, 143, 0.22);
  background:
    linear-gradient(rgba(61, 255, 143, 0.1), rgba(61, 255, 143, 0.1)) center / 1px 100% no-repeat,
    linear-gradient(rgba(61, 255, 143, 0.1), rgba(61, 255, 143, 0.1)) center / 100% 1px no-repeat,
    repeating-radial-gradient(circle, transparent 0 64px, rgba(61, 255, 143, 0.1) 65px 66px);
  opacity: 0.75;
}
.radar::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(61, 255, 143, 0.26), transparent 22%);
  animation: sweep 7s linear infinite;
}
.blip {
  position: absolute; left: var(--x); top: var(--y); width: 8px; height: 8px; margin: -4px;
  border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent);
  animation: blip 3.6s ease-out infinite; animation-delay: var(--d, 0s);
}
@keyframes sweep { to { transform: rotate(360deg); } }
@keyframes blip { 0%, 100% { opacity: 0.15; } 12% { opacity: 1; } 60% { opacity: 0.35; } }
@media (max-width: 760px) {
  .radar { top: 0; right: -38%; transform: none; opacity: 0.35; }
}

.hero-inner { position: relative; z-index: 1; }
.hero-copy { max-width: 980px; }
.hero-title { max-width: 780px; }

.live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 0 rgba(61, 255, 143, 0.6); animation: pulse 2s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(61, 255, 143, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 255, 143, 0); } }

.hero-title { font-size: clamp(2.4rem, 7vw, 4.75rem); font-weight: 700; letter-spacing: -0.035em; }
.hero-title .hl { color: var(--accent); }
.hero-domain {
  font-size: clamp(1.9rem, 7.2vw, 5rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.05;
  overflow-wrap: anywhere;
}
.tld { color: var(--dim); }
.hero .lead { margin-top: 20px; }

.price-panel {
  margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 22px; max-width: 640px;
  background: linear-gradient(180deg, rgba(23, 27, 38, 0.9), rgba(17, 20, 28, 0.9));
  border: 1px solid var(--line-2); border-radius: var(--radius);
  box-shadow: 0 30px 80px -40px rgba(61, 255, 143, 0.35);
}
.price-label { display: block; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.price-big { font-family: var(--font-mono); font-weight: 700; font-size: clamp(1.9rem, 5vw, 2.5rem); color: var(--accent); line-height: 1.15; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero .actions { margin-top: 32px; }
.price-panel .actions { margin-top: 0; }

.assurances { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: 0.925rem; }
.assurances li { display: inline-flex; align-items: center; gap: 8px; }
.assurances li::before {
  content: ""; width: 16px; height: 16px; flex: none; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%233dff8f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}

.stats { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.stat {
  min-width: 140px; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: rgba(17, 20, 28, 0.7);
}
.stat b { display: block; font-family: var(--font-mono); font-size: 1.4rem; color: var(--text); line-height: 1.2; }
.stat span { font-size: 0.85rem; color: var(--muted); }

.more-link { display: inline-flex; margin-top: 28px; color: var(--muted); font-size: 0.925rem; text-decoration: none; border-bottom: 1px dashed var(--line-2); padding-bottom: 2px; }
.more-link:hover { color: var(--text); }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 104px) 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }

.sort { display: inline-flex; padding: 4px; gap: 2px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.sort button {
  border: 0; background: transparent; color: var(--muted);
  font: 500 0.825rem/1 var(--font-body); padding: 9px 12px; border-radius: 999px; cursor: pointer;
}
.sort button:hover { color: var(--text); }
.sort button[aria-pressed="true"] { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }

/* ---------- Cards ---------- */
.cards {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
}
.card {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  padding: 20px 20px 18px;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.card.is-current { border-color: var(--accent-line); box-shadow: 0 0 0 1px rgba(61, 255, 143, 0.2), 0 24px 60px -36px rgba(61, 255, 143, 0.6); }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 24px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
  font-family: var(--font-mono); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted);
}
.chip-evergreen { color: var(--amber); border-color: rgba(255, 194, 75, 0.35); background: var(--amber-soft); }
.chip-here { color: var(--accent); border-color: var(--accent-line); background: var(--accent-soft); }
.star { color: var(--amber); font-size: 0.78rem; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.card-domain { font-size: 1.4rem; font-weight: 700; letter-spacing: -0.015em; overflow-wrap: anywhere; }
.card-idea { color: var(--muted); font-size: 0.925rem; flex: 1; }
.card-foot {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin-top: 8px; padding-top: 14px; border-top: 1px dashed var(--line-2);
}
.card-price { font-family: var(--font-mono); font-weight: 700; font-size: 1.3rem; color: var(--accent); line-height: 1.2; }
.card-price.is-offer { font-size: 1rem; color: var(--text); }
.card .actions { gap: 8px; }

/* ---------- Bundle ---------- */
.bundle {
  margin-top: 18px; position: relative; overflow: hidden;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  padding: 26px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--accent-line);
  background:
    radial-gradient(600px 200px at 0% 0%, rgba(61, 255, 143, 0.14), transparent 70%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
}
.bundle h3 { font-size: clamp(1.25rem, 3vw, 1.6rem); }
.bundle p { color: var(--muted); margin-top: 6px; }
.bundle-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.bundle-price .now { font-family: var(--font-mono); font-weight: 700; font-size: clamp(1.6rem, 4vw, 2rem); color: var(--accent); }
.bundle-price .was { font-family: var(--font-mono); color: var(--dim); text-decoration: line-through; }
.bundle-price .save { font-size: 0.8rem; font-weight: 600; color: var(--amber); background: var(--amber-soft); padding: 4px 10px; border-radius: 999px; }
.bundle-side { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); counter-reset: none; }
.steps li { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.step-num { display: block; font-family: var(--font-mono); font-size: 0.8rem; color: var(--accent); margin-bottom: 18px; letter-spacing: 0.1em; }
.steps p { color: var(--muted); margin-top: 10px; font-size: 0.95rem; }

/* ---------- Offer ---------- */
.offer-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) { .offer-grid { grid-template-columns: 1fr 1.1fr; gap: 64px; } }
.offer-copy .lead { margin-top: 16px; }
.assurances-stack { flex-direction: column; gap: 12px; margin-top: 28px; }

.offer-form {
  display: grid; gap: 18px; padding: clamp(20px, 4vw, 30px);
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius);
}
.row2 { display: grid; gap: 18px; }
@media (min-width: 560px) { .row2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 7px; min-width: 0; }
.field label { font-size: 0.875rem; font-weight: 600; }
.opt { color: var(--dim); font-weight: 400; }
input, select, textarea {
  width: 100%; min-width: 0; font: 400 1rem/1.4 var(--font-body); color: var(--text);
  background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  padding: 12px 14px; transition: border-color 0.15s, box-shadow 0.15s;
}
textarea { resize: vertical; min-height: 110px; }
select {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23a0a8b6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px;
}
select option { background: var(--surface); color: var(--text); }
input::placeholder, textarea::placeholder { color: var(--dim); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent-line); box-shadow: 0 0 0 3px var(--accent-soft); }
input[aria-invalid="true"] { border-color: var(--danger); }
.money { position: relative; }
.money > span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--dim); font-family: var(--font-mono); pointer-events: none; }
.money input { padding-left: 30px; font-family: var(--font-mono); }
.hint { font-size: 0.825rem; color: var(--dim); }
.err { font-size: 0.825rem; color: var(--danger); min-height: 0; }
.err:empty { display: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-status { font-size: 0.9rem; color: var(--muted); }
.form-status:empty { display: none; }
.form-status.is-ok { color: var(--accent); }
.form-status.is-error { color: var(--danger); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 36px 0 44px; color: var(--dim); font-size: 0.85rem; }
.footer-inner { display: grid; gap: 10px; }
.disclaimer { max-width: 80ch; }
.noscript { padding: 16px; text-align: center; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
