/* ═══════════════════════════════════════════════════════════
   B2DOX LANDING  — main.css
   Themes: [data-theme="dark"] (default) / [data-theme="light"]
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&display=swap');

/* ── Dark theme (default) ───────────────────────────────── */
:root, [data-theme="dark"] {
  --bg:          #080d18;
  --bg2:         #0c1220;
  --bg3:         #111827;
  --bg4:         #1a2335;
  --surface:     rgba(255,255,255,0.04);
  --surface2:    rgba(255,255,255,0.07);
  --border:      rgba(255,255,255,0.08);
  --border2:     rgba(255,255,255,0.13);
  --accent:      #f97316;
  --accent-h:    #fb923c;
  --accent-dim:  rgba(249,115,22,0.12);
  --accent-glow: rgba(249,115,22,0.25);
  --blue:        #3b82f6;
  --blue-dim:    rgba(59,130,246,0.10);
  --green:       #22c55e;
  --green-dim:   rgba(34,197,94,0.12);
  --red:         #ef4444;
  --red-dim:     rgba(239,68,68,0.12);
  --text:        #eef0f6;
  --text2:       #a8b3c8;
  --text3:       #576070;
  --nav-bg:      rgba(8,13,24,0.90);
  --shadow:      0 4px 24px rgba(0,0,0,0.40);
  --shadow-lg:   0 16px 48px rgba(0,0,0,0.55);
  --radius:      14px;
  --radius-lg:   22px;
}

/* ── Light theme ────────────────────────────────────────── */
[data-theme="light"] {
  --bg:          #f7f6f2;
  --bg2:         #efede6;
  --bg3:         #e6e3da;
  --bg4:         #ffffff;
  --surface:     rgba(0,0,0,0.03);
  --surface2:    rgba(0,0,0,0.06);
  --border:      rgba(0,0,0,0.09);
  --border2:     rgba(0,0,0,0.14);
  --accent:      #e86408;
  --accent-h:    #f97316;
  --accent-dim:  rgba(232,100,8,0.10);
  --accent-glow: rgba(232,100,8,0.22);
  --blue:        #2563eb;
  --blue-dim:    rgba(37,99,235,0.08);
  --green:       #16a34a;
  --green-dim:   rgba(22,163,74,0.10);
  --red:         #dc2626;
  --red-dim:     rgba(220,38,38,0.10);
  --text:        #0f1624;
  --text2:       #4b5563;
  --text3:       #9ca3af;
  --nav-bg:      rgba(247,246,242,0.92);
  --shadow:      0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg:   0 16px 48px rgba(0,0,0,0.12);
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px; line-height: 1.65;
  overflow-x: hidden;
  transition: background 0.3s, color 0.3s;
}
a { text-decoration: none; color: inherit; }
::selection { background: var(--accent-dim); color: var(--accent); }
h1,h2,h3,h4 {
  font-family: 'Syne', sans-serif; font-weight: 800;
  letter-spacing: -0.025em; line-height: 1.1; color: var(--text);
}

/* ── Layout ─────────────────────────────────────────────── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }
section.bg-alt  { background: var(--bg2); }
section.bg-dark { background: var(--bg3); }

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.tag::before { content:''; width:14px; height:2px; background:var(--accent); border-radius:2px; }
.section-title { font-size: clamp(1.9rem,4vw,2.8rem); margin-bottom: 14px; }
.section-sub {
  color: var(--text2); font-size: 1.05rem; font-weight: 300;
  max-width: 520px; margin-bottom: 56px; line-height: 1.75;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'DM Sans', sans-serif; font-weight: 600;
  cursor: pointer; border: none; outline: none;
  text-decoration: none; transition: all 0.2s; white-space: nowrap;
}
.btn-primary {
  background: var(--accent); color: #fff;
  padding: 13px 28px; border-radius: 10px; font-size: 0.95rem;
  box-shadow: 0 4px 14px var(--accent-glow);
}
.btn-primary:hover { background: var(--accent-h); transform: translateY(-2px); box-shadow: 0 8px 24px var(--accent-glow); }
.btn-primary:active { transform: none; }
.btn-ghost {
  background: transparent; color: var(--text);
  padding: 13px 28px; border-radius: 10px; font-size: 0.95rem;
  border: 1px solid var(--border2);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }
.btn-lg { padding: 16px 36px; font-size: 1rem; border-radius: 12px; }
.btn-sm { padding: 8px 18px; font-size: 0.83rem; border-radius: 8px; }

/* ── Status badges ───────────────────────────────────────── */
.badge { font-size: 0.68rem; font-weight: 700; padding: 3px 10px; border-radius: 100px; }
.badge-green  { background: var(--green-dim);  color: var(--green); }
.badge-orange { background: var(--accent-dim); color: var(--accent); }
.badge-blue   { background: var(--blue-dim);   color: var(--blue); }

