:root {
  --bg: #fafafa;
  --surface: #ffffff;
  --ink: #0f1115;
  --muted: #5a606e;
  --border: #e6e8ec;
  --accent: #0f1115;
  --accent-soft: #f1f3f6;
  --green: #16a34a;
  --green-bg: #dcfce7;
  --radius: 20px;
  --shadow: 0 10px 30px -10px rgba(15, 17, 21, 0.06);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Параллакс-фон */
.bg-orbs {
  position: fixed; inset: 0; pointer-events: none; z-index: -1; overflow: hidden;
}
.orb {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.45;
  transition: transform 0.15s ease-out;
}
.orb-1 { width: 420px; height: 420px; background: #e2e8f0; top: -80px; left: -100px; }
.orb-2 { width: 360px; height: 360px; background: #dbeafe; top: 38%; right: -120px; }
.orb-3 { width: 320px; height: 320px; background: #dcfce7; bottom: -80px; left: 25%; }

/* Чистая удобная шапка в обычном потоке (без перекрытий) */
header.site-header {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  background: rgba(250, 250, 250, 0.85);
  backdrop-filter: blur(10px);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px; font-weight: 800; font-size: 20px; letter-spacing: -0.02em;
}
.brand img { width: 38px; height: 38px; object-fit: contain; display: block; }
.brand small { font-size: 12px; font-weight: 500; color: var(--muted); display: block; line-height: 1.1; }
nav.main-nav {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.nav-link {
  padding: 8px 14px; border-radius: 12px; font-size: 14px; font-weight: 500;
  color: var(--muted); transition: all 0.2s; white-space: nowrap;
}
.nav-link:hover { color: var(--ink); background: var(--accent-soft); }
.nav-link.active { color: var(--ink); background: var(--surface); border: 1px solid var(--border); font-weight: 600; }
.badge-pct {
  display: inline-block; background: var(--green-bg); color: var(--green);
  font-size: 11px; font-weight: 700; padding: 2px 6px; border-radius: 6px; margin-left: 4px;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 14px; font-weight: 600; font-size: 14px;
  cursor: pointer; border: 1px solid transparent; transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 8px 20px -6px rgba(15,17,21,0.35); }
.btn-primary:hover { background: #222630; transform: translateY(-1px); }
.btn-outline { background: var(--surface); color: var(--ink); border-color: var(--border); }
.btn-outline:hover { background: var(--accent-soft); }
.btn-sm { padding: 8px 14px; font-size: 13px; border-radius: 11px; }

/* Reveal анимации */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Hero */
.hero { padding: 64px 0 48px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
  font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 18px;
}
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
h1 { font-size: clamp(32px, 4.5vw, 48px); font-weight: 800; line-height: 1.12; letter-spacing: -0.03em; margin-bottom: 18px; }
.hero p.lead { font-size: 17px; color: var(--muted); max-width: 560px; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual {
  background: var(--surface); border: 1px solid var(--border); border-radius: 28px;
  padding: 32px; box-shadow: var(--shadow); text-align: center; position: relative;
  transition: transform 0.2s ease-out;
}
.hero-visual img { width: 150px; height: 150px; object-fit: contain; margin: 0 auto 18px; display: block; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.stat-box { background: var(--bg); border: 1px solid var(--border); border-radius: 14px; padding: 12px 8px; }
.stat-box strong { display: block; font-size: 16px; font-weight: 800; }
.stat-box span { font-size: 12px; color: var(--muted); }

/* Секции и сетки */
section { padding: 48px 0; }
.sec-head { margin-bottom: 28px; }
.sec-head h2 { font-size: clamp(24px, 3.2vw, 32px); font-weight: 800; letter-spacing: -0.025em; margin-bottom: 8px; }
.sec-head p { color: var(--muted); font-size: 15px; max-width: 620px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow); transition: transform 0.22s ease, border-color 0.22s ease;
}
.card:hover { border-color: #cbd5e1; }
.card-icon {
  width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 14px;
}
.card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--muted); }

/* Переключатель срока тарифов */
.billing-switch {
  display: inline-flex; background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 4px; gap: 4px; margin-bottom: 24px;
}
.billing-btn {
  padding: 8px 16px; border-radius: 10px; border: none; background: transparent;
  font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer; transition: all 0.2s;
}
.billing-btn.active { background: var(--ink); color: #fff; }
.price-val { font-size: 32px; font-weight: 800; letter-spacing: -0.03em; margin: 12px 0 4px; }
.price-sub { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.feat-list { list-style: none; margin-bottom: 22px; display: grid; gap: 8px; font-size: 14px; }
.feat-list li::before { content: "✓ "; font-weight: 700; color: var(--green); }
.pay-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.pay-badge {
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  padding: 6px 12px; font-size: 13px; font-weight: 500;
}

/* Баннер партнёрки на главной */
.partner-banner {
  background: var(--ink); color: #fff; border-radius: 24px; padding: 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.partner-banner p { color: #cbd5e1; max-width: 560px; margin-top: 6px; font-size: 15px; }
.partner-banner .btn-light { background: #fff; color: var(--ink); }

/* Интерактивные формы (SEO загрузчики и вывод) */
.input-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.input-field, select.input-field {
  flex: 1; min-width: 220px; padding: 13px 16px; border-radius: 14px;
  border: 1px solid var(--border); background: var(--bg); font-size: 14px; color: var(--ink);
  outline: none; transition: border-color 0.2s;
}
.input-field:focus { border-color: var(--ink); background: #fff; }

/* Таблица рефералов */
.ref-table { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 12px; }
.ref-table th, .ref-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.ref-table th { color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; }

/* FAQ */
details.faq-item {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  padding: 16px 20px; margin-bottom: 10px;
}
details.faq-item summary { font-weight: 600; cursor: pointer; font-size: 15px; }
details.faq-item p { margin-top: 10px; font-size: 14px; color: var(--muted); }

footer.site-footer {
  margin-top: 48px; padding: 28px 0; border-top: 1px solid var(--border);
  font-size: 13px; color: var(--muted);
}
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-links a:hover { color: var(--ink); }

@media (max-width: 860px) {
  .hero-grid, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .hero { padding: 36px 0 28px; }
}
