
:root {
  --bg: #081014;
  --bg2: #0d1219;
  --bg3: #111a24;
  --border: #182236;
  --red: #e8372a;
  --red2: #ff5a4a;
  --cyan: #00c8e0;
  --gold: #f0b429;
  --green: #22c55e;
  --text: #a8bdd0;
  --text-bright: #e8f4ff;
  --text-dim: #4a6a88;
  --mono: 'Golos Text', sans-serif;
  --display: 'Bebas Neue', sans-serif;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--mono); font-size: 15px; line-height: 1.65; overflow-x: hidden; }

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(8,12,16,0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 16px 48px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { font-family: var(--display); font-size: 28px; letter-spacing: 0.05em; color: var(--text-bright); display: flex; align-items: center; gap: 10px; }
.nav-logo span { color: var(--red); }
.nav-logo img { height: 38px; width: 38px; object-fit: contain; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { color: var(--text-dim); text-decoration: none; font-size: 13px; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; transition: color 0.2s; }
.nav-links a:hover { color: var(--cyan); }
.nav-cta { background: var(--red); color: white; border: none; padding: 10px 24px; font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; cursor: pointer; border-radius: 2px; transition: background 0.2s; }
.nav-cta:hover { background: var(--red2); }

/* ─── SPLASH ─── */
#splash {
  position: fixed; inset: 0; z-index: 9999;
  background: #081014;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 24px;
}
#splash-bear-wrap {
  position: relative;
  width: 300px; height: 300px;
}
#splash-bear {
  width: 300px; height: 300px;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 1s ease, transform 1s cubic-bezier(0.34,1.56,0.64,1);
}
#splash-bear.visible {
  opacity: 1;
  transform: scale(1);
}
/* Eye overlays */
.splash-eye { display: none; }

#splash-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px;
  letter-spacing: 0.1em;
  color: #e8f4ff;
  opacity: 0;
  transition: opacity 1s ease;
}
#splash-title.visible { opacity: 1; }
#splash-title span { color: #e8372a; }

#splash.fadeout {
  animation: splashSlowFade 1.5s ease forwards;
}
@keyframes splashSlowFade {
  0%   { opacity: 1; }
  100% { opacity: 0; }
}

/* Page fade in */
#page-content {
  opacity: 0;
  transition: opacity 1.5s ease;
}
#page-content.visible { opacity: 1; }

body.splash-active { overflow: hidden; }
.nav-logo img { opacity: 1; }

.hero {
  min-height: 100vh; display: flex; flex-direction: column; justify-content: center;
  padding: 120px 48px 80px;
  position: relative; overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1fr 480px; gap: 48px; align-items: center; }
