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

:root {
  --bg:       #07091A;
  --bg2:      #0D1022;
  --bg3:      #131528;
  --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.14);
  --t1:       #F0F4FF;
  --t2:       rgba(240,244,255,0.6);
  --t3:       rgba(240,244,255,0.55);
  --nav-bg:   rgba(7,9,26,0.75);
  --accent:   #2563EB;
  --accent2:  #3B82F6;
  --orange:   #E8650A;
  --orange2:  #F07030;
  --sans:     'IBM Plex Sans', system-ui, sans-serif;
  --mono:     'IBM Plex Mono', monospace;
  --r:        12px;
  --r2:       20px;
}
[data-theme=light] {
  --bg:       #E2E8F4;
  --bg2:      #D8DFF0;
  --bg3:      #CDD5EC;
  --surface:  rgba(0,0,0,0.03);
  --surface2: rgba(0,0,0,0.055);
  --border:   rgba(0,0,0,0.08);
  --border2:  rgba(0,0,0,0.14);
  --t1:       #0F172A;
  --t2:       rgba(15,23,42,0.6);
  --t3:       rgba(15,23,42,0.58);
  --nav-bg:   rgba(226,232,244,0.88);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--t1);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
  height: 64px;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background .3s;
}
/* theme toggle */
.theme-btn {
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--surface2); border: 1px solid var(--border);
  color: var(--t2); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s;
  flex-shrink: 0;
}
.theme-btn:hover { background: var(--surface2); color: var(--t1); }
.theme-btn svg { width: 16px; height: 16px; pointer-events: none; }
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--t1);
}
.nav-logo svg { width: 36px; height: 34px; }
.nav-logo-text { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.nav-logo-text span { color: var(--t3); font-weight: 400; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-link {
  padding: 8px 16px; border-radius: 8px;
  font-size: 14px; font-weight: 500; text-decoration: none;
  color: var(--t2); transition: color .2s, background .2s;
}
.nav-link:hover { color: var(--t1); background: var(--surface2); }
.nav-btn {
  padding: 9px 20px; border-radius: 8px;
  font-size: 14px; font-weight: 600;
  background: var(--accent); color: #fff; text-decoration: none;
  transition: background .2s, transform .15s;
}
.nav-btn:hover { background: var(--accent2); transform: translateY(-1px); }
.nav-btn-ghost {
  padding: 9px 20px; border-radius: 8px;
  font-size: 14px; font-weight: 600;
  background: transparent; color: var(--t2);
  border: 1px solid var(--border2);
  cursor: pointer;
  transition: background .2s, color .2s;
}
.nav-btn-ghost:hover { background: var(--surface2); color: var(--t1); }
.nav-user { display: flex; align-items: center; gap: 8px; }

/* ── BURGER / MOBILE NAV ── */
.burger-btn {
  display: none;
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--surface2); border: 1px solid var(--border);
  color: var(--t2); cursor: pointer;
  align-items: center; justify-content: center;
  transition: background .2s, color .2s;
  flex-shrink: 0;
}
.burger-btn:hover { color: var(--t1); }
.burger-btn svg { width: 18px; height: 18px; pointer-events: none; }

.mobile-nav-overlay {
  position: fixed; inset: 0; z-index: 98;
  background: rgba(0,0,0,0.45);
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
}
.mobile-nav-overlay.open { opacity: 1; pointer-events: all; }

.mobile-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 99;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 20px 24px 36px;
  display: flex; flex-direction: column; gap: 4px;
  transform: translateY(100%);
  transition: transform .25s ease;
}
.mobile-nav.open { transform: translateY(0); }
.mobile-nav-link {
  display: block;
  padding: 13px 16px; border-radius: 8px;
  font-size: 16px; font-weight: 500; text-decoration: none;
  color: var(--t2); transition: color .2s, background .2s;
}
.mobile-nav-link:hover { color: var(--t1); background: var(--surface2); }
.mobile-nav-btn {
  display: block; margin-top: 8px;
  padding: 13px 20px; border-radius: 8px;
  font-size: 15px; font-weight: 600; text-decoration: none; text-align: center;
  background: var(--accent); color: #fff;
  transition: background .2s;
}
.mobile-nav-btn:hover { background: var(--accent2); }

