/* ============================================================
   Zetabot Proxy — landing
   ============================================================ */
:root {
  --bg: #0b0f1a;
  --bg-2: #0f1524;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-border: rgba(255, 255, 255, 0.09);
  --text: #e8ecf6;
  --muted: #98a2b8;
  --accent: #6c5cff;
  --accent-2: #00d9a3;
  --danger: #ff5c7a;
  --radius: 18px;
  --grad: linear-gradient(135deg, #6c5cff 0%, #00d9a3 100%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", "Inter", system-ui, -apple-system, Roboto, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; }
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: min(1100px, 92%); margin: 0 auto; }

/* ---------- фон: спокойный градиент ---------- */
.mesh {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(640px 420px at 15% 5%, rgba(108, 92, 255, 0.16), transparent 60%),
    radial-gradient(720px 520px at 85% 15%, rgba(0, 217, 163, 0.12), transparent 60%),
    radial-gradient(820px 620px at 50% 92%, rgba(108, 92, 255, 0.08), transparent 60%),
    var(--bg);
  animation: meshDrift 28s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes meshDrift {
  0%   { transform: translateY(0) scale(1); }
  100% { transform: translateY(-10px) scale(1.015); }
}

/* ---------- header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(11, 15, 26, 0.72);
  border-bottom: 1px solid var(--panel-border);
}
.head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 0; }
.logo { font-size: 22px; font-weight: 800; }
.logo span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.head nav { display: flex; gap: 22px; font-size: 15px; }
.head nav a { color: var(--muted); transition: color 0.2s; }
.head nav a:hover { color: var(--text); text-decoration: none; }
.head .btn { margin-left: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 12px;
  background: var(--grad);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s;
  box-shadow: 0 8px 24px rgba(108, 92, 255, 0.25);
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.07); box-shadow: 0 12px 30px rgba(108, 92, 255, 0.4); text-decoration: none; color: #fff; }
.btn:active { transform: translateY(0); }
.btn.big { padding: 15px 30px; font-size: 17px; border-radius: 14px; }
.btn.ghost { background: transparent; border: 1px solid var(--panel-border); color: var(--text); box-shadow: none; }
.btn.ghost:hover { border-color: var(--accent); filter: none; }

/* ---------- hero ---------- */
.hero { padding: 84px 0 56px; text-align: center; position: relative; }
.hero h1 {
  font-size: clamp(36px, 5.6vw, 62px);
  max-width: 920px;
  margin: 0 auto 20px;
}
.hero .lead { font-size: clamp(17px, 2.2vw, 21px); color: var(--muted); max-width: 780px; margin: 0 auto 10px; }
.hero .lead a { color: var(--accent-2); }
.hero .cta { margin-top: 32px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.hero .muted { color: var(--muted); font-size: 14px; min-height: 20px; }

/* статичный индикатор статуса (без мигания) */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
}
.pill .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 4px rgba(0,217,163,0.10), 0 0 10px rgba(0,217,163,0.5); }
.pill.off .dot { background: var(--danger); box-shadow: 0 0 0 4px rgba(255,92,122,0.10), 0 0 10px rgba(255,92,122,0.5); }

/* ---------- sections ---------- */
section { padding: 56px 0; }
section h2 { font-size: clamp(26px, 3.6vw, 38px); margin-bottom: 12px; }
.section-sub { color: var(--muted); max-width: 660px; margin-bottom: 32px; }
.muted { color: var(--muted); }

/* ---------- cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s;
}
.card:hover { transform: translateY(-5px); border-color: rgba(108, 92, 255, 0.5); background: rgba(108, 92, 255, 0.06); }
.card .icon { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; background: var(--grad); box-shadow: 0 8px 20px rgba(108, 92, 255, 0.25); }
.card .icon svg { width: 24px; height: 24px; fill: #fff; }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14.5px; }

/* ---------- how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; counter-reset: step; }
.step {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 22px;
  position: relative;
  overflow: hidden;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -14px;
  right: 6px;
  font-size: 90px;
  font-weight: 800;
  color: rgba(108, 92, 255, 0.14);
}
.step h3 { margin-bottom: 8px; position: relative; }
.step p { color: var(--muted); font-size: 14.5px; position: relative; }

/* ---------- цифры сервиса ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 18px; margin-top: 8px; }
.stat {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
}
.stat b { font-size: 30px; display: block; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; color: var(--muted); font-size: 14px; margin-top: 6px; }

/* ---------- география ---------- */
.geo { display: flex; flex-wrap: wrap; gap: 12px; }
.geo span {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  color: var(--muted);
  font-size: 14px;
}
.geo span b { color: var(--text); font-weight: 600; }

/* ---------- таблица сравнения ---------- */
.cfg, .compare {
  width: 100%;
  border-collapse: collapse;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.cfg th, .cfg td, .compare th, .compare td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--panel-border); }
.cfg tr:last-child td, .compare tr:last-child td { border-bottom: none; }
.cfg th, .compare th { background: rgba(108, 92, 255, 0.12); font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; }
.cfg td:first-child { color: var(--muted); width: 46%; }
.compare th:first-child { width: 34%; }
.compare td { color: var(--text); }
.compare td:first-child { color: var(--muted); }
.tick { color: var(--accent-2); font-weight: 700; }
.cross { color: var(--danger); font-weight: 700; }

/* нe мигающие живые значения */
.cfg td .live { display: inline-flex; align-items: center; gap: 8px; }
.cfg td .live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 8px rgba(0,217,163,0.4); }

