:root{
  --bg:#0b1220;
  --panel:rgba(255,255,255,.06);
  --panel2:rgba(255,255,255,.10);
  --border:rgba(255,255,255,.12);
  --text:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.68);
  --muted2:rgba(255,255,255,.55);
  --accent:#6a18ff;
  --accent2:#00d4ff;
  --ok:#17c964;
  --warn:#f5a524;
  --shadow:0 20px 70px rgba(0,0,0,.45);
  --radius:18px;
  --radius2:24px;
  --max:1120px;
}

*{box-sizing:border-box}
html,body{height:100%}
/* На десктопе держим футер внизу */
.page{
  min-height: calc(100vh - 64px - 70px); /* nav + footer */
  display:flex;
  align-items:center;
}
.hero-only{
  width:100%;
  padding:46px 0 26px;
}
.footer{ margin-top:auto; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  color:var(--text);
  background: radial-gradient(1200px 700px at 10% 10%, rgba(106,24,255,.35), transparent 55%),
              radial-gradient(900px 650px at 90% 20%, rgba(0,212,255,.22), transparent 55%),
              linear-gradient(180deg, #060914 0%, var(--bg) 60%, #070b17 100%);
}

a{color:inherit; text-decoration:none}
.container{max-width:var(--max); margin:0 auto; padding:0 20px}
.nav{
  position: relative; /* было sticky */
  z-index: 50;
  background: transparent; /* было rgba(...) */
  border-bottom: none;      /* убрать разделитель */
  backdrop-filter: none;    /* убрать отдельный blur-слой */
}
.nav-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:22px 0 10px; /* было 14px 0 */
  gap:14px;
}
.brand{display:flex; align-items:center; gap:12px}
.brand img{height:34px; width:auto}
.brand .name{font-weight:700; letter-spacing:.2px}
.brand .tag{font-size:12px; color:var(--muted2)}

.btns{display:flex; gap:10px; align-items:center; flex-wrap:wrap}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color:var(--text);
  font-weight:600;
  transition: transform .08s ease, background .15s ease, border-color .15s ease;
}
.btn:hover{background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.20)}
.btn:active{transform: translateY(1px)}
.btn.primary{
  background: linear-gradient(135deg, rgba(106,24,255,.95), rgba(0,212,255,.70));
  border: none;               /* убрать обводку */
  box-shadow: 0 14px 40px rgba(106,24,255,.22);
}
.btn.primary:hover{
  filter: brightness(1.06);
}
.btn.ghost{background: transparent}
.btn.small{padding:8px 12px; border-radius:12px; font-size:14px}

.hero{padding:42px 0 28px;}
.hero-grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr; /* больше места правому блоку */
  gap:42px;                            /* больше расстояние между колонками */
  align-items:center;                  /* вертикальное центрирование правой колонки */
}
.hero h1{
  margin:12 0 12px;
  font-size:46px;
  line-height:1.06;
  letter-spacing:-.6px;
}
.hero p{
  margin:0 0 18px;
  color:var(--muted);
  font-size:18px;
  line-height:1.6;
}
.hero-cta{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
  max-width: 520px;
  margin-top:18px;
}

.hero-cta .big-cta{
  width: 100%;
}
.pills{display:flex; gap:10px; flex-wrap:wrap; margin-top:18px}
.pill{
  font-size:13px; color:var(--muted);
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
}

.card{
  border-radius: var(--radius2);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  border:1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
}
.card .pad{padding:18px}
.card h3{margin:0 0 10px; font-size:16px}
.card .muted{color:var(--muted); font-size:14px; line-height:1.55}
.kpis{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
}

.kpis-left{
  margin-top:14px; /* ниже pills */
}

.kpi{
  border-radius:16px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  padding:12px 14px;
  min-height: 78px;
}

.kpi .v{
  font-size:16px;
  font-weight:800;
  margin-bottom:4px;
}

.kpi .l{
  font-size:12px;
  color:var(--muted2);
  line-height:1.35;
}

@media (max-width: 720px){
  .kpis{ grid-template-columns: 1fr; }
}

.section{padding:34px 0}
.section h2{
  margin:0 0 14px;
  font-size:28px;
  letter-spacing:-.2px;
}
.section .lead{margin:0 0 18px; color:var(--muted); line-height:1.6}