/* ── floor plan variables ── */
:root {
  --fp-col:  #1D4ED8;
  --fp-beam: #2563EB;
  --fp-aux:  #0891B2;
  --fp-sig:  rgba(8,145,178,.30);
  --fp-deck-f:rgba(37,99,235,.04); --fp-deck-s:rgba(37,99,235,.18);
  --fp-ref:rgba(37,99,235,.08);
  --lbl-fill:rgba(30,58,138,.65);
  --tt-bg: rgba(255,255,255,.95);
}
[data-theme=dark] {
  --fp-col:  #6EA8FE;
  --fp-beam: #3B82F6;
  --fp-aux:  #22D3EE;
  --fp-sig:  rgba(34,211,238,.28);
  --fp-deck-f:rgba(59,130,246,.05); --fp-deck-s:rgba(59,130,246,.18);
  --fp-ref:rgba(59,130,246,.09);
  --lbl-fill:rgba(110,168,254,.65);
  --tt-bg: rgba(12,16,32,.96);
}
.fp-deck{fill:var(--fp-deck-f);stroke:var(--fp-deck-s);stroke-width:1.5;stroke-linejoin:round}
.fp-ref {fill:none;stroke:var(--fp-ref);stroke-width:.7}
.fp-sig {fill:var(--fp-sig);stroke:rgba(0,0,0,.10);stroke-width:.4;transition:fill .12s;filter:drop-shadow(0 1px 2px rgba(0,0,0,.22))}
.fp-aux {fill:var(--fp-aux);stroke:rgba(0,0,0,.14);stroke-width:.5;transition:fill .12s;filter:drop-shadow(1px 0 3px rgba(0,0,0,.26))}
.fp-beam{fill:var(--fp-beam);stroke:rgba(0,0,0,.18);stroke-width:.7;transition:fill .12s;filter:drop-shadow(0 2px 4px rgba(0,0,0,.34))}
.fp-col {fill:var(--fp-col);stroke:rgba(0,0,0,.28);stroke-width:.9;transition:fill .12s;filter:drop-shadow(1px 2px 6px rgba(0,0,0,.52))}
.fp-col:hover {fill:#F97316;cursor:pointer}
.fp-beam:hover{fill:#F97316;cursor:pointer}
.fp-aux:hover {fill:#FB923C;cursor:pointer}
.fp-sig:hover {fill:rgba(249,115,22,.55);cursor:pointer}
.fp-lbl{font-family:var(--mono);font-size:10px;font-weight:500;fill:var(--lbl-fill)}
.fp-tooltip{
  position:absolute;z-index:10;pointer-events:none;display:none;
  background:var(--tt-bg);border:1px solid rgba(232,101,10,.40);
  border-radius:6px;padding:5px 10px;
  box-shadow:0 4px 18px rgba(0,0,0,.16);white-space:nowrap;
}
.fp-tt-h{display:block;font-family:var(--mono);font-size:8.5px;font-weight:500;letter-spacing:.07em;color:rgba(232,101,10,.92);line-height:1.5}
.fp-tt-v{display:block;font-family:var(--mono);font-size:8px;color:var(--t2);line-height:1.4;margin-top:1px}

/* ── HERO ── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  overflow: hidden;
}
.hero-bg video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.45;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    105deg,
    rgba(7,9,26,0.97) 0%,
    rgba(7,9,26,0.88) 55%,
    rgba(7,9,26,0.15) 100%
  );
}
[data-theme=light] .hero-bg::after {
  background: linear-gradient(105deg, rgba(226,232,244,0.92) 0%, rgba(226,232,244,0.75) 55%, rgba(226,232,244,0.20) 100%);
}
/* hero split */
.hero-wrap {
  position: relative; z-index: 2;
  display: flex; align-items: center;
  width: 100%; max-width: 1400px; margin: 0 auto;
  padding: 100px 48px 80px;
  gap: 48px;
}
@media (min-width: 1920px) {
  .hero-wrap { max-width: 1800px; padding: 100px 64px 80px; }
}
@media (min-width: 2560px) {
  .hero-wrap { max-width: 2200px; }
}
.hero-content { flex: 0 0 auto; max-width: 560px; }
.hero-cad {
  flex: 1; min-width: 0;
  min-height: clamp(440px, calc(100vh - 220px), 900px);
  position: relative;
}
#heroSvg {
  width: 100%; height: 100%; display: block;
  cursor: crosshair; user-select: none;
}
.hero h1 {
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #60A5FA, #3B82F6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 18px; line-height: 1.6;
  color: var(--t2); margin-bottom: 40px;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--r);
  font-size: 15px; font-weight: 600; text-decoration: none;
  background: var(--accent); color: #fff;
  box-shadow: 0 4px 24px rgba(37,99,235,0.35);
  transition: background .2s, transform .15s, box-shadow .2s;
}
.btn-primary:hover {
  background: var(--accent2);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(37,99,235,0.5);
}
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--r);
  font-size: 15px; font-weight: 500; text-decoration: none;
  border: 1px solid var(--border2); color: var(--t1);
  background: var(--surface);
  transition: background .2s, border-color .2s, transform .15s;
}
.btn-secondary:hover {
  background: var(--surface2);
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}
.hero-stats {
  display: flex; gap: 40px; margin-top: 56px;
  padding-top: 40px; border-top: 1px solid var(--border);
}
.stat-val {
  font-size: 28px; font-weight: 700; font-family: var(--mono);
  color: var(--t1); letter-spacing: -0.02em;
}
.stat-lbl { font-size: 13px; color: var(--t3); margin-top: 2px; }