/* ── NAV ─────────────────────────────────────────────────── */
.nav {
  position: fixed; top:0; left:0; right:0; z-index:200;
  height: 66px;
  background: var(--nav-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.nav__inner {
  height: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.nav__logo {
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.4rem;
  display: flex; align-items: center; flex-shrink: 0;
}
.nav__logo span { color: var(--accent); }
.nav__links { display: flex; align-items: center; gap: 2px; }
.nav__link {
  color: var(--text2); font-size: 0.875rem; font-weight: 500;
  padding: 8px 14px; border-radius: 8px; transition: all 0.2s;
}
.nav__link:hover { color: var(--text); background: var(--surface2); }
.nav__right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.theme-toggle {
  width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid var(--border2); background: var(--surface);
  color: var(--text2); display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.2s; flex-shrink: 0;
}
.theme-toggle:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-dim); }
.icon-sun  { display: none; }
.icon-moon { display: block; }
[data-theme="light"] .icon-sun  { display: block; }
[data-theme="light"] .icon-moon { display: none; }

.nav__burger {
  display: none; width: 40px; height: 40px;
  flex-direction: column; gap: 5px;
  align-items: center; justify-content: center;
  cursor: pointer; border-radius: 10px;
  border: 1px solid var(--border2); background: var(--surface);
}
.nav__burger span {
  display: block; width: 18px; height: 2px;
  background: var(--text2); border-radius: 2px; transition: all 0.25s;
}
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none; position: fixed;
  top: 66px; left: 0; right: 0; z-index: 199;
  background: var(--bg3); border-bottom: 1px solid var(--border);
  padding: 16px 20px 24px; flex-direction: column; gap: 4px;
  box-shadow: var(--shadow);
}
.nav__mobile.open { display: flex; }
.nav__mobile .nav__link { padding: 12px 16px; font-size: 1rem; border-radius: 10px; }
.nav__mobile .btn-primary { margin-top: 8px; justify-content: center; }
.nav__mobile-row { display: flex; gap: 10px; margin-top: 8px; }
.nav__mobile-row .btn-ghost { flex: 1; justify-content: center; }

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  padding: 120px 24px 80px;
  position: relative; overflow: hidden;
  display: flex; align-items: center;
}
.hero__glow1 {
  position: absolute; width: 720px; height: 720px; border-radius: 50%;
  background: radial-gradient(circle, rgba(249,115,22,.13) 0%, transparent 65%);
  top: -200px; right: -60px; pointer-events: none;
}
.hero__glow2 {
  position: absolute; width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,.08) 0%, transparent 65%);
  bottom: -80px; left: -80px; pointer-events: none;
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px; pointer-events: none;
}
.hero__inner {
  position: relative; z-index: 1;
  max-width: 1160px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 460px;
  gap: 64px; align-items: center;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-dim); border: 1px solid rgba(249,115,22,.3);
  color: var(--accent); padding: 6px 16px; border-radius: 100px;
  font-size: 0.78rem; font-weight: 600; margin-bottom: 28px;
}
.pulse { width: 7px; height: 7px; background: var(--accent); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(.8)} }
.hero__title { font-size: clamp(2.4rem,5.5vw,4.2rem); margin-bottom: 24px; }
.hero__title em { font-style: normal; color: var(--accent); }
.hero__desc {
  font-size: clamp(1rem,1.8vw,1.15rem); color: var(--text2);
  font-weight: 300; max-width: 520px; margin-bottom: 40px; line-height: 1.8;
}
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 52px; }
.hero__stats { display: flex; gap: 44px; flex-wrap: wrap; }
.hero__stat-num {
  font-family: 'Syne', sans-serif; font-size: 2rem; font-weight: 800; line-height: 1;
}
.hero__stat-num span { color: var(--accent); }
.hero__stat-label { font-size: 0.78rem; color: var(--text3); margin-top: 5px; }
.hero__right { display: flex; flex-direction: column; gap: 14px; }

