/* ROIbooster — лендинг (вариант B). Тёмная тема · акцент #ff5c35
   Manrope + JetBrains Mono. Флюид-вёрстка, max-width контейнер. */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  --bg:#0a0a0b; --bg-2:#100f12; --surface:#161519; --surface-2:#1d1c21;
  --line:rgba(255,255,255,0.08); --line-2:rgba(255,255,255,0.14);
  --fg:#f4f1ed; --muted:rgba(244,241,237,0.58); --faint:rgba(244,241,237,0.36);
  --accent:#ff5c35; --accent-2:#ff7a52; --accent-ink:#1a0a04;
  --good:oklch(0.78 0.16 158); --good-dim:oklch(0.78 0.16 158/0.16);
  --bad:oklch(0.66 0.19 28); --bad-dim:oklch(0.66 0.19 28/0.14);
  --radius:16px; --radius-sm:11px;
  --container:1200px;
  --font:'Manrope',system-ui,sans-serif; --mono:'JetBrains Mono',ui-monospace,monospace;
}
* { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; scroll-padding-top:84px; }
body {
  font-family:var(--font);
  background:
    radial-gradient(1100px 620px at 80% -6%, rgba(255,92,53,0.13), transparent 58%),
    radial-gradient(900px 600px at 0% 6%, rgba(255,92,53,0.05), transparent 55%),
    var(--bg);
  color:var(--fg); -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
  line-height:1.5;
}
::selection { background:var(--accent); color:var(--accent-ink); }
a { color:inherit; }
img { max-width:100%; display:block; }

.container { width:100%; max-width:var(--container); margin:0 auto; padding:0 32px; }
.section { padding:108px 0; position:relative; }
.section-tight { padding:72px 0; }

/* ---------- типографика ---------- */
.kicker { font-family:var(--mono); font-size:12.5px; letter-spacing:0.16em; text-transform:uppercase; color:var(--accent-2); }
.kicker.muted { color:var(--faint); }
h1,h2,h3,h4 { letter-spacing:-0.03em; line-height:1.04; font-weight:800; text-wrap:balance; }
.h-display { font-size:clamp(40px,5.4vw,68px); line-height:0.99; }
.h-section { font-size:clamp(32px,3.8vw,48px); }
.h-sub { font-size:21px; font-weight:700; letter-spacing:-0.02em; }
.lead { color:var(--muted); font-size:18px; line-height:1.55; font-weight:500; text-wrap:pretty; }
.lead b { color:var(--fg); font-weight:700; }
.accent { color:var(--accent); }
.good { color:var(--good); }
.bad { color:var(--bad); }
.mono { font-family:var(--mono); }

.sec-head { max-width:680px; margin-bottom:52px; display:flex; flex-direction:column; gap:16px; }
.sec-head.center { margin-left:auto; margin-right:auto; text-align:center; align-items:center; }
.sec-head p { color:var(--muted); font-size:18px; font-weight:500; }

/* ---------- кнопки ---------- */
.btn { font-family:var(--font); font-weight:700; font-size:15px; border:none; border-radius:12px;
  padding:14px 24px; cursor:pointer; display:inline-flex; align-items:center; gap:9px; white-space:nowrap;
  transition:transform .16s, box-shadow .2s, background .2s, border-color .2s; text-decoration:none; }
.btn-primary { background:var(--accent); color:var(--accent-ink); box-shadow:0 12px 34px -12px rgba(255,92,53,.85); }
.btn-primary:hover { background:var(--accent-2); transform:translateY(-2px); }
.btn-primary .arr { transition:transform .18s; }
.btn-primary:hover .arr { transform:translateX(4px); }
.btn-ghost { background:transparent; color:var(--fg); border:1px solid var(--line-2); }
.btn-ghost:hover { background:rgba(255,255,255,.05); border-color:var(--fg); }
.btn-lg { padding:17px 30px; font-size:16.5px; border-radius:14px; }
.btn-sm { padding:10px 17px; font-size:14px; }

/* ---------- бейджи / элементы ---------- */
.eyebrow { display:inline-flex; align-items:center; gap:9px; font-family:var(--mono); font-size:12.5px; font-weight:500;
  color:var(--accent-2); background:rgba(255,92,53,.1); border:1px solid rgba(255,92,53,.28);
  padding:8px 15px 8px 12px; border-radius:100px; text-transform:uppercase; white-space:nowrap; width:max-content; }
.eyebrow .dot { width:7px; height:7px; border-radius:50%; background:var(--accent); box-shadow:0 0 0 4px rgba(255,92,53,.22); }
.pip { width:6px; height:6px; border-radius:50%; background:var(--good); flex:0 0 auto; }

/* ---------- навигация ---------- */
.nav { position:sticky; top:0; z-index:50; height:72px; border-bottom:1px solid var(--line);
  background:rgba(10,10,11,.72); backdrop-filter:blur(14px); }
