/* HOW_FX_2026_11_12: блок «Начните работать за 30 секунд» (#how) на главной — свой цвет у шагов, живые мини-сцены,
   анимированная связка шагов, цветные преимущества. Тексты прежние; при prefers-reduced-motion анимаций нет. */
#how.hw .steps2{position:relative}
#how.hw .step2{--c:#c084fc;--c2:rgba(192,132,252,.16);overflow:hidden;transition:transform .3s,border-color .3s,box-shadow .3s;
  background:radial-gradient(120% 80% at 100% 0%,var(--c2),transparent 55%),linear-gradient(170deg,rgba(28,23,48,.9),rgba(12,10,22,.95))!important}
#how.hw .step2:hover{transform:translateY(-6px);border-color:color-mix(in srgb,var(--c) 55%,transparent);box-shadow:0 26px 60px rgba(0,0,0,.45),0 0 50px var(--c2)}
#how.hw .step2:nth-of-type(1){--c:#c084fc;--c2:rgba(192,132,252,.17)}
#how.hw .step2:nth-of-type(2){--c:#38bdf8;--c2:rgba(56,189,248,.15)}
#how.hw .step2:nth-of-type(3){--c:#34d399;--c2:rgba(52,211,153,.14)}
#how.hw .step2 .s-num{background:linear-gradient(135deg,var(--c),color-mix(in srgb,var(--c) 45%,#6d28d9))!important;box-shadow:0 10px 26px color-mix(in srgb,var(--c) 45%,transparent);position:relative!important}
#how.hw .step2 .s-num::after{content:"";position:absolute;inset:-5px;border-radius:17px;border:2px solid var(--c);opacity:0;animation:hwRing 2.6s ease-out infinite}
#how.hw .step2:nth-of-type(2) .s-num::after{animation-delay:.9s}
#how.hw .step2:nth-of-type(3) .s-num::after{animation-delay:1.8s}
@keyframes hwRing{0%{opacity:.8;transform:scale(.9)}100%{opacity:0;transform:scale(1.35)}}
#how.hw .s-ghost{color:transparent!important;-webkit-text-stroke:1.5px color-mix(in srgb,var(--c) 40%,transparent)!important;opacity:1!important}
#how.hw .s-list li::before{background-color:var(--c)!important;border-color:transparent!important}
#how.hw .s-chips span{background:var(--c2)!important;border-color:color-mix(in srgb,var(--c) 35%,transparent)!important;color:color-mix(in srgb,var(--c) 60%,#fff)!important}