/* ── SECTION ── */
section { padding: 100px 48px; }
.section-label {
  font-size: 11px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent2);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700; letter-spacing: -0.025em;
  line-height: 1.15; margin-bottom: 16px;
}
.section-sub {
  font-size: 16px; line-height: 1.7; color: var(--t2);
  max-width: 560px;
}
.container { max-width: 1200px; margin: 0 auto; }

/* ── FEATURES ── */
.features-bg { background: var(--bg2); }
.features-header { margin-bottom: 60px; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feat-card {
  padding: 32px;
  border-radius: var(--r2);
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,0.06);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.feat-card:hover {
  border-color: rgba(59,130,246,0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.1);
}
.feat-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(37,99,235,0.15);
  border: 1px solid rgba(37,99,235,0.25);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.feat-icon svg { width: 22px; height: 22px; color: var(--accent2); }
.feat-title {
  font-size: 17px; font-weight: 600;
  margin-bottom: 10px; letter-spacing: -0.01em;
}
.feat-text { font-size: 14px; line-height: 1.7; color: var(--t2); }

/* ── HOW IT WORKS ── */
.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.how-img {
  border-radius: var(--r2);
  overflow: hidden;
  position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  border: 1px solid var(--border);
}
.how-img img { width: 100%; display: block; }
.how-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(7,9,26,0.4) 100%);
}
.steps { display: flex; flex-direction: column; gap: 0; }
.step {
  display: flex; gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  transition: opacity .2s;
}
.step:last-child { border-bottom: none; }
.step-num {
  flex-shrink: 0;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--surface2);
  border: 1px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 13px; font-weight: 500;
  color: var(--t2); margin-top: 2px;
}
.step-body {}
.step-title {
  font-size: 16px; font-weight: 600; margin-bottom: 6px;
}
.step-text { font-size: 14px; line-height: 1.6; color: var(--t2); }

/* ── PREVIEW ── */
.preview-section { background: var(--bg2); }
.preview-header { margin-bottom: 48px; }
.browser-frame {
  border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 32px 80px rgba(0,0,0,.45);
  background: var(--bg3);
}
.browser-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px;
  background: var(--bg3); border-bottom: 1px solid var(--border);
}
.browser-dots { display: flex; gap: 6px; }
.browser-dots span {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--border2);
}
.browser-url {
  flex: 1; height: 28px; border-radius: 6px;
  background: var(--surface2); border: 1px solid var(--border);
  display: flex; align-items: center; padding: 0 12px;
  font-family: var(--mono); font-size: 12px; color: var(--t3);
}
.browser-screen { position: relative; }
.browser-screen img {
  width: 100%; display: block;
  position: absolute; top: 0; left: 0;
  transition: opacity .4s ease;
}
.browser-screen img:last-child { position: relative; }
/* светлая тема — light скрин виден, dark скрин скрыт */
[data-theme=light] #previewDark  { opacity: 0; pointer-events: none; }
[data-theme=light] #previewLight { opacity: 1; }
/* тёмная тема — dark скрин виден, light скрин скрыт */
[data-theme=dark]  #previewLight { opacity: 0; pointer-events: none; }
[data-theme=dark]  #previewDark  { opacity: 1; }

/* ── PRODUCTS ── */
.products-bg { background: var(--bg3); }
.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px; margin-top: 48px;
}
.prod-card.soon { border-style: dashed; }
.prod-card {
  padding: 36px;
  border-radius: var(--r2);
  border: 1px solid var(--border);
  background: var(--surface);
  position: relative; overflow: hidden;
  transition: border-color .2s, transform .2s;
}
.prod-card:hover { border-color: rgba(255,255,255,0.18); transform: translateY(-3px); }
.prod-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  opacity: 0; transition: opacity .2s;
}
.prod-card:hover::before { opacity: 1; }
.prod-tag {
  display: inline-block;
  padding: 3px 10px; border-radius: 6px;
  font-size: 11px; font-weight: 600; letter-spacing: .06em;
  background: rgba(37,99,235,0.15); color: var(--accent2);
  text-transform: uppercase; margin-bottom: 16px;
}
.prod-tag.orange {
  background: rgba(232,101,10,0.15); color: var(--orange2);
}
.prod-tag.teal {
  background: rgba(19,181,176,0.15); color: #13B5B0;
}
.prod-name {
  font-size: 22px; font-weight: 700;
  letter-spacing: -0.02em; margin-bottom: 10px;
}
.prod-desc { font-size: 14px; line-height: 1.7; color: var(--t2); }