/* Mock cards in hero */
.mock-card {
  background: var(--bg4); border: 1px solid var(--border2);
  border-radius: var(--radius); padding: 22px 24px;
  box-shadow: var(--shadow); transition: transform 0.3s;
}
[data-theme="dark"] .mock-card { background: var(--bg3); }
.mock-card:hover { transform: translateY(-3px); }
.mock-card__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.mock-card__title { font-family: 'Syne', sans-serif; font-size: 0.88rem; font-weight: 700; }
.mock-row { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid var(--border); font-size: 0.79rem; }
.mock-row:last-of-type { border-bottom: none; }
.mock-label { color: var(--text3); }
.mock-val { font-weight: 500; }
.mock-sum { font-family: 'Syne', sans-serif; font-size: 1.4rem; font-weight: 800; color: var(--accent); margin-top: 14px; }

/* TG mini mock */
.tg-mini {
  background: var(--bg4); border: 1px solid var(--border2);
  border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow);
}
[data-theme="dark"] .tg-mini { background: var(--bg3); }
.tg-mini-hdr { font-size: 0.72rem; font-weight: 600; color: var(--blue); margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.tg-bubble {
  background: var(--blue-dim); border-radius: 12px 12px 12px 2px;
  padding: 12px 16px; font-size: 0.82rem; line-height: 1.55; margin-bottom: 10px; color: var(--text);
}
.tg-bubble strong { display: block; margin-bottom: 3px; }
.tg-actions { display: flex; gap: 8px; }
.tg-btn { flex:1; padding: 9px 6px; border-radius: 8px; text-align: center; font-size: 0.78rem; font-weight: 600; cursor: pointer; }
.tg-btn.ok { background: var(--green-dim); color: var(--green); border: 1px solid rgba(34,197,94,.25); }
.tg-btn.no { background: var(--red-dim); color: var(--red); border: 1px solid rgba(239,68,68,.25); }

/* ── PROBLEMS ─────────────────────────────────────────────── */
.prob-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 16px; }
.prob-card {
  background: var(--bg4); border: 1px solid var(--border);
  border-left: 3px solid var(--accent); border-radius: var(--radius);
  padding: 26px; transition: box-shadow .3s, transform .3s;
}
[data-theme="dark"] .prob-card { background: var(--surface); }
.prob-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.prob-icon { font-size: 1.9rem; margin-bottom: 14px; }
.prob-text { color: var(--text2); font-size: 0.875rem; line-height: 1.7; }

/* ── FEATURES ─────────────────────────────────────────────── */
.feat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.feat-card {
  background: var(--bg4); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
  position: relative; overflow: hidden; transition: all .3s;
}
[data-theme="dark"] .feat-card { background: var(--bg3); }
.feat-card::after {
  content:''; position: absolute; top:0; left:0; right:0; height:2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0; transition: opacity .3s;
}
.feat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--border2); }
.feat-card:hover::after { opacity: 1; }
.feat-icon {
  width: 52px; height: 52px; background: var(--accent-dim);
  border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 20px;
}
.feat-card h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 10px; }
.feat-card p { color: var(--text2); font-size: 0.875rem; line-height: 1.7; }

