:root {
  --bg: #0b1120;
  --bg-card: #111a2e;
  --bg-elevated: #17233d;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --accent: #38bdf8;
  --accent-hover: #0ea5e9;
  --accent-2: #34d399;
  --border: rgba(148, 163, 184, 0.16);
  --radius: 12px;
  --max-w: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-hover); }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 17, 32, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid;
  place-items: center;
  color: #0b1120;
  font-weight: 800;
  font-size: 0.95rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 9px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #0b1120;
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: #0b1120;
  transform: translateY(-1px);
}

.btn-outline {
  border-color: var(--border);
  color: var(--text);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--accent);
  color: #fff;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  padding: 6px 11px;
  font-size: 1.2rem;
  cursor: pointer;
}

/* Hero */
.hero {
  padding: 86px 0 70px;
  background: radial-gradient(circle at 20% 10%, rgba(56, 189, 248, 0.14), transparent 45%),
              radial-gradient(circle at 80% 30%, rgba(52, 211, 153, 0.1), transparent 40%);
}

.badge {
  display: inline-block;
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent);
  border: 1px solid rgba(56, 189, 248, 0.25);
  margin-bottom: 18px;
}

h1, h2, h3 {
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-top: 0;
}

.hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  max-width: 780px;
  margin-bottom: 18px;
}

.lead {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 650px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Sections & Grids */
.section { padding: 64px 0; }
.section-alt { background: rgba(17, 26, 46, 0.55); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head {
  max-width: 660px;
  margin-bottom: 38px;
}
.section-head p { color: var(--text-muted); margin: 8px 0 0; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: border-color .2s, transform .2s;
}
.card:hover {
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-2px);
}
.card p { color: var(--text-muted); margin-bottom: 0; }

.stat-value {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 4px;
}

.price {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin: 12px 0;
}
.price span { font-size: 0.9rem; font-weight: 500; color: var(--text-muted); }

.check-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 24px;
}
.check-list li {
  padding: 6px 0;
  color: var(--text-muted);
  position: relative;
  padding-left: 22px;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-2);
  font-weight: 700;
}

/* FAQ */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  padding: 18px 22px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-a {
  display: none;
  padding: 0 22px 18px;
  color: var(--text-muted);
}
.faq-item.open .faq-a { display: block; }

/* Form */
.form-group { margin-bottom: 16px; }
label { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 6px; color: var(--text); }
input, textarea, select {
  width: 100%;
  padding: 11px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--accent);
}
.form-status {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  display: none;
  font-size: 0.92rem;
}
.form-status.ok {
  display: block;
  background: rgba(52, 211, 153, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.4);
  color: #a7f3d0;
}

/* Page header */
.page-hero {
  padding: 58px 0 42px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.08), transparent);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 44px 0 30px;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}
.footer-grid h4 { color: #fff; margin: 0 0 12px; font-size: 0.98rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

@media (max-width: 860px) {
  .grid-3, .grid-2, .footer-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: var(--bg-card);
    padding: 20px;
    border-bottom: 1px solid var(--border);
    gap: 14px;
  }
  .nav-links.open { display: flex; }
}