.hero-bear { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-bear img { width: 100%; max-width: 480px; animation: bearFloat 4s ease-in-out infinite; }
@keyframes bearFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
.hero-bear-glow { display: none; }
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(0,200,224,0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(0,200,224,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero-glow {
  position: absolute; top: 20%; left: 50%; transform: translateX(-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(232,55,42,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { max-width: 1200px; margin: 0 auto; width: 100%; position: relative; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(232,55,42,0.1); border: 1px solid rgba(232,55,42,0.3);
  color: var(--red2); padding: 6px 14px; border-radius: 2px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-tag::before { content: ''; width: 6px; height: 6px; background: var(--red); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.3)} }

h1.hero-title {
  font-family: var(--display);
  font-size: clamp(56px, 8vw, 110px);
  line-height: 0.92;
  color: var(--text-bright);
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}
h1.hero-title .accent { color: var(--red); }
h1.hero-title .accent2 { color: var(--cyan); }

.hero-sub {
  font-size: 18px; color: var(--text); max-width: 640px;
  margin: 24px 0 48px;
  border-left: 3px solid var(--red);
  padding-left: 20px;
  line-height: 1.7;
}

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  background: var(--red); color: white; border: none;
  padding: 16px 36px; font-family: var(--mono); font-size: 14px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; border-radius: 2px;
  transition: all 0.2s;
}
.btn-primary:hover { background: var(--red2); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(232,55,42,0.3); }
.btn-secondary {
  background: transparent; color: var(--cyan); border: 1px solid var(--cyan);
  padding: 16px 36px; font-family: var(--mono); font-size: 14px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; border-radius: 2px;
  transition: all 0.2s;
}
.btn-secondary:hover { background: rgba(0,200,224,0.08); }

.hero-stats {
  display: flex; gap: 48px; margin-top: 80px; flex-wrap: wrap;
  padding-top: 48px; border-top: 1px solid var(--border);
}
.hero-stat-val { font-family: var(--display); font-size: 48px; color: var(--text-bright); line-height: 1; }
.hero-stat-val span { color: var(--red); }
.hero-stat-label { font-size: 12px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px; }

/* ─── SECTION COMMON ─── */
section { padding: 100px 48px; max-width: 1200px; margin: 0 auto; }
.section-tag { font-size: 11px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--red); margin-bottom: 16px; }
h2.section-title { font-family: var(--display); font-size: clamp(36px, 5vw, 64px); color: var(--text-bright); line-height: 1; margin-bottom: 20px; }
h2.section-title span { color: var(--cyan); }
.section-desc { font-size: 16px; color: var(--text); max-width: 600px; line-height: 1.7; }
.divider { max-width: 1200px; margin: 0 auto; border: none; border-top: 1px solid var(--border); }

/* ─── PAIN ─── */
.pain-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 2px; margin-top: 60px; }
.pain-card {
  background: var(--bg2); padding: 32px;
  position: relative; overflow: hidden;
  transition: background 0.3s;
}
.pain-card:hover { background: var(--bg3); }
.pain-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--red); transform: scaleX(0); transition: transform 0.3s; }
.pain-card:hover::before { transform: scaleX(1); }
.pain-icon { font-size: 32px; margin-bottom: 16px; }
.pain-title { font-family: var(--display); font-size: 24px; color: var(--text-bright); margin-bottom: 10px; letter-spacing: 0.03em; }
.pain-text { font-size: 13px; color: var(--text-dim); line-height: 1.7; }
.pain-cost { font-family: var(--display); font-size: 36px; color: var(--red); margin-top: 16px; }
.pain-cost-label { font-size: 11px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.1em; }

/* ─── CALCULATOR ─── */
.calc-wrapper {
  background: var(--bg2); border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  padding: 48px; border-radius: 4px; margin-top: 60px;
}
.calc-title { font-family: var(--display); font-size: 36px; color: var(--text-bright); margin-bottom: 8px; }
.calc-desc { font-size: 13px; color: var(--text-dim); margin-bottom: 40px; }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.calc-inputs { display: flex; flex-direction: column; gap: 24px; }
.calc-field label { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 8px; }
.calc-field select, .calc-field input[type=range] { width: 100%; }
.calc-field select {
  background: var(--bg3); border: 1px solid var(--border); color: var(--text-bright);
  padding: 12px 16px; border-radius: 2px; font-family: var(--mono); font-size: 14px;
  cursor: pointer; appearance: none;
}
.calc-field select:focus { outline: none; border-color: var(--red); }
.calc-slider { -webkit-appearance: none; appearance: none; height: 4px; border-radius: 2px; background: var(--border); outline: none; }
.calc-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--red); cursor: pointer; box-shadow: 0 0 8px rgba(232,55,42,0.4); }
.slider-val { font-family: var(--display); font-size: 28px; color: var(--red); margin-top: 8px; }