/* ── HOW IT WORKS ─────────────────────────────────────────── */
.how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.steps-list { display: flex; flex-direction: column; }
.step-item { display: grid; grid-template-columns: 56px 1fr; gap: 0 20px; }
.step-left { display: flex; flex-direction: column; align-items: center; }
.step-circle {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif; font-size: 1.15rem; font-weight: 800;
  flex-shrink: 0; box-shadow: 0 4px 14px var(--accent-glow);
}
.step-line { width:2px; flex:1; background: var(--border2); margin: 6px 0; min-height: 28px; }
.step-body { padding: 4px 0 36px; }
.step-item:last-child .step-body { padding-bottom: 0; }
.step-body h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.step-body p { color: var(--text2); font-size: 0.875rem; line-height: 1.65; }
.how-visual {
  background: var(--bg3); border: 1px solid var(--border2);
  border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow); position: sticky; top: 88px;
}
[data-theme="light"] .how-visual { background: var(--bg4); }
.how-visual__title { font-size: 0.7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text3); margin-bottom: 18px; }
.vrow { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--border); font-size: 0.82rem; }
.vrow:last-child { border-bottom: none; }
.vrow-label { color: var(--text3); }
.vrow-val { font-weight: 500; color: var(--text); }
.vsum { font-family: 'Syne', sans-serif; font-size: 1.5rem; font-weight: 800; color: var(--accent); margin: 18px 0 5px; }
.vsub { font-size: 0.75rem; color: var(--text3); }
.vdiv { height: 1px; background: var(--border2); margin: 18px 0; }

/* ── TELEGRAM SECTION ─────────────────────────────────────── */
.tg-block {
  background: var(--bg3); border: 1px solid var(--border2);
  border-radius: var(--radius-lg); padding: 60px 56px;
  display: grid; grid-template-columns: 1fr 400px;
  gap: 60px; align-items: center;
  position: relative; overflow: hidden;
}
[data-theme="light"] .tg-block { background: var(--bg4); }
.tg-block::before {
  content:''; position: absolute; top:-120px; right:-120px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, var(--blue-dim) 0%, transparent 70%);
  pointer-events: none;
}
.tg-feats { display: flex; flex-direction: column; gap: 22px; margin-top: 32px; }
.tg-feat { display: flex; gap: 16px; align-items: flex-start; }
.tg-feat-icon {
  width: 42px; height: 42px; border-radius: 11px; background: var(--accent-dim);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0;
}
.tg-feat h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 5px; }
.tg-feat p { color: var(--text2); font-size: 0.84rem; line-height: 1.6; }
.tg-full {
  background: var(--bg); border: 1px solid var(--border2);
  border-radius: 18px; padding: 22px; box-shadow: var(--shadow-lg);
}
[data-theme="light"] .tg-full { background: var(--bg2); }
.tg-full-bar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--border);
}
.tg-full-name { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.88rem; }
.tg-full-sub { font-size: 0.7rem; color: var(--text3); margin-top: 2px; }
.tg-online { width: 8px; height: 8px; background: var(--green); border-radius: 50%; }
.tg-msgs { display: flex; flex-direction: column; gap: 10px; }
.tg-msg {
  background: var(--surface2); border-radius: 14px 14px 14px 2px;
  padding: 12px 16px; font-size: 0.81rem; line-height: 1.55;
  color: var(--text); max-width: 92%;
}
.tg-msg.out {
  background: rgba(249,115,22,.13); border-radius: 14px 14px 2px 14px;
  align-self: flex-end; text-align: right;
}
.tg-msg strong { display: block; margin-bottom: 3px; font-size: 0.79rem; }
.tg-msg-time { font-size: 0.67rem; color: var(--text3); margin-top: 4px; }
.tg-act-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.tg-act-btn { padding: 9px; border-radius: 9px; font-size: 0.78rem; font-weight: 600; text-align: center; }
.tg-act-btn.ok { background: var(--green-dim); color: var(--green); border: 1px solid rgba(34,197,94,.25); }
.tg-act-btn.no { background: var(--red-dim); color: var(--red); border: 1px solid rgba(239,68,68,.25); }

