/* MarketBukh landing — sections.css
   Автосборка из мастер-файла. Правьте модуль, не мастер. */

/* ================= ЗНАКОМО? ================= */
.pains-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:38px}
.pain{
  background:#fff;border:1px solid #eef1f8;border-radius:18px;
  padding:24px 22px;
  box-shadow:0 14px 34px -20px rgba(23,43,99,.25);
  transition:transform .35s var(--ease-out), box-shadow .35s;
}
.pain:hover{transform:translateY(-5px);box-shadow:0 24px 44px -20px rgba(23,43,99,.35)}
.pain .ic{
  width:46px;height:46px;border-radius:14px;display:grid;place-items:center;margin-bottom:16px;
}
.pain .ic svg{width:22px;height:22px}
.ic.pink{background:var(--tint-pink);color:var(--magenta)}
.ic.blue{background:var(--tint-blue);color:var(--blue)}
.pain h3{font-size:15.5px;font-weight:700;margin-bottom:8px}
.pain p{font-size:13px;line-height:1.5;color:var(--grey);font-weight:500}

/* ================= ЧТО ДЕЛАЕМ ================= */
.serv-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:52px;align-items:center;margin-top:8px}
.serv-list{list-style:none;margin-top:26px;display:flex;flex-direction:column;gap:15px}
.serv-list li{display:flex;align-items:center;gap:11px;font-size:15px;font-weight:600}
.serv-list svg{width:21px;height:21px;color:var(--green);flex:none}
.soft-chips{display:flex;gap:10px;margin-top:28px;flex-wrap:wrap}
.soft-chip{
  display:flex;align-items:center;gap:8px;
  background:#fff;border:1px solid var(--line);border-radius:12px;
  padding:10px 16px;font-size:13px;font-weight:700;
  box-shadow:0 8px 20px -14px rgba(23,43,99,.3);
}
.soft-chip i{width:9px;height:9px;border-radius:3px;flex:none;font-style:normal}
.soft-chip i.c-1c{background:#f7a600}
.soft-chip i.c-k{background:#111}
.soft-chip i.c-ms{background:#1a74ff}

.wreport{
  background:#fff;border:1px solid #eef1f8;border-radius:20px;
  padding:22px 24px;
  box-shadow:0 30px 64px -28px rgba(60,40,140,.35);
}
.wr-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}
.wr-head h3{font-size:15.5px;font-weight:700}
.wr-head .sub2{font-size:12px;color:var(--soft);font-weight:600;margin-top:3px}
.wr-ic{
  width:40px;height:40px;border-radius:12px;flex:none;
  background:linear-gradient(135deg,var(--violet),var(--violet-d));
  display:grid;place-items:center;color:#fff;
  box-shadow:0 10px 20px -8px rgba(122,43,214,.5);
}
.wr-ic svg{width:19px;height:19px}
.wr-row{display:flex;justify-content:space-between;gap:12px;padding:9.5px 0;border-top:1px solid var(--line);font-size:13.5px}
.wr-row span{color:var(--grey);font-weight:500}
.wr-row b{font-weight:700;font-variant-numeric:tabular-nums}
.wr-row.total{border-top:1.5px solid #dfe5f0;margin-top:2px;padding-top:13px}
.wr-row.total span{color:var(--ink);font-weight:700}
.wr-row.total b{color:var(--green);font-size:16px}
.wr-foot{
  display:flex;justify-content:space-between;align-items:center;gap:10px;
  margin-top:14px;padding:10px 13px;border-radius:12px;background:var(--green-bg);
  font-size:12.5px;font-weight:700;color:var(--green);
}
.wr-foot .when{color:#4f9c74;font-weight:600}
.wr-foot em{display:flex;align-items:center;gap:6px;font-style:normal}
.wr-foot svg{width:15px;height:15px}


/* ================= ПОЧЕМУ МЫ ================= */
.why-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:38px}
.why{
  background:#fff;border:1px solid #eef1f8;border-radius:18px;padding:26px 24px;
  box-shadow:0 14px 34px -20px rgba(23,43,99,.25);
  transition:transform .35s var(--ease-out), box-shadow .35s;
}
.why:hover{transform:translateY(-5px);box-shadow:0 24px 44px -20px rgba(23,43,99,.35)}
.why .ic{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;margin-bottom:16px}
.why .ic svg{width:23px;height:23px}
.ic.violet{background:var(--tint-violet);color:var(--violet)}
.why h3{font-size:15.5px;font-weight:700;margin-bottom:8px}
.why p{font-size:13px;line-height:1.55;color:var(--grey);font-weight:500}

/* ================= КАК НАЧИНАЕМ ================= */
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:46px;position:relative}
.steps::before{
  content:'';position:absolute;top:23px;left:12%;right:12%;height:3px;border-radius:2px;
  background:linear-gradient(90deg,var(--blue),var(--violet),var(--magenta));
  opacity:.35;
  transform:scaleX(0);transform-origin:left;
  transition:transform 1.4s var(--ease-out) .15s;
}
.steps.play::before{transform:scaleX(1)}
.step{text-align:center;position:relative}
.step .num{
  width:46px;height:46px;border-radius:50%;margin:0 auto 14px;
  display:grid;place-items:center;color:#fff;font-weight:800;font-size:17px;
  background:linear-gradient(135deg,var(--blue),var(--violet));
  box-shadow:0 12px 24px -10px rgba(80,50,220,.55);
  position:relative;z-index:1;
}
/* градиенты номеров шагов задаются в JS из текущей палитры */
.step h3{font-size:15px;font-weight:700;margin-bottom:6px}
.step p{font-size:12.5px;color:var(--grey);font-weight:500;line-height:1.5;max-width:22ch;margin:0 auto}

/* эффекты появления шагов */
.step{transition:transform .35s var(--ease-out)}
.step:hover{transform:translateY(-5px)}
.steps .num{opacity:0;transform:scale(0)}
.steps .num::after{
  content:'';position:absolute;inset:-5px;border-radius:50%;
  border:2px solid rgba(150,60,220,.55);opacity:0;
}
.steps .step h3,.steps .step p{opacity:0;transform:translateY(12px)}
.steps.play .num{animation:numPop .6s var(--bounce) forwards, numGlow 3.4s ease-in-out 2.2s infinite}
.steps.play .step:nth-child(1) .num{animation-delay:.15s,2.2s}
.steps.play .step:nth-child(2) .num{animation-delay:.45s,2.6s}
.steps.play .step:nth-child(3) .num{animation-delay:.75s,3s}
.steps.play .step:nth-child(4) .num{animation-delay:1.05s,3.4s}
.steps.play .num::after{animation:ring 1s ease-out forwards}
.steps.play .step:nth-child(1) .num::after{animation-delay:.5s}
.steps.play .step:nth-child(2) .num::after{animation-delay:.8s}
.steps.play .step:nth-child(3) .num::after{animation-delay:1.1s}
.steps.play .step:nth-child(4) .num::after{animation-delay:1.4s}
.steps.play .step h3,.steps.play .step p{animation:fadeUp .6s var(--ease-out) forwards}
.steps.play .step:nth-child(1) h3{animation-delay:.3s}
.steps.play .step:nth-child(1) p{animation-delay:.4s}
.steps.play .step:nth-child(2) h3{animation-delay:.6s}
.steps.play .step:nth-child(2) p{animation-delay:.7s}
.steps.play .step:nth-child(3) h3{animation-delay:.9s}
.steps.play .step:nth-child(3) p{animation-delay:1s}
.steps.play .step:nth-child(4) h3{animation-delay:1.2s}
.steps.play .step:nth-child(4) p{animation-delay:1.3s}
@keyframes numPop{60%{opacity:1;transform:scale(1.15)}100%{opacity:1;transform:scale(1)}}
@keyframes ring{0%{opacity:.9;transform:scale(.6)}100%{opacity:0;transform:scale(2)}}
@keyframes numGlow{
  0%,100%{box-shadow:0 12px 24px -10px rgba(80,50,220,.55)}
  50%{box-shadow:0 14px 32px -6px rgba(190,30,190,.65)}
}

/* ================= ФИНАЛЬНЫЙ CTA ================= */
.cta-final{
  position:relative;overflow:hidden;
  background:#0c1120;color:#fff;
  padding:84px 6vw 70px;
}
.cta-final::before{
  content:'';position:absolute;width:620px;height:620px;left:-160px;top:-260px;border-radius:50%;
  background:radial-gradient(circle,var(--glow-blue),transparent 65%);filter:blur(60px);
}
.cta-final::after{
  content:'';position:absolute;width:560px;height:560px;right:-160px;bottom:-280px;border-radius:50%;
  background:radial-gradient(circle,var(--glow-pink),transparent 65%);filter:blur(60px);
}
.cta-final .inner{max-width:1280px;margin:0 auto;position:relative;z-index:1}
.cta-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:48px;align-items:center}
.cta-final .h2{color:#fff}
.cta-final .lead{margin-top:14px;font-size:15px;color:#aeb8cd;font-weight:500;max-width:38ch}
.cta-form .inp{
  background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.18);color:#fff;
}
.cta-form .inp::placeholder{color:#8b96ad}
.cta-form .inp:focus{border-color:#7f9dff;box-shadow:0 0 0 3px rgba(0,91,255,.25)}
.contacts{
  display:flex;gap:34px;flex-wrap:wrap;margin-top:52px;padding-top:34px;
  border-top:1px solid rgba(255,255,255,.12);
}
.contact{display:flex;align-items:center;gap:13px;text-decoration:none;color:#fff}
.contact .cic{
  width:44px;height:44px;border-radius:13px;flex:none;display:grid;place-items:center;
  background:linear-gradient(135deg,rgba(0,91,255,.9),rgba(122,43,214,.9));
  box-shadow:0 10px 22px -8px rgba(60,80,255,.5);
}
.contact .cic svg{width:20px;height:20px}
.contact .cl{font-size:11.5px;color:#8b96ad;font-weight:600}
.contact .cv{font-size:14.5px;font-weight:700;margin-top:2px}

/* ================= ФУТЕР ================= */
.footer{background:var(--footer-bg);border-top:1px solid var(--line);padding:46px 6vw 40px}
.footer .inner{max-width:1280px;margin:0 auto;display:grid;grid-template-columns:1.1fr 1.2fr 1fr;gap:40px}
.footer .fb p{margin-top:10px;font-size:12.5px;color:var(--grey);font-weight:500;max-width:26ch;line-height:1.55}
.footer h5{font-size:12px;font-weight:700;color:var(--soft);text-transform:uppercase;letter-spacing:.05em;margin-bottom:10px}
.req{font-size:12px;color:var(--grey);font-weight:500;line-height:1.7}
.footer .fl a{display:block;font-size:12.5px;font-weight:600;color:var(--blue);text-decoration:none;margin-bottom:10px}
.footer .fl span{font-size:12px;color:var(--soft);font-weight:500}

/* ================= БЛОК «ПОМОГАЕМ С ИИ» ================= */
.ai-grid{display:grid;grid-template-columns:1.12fr .88fr;gap:48px;align-items:center}
.ai-tag{
  display:inline-block;margin-bottom:14px;
  font-size:12px;font-weight:700;letter-spacing:.02em;
  color:var(--violet);background:var(--tint-violet);
  padding:6px 13px;border-radius:20px;
}
.ai-lead{margin-top:6px;font-size:16px;line-height:1.6;color:var(--grey);font-weight:500;max-width:46ch}
.ai-hon{margin-top:14px;font-size:13.5px;line-height:1.55;color:var(--soft);font-weight:500;max-width:46ch}
.ai-card{
  background:#fff;border:1px solid #eef1f8;border-radius:20px;
  padding:26px 28px;
  box-shadow:0 24px 54px -28px rgba(60,40,140,.32);
}
.ai-list{list-style:none;display:flex;flex-direction:column;gap:15px}
.ai-list li{display:flex;align-items:flex-start;gap:11px;font-size:14.5px;font-weight:600;line-height:1.4}
.ai-list svg{width:21px;height:21px;color:var(--green);flex:none;margin-top:1px}

/* вариант «без ИИ»: класс no-ai на <html> прячет ИИ-блок и бонус */
html.no-ai .ai-sec,
html.no-ai .t-bonus{display:none !important}