/* ── FAQ ── */
.faq-section { background: var(--bg2); }
.faq-list { max-width: 760px; margin-top: 48px; }
.faq-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 0; cursor: pointer; list-style: none;
  font-size: 16px; font-weight: 600; color: var(--t1);
  transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent2); }
.faq-chevron {
  width: 20px; height: 20px; flex-shrink: 0; color: var(--t3);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.faq-item[open] .faq-chevron { transform: rotate(180deg); color: var(--accent2); }
.faq-item[open] summary { color: var(--accent2); }
.faq-body {
  padding-bottom: 20px;
  font-size: 14px; line-height: 1.8; color: var(--t2);
  animation: faqOpen .25s ease;
}
@keyframes faqOpen { from { opacity:0; transform:translateY(-6px); } to { opacity:1; transform:none; } }
.faq-body b { color: var(--t1); }
.faq-body code {
  font-family: var(--mono); font-size: 13px;
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: 5px; padding: 1px 6px; color: var(--accent2);
}

/* ── ABOUT ── */
.about-section { background: var(--bg); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 48px;
}
.about-desc { font-size: 16px; line-height: 1.8; color: var(--t2); margin-bottom: 16px; }
.about-cert {
  margin-top: 16px; padding: 28px;
  border-radius: var(--r2);
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,0.06);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.about-cert:first-of-type { margin-top: 40px; }
.about-cert:hover {
  border-color: rgba(59,130,246,0.3);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.1);
}
.about-req-card {
  padding: 32px;
  border-radius: var(--r2);
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,0.06);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.about-req-card:hover {
  border-color: rgba(59,130,246,0.3);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.1);
}
.about-cert-label { font-size: 12px; color: var(--t3); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; }
.about-cert-num { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.about-cert-products { font-size: 13px; color: var(--t2); margin-bottom: 20px; }
.about-cert-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; color: var(--accent2);
  text-decoration: none;
  border: 1px solid rgba(59,130,246,0.3);
  background: rgba(59,130,246,0.08);
  padding: 8px 18px; border-radius: 8px;
  transition: background .2s, border-color .2s;
}
.about-cert-btn:hover { background: rgba(59,130,246,0.15); border-color: rgba(59,130,246,0.5); }
.about-req-block { margin-bottom: 28px; }
.about-req-block:last-child { margin-bottom: 0; }
.about-req-label { font-size: 12px; color: var(--t3); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.about-req-name { font-size: 17px; font-weight: 600; }
.about-req-line { font-size: 15px; line-height: 1.9; color: var(--t2); }
.about-req-line a { color: var(--t2); text-decoration: none; transition: color .2s; }
.about-req-line a:hover { color: var(--t1); }

/* ── PRICING ── */
.pricing-section { background: var(--bg2); scroll-margin-top: 80px; }
.pricing-grid {
  display: flex; gap: 16px; margin-top: 52px;
  justify-content: center; flex-wrap: wrap;
}
.pricing-card {
  flex: 1 1 190px; min-width: 190px; max-width: 240px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r2); padding: 28px 22px 22px;
  display: flex; flex-direction: column; position: relative;
  transition: border-color .2s, background .2s;
}
.pricing-card:hover { border-color: var(--border2); }
.pricing-card.featured {
  border-color: rgba(37,99,235,.55);
  background: rgba(37,99,235,.07);
}
.pricing-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 600; letter-spacing: .05em;
  padding: 3px 14px; border-radius: 20px; white-space: nowrap;
}
.pricing-name {
  font-size: 15px; font-weight: 700; color: var(--t1); margin-bottom: 14px;
}
.pricing-price {
  font-family: var(--mono); font-size: 26px; font-weight: 500;
  color: var(--t1); line-height: 1.1; margin-bottom: 3px;
}
.pricing-price-sub {
  font-size: 11px; color: var(--t3); margin-bottom: 20px; font-family: var(--mono);
}
.pricing-divider { height: 1px; background: var(--border); margin-bottom: 18px; }
.pricing-features {
  list-style: none; display: flex; flex-direction: column; gap: 10px; flex: 1;
}
.pricing-features li {
  font-size: 13px; color: var(--t2);
  display: flex; align-items: flex-start; gap: 8px; line-height: 1.4;
}
.pricing-features li::before {
  content: ''; display: block; flex-shrink: 0; width: 14px; height: 14px; margin-top: 1px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='7' cy='7' r='6.5' stroke='%232563EB' stroke-width='1'/%3E%3Cpath d='M4 7l2 2 4-4' stroke='%232563EB' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: cover;
}
.pricing-features li.dim { color: var(--t3); }
.pricing-features li.dim::before {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='7' cy='7' r='6.5' stroke='rgba(240%2C244%2C255%2C0.22)' stroke-width='1'/%3E%3Cpath d='M4 7l2 2 4-4' stroke='rgba(240%2C244%2C255%2C0.22)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.pricing-cta {
  display: block; margin-top: 20px; padding: 10px 0; border-radius: 8px;
  text-align: center; font-size: 13px; font-weight: 600; text-decoration: none;
  color: var(--accent); border: 1px solid rgba(37,99,235,.35);
  transition: background .2s, color .2s;
}
.pricing-cta:hover { background: rgba(37,99,235,.1); }
.pricing-card.featured .pricing-cta {
  background: var(--accent); color: #fff; border-color: transparent;
}
.pricing-card.featured .pricing-cta:hover { background: var(--accent2); }
.pricing-note {
  text-align: center; font-size: 12px; color: var(--t3);
  margin-top: 36px; max-width: 540px; margin-left: auto; margin-right: auto;
  line-height: 1.7;
}
[data-theme=light] .pricing-card { background: rgba(0,0,0,.025); }
[data-theme=light] .pricing-card.featured { background: rgba(37,99,235,.06); }
@media (max-width: 820px) {
  .pricing-grid { gap: 12px; }
  .pricing-card { min-width: 155px; max-width: none; flex: 1 1 calc(50% - 6px); }
}
@media (max-width: 600px) {
  .pricing-card { flex: 1 1 100%; max-width: 100%; }
}

