/**
 * Styles for admin-panel
 */
.hZzKCo {
  background-color: #0b0e1a !important;
}
 
 /**
 * Styles for Frontend 
 */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #ffffff;
  --bg2:       #f7f8fc;
  --text:      #0b0e1a;
  --muted:     #64748b;
  --dim:       #94a3b8;
  --border:    rgba(0,0,0,0.07);
  --blue:      #2563eb;
  --blue-lt:   #eff6ff;
  --card:      #ffffff;
  --shadow:    0 1px 4px rgba(0,0,0,0.07), 0 4px 16px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.09);
}

html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: 'Inter', system-ui, sans-serif; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
::selection { background: rgba(37,99,235,0.15); }
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-thumb { background: #2563eb; border-radius: 2px; }

/* ── ANIMATIONS ── */
@keyframes fadeUp   { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn   { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse    { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .5; transform: scale(.8); } }
@keyframes spin     { to { transform: rotate(360deg); } }
@keyframes orbFloat1 {
  0%, 100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(40px,-30px) scale(1.06); }
  66%      { transform: translate(-25px,35px) scale(.96); }
}
@keyframes orbFloat2 {
  0%, 100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(-45px,25px) scale(1.08); }
}
@keyframes orbFloat3 {
  0%, 100% { transform: translate(0,0); }
  40%      { transform: translate(30px,40px); }
  80%      { transform: translate(-30px,-20px); }
}

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .72s cubic-bezier(.16,1,.3,1), transform .72s cubic-bezier(.16,1,.3,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: .07s; }
.reveal-d2 { transition-delay: .14s; }
.reveal-d3 { transition-delay: .21s; }
.reveal-d4 { transition-delay: .28s; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 64px;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .65s cubic-bezier(.4,0,.2,1), border-color .65s, box-shadow .65s, backdrop-filter .65s;
}
nav.scrolled {
  background: #0b0e1a;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-color: rgba(255,255,255,.06);
  box-shadow: 0 1px 0 rgba(0,0,0,0.4);
}
.nav-inner { max-width: 1280px; margin: 0 auto; padding: 0 52px; height: 64px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo-link { text-decoration: none; display: inline-flex; align-items: center; flex-shrink: 0; }
.nav-logo      { height: 52px; width: auto; max-width: 180px; object-fit: contain; display: block; }
.nav-links-wrap { display: flex; align-items: center; gap: 32px; }

/* default — светлый фон hero */
.nav-link { font-size: 15px; font-weight: 500; color: rgba(255,255,255,.6); text-decoration: none; transition: color .2s; }
.nav-link:hover { color: #fff; }
.nav-cta {
  background: #fff; color: #0b0e1a; border: none; border-radius: 8px;
  padding: 9px 22px; font-size: 14px; font-weight: 600;
  font-family: 'Inter', sans-serif; cursor: pointer; text-decoration: none;
  transition: background .6s cubic-bezier(.4,0,.2,1), color .6s cubic-bezier(.4,0,.2,1), transform .15s, box-shadow .15s;
  display: inline-block;
}
.nav-cta:hover {
  transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  transition: background .15s, color .15s, transform .15s, box-shadow .15s;
}

/* scrolled — тёмный фон */
nav.scrolled .nav-link       { color: rgba(255,255,255,.5); }
nav.scrolled .nav-link:hover { color: #fff; }
nav.scrolled .nav-cta        { background: #fff; color: #0b0e1a; }
nav.scrolled .nav-cta:hover  { background: #e2e8f0; box-shadow: 0 4px 16px rgba(0,0,0,0.25); }

/* ── HERO BACKGROUND ── */
.hero-section {
  position: relative;
  background-color: #0b0e1a;
  background-image: radial-gradient(rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 26px 26px;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 70% 60% at 15% 22%, rgba(37,99,235,0.20) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 85% 12%, rgba(99,102,241,0.16) 0%, transparent 55%),
    radial-gradient(ellipse 60% 55% at 60% 95%, rgba(37,99,235,0.14) 0%, transparent 60%);
}
.hero-section::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background:
    radial-gradient(ellipse 50% 80% at 0%   50%, rgba(11,14,26,.9) 0%, transparent 55%),
    radial-gradient(ellipse 50% 80% at 100% 50%, rgba(11,14,26,.9) 0%, transparent 55%),
    radial-gradient(ellipse 100% 35% at 50% 100%, #0b0e1a 0%, transparent 65%),
    radial-gradient(ellipse 100% 35% at 50% 0%,   #0b0e1a 0%, transparent 65%);
}
.hero-orb { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(80px); z-index: 0; }

/* ── HERO LAYOUT ── */
.hero-inner {
  position: relative; z-index: 2;
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0; align-items: center;
  padding: 96px 52px 72px;
  min-height: 100vh;
}

/* ── FORM ── */
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(37,99,235,.16); border: 1px solid rgba(96,165,250,.28);
  border-radius: 100px; padding: 5px 14px 5px 8px;
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: #93c5fd; margin-bottom: 28px;
}
.hero-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: #60a5fa; animation: pulse 2s infinite; }
.hero-h1 { font-size: clamp(44px,5.2vw,76px); font-weight: 900; line-height: 1.03; letter-spacing: -.04em; margin-bottom: 24px; color: #fff; }
.hero-h1 .accent { color: #60a5fa; }

.form-field {
  background: #fff; border: 1px solid rgba(0,0,0,0.12);
  border-radius: 10px; padding: 13px 16px; font-size: 14px; color: var(--text);
  font-family: 'Inter', sans-serif; outline: none; width: 100%;
  transition: border-color .2s, box-shadow .2s;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.form-field::placeholder { color: var(--dim); }
.form-field:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,.1); }
.btn-primary {
  background: var(--blue); color: #fff; border: none; border-radius: 10px;
  padding: 14px 28px; font-size: 14px; font-weight: 700;
  font-family: 'Inter', sans-serif; cursor: pointer; width: 100%;
  transition: background .2s, transform .15s, box-shadow .15s;
}
.btn-primary:hover  { background: #1d4ed8; transform: translateY(-1px); box-shadow: 0 6px 24px rgba(37,99,235,.3); }
.btn-primary:active { transform: translateY(0); }

/* ── SECTIONS ── */
section { padding: 112px 0; }
.section-wrap { max-width: 1280px; margin: 0 auto; padding: 0 52px; }
.section-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--blue); margin-bottom: 18px; }
.section-h2 { font-size: clamp(34px,3.8vw,58px); font-weight: 800; line-height: 1.06; letter-spacing: -.035em; }

/* ── FOOTER ── */
.footer-link { font-size: 14px; color: rgba(255,255,255,.35); text-decoration: none; transition: color .2s; }
.footer-link:hover { color: rgba(255,255,255,.75); }

/* ── RESPONSIVE LAYOUT HELPERS ── */
.layout-2col          { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
.layout-2col-problem  { gap: 80px; }
.layout-2col-benefits { gap: 96px; }

.steps-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 14px; margin-bottom: 36px; }

.footer-inner {
  max-width: 1280px; margin: 0 auto; padding: 22px 52px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}

.cta-body { position: relative; z-index: 1; padding-top: 120px; padding-bottom: 120px; text-align: center; }

/* ── USECASE CARDS ── */
.usecase-cards { display: flex; flex-direction: column; gap: 14px; }
.usecase-card  { padding: 26px 28px; background: #fff; border: 1px solid rgba(0,0,0,.07); border-radius: 14px; box-shadow: 0 1px 4px rgba(0,0,0,.05); transition: box-shadow .2s, transform .2s; cursor: default; }
.usecase-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.1); transform: translateY(-2px); }

/* ── MOBILE-SAFE COMPONENT CLASSES ── */
.hero-canvas-wrap    { display: flex; align-items: center; justify-content: center; animation: fadeUp 1s ease .25s both; }
.hero-para           { font-size: 17px; color: #94a3b8; line-height: 1.75; max-width: 420px; margin-bottom: 20px; }
.stats-grid          { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.problem-para        { font-size: 16px; color: #64748b; line-height: 1.75; max-width: 360px; margin-bottom: 48px; }
.how-header          { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px; margin-bottom: 56px; }
.section-header-center { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.cta-logo            { height: 100px; width: auto; max-width: 200px; object-fit: contain; margin-bottom: 28px; }
.cta-heading         { font-size: clamp(36px,5vw,68px); font-weight: 900; letter-spacing: -.04em; line-height: 1.04; margin-bottom: 18px; color: #fff; }
.cta-para            { font-size: 17px; color: #64748b; max-width: 440px; margin: 0 auto 44px; line-height: 1.75; }

/* ── PROBLEM ── */
.problem-scenario {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 22px 26px; background: #fff; border: 1px solid var(--border);
  border-radius: 14px; box-shadow: var(--shadow);
  transition: box-shadow .25s, transform .25s;
}
.problem-scenario:hover { box-shadow: var(--shadow-md); transform: translateX(3px); }
.problem-time { font-size: 11px; font-weight: 700; color: var(--blue); letter-spacing: .05em; padding-top: 2px; min-width: 42px; white-space: nowrap; }
.problem-text { font-size: 15px; line-height: 1.6; }
.problem-text .strike { text-decoration: line-through; color: var(--dim); }

/* ── STEPS ── */
.step-card {
  padding: 28px 22px; background: #fff; border: 1px solid var(--border);
  border-radius: 16px; box-shadow: var(--shadow); position: relative; overflow: hidden;
  transition: box-shadow .25s, transform .25s;
}
.step-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--blue); opacity: 0; transition: opacity .25s; }
.step-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.step-card:hover::before { opacity: 1; }
.step-num   { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 16px; }
.step-title { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.step-desc  { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* ── GETTING STARTED (секция «Как начать») ── */
.start-head { max-width: 560px; margin-bottom: 48px; }

/* Единая hairline-панель из строк-шагов (родственно .solution-grid) */
.start-panel {
  list-style: none;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
}
.start-row {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 26px 34px;
  border-top: 1px solid var(--border);
  transition: background .2s;
}
.start-row:first-child { border-top: none; }
.start-row:hover { background: #fafbff; }

.start-row-index {
  font-size: 22px; font-weight: 800; letter-spacing: -.03em;
  color: var(--blue); font-variant-numeric: tabular-nums;
}
.start-row-main { display: flex; flex-direction: column; gap: 4px; }
.start-row-title { font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.start-row-desc  { font-size: 13.5px; color: var(--muted); line-height: 1.6; }

.start-row-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--blue);
  text-decoration: none; white-space: nowrap;
}
.start-row-link svg { transition: transform .2s; }
.start-row-link:hover svg { transform: translateX(3px); }

@media (max-width: 960px) {
  .start-head { margin-bottom: 40px; }
}
@media (max-width: 640px) {
  .start-row { gap: 20px; padding: 24px 26px; }
}
@media (max-width: 560px) {
  .start-head { margin-bottom: 32px; }
  .start-row {
    grid-template-columns: 38px 1fr;
    column-gap: 16px; row-gap: 0;
    padding: 22px 22px;
  }
  .start-row-index { font-size: 18px; }
  .start-row-link { grid-column: 2; justify-self: start; margin-top: 12px; }
}
@media (max-width: 480px) {
  .start-panel { border-radius: 14px; }
  .start-row { padding: 20px 18px; }
}

/* ── BENEFITS ── */
.benefit-row { display: flex; gap: 18px; align-items: flex-start; padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--border); }
.benefit-row:last-child { border: none; padding: 0; margin: 0; }
.benefit-icon { width: 38px; height: 38px; flex-shrink: 0; border-radius: 10px; background: var(--blue-lt); border: 1px solid rgba(37,99,235,.15); display: flex; align-items: center; justify-content: center; color: var(--blue); }
.stat-number { font-size: clamp(44px,5.5vw,72px); font-weight: 900; letter-spacing: -.04em; line-height: 1; }
.stat-unit  { color: var(--blue); }
.stat-label { font-size: 13px; color: var(--muted); margin-top: 6px; line-height: 1.5; }

/* ── INTEGRATION SECTION ── */
.integration-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.intg-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 20px;
  padding: 36px 36px 32px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: box-shadow .25s, transform .25s;
  min-width: 0;
}
.intg-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.1); transform: translateY(-2px); }

.intg-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }

.intg-icon-wrap {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.intg-icon-blue { background: rgba(37,99,235,.1); color: var(--blue); }
.intg-icon-red  { background: rgba(203,40,40,.09); color: #cb2828; }

.intg-badge {
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 100px;
  background: rgba(37,99,235,.08); color: var(--blue); border: 1px solid rgba(37,99,235,.15);
}
.intg-badge-red { background: rgba(203,40,40,.07); color: #cb2828; border-color: rgba(203,40,40,.18); }

.intg-title {
  font-size: 22px; font-weight: 800; letter-spacing: -.02em;
  color: var(--text); margin-bottom: 12px;
}
.intg-desc {
  font-size: 15px; color: var(--muted); line-height: 1.7;
  margin-bottom: 22px;
}

/* Пример использования — скриншот запущенного приложения */
.intg-shot { margin-bottom: 24px; }
.intg-shot-label {
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--dim); margin-bottom: 10px;
}
.intg-shot img {
  display: block; width: 100%; height: auto;
  border-radius: 14px; border: 1px solid var(--border);
  background: #f1f5f9;
  box-shadow: 0 4px 18px rgba(0,0,0,.08);
}

.intg-features { display: flex; flex-direction: column; gap: 9px; margin-bottom: 24px; }
.intg-feat {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: #374151; font-weight: 500;
}

.platform-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; color: #374151;
  padding: 5px 12px; border-radius: 8px;
  background: #f1f5f9; border: 1px solid rgba(0,0,0,.07);
}

.intg-code-wrap { margin-bottom: 16px; min-width: 0; max-width: 100%; }
.intg-code-label {
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--dim); margin-bottom: 8px;
}
.intg-code-block {
  display: flex; align-items: center; gap: 10px;
  background: #0b0e1a; border-radius: 10px;
  padding: 12px 16px; font-family: 'Menlo', 'Monaco', 'Consolas', monospace;
  min-width: 0; max-width: 100%; overflow: hidden;
}
.intg-code-prompt { color: #4ade80; font-size: 14px; font-weight: 700; flex-shrink: 0; }
.intg-code-text   { color: #e2e8f0; font-size: 13.5px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.intg-copy-btn {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1);
  border-radius: 6px; padding: 5px 7px;
  color: rgba(255,255,255,.5); cursor: pointer; flex-shrink: 0;
  display: flex; align-items: center; transition: background .15s, color .15s;
}
.intg-copy-btn:hover { background: rgba(255,255,255,.15); color: #fff; }
.intg-copy-btn.copied { color: #4ade80; border-color: rgba(74,222,128,.3); }

.intg-snippet-wrap { margin-bottom: 28px; min-width: 0; max-width: 100%; }
.intg-snippet {
  display: block;
  box-sizing: border-box;
  width: 100%; max-width: 100%;
  margin: 0;
  background: #0b0e1a; border-radius: 10px;
  padding: 16px 18px; font-family: 'Menlo','Monaco','Consolas',monospace;
  font-size: 12.5px; line-height: 1.75;
  overflow-x: auto;
  white-space: pre;
  color: #e2e8f0;
  -webkit-overflow-scrolling: touch;
}
.tok-blue  { color: #60a5fa; }
.tok-green { color: #4ade80; }
.tok-white { color: #e2e8f0; }
.tok-dim   { color: #8b98b0; }

.intg-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; padding-top: 4px; }

.intg-btn {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600;
  padding: 11px 22px; border-radius: 10px; text-decoration: none;
  cursor: pointer; border: none; transition: background .2s, transform .15s, box-shadow .15s;
  white-space: nowrap;
}
.intg-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,0,0,.15); }

.intg-btn-primary { background: var(--blue); color: #fff; }
.intg-btn-primary:hover { background: #1d4ed8; }
.intg-btn-npm     { background: #cb2828; color: #fff; }
.intg-btn-npm:hover { background: #b91c1c; }
.intg-btn-ghost   { background: #f1f5f9; color: #374151; border: 1px solid rgba(0,0,0,.08); }
.intg-btn-ghost:hover { background: #e2e8f0; }

.intg-btn-sub {
  font-size: 11px; font-weight: 400; opacity: .7; margin-left: 2px;
}

/* SmartScreen-подсказка — всплывает при наведении/фокусе на Windows-кнопку */
.intg-dl { position: relative; display: inline-flex; }
.intg-win-tip {
  position: absolute;
  bottom: calc(100% + 10px); left: 0;
  width: 300px; max-width: 80vw;
  display: flex; gap: 9px; align-items: flex-start;
  padding: 11px 13px;
  background: #fdf6e9;
  border: 1px solid rgba(245,158,11,.28);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  font-size: 12.5px; line-height: 1.55; color: #92621a;
  opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  pointer-events: none; z-index: 5;
}
.intg-win-tip > svg { flex: 0 0 auto; margin-top: 1px; color: #d97706; }
.intg-win-tip b { font-weight: 600; }
/* хвостик-каретка к кнопке */
.intg-win-tip::after {
  content: ''; position: absolute; top: 100%; left: 24px;
  border: 6px solid transparent; border-top-color: #fdf6e9;
}
.intg-dl:hover .intg-win-tip,
.intg-dl:focus-within .intg-win-tip {
  opacity: 1; visibility: visible; transform: translateY(0);
}
/* В адаптиве обёртка ведёт себя как сама кнопка (делёж строки / стопка) */
@media (max-width: 960px) {
  .intg-dl { flex: 1 1 auto; }
  .intg-dl .intg-btn { width: 100%; }
}

.intg-api-note {
  background: rgba(37,99,235,.04);
  border: 1px solid rgba(37,99,235,.12);
  border-radius: 14px;
  padding: 20px 24px;
}

/* ── CTA DARK ── */
.cta-dark { background: #0b0e1a; color: #fff; padding: 0; border: none; text-align: center; position: relative; overflow: hidden; }
.cta-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 70% 50% at 50% 100%, rgba(37,99,235,.12) 0%, transparent 70%); }
.cta-dark .form-field { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.12); color: #fff; }
.cta-dark .form-field::placeholder { color: #475569; }
.cta-dark .form-field:focus { border-color: rgba(96,165,250,.5); background: rgba(255,255,255,.1); box-shadow: 0 0 0 3px rgba(96,165,250,.12); }
.cta-dark p a { color: #60a5fa !important; }

/* ── SOLUTION GRID ── */
.solution-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; }
.solution-cell { background: #fff; padding: 40px 34px; transition: background .2s; }
.solution-cell:hover { background: #fafbff; }

/* ── REGISTER ERRORS ── */
.field-wrap { display: flex; flex-direction: column; gap: 4px; }

.form-field--error {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239,68,68,.12) !important;
}

.field-error-msg {
  font-size: 12px;
  color: #ef4444;
  margin: 0;
  padding-left: 4px;
}

.register-error {
  font-size: 13px;
  color: #ef4444;
  margin: 0;
  padding: 8px 12px;
  background: rgba(239,68,68,.08);
  border: 1px solid rgba(239,68,68,.2);
  border-radius: 8px;
}
.cta-dark .register-error {
  background: rgba(239,68,68,.12);
  border-color: rgba(239,68,68,.25);
}

/* ── VK ID LOGIN ── */
.vk-login { margin-top: 16px; }
.vk-login-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0 14px;
  color: #94a3b8;
  font-size: 12px;
}
.vk-login-divider::before,
.vk-login-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(148,163,184,.25);
}
.vk-login-widget { display: flex; justify-content: center; }

/* ── TOAST ── */
.toast {
  position: fixed; bottom: 32px; right: 32px; z-index: 999;
  background: #fff; border: 1px solid rgba(37,99,235,.25); border-radius: 12px;
  padding: 16px 22px; font-size: 14px; font-weight: 600; color: var(--text);
  display: flex; align-items: center; gap: 10px;
  transform: translateY(80px); opacity: 0;
  transition: transform .4s cubic-bezier(.34,1.56,.64,1), opacity .3s;
  box-shadow: 0 8px 40px rgba(0,0,0,.12);
}
.toast.show { transform: translateY(0); opacity: 1; }

.hero-section section { border: none !important; }

@media (max-width: 960px) {
  .nav-inner    { padding: 0 20px; }
  .section-wrap { padding: 0 20px; }
  section       { padding: 72px 0; }
  .nav-links-wrap { display: none; }

  .hero-inner   { grid-template-columns: 1fr; padding: 100px 20px 60px; gap: 48px; min-height: auto; }
  .solution-grid { grid-template-columns: 1fr; }
  .solution-cell { padding: 32px 24px; }

  .layout-2col  { grid-template-columns: 1fr; }
  .layout-2col-problem, .layout-2col-benefits { gap: 48px; }

  .steps-grid   { grid-template-columns: repeat(3,1fr); }

  .integration-grid { grid-template-columns: minmax(0, 1fr); }
  .intg-card { padding: 28px 24px 24px; }
  .intg-snippet { font-size: 12px; padding: 14px 16px; }
  .intg-code-block { padding: 11px 14px; }

  .footer-inner { padding: 18px 20px; }
  .cta-body     { padding-top: 80px; padding-bottom: 80px; }

  .how-header          { margin-bottom: 40px; }
  .section-header-center { margin-bottom: 48px; }
  .cta-logo            { height: 80px; }
  .nav-logo            { height: 44px; }
}

@media (max-width: 640px) {
  section { padding: 56px 0; }

  .hero-inner { padding: 88px 16px 48px; gap: 28px; }
  .section-wrap { padding: 0 16px; }
  .nav-inner { padding: 0 16px; }

  .steps-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .steps-grid > :last-child { grid-column: span 2; }

  .solution-cell { padding: 24px 20px; }

  .footer-inner { padding: 20px 16px; flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-links { flex-wrap: wrap; gap: 12px; }

  .cta-body { padding-top: 56px; padding-bottom: 56px; }

  .section-h2 { font-size: clamp(28px,7vw,40px); }
  .hero-h1    { font-size: clamp(36px,9vw,52px); }

  .nav-logo  { height: 36px; }
  .nav-cta   { padding: 7px 14px; font-size: 13px; }

  /* canvas hidden on touch devices — no cursor to track */
  .hero-canvas-wrap    { display: none; }

  .hero-para           { font-size: 15px; max-width: none; margin-bottom: 14px; }
  .stats-grid          { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .stat-number         { font-size: 26px; }
  .stat-label          { font-size: 12px; }
  .problem-para        { font-size: 14px; margin-bottom: 28px; }
  .how-header          { margin-bottom: 28px; }
  .section-header-center { margin-bottom: 32px; }
  .cta-logo            { height: 64px; margin-bottom: 20px; }

  .toast { right: 16px; left: 16px; }

  .benefit-row { gap: 14px; }
  .usecase-card { padding: 18px 20px; }

  .cta-para { font-size: 15px; margin-bottom: 32px; }
  .cta-heading { margin-bottom: 14px; }

  .section-eyebrow { margin-bottom: 12px; }

  .integration-grid { gap: 16px; }
  .intg-card { padding: 24px 20px 22px; border-radius: 16px; }
  .intg-card-top { margin-bottom: 16px; }
  .intg-icon-wrap { width: 44px; height: 44px; border-radius: 12px; }
  .intg-title { font-size: 19px; margin-bottom: 10px; }
  .intg-desc { font-size: 14px; margin-bottom: 18px; }
  .intg-features { gap: 8px; margin-bottom: 20px; }
  .intg-feat { font-size: 12.5px; }
  .intg-platforms { margin-bottom: 22px; }
  .intg-snippet { font-size: 11.5px; padding: 12px 14px; line-height: 1.7; }
  .intg-snippet-wrap { margin-bottom: 22px; }
  .intg-code-block { padding: 10px 12px; gap: 8px; }
  .intg-code-text { font-size: 12.5px; }
  .intg-actions { gap: 8px; }
  .intg-btn { padding: 10px 16px; font-size: 13px; flex: 1 1 auto; justify-content: center; }
  .intg-api-note { padding: 16px 18px; border-radius: 12px; }
}

@media (max-width: 480px) {
  section { padding: 44px 0; }

  .hero-inner { padding: 80px 16px 40px; }

  .steps-grid { grid-template-columns: 1fr; gap: 10px; }
  .steps-grid > :last-child { grid-column: span 1; }

  .layout-2col-problem, .layout-2col-benefits { gap: 36px; }

  .solution-grid { border-radius: 14px; }
  .solution-cell { padding: 20px 16px; }

  .section-h2 { font-size: clamp(26px,8vw,38px); }
  .hero-h1    { font-size: clamp(32px,10vw,48px); }

  .cta-body { padding-top: 44px; padding-bottom: 44px; }
  .cta-heading { font-size: clamp(28px,8vw,48px); }

  .integration-grid { gap: 14px; }
  .intg-card { padding: 20px 16px 18px; border-radius: 14px; }
  .intg-title { font-size: 18px; }
  .intg-desc { font-size: 13.5px; line-height: 1.65; }
  .intg-snippet { font-size: 11px; padding: 11px 12px; }
  .intg-code-block { padding: 9px 11px; }
  .intg-code-text { font-size: 12px; }
  .intg-code-prompt { font-size: 13px; }
  .intg-actions { flex-direction: column; gap: 8px; }
  .intg-btn { width: 100%; padding: 11px 16px; }
  .intg-api-note { padding: 14px 16px; }
}