/* мини-сцены */
.hw-art{position:relative;z-index:1;margin:0 0 18px;padding:14px;border-radius:14px;background:rgba(8,6,18,.55);border:1px solid rgba(255,255,255,.07);font-size:12.5px;color:#e8e5f7;text-align:left}
.hw-field{display:flex;align-items:center;gap:8px;padding:9px 11px;border-radius:10px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);margin-bottom:8px;color:#cfcae8}
.hw-field small{color:#8f8ab0;width:58px;flex:none}
.hw-type{display:inline-block;overflow:hidden;white-space:nowrap;border-right:2px solid var(--c);width:0;animation:hwType 4s steps(16) infinite,hwCaret .7s step-end infinite}
@keyframes hwType{0%,10%{width:0}50%,90%{width:16ch}100%{width:16ch}}
@keyframes hwCaret{50%{border-color:transparent}}
.hw-go{position:relative;overflow:hidden;text-align:center;padding:9px;border-radius:10px;font-weight:800;color:#fff;background:linear-gradient(135deg,#7c3aed,#a855f7)}
.hw-go::after{content:"";position:absolute;left:0;bottom:0;height:3px;width:0;background:#fff;animation:hwFill 4s ease-in-out infinite}
@keyframes hwFill{0%,50%{width:0}85%,100%{width:100%}}
.hw-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.hw-tiles span{padding:9px 6px;border-radius:10px;text-align:center;font-weight:700;font-size:11.5px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08);color:#a9a4c6;animation:hwLit 6s ease-in-out infinite}
.hw-tiles span:nth-child(2){animation-delay:.5s}.hw-tiles span:nth-child(3){animation-delay:1s}.hw-tiles span:nth-child(4){animation-delay:1.5s}.hw-tiles span:nth-child(5){animation-delay:2s}.hw-tiles span:nth-child(6){animation-delay:2.5s}
@keyframes hwLit{0%,8%{background:rgba(255,255,255,.05);color:#a9a4c6;border-color:rgba(255,255,255,.08)}14%,40%{background:rgba(56,189,248,.2);color:#e0f2fe;border-color:rgba(56,189,248,.5)}55%,100%{background:rgba(56,189,248,.08);color:#bae6fd;border-color:rgba(56,189,248,.25)}}
.hw-order{display:flex;align-items:center;gap:11px;padding:10px 12px;border-radius:12px;background:rgba(52,211,153,.08);border:1px solid rgba(52,211,153,.3);animation:hwToast 4.5s cubic-bezier(.2,.8,.2,1) infinite}
.hw-order + .hw-order{margin-top:7px;animation-delay:.35s}
.hw-bell{flex:none;width:32px;height:32px;border-radius:10px;display:grid;place-items:center;background:linear-gradient(135deg,#10b981,#0d9488);font-size:15px;animation:hwBell 4.5s ease-in-out infinite}
.hw-order b{display:block;font-size:12.5px}
.hw-order small{color:#86efac;font-size:11px}
.hw-order em{margin-left:auto;font-style:normal;font-weight:800;color:#6ee7b7;white-space:nowrap}
@keyframes hwToast{0%{opacity:0;transform:translateX(18px)}12%,85%{opacity:1;transform:none}100%{opacity:0;transform:translateX(-10px)}}
@keyframes hwBell{0%,12%,100%{transform:rotate(0)}4%{transform:rotate(-14deg)}8%{transform:rotate(12deg)}}

/* связка шагов: бегущая точка по пунктиру */
#how.hw .s-arrow{display:grid!important;place-items:center;align-self:center;width:46px}
#how.hw .s-arrow span{position:relative;width:46px!important;height:2px!important;border-radius:2px!important;border:0!important;font-size:0!important;
  background:repeating-linear-gradient(90deg,rgba(192,132,252,.6) 0 6px,transparent 6px 11px)!important}
#how.hw .s-arrow span::after{content:"";position:absolute;top:-4px;left:0;width:10px;height:10px;border-radius:50%;background:#e879f9;box-shadow:0 0 14px #e879f9;animation:hwRun 1.8s ease-in-out infinite}
@keyframes hwRun{0%{left:-4px;opacity:0}15%{opacity:1}85%{opacity:1}100%{left:40px;opacity:0}}

/* преимущества */
#how.hw .how-bens{background:linear-gradient(170deg,rgba(28,23,48,.85),rgba(12,10,22,.92));box-shadow:0 0 50px -18px rgba(168,85,247,.6)}
#how.hw .how-bens .hb{transition:transform .25s}
#how.hw .how-bens .hb:hover{transform:translateY(-3px)}
#how.hw .how-bens .hb-ic{transition:transform .3s,box-shadow .3s}
#how.hw .how-bens .hb:hover .hb-ic{transform:rotate(-8deg) scale(1.08);box-shadow:0 0 20px var(--hc,#d946ef)}
#how.hw .how-bens .hb:nth-child(1){--hc:#fbbf24}#how.hw .how-bens .hb:nth-child(2){--hc:#34d399}#how.hw .how-bens .hb:nth-child(3){--hc:#38bdf8}#how.hw .how-bens .hb:nth-child(4){--hc:#f472b6}#how.hw .how-bens .hb:nth-child(5){--hc:#a78bfa}
#how.hw .how-bens .hb-ic{background:color-mix(in srgb,var(--hc) 16%,transparent)!important;border-color:color-mix(in srgb,var(--hc) 40%,transparent)!important}
#how.hw .how-bens .hb-ic svg{color:var(--hc)!important}

/* кнопка */
#how.hw .how-cta .btn{position:relative;overflow:hidden}
#how.hw .how-cta .btn::after{content:"";position:absolute;top:0;bottom:0;left:-60%;width:40%;transform:skewX(-20deg);background:linear-gradient(90deg,transparent,rgba(255,255,255,.45),transparent);animation:hwShine 3.4s ease-in-out infinite}
@keyframes hwShine{0%,55%{left:-60%}100%{left:130%}}

@media(max-width:1100px){#how.hw .s-arrow{display:none!important}}
@media(prefers-reduced-motion:reduce){
  #how.hw *,#how.hw *::before,#how.hw *::after{animation:none!important}
  .hw-type{width:16ch}
  #how.hw .step2:hover{transform:none}
}
/* раскладка: сцена над списком, номер не наезжает на заголовок */
#how.hw .s-head{gap:16px!important}
#how.hw .step2 .s-num{flex:0 0 46px!important;margin:0!important}
#how.hw .s-body{flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;height:auto!important;min-height:0!important;gap:0}
#how.hw .hw-art{width:100%}
#how.hw .s-arrow{width:34px}
#how.hw .s-arrow span{width:34px!important}
@keyframes hwRun{0%{left:-4px;opacity:0}15%{opacity:1}85%{opacity:1}100%{left:28px;opacity:0}}
#how.hw .step2 .s-num{left:auto!important;top:auto!important}
