/* ===== Base ===== */
:root{
  --bg-main:#02030a;
  --bg-soft:#050816;
  --bg-elevated:#080d1c;
  --accent:#2f7dff;
  --accent-soft:rgba(47,125,255,.18);
  --accent-alt:#5b9bff;
  --text-main:#fff;
  --text-muted:#95a0bb;
  --border-soft:rgba(255,255,255,.06);
  --radius-xl:18px;
  --radius-xxl:28px;
  --t:0.22s ease-out;
  --shadow:0 18px 60px rgba(0,0,0,.6);
  --blur:blur(26px);
  --font:system-ui,-apple-system,BlinkMacSystemFont,"SF Pro Text",-system-ui,sans-serif;

  /* Чуть крупнее типографика */
  --fs-xxs:12px;
  --fs-xs:13px;
  --fs-sm:14px;
  --fs-md:16px;
  --fs-lg:20px;
  --fs-xl:28px;
  --fs-xxl:40px;
}

*{box-sizing:border-box;margin:0;padding:0}
body{
  font-family:var(--font);
  background:radial-gradient(circle at top,#071430 0,#02030a 34%,#000 100%);
  color:var(--text-main);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  font-size:var(--fs-md);
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.page-wrap{max-width:1240px;margin:0 auto;padding:22px 22px 48px}

/* ===== Header ===== */
header{
  position:sticky;top:0;z-index:40;
  backdrop-filter:var(--blur);
  background:radial-gradient(circle at top left,rgba(47,125,255,.09),transparent),rgba(2,3,10,.98);
  border-bottom:1px solid rgba(255,255,255,.04);
}
.header-inner{
  max-width:1240px;margin:0 auto;padding:16px 22px 14px;
  display:flex;align-items:center;justify-content:space-between;gap:18px;
}
.logo{display:flex;align-items:center;gap:10px}
.logo-mark{width:28px;height:28px;border-radius:12px;background:radial-gradient(circle at 30% 0,#5b9bff,#2f7dff);box-shadow:0 0 18px rgba(47,125,255,.7)}
.logo-text{font-weight:700;font-size:var(--fs-sm);letter-spacing:.06em;text-transform:uppercase;color:#e6edff}
nav{display:flex;align-items:center;gap:20px;font-size:var(--fs-sm);color:var(--text-muted)}
nav a{position:relative;padding:4px 0;transition:color var(--t)}
nav a::after{content:"";position:absolute;left:0;bottom:-3px;width:0;height:2px;border-radius:4px;background:linear-gradient(to right,var(--accent),var(--accent-alt));transition:width var(--t)}
nav a:hover{color:var(--text-main)}
nav a:hover::after{width:100%}
.header-cta{display:flex;align-items:center;gap:10px}
.btn-outline{
  padding:8px 16px;border-radius:999px;border:1px solid rgba(255,255,255,.12);
  font-size:var(--fs-xs);color:var(--text-muted);background:rgba(4,8,18,.96);
  backdrop-filter:var(--blur);cursor:pointer;transition:all var(--t)
}
.btn-outline:hover{color:var(--accent-alt);border-color:var(--accent);box-shadow:0 0 18px rgba(47,125,255,.2)}
.burger{display:none;flex-direction:column;gap:5px;cursor:pointer}
.burger span{width:22px;height:2px;background:#c4c9dd;border-radius:10px}
@media (max-width:768px){
  nav,.btn-outline[data-type="demo"]{display:none}
  .burger{display:flex}
  .header-inner{padding-inline:14px}
}
.mobile-nav{display:none;flex-direction:column;gap:10px;padding:12px 18px 16px;background:rgba(2,3,10,.98);border-bottom:1px solid rgba(255,255,255,.06)}
.mobile-nav a{font-size:var(--fs-sm);color:var(--text-muted);padding:4px 0}
.mobile-nav a:hover{color:var(--accent-alt)}

/* ===== Hero ===== */
.hero{margin-top:28px;display:grid;grid-template-columns:minmax(0,1.9fr) minmax(280px,1.4fr);gap:26px;align-items:center}
.hero-label{display:inline-flex;align-items:center;gap:8px;padding:6px 10px;border-radius:999px;background:rgba(10,18,40,.96);border:1px solid rgba(47,125,255,.4);box-shadow:0 8px 26px rgba(0,0,0,.7);font-size:var(--fs-xxs);color:var(--accent-alt);margin-bottom:12px}
.hero-label span.dot{width:6px;height:6px;border-radius:999px;background:#47ffb2;box-shadow:0 0 10px #47ffb2}
.hero-title{font-size:clamp(28px,4.5vw,var(--fs-xxl));font-weight:700;line-height:1.1;margin-bottom:12px}
.hero-sub{font-size:var(--fs-sm);color:var(--text-muted);max-width:520px;margin-bottom:18px}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.btn-primary{
  padding:12px 22px;border:none;border-radius:999px;font-size:var(--fs-sm);font-weight:600;cursor:pointer;
  background:linear-gradient(90deg,var(--accent),var(--accent-alt));color:#fff;
  box-shadow:0 14px 40px rgba(25,86,210,.65);transition:all var(--t);white-space:nowrap
}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 22px 60px rgba(19,60,150,.9)}
.hero-note{font-size:var(--fs-xxs);color:var(--text-muted)}
.hero-card{position:relative;padding:18px;border-radius:var(--radius-xxl);
  background:radial-gradient(circle at top,rgba(47,125,255,.13),transparent),
             radial-gradient(circle at bottom right,rgba(120,255,214,.06),transparent),
             rgba(3,6,18,.98);
  border:1px solid rgba(255,255,255,.06);box-shadow:var(--shadow);overflow:hidden}
.hero-card-title{font-size:var(--fs-xs);text-transform:uppercase;letter-spacing:.14em;color:var(--accent-alt);margin-bottom:8px}
.hero-card-value{font-size:22px;font-weight:650;margin-bottom:8px}
.hero-card-text{font-size:var(--fs-xs);color:var(--text-muted);margin-bottom:12px}
.hero-pill{display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border-radius:999px;background:rgba(6,14,32,.98);border:1px solid rgba(88,154,255,.4);font-size:var(--fs-xxs);color:#e6edff;margin-bottom:8px}
.hero-metrics{display:flex;gap:16px;font-size:var(--fs-xxs);color:var(--text-muted)}
.hero-metric strong{display:block;font-size:15px;color:#fff}
.hero-glow{position:absolute;inset:-40%;background:radial-gradient(circle at top,rgba(47,125,255,.09),transparent),radial-gradient(circle at right,rgba(120,255,214,.04),transparent);mix-blend-mode:screen;opacity:.9;pointer-events:none}
@media (max-width:900px){.hero{grid-template-columns:1fr}}

/* ===== Dual Explainer ===== */
.dual-section{margin-top:40px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.dual-card{position:relative;padding:18px;border-radius:var(--radius-xl);background:radial-gradient(circle at top,rgba(255,255,255,.04),transparent),rgba(4,6,16,.98);border:1px solid var(--border-soft);box-shadow:var(--shadow)}
.dual-title{font-size:var(--fs-md);font-weight:600;margin-bottom:8px}
.dual-text{font-size:var(--fs-sm);color:var(--text-muted);line-height:1.65}
.dual-tag{position:absolute;top:12px;right:12px;padding:4px 8px;border-radius:999px;font-size:10px;text-transform:uppercase;letter-spacing:.12em;background:rgba(6,10,26,.98);border:1px solid rgba(255,255,255,.1);color:var(--accent-alt)}
@media (max-width:768px){.dual-section{grid-template-columns:1fr}}

/* ===== Steps ===== */
.steps-wrap{margin-top:48px}
.steps-header{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;align-items:baseline;margin-bottom:18px}
.steps-title{font-size:22px;font-weight:700}
.steps-sub{font-size:var(--fs-sm);color:var(--text-muted);max-width:520px}
.steps-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.step-card{padding:14px;border-radius:var(--radius-xl);background:rgba(5,8,20,.98);border:1px solid rgba(255,255,255,.06);font-size:var(--fs-sm);color:var(--text-muted);display:flex;flex-direction:column;gap:6px}
.step-label{font-size:10px;color:var(--accent-alt);text-transform:uppercase;letter-spacing:.16em}
.step-title{font-size:var(--fs-md);font-weight:600;color:var(--text-main)}
@media (max-width:900px){.steps-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:540px){.steps-grid{grid-template-columns:1fr}}

/* ===== Pricing ===== */
.pricing-section{margin-top:48px}
.section-label{font-size:11px;color:var(--accent-alt);text-transform:uppercase;letter-spacing:.18em;margin-bottom:6px}
.section-title{font-size:22px;font-weight:700;margin-bottom:6px}
.section-sub{font-size:var(--fs-sm);color:var(--text-muted);margin-bottom:14px;max-width:560px}
.pricing-tabs{display:inline-flex;padding:4px;border-radius:999px;background:rgba(2,4,12,.98);border:1px solid rgba(255,255,255,.12);gap:4px;margin-bottom:16px;font-size:var(--fs-sm)}
.pricing-tabs.lg .pricing-tab{padding:8px 18px;font-size:var(--fs-sm)}
.pricing-tab{padding:6px 14px;border-radius:999px;cursor:pointer;color:var(--text-muted);transition:all var(--t);user-select:none;white-space:nowrap}
.pricing-tab.active{background:linear-gradient(90deg,var(--accent),var(--accent-alt));color:#fff;box-shadow:0 10px 30px rgba(25,86,210,.7)}
.pricing-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.tariff-card{padding:16px;border-radius:var(--radius-xl);
  background:radial-gradient(circle at top,rgba(47,125,255,.06),transparent),rgba(4,6,16,.98);
  border:1px solid var(--border-soft);box-shadow:var(--shadow);display:flex;flex-direction:column;gap:10px;font-size:var(--fs-sm)}
.tariff-label{font-size:10px;text-transform:uppercase;color:var(--accent-alt);letter-spacing:.14em}
.tariff-name{font-size:18px;font-weight:650}
.tariff-price{font-size:22px;font-weight:700}
.tariff-caption{font-size:var(--fs-sm);color:var(--text-muted)}
.features{padding-left:18px;display:flex;flex-direction:column;gap:6px}
.features li{list-style:disc}
.tariff-btn{margin-top:6px;padding:8px 12px;border-radius:999px;border:none;font-size:var(--fs-sm);cursor:pointer;align-self:flex-start;background:rgba(5,10,24,.98);color:var(--accent-alt);border:1px solid rgba(88,154,255,.6);transition:all var(--t)}
.tariff-btn:hover{background:linear-gradient(90deg,var(--accent),var(--accent-alt));color:#fff;box-shadow:0 10px 30px rgba(25,86,210,.7);transform:translateY(-1px)}
@media (max-width:900px){.pricing-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.pricing-grid{grid-template-columns:1fr}}

/* ===== About / CTA ===== */
.about-contact{margin-top:42px;display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,1.2fr);gap:16px}
.about-block,.cta-block{padding:18px;border-radius:var(--radius-xl);background:rgba(4,6,16,.98);border:1px solid var(--border-soft);box-shadow:var(--shadow)}
.about-block{font-size:var(--fs-sm);color:var(--text-muted);line-height:1.7}
.about-block h3{font-size:18px;color:var(--text-main);margin-bottom:8px}
.about-list{margin-top:8px;display:flex;flex-direction:column;gap:6px}
.cta-block h3{font-size:18px;margin-bottom:6px}
.contact-note{font-size:var(--fs-sm);color:var(--text-muted)}
.contact-submit{margin-top:10px;display:inline-block;padding:10px 16px;border-radius:999px;background:linear-gradient(90deg,var(--accent),var(--accent-alt));color:#fff;box-shadow:0 12px 30px rgba(25,86,210,.7);transition:all var(--t)}
.contact-submit:hover{transform:translateY(-1px);box-shadow:0 18px 42px rgba(19,60,150,.95)}
.contact-meta{font-size:12px;color:var(--text-muted);margin-top:6px}
@media (max-width:900px){.about-contact{grid-template-columns:1fr}}

/* ===== FAQ ===== */
.faq{margin-top:48px}
.faq-list{display:flex;flex-direction:column;gap:10px}
details{background:rgba(4,6,16,.98);border:1px solid var(--border-soft);border-radius:14px;padding:14px}
summary{cursor:pointer;font-weight:650;font-size:var(--fs-md);outline:none}
details p{margin-top:10px;color:var(--text-muted);font-size:var(--fs-sm);line-height:1.65}

/* ===== Footer ===== */
footer{margin-top:36px;padding:16px 0 0;font-size:12px;color:var(--text-muted);border-top:1px solid rgba(255,255,255,.06)}
.footer-inner{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}
.footer-links{display:flex;gap:12px;flex-wrap:wrap}
.footer-links a{color:var(--text-muted)}
.footer-links a:hover{color:var(--accent-alt)}


/* FAQ lists */
.faq-list ul{
  margin-top:8px;
  padding-left:18px;
  color:var(--text-muted);
  font-size:var(--fs-sm);
  line-height:1.65;
}
.faq-list li{list-style:disc}

/* FAQ — единый стиль текста и списков */
.faq details{background:rgba(4,6,16,.98);border:1px solid var(--border-soft);border-radius:14px;padding:14px}
.faq summary{cursor:pointer;font-weight:650;font-size:var(--fs-md);outline:none}
.faq details[open] > summary{margin-bottom:8px}

/* Абзацы в ответах */
.faq-list p{
  margin:8px 0 0 0;
  color:var(--text-muted);
  font-size:var(--fs-sm);
  line-height:1.65;
}

/* Списки в ответах — тот же шрифт/цвет/ритм, как у p */
.faq-list ul{
  margin:8px 0 0 0;
  padding-left:18px;
  color:var(--text-muted);
  font-size:var(--fs-sm);
  line-height:1.65;
}
.faq-list li{margin:4px 0}
.faq-list li::marker{color:var(--accent-alt)} /* маркер цвета акцента */

/* Ровный отступ, если перед списком абзац */
.faq-list p + ul{margin-top:8px}

/* Последний элемент без лишнего воздуха */
.faq-list details > *:last-child{margin-bottom:0}


.terms{ margin-top:48px; }