/* ── AUTH SECTION ── */
.auth-section {
  background: var(--bg);
  display: flex; flex-direction: column; align-items: center;
  padding-bottom: 100px;
  scroll-margin-top: 80px;
}
.auth-section .container { width: 100%; }
.auth-section .section-title { text-align: center; margin-bottom: 48px; }
.auth-section .section-label { text-align: center; }
.prod-tag-soon { background:rgba(255,255,255,.06); color:var(--t3); }
.text-t1 { color: var(--t1); }
.how-title { margin-bottom: 40px; }
.prod-sub-no-mb { margin-bottom: 0; }
.req-first-line { margin-top: 8px; }

/* Card */
.auth-card {
  position: relative; overflow: hidden;
  width: 100%; max-width: 1020px; height: 500px;
  border-radius: 24px;
  background: rgba(210,220,245,.72);
  border: 1px solid rgba(37,99,235,.18);
  box-shadow: 0 24px 64px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.80);
  animation: authReveal .72s cubic-bezier(.16,1,.3,1) both,
             authBreathe 7s ease-in-out 1.2s infinite;
  margin: 0 auto;
}
@keyframes authReveal {
  from { opacity:0; transform:scale(.92) translateY(20px); filter:blur(6px); }
  to   { opacity:1; transform:scale(1)  translateY(0);    filter:blur(0); }
}
@keyframes authBreathe {
  0%,100% { transform:translateY(0); }
  50%     { transform:translateY(-4px); }
}
.auth-card::before {
  content:''; position:absolute; top:-30%; left:-15%; width:65%; height:160%;
  background: radial-gradient(ellipse,rgba(99,102,241,.16) 0%,rgba(139,92,246,.05) 38%,transparent 68%);
  pointer-events:none; z-index:0;
  animation: orbPurple 14s ease-in-out infinite;
}
.auth-card::after {
  content:''; position:absolute; top:-30%; right:-15%; width:65%; height:160%;
  background: radial-gradient(ellipse,rgba(6,182,212,.13) 0%,rgba(20,184,166,.04) 38%,transparent 68%);
  pointer-events:none; z-index:0;
  animation: orbTeal 17s ease-in-out infinite;
}
@keyframes orbPurple { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(6%,8%) scale(1.14)} }
@keyframes orbTeal   { 0%,100%{transform:translate(0,0) scale(1.08)} 50%{transform:translate(-7%,-6%) scale(.9)} }