.calc-result {
  background: var(--bg3); border: 1px solid var(--border); border-left: 3px solid var(--red);
  padding: 32px; display: flex; flex-direction: column; justify-content: space-between;
}
.result-label { font-size: 11px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 12px; }
.result-loss { font-family: var(--display); font-size: 56px; color: var(--red); line-height: 1; }
.result-loss-sub { font-size: 13px; color: var(--text-dim); margin-top: 4px; margin-bottom: 32px; }
.result-items { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.result-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.result-item-label { color: var(--text-dim); }
.result-item-val { font-weight: 600; color: var(--text-bright); font-family: var(--mono); }
.result-item-val.green { color: var(--green); }
.calc-cta { background: var(--red); color: white; border: none; width: 100%; padding: 16px; font-family: var(--mono); font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; border-radius: 2px; transition: background 0.2s; }
.calc-cta:hover { background: var(--red2); }

/* ─── HOW ─── */
.how-steps { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 2px; margin-top: 60px; }
.how-step { background: var(--bg2); padding: 32px; position: relative; }
.step-num { font-family: var(--display); font-size: 72px; color: var(--border); line-height: 1; margin-bottom: 16px; }
.step-title { font-family: var(--display); font-size: 22px; color: var(--text-bright); margin-bottom: 10px; letter-spacing: 0.03em; }
.step-text { font-size: 13px; color: var(--text-dim); line-height: 1.7; }
.step-tag { display: inline-block; background: rgba(0,200,224,0.1); border: 1px solid rgba(0,200,224,0.2); color: var(--cyan); padding: 3px 10px; border-radius: 2px; font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px; }

/* ─── SECURITY ─── */
.security-wrapper {
  background: linear-gradient(135deg, #0a0f15 0%, #0d1a24 100%);
  border: 1px solid var(--border); border-left: 4px solid var(--gold);
  padding: 64px 48px; position: relative; overflow: hidden; margin-top: 60px;
}
.security-wrapper::before {
  content: '🔒';
  position: absolute; right: 48px; top: 50%; transform: translateY(-50%);
  font-size: 120px; opacity: 0.05;
}
.security-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.security-title { font-family: var(--display); font-size: 48px; color: var(--text-bright); margin-bottom: 16px; }
.security-title span { color: var(--gold); }
.security-text { font-size: 15px; color: var(--text); line-height: 1.7; margin-bottom: 24px; }
.security-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(240,180,41,0.1); border: 1px solid rgba(240,180,41,0.3); color: var(--gold); padding: 8px 16px; border-radius: 2px; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.security-features { display: flex; flex-direction: column; gap: 16px; }
.sec-feature { background: rgba(0,0,0,0.3); border: 1px solid var(--border); padding: 20px 24px; border-radius: 2px; }
.sec-feature-title { font-weight: 700; color: var(--text-bright); margin-bottom: 4px; font-size: 14px; }
.sec-feature-text { font-size: 13px; color: var(--text-dim); }

/* ─── RESULTS ─── */
.results-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 2px; margin-top: 60px; }
.result-card { background: var(--bg2); padding: 36px 32px; }
.result-card-val { font-family: var(--display); font-size: 56px; color: var(--cyan); line-height: 1; }
.result-card-unit { font-family: var(--display); font-size: 24px; color: var(--text-dim); }
.result-card-title { font-size: 14px; font-weight: 600; color: var(--text-bright); margin: 8px 0 4px; }
.result-card-text { font-size: 12px; color: var(--text-dim); line-height: 1.6; }

/* ─── STAGES ─── */
.stages { display: flex; gap: 0; margin-top: 60px; position: relative; }
.stages::before { content: ''; position: absolute; top: 28px; left: 28px; right: 28px; height: 2px; background: var(--border); z-index: 0; }
.stage { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; z-index: 1; padding: 0 16px; }
.stage-dot { width: 56px; height: 56px; border-radius: 50%; background: var(--bg2); border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 22px; color: var(--text-dim); margin-bottom: 16px; transition: all 0.3s; }
.stage:hover .stage-dot { border-color: var(--red); color: var(--red); background: rgba(232,55,42,0.1); }
.stage-title { font-weight: 700; color: var(--text-bright); font-size: 14px; margin-bottom: 6px; }
.stage-time { font-size: 11px; color: var(--red); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; }
.stage-text { font-size: 12px; color: var(--text-dim); line-height: 1.6; }

/* ─── CTA FINAL ─── */
.cta-final {
  background: linear-gradient(135deg, var(--bg2) 0%, #0d1520 100%);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 100px 48px; text-align: center;
}
.cta-final-inner { max-width: 700px; margin: 0 auto; }
.cta-final-title { font-family: var(--display); font-size: clamp(40px, 6vw, 72px); color: var(--text-bright); line-height: 1; margin-bottom: 20px; }
.cta-final-title span { color: var(--red); }
.cta-final-text { font-size: 16px; color: var(--text-dim); margin-bottom: 40px; }
.cta-form { display: flex; gap: 12px; max-width: 480px; margin: 0 auto; }
.cta-input { flex: 1; background: var(--bg3); border: 1px solid var(--border); color: var(--text-bright); padding: 14px 20px; border-radius: 2px; font-family: var(--mono); font-size: 14px; }
.cta-input:focus { outline: none; border-color: var(--red); }
.cta-input::placeholder { color: var(--text-dim); }

/* ─── FOOTER ─── */
footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 40px 48px; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-logo { font-family: var(--display); font-size: 32px; color: var(--text-bright); }
.footer-logo span { color: var(--red); }
.footer-text { font-size: 12px; color: var(--text-dim); }
.footer-made { font-size: 11px; color: var(--text-dim); display: flex; align-items: center; gap: 6px; }
.footer-made::before { content: '🇷🇺'; font-size: 14px; }

@media (max-width: 900px) {
  nav { padding: 16px 20px; }
  .nav-links { display: none; }
  section, .hero, .cta-final { padding: 80px 20px; }
  .calc-grid { grid-template-columns: 1fr; }
  .security-grid { grid-template-columns: 1fr; }
  .stages { flex-direction: column; gap: 24px; }
  .stages::before { display: none; }
  .stage { align-items: flex-start; text-align: left; flex-direction: row; gap: 16px; }
  .stage-dot { flex-shrink: 0; }
  footer { padding: 32px 20px; }
}

.nav-logo { text-decoration: none; color: inherit; }
.nav-links a.nav-active { color: var(--cyan); }
.nav-burger {
  display: none; background: none; border: 1px solid var(--border);
  color: var(--text-bright); font-size: 22px; padding: 6px 12px; cursor: pointer; border-radius: 2px;
}
.calc-footnote { font-size: 11px; color: var(--text-dim); margin-top: 16px; text-align: center; letter-spacing: 0.03em; }

/* Contact */
.cta-final { padding: 100px 48px; text-align: left; }
.cta-final-inner { max-width: 1200px; margin: 0 auto; }
.cta-final-header { margin-bottom: 48px; max-width: 640px; }
.cta-final-checks { list-style: none; margin-top: 24px; display: flex; flex-direction: column; gap: 10px; color: var(--text); font-size: 14px; }
.cta-final-checks li::before { content: '✓ '; color: var(--green); font-weight: 700; }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-field { display: flex; flex-direction: column; gap: 6px; }
.contact-label { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); }
.contact-field input, .contact-field textarea {
  background: var(--bg3); border: 1px solid var(--border); color: var(--text-bright);
  padding: 12px 16px; border-radius: 2px; font-family: var(--mono); font-size: 14px; width: 100%;
}
.contact-field input:focus, .contact-field textarea:focus { outline: none; border-color: var(--red); }
.contact-field textarea { resize: vertical; min-height: 100px; }
.contact-field--error input { border-color: var(--red2); }
.contact-err { font-size: 12px; color: var(--red2); min-height: 16px; }
.contact-form-status { font-size: 14px; padding: 12px 16px; border-radius: 2px; }
.contact-form-status--success { background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.3); color: var(--green); }
.contact-form-status--error { background: rgba(232,55,42,0.1); border: 1px solid rgba(232,55,42,0.3); color: var(--red2); }
.contact-form-status[hidden] { display: none; }
.contact-submit { width: 100%; }
.contact-aside { background: var(--bg3); border: 1px solid var(--border); padding: 32px; }
.contact-aside h3 { font-family: var(--display); font-size: 28px; color: var(--text-bright); margin-bottom: 20px; letter-spacing: 0.03em; }
.contact-aside p { font-size: 14px; margin-bottom: 12px; color: var(--text); }
.contact-aside a { color: var(--cyan); text-decoration: none; }
.contact-aside a:hover { text-decoration: underline; }
.contact-aside-note { font-size: 12px; color: var(--text-dim); margin-top: 20px; }