/* ── ROLES ────────────────────────────────────────────────── */
.roles-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.roles-list { display: flex; flex-direction: column; gap: 12px; }
.role-item {
  background: var(--bg4); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px 22px;
  display: flex; align-items: center; gap: 16px; transition: all .25s;
}
[data-theme="dark"] .role-item { background: var(--surface); }
.role-item:hover { border-color: var(--accent); background: var(--accent-dim); transform: translateX(4px); }
.role-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--accent-dim); color: var(--accent);
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0;
}
.role-name { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.92rem; margin-bottom: 3px; }
.role-desc { font-size: 0.79rem; color: var(--text2); }
.perm-matrix {
  background: var(--bg3); border: 1px solid var(--border2);
  border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow);
}
[data-theme="light"] .perm-matrix { background: var(--bg4); }
.perm-title { font-size: 0.875rem; font-weight: 700; margin-bottom: 20px; }
.perm-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 0.82rem;
}
.perm-row:last-child { border-bottom: none; }
.perm-label { color: var(--text2); }
.perm-checks { display: flex; gap: 6px; }
.pch { width: 26px; height: 26px; border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: 0.72rem; font-weight: 700; }
.pch.on  { background: var(--green-dim); color: var(--green); }
.pch.off { background: var(--surface2);  color: var(--text3); }
.perm-legend { display: flex; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.perm-legend-item { font-size: 0.72rem; color: var(--text3); display: flex; align-items: center; gap: 5px; }
.perm-legend-item span { font-weight: 600; color: var(--text2); }

/* ── CLIENTS / INN ────────────────────────────────────────── */
.inn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.inn-feats { display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }
.inn-feat {
  background: var(--bg4); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 22px;
  display: flex; gap: 16px; align-items: flex-start; transition: all .25s;
}
[data-theme="dark"] .inn-feat { background: var(--surface); }
.inn-feat:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.inn-feat-num {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif; font-size: 0.85rem; font-weight: 800; flex-shrink: 0;
}
.inn-feat h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 4px; }
.inn-feat p { color: var(--text2); font-size: 0.82rem; line-height: 1.6; }
.inn-mock {
  background: var(--bg3); border: 1px solid var(--border2);
  border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-lg);
}
[data-theme="light"] .inn-mock { background: var(--bg4); }
.inn-mock-title { font-size: 0.85rem; font-weight: 700; margin-bottom: 18px; display: flex; align-items: center; gap: 8px; }
.inn-input-row { display: flex; gap: 8px; margin-bottom: 20px; }
.inn-input {
  flex: 1; padding: 11px 16px; background: var(--bg);
  border: 1px solid var(--border2); border-radius: 10px;
  font-size: 0.85rem; color: var(--text);
  font-family: 'DM Sans', sans-serif;
}
[data-theme="light"] .inn-input { background: var(--bg2); }
.inn-result { border-top: 1px solid var(--border); padding-top: 18px; }
.inn-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 0.8rem; }
.inn-row:last-child { border-bottom: none; }
.inn-key { color: var(--text3); }
.inn-val { font-weight: 500; color: var(--text); text-align: right; max-width: 58%; }

/* ── COMING SOON ──────────────────────────────────────────── */
.coming-card {
  background: var(--bg4); border: 1px solid var(--border2);
  border-radius: var(--radius-lg); padding: 56px;
  display: grid; grid-template-columns: auto 1fr;
  gap: 48px; align-items: center;
  position: relative; overflow: hidden;
}
[data-theme="dark"] .coming-card { background: var(--bg3); }
.coming-card::after {
  content: 'СКОРО'; position: absolute; top: 26px; right: -22px;
  background: var(--accent); color: #fff;
  font-family: 'Syne', sans-serif; font-size: 0.7rem; font-weight: 800;
  letter-spacing: .1em; padding: 6px 36px; transform: rotate(12deg);
}
.coming-icon {
  width: 80px; height: 80px; border-radius: 20px;
  background: var(--accent-dim); border: 1px solid rgba(249,115,22,.25);
  display: flex; align-items: center; justify-content: center; font-size: 2rem;
}
.coming-card h3 { font-size: 1.6rem; margin-bottom: 12px; }
.coming-card > div > p { color: var(--text2); font-size: 0.95rem; margin-bottom: 24px; line-height: 1.7; }
.coming-items { display: flex; flex-direction: column; gap: 10px; }
.coming-item { display: flex; align-items: center; gap: 10px; font-size: 0.875rem; color: var(--text2); }
.coming-item::before { content:''; width:6px; height:6px; background: var(--accent); border-radius: 50%; flex-shrink: 0; }