.nav .container { height:100%; display:flex; align-items:center; gap:38px; }
.brand { display:flex; align-items:center; gap:11px; font-weight:800; font-size:20px; letter-spacing:-0.02em; white-space:nowrap; text-decoration:none; }
.brand b { color:var(--accent); }
.brand-mark { width:30px; height:30px; border-radius:9px; background:linear-gradient(150deg,var(--accent),#ff8a3d);
  display:grid; place-items:center; box-shadow:0 6px 20px -6px rgba(255,92,53,.7); flex:0 0 auto; }
.brand-mark::before { content:""; width:11px; height:11px; border:2.5px solid var(--accent-ink);
  border-bottom-color:transparent; border-right-color:transparent; border-radius:2px; transform:rotate(45deg) translate(1px,1px); }
.nav-menu { display:flex; gap:28px; margin-left:6px; }
.nav-menu a { color:var(--muted); text-decoration:none; font-size:14.5px; font-weight:500; transition:color .18s; }
.nav-menu a:hover { color:var(--fg); }
.nav-right { margin-left:auto; display:flex; align-items:center; gap:18px; }
.nav-login { color:var(--muted); text-decoration:none; font-size:14.5px; font-weight:600; }

/* ---------- логотипы платформ ---------- */
.glyph { display:inline-grid; place-items:center; border-radius:6px; font-weight:800; flex:0 0 auto; }
.g-tt { background:#000; color:#fff; box-shadow:inset 0 0 0 1px rgba(255,255,255,.18); }
.g-tt::after { content:"\266A"; color:#25f4ee; text-shadow:1.6px 0 #fe2c55; }
.g-yt { background:#ff0033; color:#fff; }
.g-yt::after { content:"\25B6"; }
.g-fb { background:#1877f2; color:#fff; }
.g-fb::after { content:"f"; font-family:Georgia,serif; }
.g-gg { background:#fff; color:#4285f4; }
.g-gg::after { content:"G"; }
.glyph.s20 { width:20px; height:20px; font-size:12px; border-radius:5px; }
.glyph.s20.g-yt::after { font-size:8px; } .glyph.s20.g-tt::after,.glyph.s20.g-fb::after,.glyph.s20.g-gg::after { font-size:13px; }
.glyph.s30 { width:30px; height:30px; font-size:15px; border-radius:8px; }
.glyph.s30.g-yt::after { font-size:10px; } .glyph.s30.g-tt::after,.glyph.s30.g-fb::after,.glyph.s30.g-gg::after { font-size:16px; }
.glyph.s48 { width:48px; height:48px; font-size:24px; border-radius:13px; }
.glyph.s48.g-yt::after { font-size:15px; } .glyph.s48.g-tt::after,.glyph.s48.g-fb::after,.glyph.s48.g-gg::after { font-size:25px; }

/* анимация пунктира на запасной случай */
.flow-anim { stroke-dasharray:5 7; animation:dash 1s linear infinite; }
@keyframes dash { to { stroke-dashoffset:-24; } }

/* появление */
.reveal { opacity:0; transform:translateY(22px); }
.reveal.in { animation:reveal-in .7s cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes reveal-in { to { opacity:1; transform:none; } }
@media (prefers-reduced-motion:reduce) {
  .reveal { opacity:1; transform:none; animation:none; }
  .flow-anim, .particle { animation:none !important; }
  .flow-grid > .flow-col::after { animation:none !important; }
  html { scroll-behavior:auto; }
}

/* гамбургер (скрыт на десктопе) */
.nav-toggle { display:none; flex-direction:column; gap:4px; width:44px; height:44px; flex:0 0 auto;
  border:1px solid var(--line-2); border-radius:11px; background:transparent; align-items:center; justify-content:center; cursor:pointer; }
.nav-toggle span { width:18px; height:2px; background:var(--fg); border-radius:2px; transition:transform .25s, opacity .2s; }
.nav-cta-m { display:none; }

/* ===== ПЛАНШЕТ ===== */
@media (max-width:1024px) {
  :root { --container:920px; }
  .nav .container { gap:24px; }
  .nav-menu { gap:20px; }
}

/* ===== МОБИЛЬНЫЙ ===== */
@media (max-width:900px) {
  .section { padding:64px 0; }
  .container { padding:0 20px; }
  .nav .container { gap:14px; }
  .nav-right { display:none; }
  .nav-toggle { display:flex; margin-left:auto; }
  /* выпадающее меню */
  .nav-menu { display:flex; position:absolute; top:72px; left:0; right:0; flex-direction:column; gap:0;
    background:rgba(10,10,11,.98); backdrop-filter:blur(16px); border-bottom:1px solid var(--line); padding:8px 0;
    transform:translateY(-14px); opacity:0; pointer-events:none; transition:transform .25s, opacity .25s; }
  .nav.open .nav-menu { transform:none; opacity:1; pointer-events:auto; }
  .nav-menu a { padding:15px 24px; font-size:16.5px; }
  .nav-menu a.nav-cta-m { display:inline-flex; margin:12px 24px 8px; padding:12px 20px; width:max-content; font-size:15px; }
  .nav.open .nav-toggle span:nth-child(1) { transform:translateY(6px) rotate(45deg); }
  .nav.open .nav-toggle span:nth-child(2) { opacity:0; }
  .nav.open .nav-toggle span:nth-child(3) { transform:translateY(-6px) rotate(-45deg); }
  .sec-head { margin-bottom:38px; }
  .h-display { font-size:clamp(34px,8.5vw,46px); }
  .hero-cta { width:100%; }
  .hero-cta .btn { flex:1 1 auto; justify-content:center; }
}

@media (max-width:560px) {
  .section { padding:52px 0; }
  .nav .brand { font-size:18px; }
  .btn-lg { padding:15px 22px; font-size:15px; }
  .hero-cta { flex-direction:column; }
  .hero-cta .btn { width:100%; }
  .sec-head p, .lead { font-size:16px; }
}