/* Page hero (product pages) */
.page-hero { min-height: 70vh; padding: 140px 48px 80px; position: relative; display: flex; align-items: center; }
.page-hero .hero-content { max-width: 1200px; margin: 0 auto; width: 100%; }

/* Wizard */
.wizard-wrap { max-width: 800px; margin: 60px auto 0; background: var(--bg2); border: 1px solid var(--border); border-top: 3px solid var(--red); padding: 48px; }
.wizard-progress { display: flex; gap: 8px; margin-bottom: 32px; }
.wizard-progress span { flex: 1; height: 4px; background: var(--border); border-radius: 2px; transition: background 0.3s; }
.wizard-progress span.active { background: var(--red); }
.wizard-step { display: none; }
.wizard-step.active { display: block; }
.wizard-step h3 { font-family: var(--display); font-size: 32px; color: var(--text-bright); margin-bottom: 8px; }
.wizard-step p.wizard-hint { font-size: 13px; color: var(--text-dim); margin-bottom: 24px; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.choice-card {
  background: var(--bg3); border: 1px solid var(--border); padding: 16px; cursor: pointer;
  text-align: left; font-family: var(--mono); color: var(--text); font-size: 14px; transition: all 0.2s;
}
.choice-card:hover { border-color: var(--cyan); }
.choice-card.selected { border-color: var(--red); background: rgba(232,55,42,0.08); color: var(--text-bright); }
.choice-chip { display: inline-block; margin: 0 8px 8px 0; }
.infra-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.infra-btn {
  flex: 1; min-width: 140px; padding: 16px; background: var(--bg3); border: 1px solid var(--border);
  color: var(--text); font-family: var(--mono); cursor: pointer; font-size: 14px; transition: all 0.2s;
}
.infra-btn.selected { border-color: var(--red); color: var(--text-bright); }
.wizard-nav { display: flex; gap: 12px; margin-top: 32px; justify-content: space-between; }
.wizard-result-title { font-family: var(--display); font-size: 36px; color: var(--cyan); margin: 16px 0; }
.wizard-result-price { font-family: var(--display); font-size: 48px; color: var(--red); margin: 8px 0; }
.wizard-result-note { font-size: 13px; color: var(--text-dim); margin-bottom: 24px; }
.wizard-summary { background: var(--bg3); padding: 20px; margin: 20px 0; font-size: 13px; color: var(--text); line-height: 1.8; }
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin-top: 40px; }

@media (max-width: 900px) {
  .nav-burger { display: block; }
  nav.nav-open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(8,12,16,0.98); padding: 20px; border-bottom: 1px solid var(--border); gap: 16px;
  }
  .contact-grid { grid-template-columns: 1fr; }
  .compare-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 120px 20px 60px; }
  .wizard-wrap { padding: 24px 20px; }
  .wizard-nav { flex-direction: column; }
  .wizard-nav .btn-primary, .wizard-nav .btn-secondary { width: 100%; text-align: center; }
}