.grid3{display:grid; grid-template-columns:repeat(3,1fr); gap:14px}
.grid2{display:grid; grid-template-columns:repeat(2,1fr); gap:14px}
.feature{
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  padding:16px;
}
.feature .t{font-weight:700; margin-bottom:6px}
.feature .d{color:var(--muted); font-size:14px; line-height:1.55}
.badge{
  display:inline-flex; align-items:center; gap:12px;
  font-size:12px; color:rgba(255,255,255,.78);
  padding:10px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
}
.dot{width:8px; height:8px; border-radius:50%; background:var(--ok)}

.hr{height:1px; background:rgba(255,255,255,.10); margin:24px 0}

.faq details{
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  padding:12px 14px;
}
.faq details + details{margin-top:10px}
.faq summary{
  cursor:pointer;
  font-weight:700;
}
.faq summary::-webkit-details-marker{display:none}
.faq .ans{color:var(--muted); margin-top:8px; line-height:1.6; font-size:14px}

.footer{
  padding:22px 0 34px;
  color:var(--muted2);
  font-size:13px;
}
.footer a{color:rgba(255,255,255,.78)}
.footer-grid{display:flex; justify-content:space-between; gap:14px; flex-wrap:wrap}

@media (max-width: 980px){
  .hero-grid{grid-template-columns:1fr; }
  .hero h1{font-size:38px}
}
@media (max-width: 980px){
  .page{
    min-height: auto;
    display:block;
  }
  .hero-only{
  width:100%;
  padding:34px 0 26px;
}
}
@media (max-width: 720px){
  .grid3{grid-template-columns:1fr}
  .grid2{grid-template-columns:1fr}
  .hero{padding:48px 0 20px}
  .hero h1{font-size:34px}
}
.card.metric .pad{
  padding:14px;
}

.metric-note{
  margin-top:10px;
  color:var(--muted2);
  font-size:13px;
  line-height:1.4;
}
/* Metrika card: subtle glow + hover zoom (no cringe) */
.card.metric{
  position: relative;
  overflow: hidden;
    filter:
    drop-shadow(0 44px 110px rgba(0,0,0,.55))
    drop-shadow(-28px 18px 70px rgba(106,24,255,.26))
    drop-shadow( 28px 18px 70px rgba(0,212,255,.20));
}

.card.metric::before{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(480px 220px at 20% 10%, rgba(106,24,255,.20), transparent 60%),
    radial-gradient(520px 260px at 85% 25%, rgba(0,212,255,.16), transparent 60%);
  filter: blur(10px);
  opacity: .9;
  pointer-events:none;
}

.card.metric .pad{
  position:relative;
  padding:16px;
}

.metrika-shot{
  width:100%;
  height:auto;
  display:block;
  border-radius:10px;
  transform: translateZ(0);
  transition: transform .25s ease, filter .25s ease;
  filter: saturate(1.02) contrast(1.02);
}

.card.metric:hover .metrika-shot{
  transform: scale(1.015);
  filter: saturate(1.06) contrast(1.04);
}

.metric-note{
  margin-top:10px;
  color:var(--muted2);
  font-size:13px;
  line-height:1.4;
}
.nav::after{
  content:"";
  position:absolute;
  left:0; right:0; top:0;
  height:96px;
  background: linear-gradient(180deg, rgba(0,0,0,.35), transparent);
  pointer-events:none;
}
/* Big CTA like KPI card */
/* CTA button sized like KPI card */
.btn.big-cta{
  width: 220px;
  min-height: 78px;
  padding: 12px 18px;
  border-radius: 16px;
  font-size: 18px;
  font-weight: 800;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(255,255,255,.12);  /* как у kpi */
}
.btn.primary.big-cta{
  border: none; /* важно: убрать именно тут */
  box-shadow: 0 14px 40px rgba(106,24,255,.22);
}

/* show metrika as a standalone image (no outer card) */
.metrika-only{
  display:block;
  width:100%;
  max-width: 620px;     /* можно увеличить/уменьшить */
  margin: 0 auto;
  border-radius: 24px;  /* скругление самой картинки */

  filter:
    drop-shadow(0 44px 110px rgba(0,0,0,.55))
    drop-shadow(-28px 18px 70px rgba(106,24,255,.32))
    drop-shadow( 28px 18px 70px rgba(0,212,255,.26));
}