/* Panels */
.auth-pane {
  position: absolute; top:0; width:50%; height:100%;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  padding: 28px 44px; box-sizing:border-box;
  background: rgba(255,255,255,.84);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  z-index: 1;
  transition: opacity .2s ease;
}
.auth-pane-login  { left: 0; }
.auth-pane-reg    { left: 50%; opacity:0; pointer-events:none; }
.auth-card.is-reg .auth-pane-login { opacity:0; pointer-events:none; }
.auth-card.is-reg .auth-pane-reg   { opacity:1; pointer-events:all; transition:opacity .2s .35s; }
.auth-pane h2 {
  font-size: 20px; font-weight: 800; letter-spacing:-.02em;
  color: #0f172a; margin-bottom: 20px; text-align:center; width:100%;
}

/* Fields */
.af {
  position: relative; margin-bottom: 10px; width: 100%;
}
/* honeypot: скрыто от людей, видно ботам, заполняющим все поля формы */
.hp-trap {
  position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden;
}
.af input {
  width:100%; height:46px; padding:16px 14px 4px;
  background: rgba(37,99,235,.06); border: 1px solid rgba(37,99,235,.22);
  border-radius: 12px; color: #0f172a;
  font-family: var(--sans); font-size: 14px; outline:none;
  transition: border-color .2s, box-shadow .2s;
}
.af input::placeholder { color:transparent; }
.af input:focus { border-color: rgba(37,99,235,.55); box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
.af label {
  position:absolute; left:14px; top:50%; transform:translateY(-50%);
  font-family:var(--sans); font-size:14px; color:rgba(15,23,42,.42);
  pointer-events:none;
  transition: top .16s, font-size .16s, color .16s, transform .16s;
}
.af input:focus ~ label,
.af input:not(:placeholder-shown) ~ label {
  top:11px; transform:none; font-size:10.5px; letter-spacing:.05em; color:rgba(37,99,235,.9);
}
.af-pw { position:relative; }
.af input.has-eye { padding-right: 44px; }
.af-eye {
  position:absolute; right:14px; top:50%; transform:translateY(-50%);
  background:none; border:none; cursor:pointer; padding:4px;
  color:rgba(15,23,42,.35); transition:color .15s;
}
.af-eye:hover { color:rgba(15,23,42,.6); }

/* Submit */
.auth-submit {
  width:100%; height:50px; background: #2563EB; border:none; border-radius:10px;
  font-family:var(--sans); font-size:14.5px; font-weight:600; color:#fff;
  cursor:pointer; position:relative; overflow:hidden;
  box-shadow: 0 2px 14px rgba(37,99,235,.32), inset 0 1px 0 rgba(255,255,255,.14);
  transition: background .15s, box-shadow .15s;
}
.auth-submit:hover { background:#1d4ed8; box-shadow:0 4px 22px rgba(37,99,235,.48),inset 0 1px 0 rgba(255,255,255,.14); }
.auth-submit:active { transform:scale(.98); }
.auth-submit:disabled { opacity:.5; cursor:not-allowed; }
.auth-submit::after {
  content:''; position:absolute; top:0; left:0; width:45%; height:100%;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.28),transparent);
  transform:translateX(-120%) skewX(-18deg); pointer-events:none;
}
.auth-submit:hover::after {
  animation: authBtnShine .55s ease forwards;
}
@keyframes authBtnShine { from{transform:translateX(-120%) skewX(-18deg)} to{transform:translateX(300%) skewX(-18deg)} }
.auth-privacy {
  display:flex; align-items:flex-start; gap:10px;
  margin-bottom:12px; cursor:pointer;
}
.auth-privacy input[type=checkbox] {
  flex-shrink:0; width:16px; height:16px; margin-top:2px;
  accent-color:#2563eb; cursor:pointer;
}
.auth-privacy-label {
  font-size:13px; line-height:1.5; color:#6b7280; cursor:pointer;
}
.auth-privacy-label a { color:#2563eb; text-decoration:none; }
.auth-privacy-label a:hover { text-decoration:underline; }

.auth-msg {
  display:none; font-size:13px; padding: 8px 0; width:100%; text-align:center;
}
.auth-pane-foot {
  display:flex; justify-content:space-between; width:100%; margin-top:10px;
}
.auth-pane-foot a {
  font-size:12px; color:rgba(15,23,42,.40); text-decoration:none; transition:color .15s;
}
.auth-pane-foot a:hover { color:rgba(15,23,42,.7); }

/* Sliding overlay */
.auth-overlay {
  position:absolute; top:0; left:0; width:50%; height:100%;
  overflow:hidden; z-index:10;
  transform:translateX(100%);
  transition:transform .65s cubic-bezier(.77,0,.18,1);
}
.auth-card.is-reg .auth-overlay { transform:translateX(0); }
.auth-overlay-inner {
  position:absolute; top:0; left:0; width:200%; height:100%; display:flex;
  background: linear-gradient(145deg,rgba(28,84,205,.38) 0%,rgba(64,121,232,.42) 48%,rgba(110,130,242,.34) 100%);
  backdrop-filter: blur(22px) saturate(142%);
  -webkit-backdrop-filter: blur(22px) saturate(142%);
  transform:translateX(-50%);
  transition:transform .65s cubic-bezier(.77,0,.18,1);
}
.auth-card.is-reg .auth-overlay-inner { transform:translateX(0); }
.auth-ovl-pane {
  width:50%; height:100%; flex-shrink:0;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  padding:40px 36px; text-align:center; color:#fff; gap:12px;
}
.auth-ovl-tag { font-size:10px; letter-spacing:.12em; text-transform:uppercase; opacity:.7; margin:0; }
.auth-ovl-h   { font-size:22px; font-weight:800; letter-spacing:-.02em; margin:0; }
.auth-ovl-p   { font-size:13px; line-height:1.65; opacity:.82; margin:0; }
.auth-ovl-btn {
  margin-top:4px; padding:9px 28px;
  background:transparent; border:1.5px solid rgba(255,255,255,.75); border-radius:999px;
  color:#fff; font-family:var(--sans); font-size:12.5px; font-weight:600;
  cursor:pointer; transition:background .2s, color .2s; letter-spacing:.03em;
}
.auth-ovl-btn:hover { background:#fff; color:#2563eb; }

/* Glitch */
.auth-glitch {
  position:absolute; inset:0; z-index:20; pointer-events:none; border-radius:inherit;
  background: linear-gradient(135deg,rgba(99,102,241,.10) 0%,rgba(139,92,246,.07) 50%,rgba(20,184,166,.08) 100%);
  animation: authGlitch .52s steps(1,end) .32s both;
}
@keyframes authGlitch {
  0%      {opacity:0}
  8%      {opacity:.85;clip-path:inset(18% 0 65% 0);transform:translate(-4px,0)}
  16%     {opacity:.7;clip-path:inset(60% 0 8% 0);transform:translate(4px,0)}
  24%     {opacity:.9;clip-path:inset(35% 0 38% 0);transform:translate(-2px,2px)}
  32%     {opacity:.8;clip-path:inset(5% 0 84% 0);transform:translate(3px,-1px)}
  52%,100%{opacity:0;clip-path:none;transform:translate(0)}
}

/* Auth dark theme */
[data-theme=dark] .auth-card {
  background: linear-gradient(145deg,#07091c 0%,#0a0d24 55%,#060918 100%);
  border-color: rgba(255,255,255,.09);
  box-shadow: 0 32px 80px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.07);
}
[data-theme=dark] .auth-pane {
  background: rgba(14,20,38,.72);
  backdrop-filter: blur(20px) saturate(112%);
  -webkit-backdrop-filter: blur(20px) saturate(112%);
}
[data-theme=dark] .auth-pane h2 { color: #f0f4ff; }
[data-theme=dark] .af input {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.13);
  color: #e8eeff;
}
[data-theme=dark] .af input:focus {
  border-color: rgba(99,102,241,.70);
  box-shadow: 0 0 0 3px rgba(99,102,241,.14);
}
[data-theme=dark] .af label { color: rgba(240,244,255,.38); }
[data-theme=dark] .af input:focus ~ label,
[data-theme=dark] .af input:not(:placeholder-shown) ~ label { color: rgba(139,92,246,.95); }
[data-theme=dark] .af-eye { color: rgba(255,255,255,.35); }
[data-theme=dark] .af-eye:hover { color: rgba(255,255,255,.65); }
[data-theme=dark] .auth-pane-foot a { color: rgba(255,255,255,.40); }
[data-theme=dark] .auth-pane-foot a:hover { color: rgba(255,255,255,.72); }
[data-theme=dark] .auth-card::before {
  background: radial-gradient(ellipse,rgba(139,92,246,.38) 0%,rgba(99,102,241,.13) 38%,transparent 68%);
}
[data-theme=dark] .auth-card::after {
  background: radial-gradient(ellipse,rgba(20,184,166,.26) 0%,rgba(6,182,212,.10) 38%,transparent 68%);
}

/* Form layout fix — form wrapper invisible to flex */
.auth-pane form { display: contents; }

/* Autofill colour override (kills browser yellow) */
.af input:-webkit-autofill,
.af input:-webkit-autofill:hover,
.af input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px rgba(237,242,255,1) inset;
  -webkit-text-fill-color: #0f172a;
  caret-color: #0f172a;
  transition: background-color 9999s;
}
[data-theme=dark] .af input:-webkit-autofill,
[data-theme=dark] .af input:-webkit-autofill:hover,
[data-theme=dark] .af input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px rgba(20,28,54,1) inset;
  -webkit-text-fill-color: #e8eeff;
  caret-color: #e8eeff;
}