/* ── CTA ──────────────────────────────────────────────────── */
.cta-section {
  background: var(--bg); text-align: center; padding: 120px 24px;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content:''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, var(--accent-dim) 0%, transparent 65%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.cta-section h2 { font-size: clamp(2rem,4.5vw,3.2rem); margin-bottom: 18px; }
.cta-section p { color: var(--text2); font-size: 1.1rem; font-weight: 300; margin-bottom: 48px; line-height: 1.7; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── CONTACT ──────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.contact-links { display: flex; flex-direction: column; gap: 14px; margin-top: 32px; }
.contact-link {
  background: var(--bg4); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 20px;
  display: flex; align-items: center; gap: 14px; transition: all .25s;
}
[data-theme="dark"] .contact-link { background: var(--surface); }
.contact-link:hover { border-color: var(--accent); background: var(--accent-dim); transform: translateX(4px); }
.contact-link-icon {
  width: 42px; height: 42px; border-radius: 11px;
  background: var(--accent-dim); color: var(--accent);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0;
}
.contact-link-label { font-size: 0.7rem; color: var(--text3); margin-bottom: 2px; }
.contact-link-val { font-weight: 600; font-size: 0.9rem; color: var(--text); }
/* Form */
.lead-form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: 0.8rem; font-weight: 600; color: var(--text2); }
.form-field input, .form-field textarea {
  background: var(--bg4); border: 1px solid var(--border2);
  border-radius: 10px; color: var(--text);
  font-family: 'DM Sans', sans-serif; font-size: 0.9rem;
  padding: 12px 16px; outline: none; width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
[data-theme="dark"] .form-field input, [data-theme="dark"] .form-field textarea { background: var(--bg3); }
.form-field input:focus, .form-field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--text3); }
.form-field textarea { resize: vertical; min-height: 110px; }
.form-msg { font-size: 0.875rem; min-height: 1.2em; }
.form-msg.ok { color: var(--green); }
.form-msg.err { color: var(--red); }

/* ── FOOTER ───────────────────────────────────────────────── */
footer { background: var(--bg); padding: 48px 0 32px; border-top: 1px solid var(--border); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; }
.footer-logo { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.3rem; }
.footer-logo span { color: var(--accent); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { font-size: 0.875rem; color: var(--text2); transition: color .2s; }
.footer-links a:hover { color: var(--accent); }
.footer-copy { font-size: 0.8rem; color: var(--text3); }

/* ── ANIMATIONS ───────────────────────────────────────────── */
.anim { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.anim.visible { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; }
.d2 { transition-delay: .16s; }
.d3 { transition-delay: .24s; }
.d4 { transition-delay: .32s; }

/* ── SCROLLBAR ────────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__right { display: grid; grid-template-columns: 1fr 1fr; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .how-grid, .roles-grid, .inn-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .how-visual { position: static; }
  .tg-block { grid-template-columns: 1fr; gap: 40px; padding: 40px 32px; }
  .coming-card { grid-template-columns: 1fr; padding: 40px 32px; gap: 28px; }
}
@media (max-width: 768px) {
  section { padding: 72px 0; }
  .nav__links, .nav__right > .btn-primary { display: none; }
  .nav__burger { display: flex; }
  .hero__right { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr; }
  .hero__stats { gap: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .tg-block { padding: 32px 22px; }
}
@media (max-width: 480px) {
  .hero__cta, .cta-btns { flex-direction: column; }
  .hero__cta .btn, .cta-btns .btn { justify-content: center; width: 100%; }
  .nav__inner { padding: 0 16px; }
  .container { padding: 0 16px; }
  .coming-card { padding: 28px 20px; }
}
