:root {
  color-scheme: dark;
  --bg: #07090d;
  --bg-elevated: #0e1219;
  --panel: #121822;
  --text: #eef2f7;
  --muted: #9aa8bc;
  --accent: #45e0a8;
  --accent-soft: rgba(69, 224, 168, 0.12);
  --border: #243041;
  --glow: rgba(69, 224, 168, 0.35);
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(69, 224, 168, 0.08), transparent),
    radial-gradient(circle at 100% 50%, rgba(80, 120, 255, 0.04), transparent);
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 1.25rem; }
header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--border);
  background: rgba(7, 9, 13, 0.85);
  backdrop-filter: blur(12px);
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  flex-wrap: wrap;
}
.brand { font-weight: 700; font-size: 1.05rem; letter-spacing: 0.03em; }
.nav-links { display: flex; gap: 1.1rem; flex-wrap: wrap; font-size: 0.92rem; }
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.hero { padding: 3.5rem 0 2rem; }
.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.08;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
  max-width: 16ch;
  animation: rise 0.7s ease-out both;
}
.lead {
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 38rem;
  animation: rise 0.85s ease-out both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; animation: rise 1s ease-out both; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #04130a;
  font-weight: 600;
  border: 0;
  border-radius: 10px;
  padding: 0.8rem 1.25rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 24px var(--glow); text-decoration: none; }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: none;
}
.btn-ghost:hover { border-color: var(--accent); box-shadow: none; }
.flagship {
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--accent-soft);
  display: inline-block;
  animation: rise 1.1s ease-out both;
}
.section { padding: 2.5rem 0; }
.section h2 { font-size: 1.35rem; margin: 0 0 0.5rem; }
.section > p { color: var(--muted); margin-top: 0; }
.grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 1.25rem;
}
.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.35rem;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(69, 224, 168, 0.35);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}
.card h3 { margin: 0 0 0.5rem; font-size: 1.05rem; }
.card p { color: var(--muted); font-size: 0.95rem; margin: 0 0 1rem; }
.price-tag { color: var(--accent); font-weight: 700; font-size: 1.1rem; margin-bottom: 0.75rem; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 1rem 0 0; }
.steps li {
  counter-increment: step;
  padding: 0.75rem 0 0.75rem 2.5rem;
  position: relative;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}
.steps li:last-child { border-bottom: 0; }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  display: grid;
  place-items: center;
}
form { display: grid; gap: 0.85rem; }
label { display: grid; gap: 0.35rem; font-size: 0.88rem; color: var(--muted); }
input, textarea, select {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  padding: 0.7rem 0.8rem;
  font: inherit;
}
textarea { min-height: 120px; resize: vertical; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.status { min-height: 1.25rem; font-size: 0.92rem; color: var(--muted); }
.status.error { color: #f07178; }
footer {
  margin-top: 3rem;
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.88rem;
}
.small { font-size: 0.85rem; color: var(--muted); }
@media (max-width: 640px) {
  .hero { padding-top: 2rem; }
  .hero h1 { max-width: none; }
}