/* Hero overlay light */
[data-theme=light] .hero-bg video { opacity: 0.58; filter: saturate(1.1) brightness(0.95); }
[data-theme=light] .hero-bg::after {
  background: linear-gradient(105deg, rgba(226,232,244,0.87) 0%, rgba(226,232,244,0.66) 50%, rgba(226,232,244,0.15) 100%);
}
[data-theme=light] .hero h1 em {
  background: linear-gradient(135deg, #1d4ed8, #2563EB);
  -webkit-background-clip: text; background-clip: text;
}

@media (prefers-reduced-motion: reduce) {
  .auth-card { animation: authReveal .72s cubic-bezier(.16,1,.3,1) both; }
  .auth-card::before, .auth-card::after { animation: none; }
}

/* Mobile auth */
@media (max-width:700px) {
  .auth-card { height:auto; min-height:860px; }
  .auth-pane { left:0!important; width:100%; height:62%; padding:28px 28px 40px; }
  .auth-pane-reg { top:38%; bottom:0; height:auto; padding-bottom:40px; }
  .auth-overlay { width:100%; height:38%; transform:translateY(163%); }
  .auth-card.is-reg .auth-overlay { transform:translateY(0); }
  .auth-overlay-inner { width:100%; height:200%; flex-direction:column; transform:translateY(-50%); }
  .auth-card.is-reg .auth-overlay-inner { transform:translateY(0); }
  .auth-ovl-pane { width:100%; height:50%; }
}

/* ── FOOTER ── */
footer {
  padding: 32px 48px;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.footer-logo {
  display: flex; align-items: center; gap: 8px;
  color: var(--t3); font-size: 13px; text-decoration: none; white-space: nowrap;
}
.footer-copy { font-size: 13px; color: var(--t3); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer-links a {
  font-size: 13px; color: var(--t3);
  text-decoration: none; transition: color .2s;
  white-space: nowrap;
}
.footer-links a:hover { color: var(--t1); }

/* ── RESPONSIVE ── */
@media (max-width: 820px) {
  .nav-links .nav-link { display: none; }
  .burger-btn { display: flex; }
  #navAuth { display: none; }
}
@media (max-width: 900px) {
  nav { padding: 0 24px; }
  section { padding: 72px 24px; }
  .hero-wrap { flex-direction: column; padding: 100px 24px 60px; gap: 32px; }
  .hero-content { max-width: 100%; }
  .hero-cad { min-height: 280px; width: 100%; }
  .hero-content { padding: 0; }
  .features-grid { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr; gap: 40px; }
  .how-img { order: -1; }
  .products-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  footer { flex-direction: column; gap: 16px; text-align: center; }
  .hero-stats { gap: 28px; }
}
@media (max-width: 600px) {
  .nav-link { display: none; }
  .hero h1 { font-size: 32px; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .feat-card { padding: 24px; }
  .footer-links { flex-direction: column; align-items: center; gap: 10px; }
}

/* ── COOKIE BAR ── */
.cookie-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  background: var(--bg2);
  border-top: 1px solid var(--border2);
  padding: 14px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  transform: translateY(100%);
  transition: transform .3s ease;
}
.cookie-bar.visible { transform: translateY(0); }
.cookie-bar-text { font-size: 13px; color: var(--t2); line-height: 1.5; }
.cookie-bar-text a { color: var(--accent2); text-decoration: none; }
.cookie-bar-text a:hover { text-decoration: underline; }
.cookie-bar-btn {
  flex-shrink: 0;
  padding: 8px 20px; border-radius: 8px;
  font-size: 13px; font-weight: 600;
  background: var(--accent); color: #fff; border: none; cursor: pointer;
  transition: background .2s;
}
.cookie-bar-btn:hover { background: var(--accent2); }
@media (max-width: 600px) {
  .cookie-bar { flex-direction: column; align-items: flex-start; padding: 16px 20px; gap: 12px; }
}
