:root {
  --bg: #060a12;
  --bg2: #0b1220;
  --card: rgba(255, 255, 255, 0.04);
  --line: rgba(255, 255, 255, 0.1);
  --text: #e8eef7;
  --muted: #8fa3bf;
  --accent: #3d8bfd;
  --accent2: #34d399;
  --warn: #f0b429;
  --bad: #f87171;
  --radius: 16px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(6, 10, 18, 0.82);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  text-decoration: none;
}
.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: #041018;
}
.nav-links {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}
.nav-links a {
  color: var(--muted);
  font-size: 0.92rem;
}
.nav-links a:hover { color: var(--text); text-decoration: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.65rem 1.15rem;
  font: inherit;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #5b9dff);
  color: #041018;
  box-shadow: 0 8px 28px rgba(61, 139, 253, 0.35);
}
.btn-outline {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line);
  color: var(--text);
}

/* Hero */
.hero {
  position: relative;
  padding: 4rem 0 3rem;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  inset: -20% -10% auto;
  height: 420px;
  background:
    radial-gradient(circle at 25% 30%, rgba(61, 139, 253, 0.28), transparent 45%),
    radial-gradient(circle at 75% 20%, rgba(52, 211, 153, 0.18), transparent 40%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}
.hero-tag {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent2);
  border: 1px solid rgba(52, 211, 153, 0.35);
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  margin-bottom: 0.85rem;
}
.hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.hero .lead {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 36rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-bottom: 1.5rem; }

.live-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}
.stat-card {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--card);
}
.stat-card strong {
  display: block;
  font-size: 1.35rem;
  font-variant-numeric: tabular-nums;
}
.stat-card span { font-size: 0.78rem; color: var(--muted); }

.hero-visual {
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  padding: 1.25rem;
  box-shadow: var(--shadow);
  min-height: 320px;
}
.terminal {
  font-family: "Cascadia Code", "JetBrains Mono", Consolas, monospace;
  font-size: 0.82rem;
  line-height: 1.6;
}
.terminal .line { opacity: 0; animation: fadeIn 0.5s forwards; }
.terminal .line:nth-child(1) { animation-delay: 0.2s; }
.terminal .line:nth-child(2) { animation-delay: 0.7s; }
.terminal .line:nth-child(3) { animation-delay: 1.2s; }
.terminal .line:nth-child(4) { animation-delay: 1.7s; }
.terminal .line:nth-child(5) { animation-delay: 2.2s; }
.terminal .ok { color: var(--accent2); }
.terminal .cmd { color: var(--accent); }
@keyframes fadeIn { to { opacity: 1; } }

/* Sections */
section.block { padding: 3.5rem 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2rem; }
.section-head h2 { margin: 0 0 0.5rem; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.section-head p { margin: 0; color: var(--muted); }

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.feature {
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  transition: border-color 0.2s, transform 0.2s;
}
.feature:hover {
  border-color: rgba(61, 139, 253, 0.45);
  transform: translateY(-3px);
}
.feature-icon { font-size: 1.6rem; margin-bottom: 0.5rem; }
.feature h3 { margin: 0 0 0.35rem; font-size: 1.05rem; }
.feature p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}
.price-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  display: flex;
  flex-direction: column;
}
.price-card.popular {
  border-color: rgba(61, 139, 253, 0.55);
  box-shadow: 0 0 0 1px rgba(61, 139, 253, 0.2), var(--shadow);
  transform: scale(1.02);
}
.price-card h3 { margin: 0 0 0.25rem; }
.price-card .amount {
  font-size: 2rem;
  font-weight: 800;
  margin: 0.5rem 0;
}
.price-card .amount small { font-size: 0.95rem; font-weight: 500; color: var(--muted); }
.price-card ul {
  margin: 0 0 1.25rem;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.9rem;
  flex: 1;
}
.price-card li { margin-bottom: 0.35rem; }

/* Wizard */
.wizard-wrap {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.25rem;
  align-items: start;
}
.wizard-steps {
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  position: sticky;
  top: 5rem;
}
.step-item {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}
.step-item:last-child { border-bottom: 0; }
.step-num {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  flex-shrink: 0;
}
.step-item.active { color: var(--text); }
.step-item.active .step-num {
  background: var(--accent);
  border-color: var(--accent);
  color: #041018;
  font-weight: 700;
}
.step-item.done .step-num {
  background: rgba(52, 211, 153, 0.2);
  border-color: rgba(52, 211, 153, 0.5);
  color: var(--accent2);
}

.wizard-panel {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg2);
  box-shadow: var(--shadow);
}
.wizard-panel[hidden] { display: none !important; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.form-field { display: grid; gap: 0.35rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 0.82rem; color: var(--muted); font-weight: 600; }
.form-field input,
.form-field select,
.form-field textarea {
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #0b1220;
  color: var(--text);
  font: inherit;
}
.form-field textarea { min-height: 4.5rem; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: rgba(61, 139, 253, 0.65);
  box-shadow: 0 0 0 3px rgba(61, 139, 253, 0.15);
}

.url-preview {
  margin-top: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px dashed rgba(61, 139, 253, 0.45);
  background: rgba(61, 139, 253, 0.08);
  font-family: Consolas, monospace;
  font-size: 0.92rem;
  word-break: break-all;
}

.mode-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.mode-card {
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--card);
  cursor: pointer;
  transition: border-color 0.15s;
}
.mode-card.selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(61, 139, 253, 0.25);
}
.mode-card input { display: none; }
.mode-card strong { display: block; margin-bottom: 0.25rem; }
.mode-card span { font-size: 0.85rem; color: var(--muted); }

.captcha-box {
  margin-top: 0.75rem;
  padding: 0.85rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.2);
}
.captcha-icons { font-size: 1.35rem; letter-spacing: 0.15rem; margin: 0.35rem 0; }
.captcha-box input { max-width: 120px; }

.wizard-nav {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.msg {
  margin-top: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  font-size: 0.9rem;
}
.msg.ok { background: rgba(52, 211, 153, 0.12); color: var(--accent2); border: 1px solid rgba(52, 211, 153, 0.35); }
.msg.bad { background: rgba(248, 113, 113, 0.12); color: var(--bad); border: 1px solid rgba(248, 113, 113, 0.35); }

.review-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}
.review-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}
.review-list li span:first-child { color: var(--muted); }

.success-panel { text-align: center; padding: 1rem 0; }
.success-panel h3 { margin: 0 0 0.5rem; font-size: 1.4rem; }
.success-panel p { color: var(--muted); }

footer.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0;
  color: var(--muted);
  font-size: 0.85rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

@media (max-width: 900px) {
  .hero-grid,
  .features,
  .pricing-grid,
  .wizard-wrap,
  .form-grid,
  .mode-cards { grid-template-columns: 1fr; }
  .live-stats { grid-template-columns: 1fr; }
  .price-card.popular { transform: none; }
  .nav-links a:not(.btn) { display: none; }
  .wizard-steps { position: static; }
}