/* ---------- чеклист безопасности ---------- */
.checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.check { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: var(--panel); border: 1px solid var(--panel-border); border-radius: 14px; font-size: 14.5px; }
.check::before { content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 50%; background: rgba(0,217,163,0.16); color: var(--accent-2); font-weight: 700; display: flex; align-items: center; justify-content: center; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 0 auto; }
.faq details {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 14px;
  margin-bottom: 12px;
  padding: 0 20px;
  transition: border-color 0.2s;
}
.faq details[open] { border-color: rgba(108, 92, 255, 0.5); }
.faq summary { cursor: pointer; padding: 17px 0; font-weight: 600; font-size: 16px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--accent-2); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { color: var(--muted); font-size: 14.5px; padding-bottom: 17px; }

/* ---------- контакты ---------- */
.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.contact .card h3 { font-size: 16px; }
.contact .card p { margin-bottom: 4px; }
.contact .card p:last-child { margin-bottom: 0; }

/* ---------- ad ---------- */
.ad {
  background: linear-gradient(135deg, rgba(108, 92, 255, 0.14), rgba(0, 217, 163, 0.10));
  border: 1px solid rgba(108, 92, 255, 0.35);
  border-radius: var(--radius);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 15.5px;
}
.ad a { font-weight: 600; white-space: nowrap; }
.ad .adico { font-size: 26px; }

/* ---------- pricing ---------- */
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin: 26px 0 12px; }
.tier {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s;
}
.tier:hover { transform: translateY(-5px); border-color: rgba(0, 217, 163, 0.5); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4); }
.tier.hot { border-color: rgba(108, 92, 255, 0.6); background: linear-gradient(160deg, rgba(108, 92, 255, 0.16), rgba(0, 217, 163, 0.08) 70%); box-shadow: 0 16px 44px rgba(108, 92, 255, 0.25); }
.tier.hot::before { content: "Популярный"; font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent-2); }
.tier h3 { font-size: 18px; }
.tier .price { font-size: 30px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tier .per { color: var(--muted); font-size: 13.5px; }
.tier .feat { margin-top: 4px; color: var(--muted); font-size: 14px; display: flex; flex-direction: column; gap: 8px; }
.tier .feat span { display: flex; gap: 8px; }
.tier .feat span::before { content: "✓"; color: var(--accent-2); font-weight: 700; }
.tier .btn { margin-top: auto; align-self: stretch; }

.pay-wrap { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start; }
@media (max-width: 860px) { .pay-wrap { grid-template-columns: 1fr; } }
.how-pay {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 22px 24px;
  color: var(--muted);
  font-size: 14.5px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.how-pay ol { margin-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.how-pay .tip { border-top: 1px dashed var(--panel-border); padding-top: 12px; }

.form {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 320px;
}
.frow { display: flex; flex-direction: column; gap: 7px; }
.frow label { font-size: 13.5px; color: var(--muted); }
.frow input, .frow select {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--panel-border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.frow input:focus, .frow select:focus { border-color: var(--accent); background: rgba(108, 92, 255, 0.08); }
.frow select option { background: var(--bg-2); color: var(--text); }
.form input[type="file"] { padding: 9px; }
.form input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 8px 14px;
  border-radius: 9px;
  border: none;
  background: rgba(108, 92, 255, 0.25);
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
}
.status { min-height: 22px; font-size: 14.5px; color: var(--muted); }
.status.ok { color: var(--accent-2); }
.status.err { color: var(--danger); }

/* ---------- счётчики ---------- */
.counters { display: flex; gap: 34px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.counter { text-align: center; }
.counter b { display: block; font-size: 34px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; min-width: 130px; }
.counter span { color: var(--muted); font-size: 13.5px; }

/* ---------- отзывы ---------- */
.rsum { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin: 6px 0 28px; }
.rsum .big { font-size: 46px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rsum .stars { font-size: 22px; letter-spacing: 3px; }
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; }
.review {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s;
}
.review:hover { transform: translateY(-5px); border-color: rgba(108, 92, 255, 0.5); background: rgba(108, 92, 255, 0.05); }
.stars { color: #f5b301; letter-spacing: 2px; font-size: 15px; }
.review p { color: var(--muted); font-size: 14.5px; flex: 1; }
.review .who { display: flex; align-items: center; gap: 11px; }
.review .avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--grad); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; color: #fff; flex: none; }
.review .who b { display: block; font-size: 14px; }
.review .who span { color: var(--muted); font-size: 12.5px; }
.badge { margin-left: auto; font-size: 11px; color: var(--accent-2); border: 1px solid rgba(0, 217, 163, 0.4); padding: 3px 10px; border-radius: 999px; white-space: nowrap; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--panel-border); padding: 34px 0 44px; margin-top: 40px; color: var(--muted); font-size: 14px; }
footer .container { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; justify-content: space-between; }

/* ---------- scroll reveal (спокойный, без мигания) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.06s; }
.reveal.d2 { transition-delay: 0.12s; }
.reveal.d3 { transition-delay: 0.18s; }
.reveal.d4 { transition-delay: 0.24s; }

/* ---------- scrollbar ---------- */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2a3350; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: #3a4568; }

/* ---------- responsive ---------- */
@media (max-width: 720px) {
  .head { flex-wrap: wrap; }
  .head nav { order: 3; width: 100%; justify-content: space-between; gap: 6px; }
  .head nav a { font-size: 14px; }
  .head .btn { margin-left: 0; }
  .hero { padding: 56px 0 40px; }
  .ad { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
  .mesh { animation: none; }
}