/* ============================================
   СФЕРА — Версия для командования
   Доработанный UX
   ============================================ */

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

:root {
  --bg: #0a0f1a;
  --bg-alt: #0d1b2a;
  --bg-card: #111d2e;
  --bg-card-hover: #162a3e;
  --text: #e8edf3;
  --text-dim: #8899aa;
  --text-muted: #556677;
  --blue: #64b5f6;
  --blue-bright: #90caf9;
  --blue-dim: #2a5a8a;
  --green: #4caf50;
  --red: #e53935;
  --orange: #ff9800;
  --gold: #ffd54f;
  --border: rgba(100, 181, 246, 0.12);
  --border-hover: rgba(100, 181, 246, 0.3);
  --glow: rgba(100, 181, 246, 0.08);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  overflow-x: hidden;
  font-size: 18px;
}

/* --- Progress Bar --- */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--blue), var(--blue-bright));
  z-index: 1000;
  transition: width 0.1s linear;
}

/* --- Nav --- */
.nav {
  position: fixed;
  top: 3px;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: all 0.4s ease;
}

.nav.scrolled {
  background: rgba(10, 15, 26, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-size: 17px;
  letter-spacing: 6px;
  font-weight: 300;
  color: var(--text);
}

.nav-logo span {
  color: var(--blue);
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--blue);
  transition: width 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--blue);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* --- Layout --- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

section {
  padding: 120px 0;
  position: relative;
}

section:nth-child(even) {
  background: var(--bg-alt);
}

/* --- Section Headers --- */
.section-label {
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
  font-weight: 500;
}

.section-title {
  font-size: 42px;
  font-weight: 300;
  line-height: 1.3;
  margin-bottom: 20px;
}

.section-title strong {
  font-weight: 600;
}

.section-text {
  font-size: 20px;
  color: var(--text-dim);
  max-width: 750px;
  font-weight: 300;
  line-height: 1.8;
}

.divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), transparent);
  margin: 24px 0;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 0;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, var(--bg) 75%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  will-change: transform, opacity;
}

.hero-label {
  font-size: 15px;
  letter-spacing: 8px;
  color: var(--blue);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 1s ease 0.3s forwards;
}

.hero-title {
  font-size: 96px;
  font-weight: 200;
  letter-spacing: 28px;
  color: #fff;
  margin-bottom: 16px;
  opacity: 0;
  animation: fadeUp 1s ease 0.5s forwards;
  text-shadow: 0 0 60px rgba(100, 181, 246, 0.15);
}

.hero-line {
  width: 140px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  margin: 30px auto;
  opacity: 0;
  animation: fadeUp 1s ease 0.7s forwards;
}

.hero-subtitle {
  font-size: 24px;
  color: var(--text);
  font-weight: 300;
  max-width: 700px;
  margin: 0 auto 50px;
  line-height: 1.7;
  opacity: 0;
  animation: fadeUp 1s ease 0.9s forwards;
}

.hero-cta {
  display: inline-block;
  padding: 18px 50px;
  border: 1px solid var(--blue-dim);
  color: var(--blue);
  font-size: 15px;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.4s;
  opacity: 0;
  animation: fadeUp 1s ease 1.1s forwards;
}

.hero-cta:hover {
  background: rgba(100, 181, 246, 0.1);
  border-color: var(--blue);
  color: #fff;
  box-shadow: 0 0 30px rgba(100, 181, 246, 0.15);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  opacity: 0;
  animation: fadeUp 1s ease 1.5s forwards;
}

.hero-scroll-line {
  display: block;
  width: 1px;
  height: 50px;
  background: linear-gradient(180deg, var(--blue), transparent);
  margin: 0 auto;
  animation: scrollPulse 2s ease infinite;
}

.hero-scroll-text {
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* ============================================
   BIG NUMBERS
   ============================================ */
.big-numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.big-number {
  text-align: center;
  padding: 40px 20px;
  border: 1px solid transparent;
  transition: all 0.4s;
}

.big-number:hover {
  border-color: var(--border);
  background: var(--bg-card);
}

.big-number .number {
  font-size: 76px;
  font-weight: 200;
  font-family: var(--mono);
  color: var(--blue);
  line-height: 1;
  margin-bottom: 16px;
}

.big-number .number.red { color: var(--red); }
.big-number .number.green { color: var(--green); }
.big-number .number.gold { color: var(--gold); }

.big-number .label {
  font-size: 17px;
  color: var(--text-dim);
  font-weight: 400;
  line-height: 1.5;
}

/* ============================================
   BEFORE / AFTER
   ============================================ */
.before-after {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  margin-top: 80px;
  padding: 60px 40px;
  border: 1px solid var(--border);
  background: rgba(13, 27, 42, 0.5);
}

.ba-side { text-align: center; }

.ba-label {
  font-size: 14px;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-weight: 500;
}

.ba-number {
  font-size: 88px;
  font-weight: 200;
  font-family: var(--mono);
  line-height: 1;
}

.ba-number.red { color: var(--red); }
.ba-number.green { color: var(--green); }

.ba-desc {
  font-size: 20px;
  color: var(--text-dim);
  margin-top: 12px;
}

.ba-arrow {
  font-size: 48px;
  color: var(--blue);
  animation: arrowPulse 2s ease infinite;
}

/* ============================================
   BENEFITS
   ============================================ */
.benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 60px;
}

.benefit {
  display: flex;
  gap: 24px;
  padding: 32px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}

.benefit::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--blue);
  transition: height 0.4s ease;
}

.benefit:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.benefit:hover::before {
  height: 100%;
}

.benefit-icon {
  font-size: 36px;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  transition: all 0.3s;
}

.benefit:hover .benefit-icon {
  border-color: var(--blue);
  box-shadow: 0 0 15px var(--glow);
}

.benefit h3 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 8px;
}

.benefit p {
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.7;
}

/* ============================================
   KILL CHAIN
   ============================================ */
.chain {
  display: flex;
  align-items: flex-start;
  margin-top: 70px;
  position: relative;
}

.chain::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-dim), var(--blue), var(--green));
  z-index: 0;
}

.chain-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 8px;
  transition: all 0.4s;
}

.chain-dot {
  width: 24px;
  height: 24px;
  border: 3px solid var(--blue);
  border-radius: 50%;
  margin: 0 auto 24px;
  background: var(--bg);
  transition: all 0.4s;
  position: relative;
}

.chain-step.active .chain-dot {
  background: var(--blue);
  box-shadow: 0 0 20px var(--blue), 0 0 40px rgba(100, 181, 246, 0.3);
  transform: scale(1.3);
}

.chain-step.active h4 {
  color: var(--blue-bright);
}

.chain-step h4 {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 8px;
  transition: color 0.3s;
}

.chain-step p {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.6;
}

.chain-time {
  font-size: 26px;
  font-family: var(--mono);
  color: var(--green);
  font-weight: 300;
  margin-top: 14px;
}

/* ============================================
   COMPARISON
   ============================================ */
.compare {
  margin-top: 60px;
  border: 1px solid var(--border);
  overflow: hidden;
}

.compare-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.compare-row:last-child {
  border-bottom: none;
}

.compare-row:not(.header):hover {
  background: rgba(100, 181, 246, 0.03);
}

.compare-row.header {
  background: rgba(100, 181, 246, 0.05);
}

.compare-cell {
  padding: 20px 28px;
  font-size: 17px;
}

.compare-cell.param {
  color: var(--text-dim);
  font-weight: 400;
}

.compare-cell.them {
  color: var(--text-muted);
  text-align: center;
  border-left: 1px solid var(--border);
}

.compare-cell.us {
  color: var(--blue);
  font-weight: 500;
  text-align: center;
  border-left: 1px solid var(--border);
  background: rgba(100, 181, 246, 0.03);
}

.compare-cell.header-cell {
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
  padding: 16px 28px;
}

.compare-cell.header-us {
  color: var(--blue);
  background: rgba(100, 181, 246, 0.05);
}

.check { color: var(--green); font-size: 20px; margin-left: 4px; }
.cross { color: var(--red); font-size: 20px; margin-left: 4px; }

/* ============================================
   DEPLOY
   ============================================ */
.deploy-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.deploy-card {
  padding: 44px 30px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  text-align: center;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}

.deploy-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform 0.4s;
}

.deploy-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.deploy-card:hover::after {
  transform: scaleX(1);
}

.deploy-card .icon {
  font-size: 52px;
  margin-bottom: 24px;
}

.deploy-card h3 {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 16px;
}

.deploy-card p {
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.7;
}

.deploy-card .highlight {
  display: inline-block;
  margin-top: 20px;
  padding: 8px 20px;
  background: rgba(100, 181, 246, 0.08);
  border: 1px solid var(--blue-dim);
  color: var(--blue);
  font-size: 14px;
  letter-spacing: 1px;
  font-weight: 500;
}

/* ============================================
   CTA
   ============================================ */
.cta {
  text-align: center;
  padding: 140px 0;
  position: relative;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, transparent, var(--blue-dim));
}

.cta-title {
  font-size: 40px;
  font-weight: 300;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.cta-text {
  font-size: 20px;
  color: var(--text-dim);
  margin-bottom: 44px;
  font-weight: 300;
}

.cta-button {
  display: inline-block;
  padding: 22px 64px;
  background: var(--blue);
  color: var(--bg);
  font-size: 16px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.4s;
  font-family: var(--font);
}

.cta-button:hover {
  background: var(--blue-bright);
  box-shadow: 0 0 50px rgba(100, 181, 246, 0.35);
  transform: translateY(-2px);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 30px 0;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 1px;
}

/* ============================================
   NAV BURGER (mobile)
   ============================================ */
.nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-dim);
  transition: all 0.3s;
}

.nav-burger.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 5px); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -5px); }

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 15, 26, 0.97);
  backdrop-filter: blur(20px);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}

.mobile-menu.open { opacity: 1; visibility: visible; }

.mobile-menu a {
  font-size: 20px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.3s;
}

.mobile-menu a:hover { color: var(--blue); }

@media (max-width: 1024px) {
  .nav-links { display: none !important; }
  .nav-burger { display: flex; }
}

/* ============================================
   SECTION SEPARATORS
   ============================================ */
.section-sep {
  display: flex;
  justify-content: center;
  padding: 0;
  background: var(--bg);
}

.section-sep-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, transparent, var(--blue-dim), transparent);
}

/* ============================================
   FLOATING CTA & BACK TO TOP
   ============================================ */
.floating-cta {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 90;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s, transform 0.4s;
  pointer-events: none;
}

.floating-cta.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.floating-cta button {
  padding: 14px 28px;
  background: var(--blue);
  color: var(--bg);
  border: none;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font);
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(100, 181, 246, 0.3);
}

.floating-cta button:hover {
  background: var(--blue-bright);
  box-shadow: 0 6px 30px rgba(100, 181, 246, 0.4);
  transform: translateY(-2px);
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 90;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: rgba(10, 15, 26, 0.8);
  backdrop-filter: blur(8px);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s;
  pointer-events: none;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.back-to-top:hover {
  border-color: var(--blue);
  color: var(--blue);
}

/* ============================================
   TYPED LINES (hero subtitle)
   ============================================ */
.typed-line {
  opacity: 0;
  display: inline;
}

.typed-line.show {
  opacity: 1;
  animation: fadeUp 0.8s ease forwards;
}

/* ============================================
   MODULES GRID (all 24 modules)
   ============================================ */
.module-group {
  margin-top: 60px;
}

.module-group:first-of-type {
  margin-top: 50px;
}

.module-group-title {
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 500;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.module-item {
  padding: 28px 24px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}

.module-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--blue);
  transition: height 0.4s;
}

.module-item:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.module-item:hover::before {
  height: 100%;
}

.module-num {
  font-size: 12px;
  font-family: var(--mono);
  color: var(--blue-dim);
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.module-item h4 {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text);
}

.module-item p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
}

@media (max-width: 1024px) {
  .modules-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .modules-grid { grid-template-columns: 1fr; }
}

/* ============================================
   INTERFACE MOCKUP
   ============================================ */
.mockup-wrapper {
  margin-top: 50px;
}

.mockup-screen {
  border: 1px solid var(--border);
  background: var(--bg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.mockup-titlebar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: #0f1520;
  border-bottom: 1px solid var(--border);
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2a3040;
}

.mockup-dots i:nth-child(1) { background: #e53935; }
.mockup-dots i:nth-child(2) { background: #ff9800; }
.mockup-dots i:nth-child(3) { background: #4caf50; }

.mockup-titlebar-text {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.mockup-body {
  font-size: 12px;
}

.mockup-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px;
  background: rgba(13, 27, 42, 0.8);
  border-bottom: 1px solid var(--border);
  font-size: 11px;
  color: var(--text-muted);
}

.mockup-layout {
  display: grid;
  grid-template-columns: 100px 1fr 220px;
  min-height: 340px;
}

.mockup-sidebar {
  border-right: 1px solid var(--border);
  padding: 8px 0;
  background: rgba(10, 15, 26, 0.5);
}

.mockup-nav-item {
  padding: 8px 14px;
  font-size: 11px;
  color: var(--text-muted);
  cursor: default;
  border-left: 2px solid transparent;
  transition: all 0.2s;
}

.mockup-nav-item.active {
  color: var(--blue);
  border-left-color: var(--blue);
  background: rgba(100, 181, 246, 0.05);
}

.mockup-map {
  position: relative;
  overflow: hidden;
}

.mockup-map-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, #0d1a28 0%, #0f1e2e 50%, #0d1a28 100%);
}

.mockup-grid {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 67px, rgba(100, 181, 246, 0.04) 67px, rgba(100, 181, 246, 0.04) 68px),
    repeating-linear-gradient(90deg, transparent, transparent 67px, rgba(100, 181, 246, 0.04) 67px, rgba(100, 181, 246, 0.04) 68px);
}

.mockup-unit {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: var(--text-dim);
}

.mockup-unit-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.blue-dot { background: var(--blue); box-shadow: 0 0 6px var(--blue); }
.red-dot { background: var(--red); box-shadow: 0 0 6px var(--red); }
.red-dot.pulse { animation: pulseDot 1.5s ease infinite; }

.mockup-enemy { color: var(--red); font-weight: 500; }

.mockup-zone {
  position: absolute;
  border: 1px dashed rgba(255, 152, 0, 0.4);
  border-radius: 50%;
  background: rgba(255, 152, 0, 0.05);
}

.mockup-map-info {
  position: absolute;
  bottom: 8px;
  left: 8px;
  display: flex;
  gap: 12px;
  font-size: 10px;
  color: var(--text-muted);
  background: rgba(10, 15, 26, 0.8);
  padding: 4px 10px;
  border: 1px solid var(--border);
}

.mockup-panel {
  border-left: 1px solid var(--border);
  padding: 12px 14px;
  background: rgba(10, 15, 26, 0.5);
}

.mockup-panel-title {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.mockup-panel-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  font-size: 11px;
  color: var(--text-dim);
}

.mockup-panel-row strong {
  color: var(--text);
  font-weight: 500;
}

.mockup-panel-divider {
  height: 1px;
  background: var(--border);
  margin: 10px 0;
}

.mockup-panel-btn {
  margin-top: 14px;
  padding: 8px 12px;
  background: var(--blue);
  color: var(--bg);
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.mockup-bottombar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px;
  background: rgba(13, 27, 42, 0.8);
  border-top: 1px solid var(--border);
  font-size: 11px;
  color: var(--text-muted);
}

.mockup-chat { flex: 1; }

.mockup-alert-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
  margin-right: 4px;
  animation: pulseDot 1.5s ease infinite;
}

.mockup-caption {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 20px;
  font-style: italic;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  padding: 60px 0;
  background: rgba(100, 181, 246, 0.03);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 40px;
  font-weight: 200;
  font-family: var(--mono);
  color: var(--blue);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 1px;
  line-height: 1.4;
}

@media (max-width: 1024px) {
  .stats-row { grid-template-columns: repeat(3, 1fr); gap: 30px; }
}

@media (max-width: 768px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat-number { font-size: 32px; }
}

/* ============================================
   SOURCES GRID
   ============================================ */
.sources-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 50px;
}

.source-group {
  padding: 24px 20px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: all 0.3s;
}

.source-group:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.source-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.source-group h4 {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--text);
}

.source-group ul {
  list-style: none;
  padding: 0;
}

.source-group li {
  font-size: 13px;
  color: var(--text-dim);
  padding: 3px 0 3px 14px;
  position: relative;
  line-height: 1.5;
}

.source-group li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: bold;
}

@media (max-width: 1024px) {
  .sources-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .sources-grid { grid-template-columns: 1fr; }
}

/* ============================================
   ROBOTS
   ============================================ */
.robots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.robot-card {
  padding: 32px 24px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: all 0.4s;
  position: relative;
}

.robot-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.robot-env {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--blue-dim);
  font-weight: 600;
}

.robot-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.robot-card h4 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 12px;
}

.robot-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 16px;
}

.robot-card li {
  font-size: 14px;
  color: var(--text-dim);
  padding: 3px 0 3px 16px;
  position: relative;
  line-height: 1.5;
}

.robot-card li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--blue-dim);
  font-size: 12px;
}

.robot-feature {
  font-size: 13px;
  color: var(--blue);
  padding: 12px 14px;
  border: 1px solid var(--blue-dim);
  background: rgba(100, 181, 246, 0.05);
  line-height: 1.5;
  margin-top: 4px;
}

@media (max-width: 768px) {
  .robots-grid { grid-template-columns: 1fr; }
}

/* ============================================
   COMBAT PROVEN (боевой опыт)
   ============================================ */
.combat-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.combat-fact {
  text-align: center;
  padding: 30px 16px;
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.combat-number {
  font-size: 36px;
  font-weight: 200;
  font-family: var(--mono);
  color: var(--blue);
  line-height: 1;
  margin-bottom: 10px;
}

.combat-desc {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
}

.combat-timeline {
  margin-top: 50px;
  border-left: 2px solid var(--border);
  padding-left: 30px;
}

.combat-event {
  padding: 12px 0;
  font-size: 15px;
  color: var(--text-dim);
  position: relative;
  line-height: 1.6;
}

.combat-event::before {
  content: '';
  position: absolute;
  left: -36px;
  top: 18px;
  width: 10px;
  height: 10px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  background: var(--bg);
}

.combat-year {
  display: inline-block;
  font-family: var(--mono);
  color: var(--blue);
  font-weight: 500;
  margin-right: 12px;
  min-width: 50px;
}

.combat-conclusion {
  margin-top: 40px;
  padding: 24px 30px;
  border: 1px solid var(--border);
  background: rgba(100, 181, 246, 0.03);
}

.combat-conclusion p {
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.7;
  font-style: italic;
}

@media (max-width: 768px) {
  .combat-facts { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   CUSTOMERS
   ============================================ */
.customers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 50px;
}

.customer-card {
  padding: 28px 24px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: all 0.3s;
}

.customer-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.customer-icon {
  font-size: 32px;
  margin-bottom: 14px;
}

.customer-card h4 {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 8px;
}

.customer-card p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .customers-grid { grid-template-columns: 1fr; }
}

/* ============================================
   FAQ
   ============================================ */
.faq-list {
  max-width: 800px;
  margin-top: 50px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.3s;
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-item:hover {
  background: rgba(100, 181, 246, 0.02);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 18px;
  font-weight: 400;
  color: var(--text);
}

.faq-toggle {
  font-size: 24px;
  color: var(--blue);
  font-weight: 200;
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 20px;
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 0;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 0 20px;
}

.faq-answer p {
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.8;
}

/* ============================================
   QUOTE
   ============================================ */
.quote-section {
  padding: 100px 0;
  background: var(--bg);
  position: relative;
}

.quote {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.quote-mark {
  font-size: 120px;
  font-weight: 200;
  color: rgba(100, 181, 246, 0.1);
  line-height: 0.5;
  margin-bottom: 10px;
  font-family: Georgia, serif;
}

.quote p {
  font-size: 26px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text);
  font-style: italic;
}

.quote-line {
  width: 40px;
  height: 1px;
  background: var(--blue);
  margin: 24px auto;
}

.quote cite {
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 1px;
  font-style: normal;
}

/* ============================================
   CHAIN NUMBERS
   ============================================ */
.chain-num {
  font-size: 11px;
  color: var(--blue-dim);
  letter-spacing: 2px;
  font-family: var(--mono);
  margin-bottom: 6px;
}

/* ============================================
   FOOTER (expanded)
   ============================================ */
.footer {
  padding: 60px 0 30px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  font-size: 20px;
  letter-spacing: 6px;
  font-weight: 300;
  color: var(--text);
  margin-bottom: 12px;
}

.footer-logo span { color: var(--blue); }

.footer-brand p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 60px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col-title {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 500;
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col a:hover { color: var(--blue); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .footer-content { flex-direction: column; gap: 30px; }
  .footer-links { gap: 30px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .mockup-layout { grid-template-columns: 1fr; }
  .mockup-sidebar { display: none; }
  .mockup-panel { border-left: none; border-top: 1px solid var(--border); }
  .mockup-map { min-height: 200px; }
}

/* ============================================
   MODAL
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 15, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  padding: 20px;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  max-width: 520px;
  width: 100%;
  padding: 48px 44px;
  position: relative;
  transform: translateY(30px) scale(0.96);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(100, 181, 246, 0.06);
}

.modal-overlay.open .modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 28px;
  cursor: pointer;
  transition: color 0.3s;
  line-height: 1;
  padding: 4px;
}

.modal-close:hover {
  color: var(--text);
}

.modal-icon {
  text-align: center;
  margin-bottom: 24px;
}

.modal-title {
  font-size: 26px;
  font-weight: 400;
  text-align: center;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.modal-subtitle {
  font-size: 15px;
  color: var(--text-dim);
  text-align: center;
  line-height: 1.6;
  margin-bottom: 32px;
}

/* Form */
.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-label {
  display: block;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 8px;
  font-weight: 500;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 15px;
  font-family: var(--font);
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(100, 181, 246, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 80px;
}

.form-submit {
  width: 100%;
  padding: 16px;
  background: var(--blue);
  color: var(--bg);
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.4s;
  font-family: var(--font);
  margin-top: 8px;
}

.form-submit:hover {
  background: var(--blue-bright);
  box-shadow: 0 0 30px rgba(100, 181, 246, 0.25);
}

.form-submit:active {
  transform: scale(0.98);
}

.form-note {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 16px;
  line-height: 1.5;
}

/* Success state */
.success-icon {
  text-align: center;
  margin-bottom: 28px;
}

.success-circle {
  stroke-dasharray: 189;
  stroke-dashoffset: 189;
  animation: drawCircle 0.8s ease 0.2s forwards;
}

.success-check {
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  animation: drawCheck 0.5s ease 0.8s forwards;
}

.success-details {
  margin-top: 30px;
  border: 1px solid var(--border);
  background: var(--bg);
}

.success-detail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.success-detail:last-child {
  border-bottom: none;
}

.success-detail-label {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.success-detail-value {
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
}

@keyframes drawCircle {
  to { stroke-dashoffset: 0; }
}

@keyframes drawCheck {
  to { stroke-dashoffset: 0; }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.2; transform: scaleY(0.7); }
  50% { opacity: 0.8; transform: scaleY(1); }
}

@keyframes arrowPulse {
  0%, 100% { opacity: 0.5; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(8px); }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger items */
.stagger-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.stagger-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-title { font-size: 64px; letter-spacing: 16px; }
  .hero-subtitle { font-size: 20px; }
  .section-title { font-size: 34px; }
  .benefits { grid-template-columns: 1fr; }
  .chain { flex-wrap: wrap; }
  .chain::before { display: none; }
  .chain-step { flex: 0 0 33.33%; margin-bottom: 30px; }
  .nav-links { display: none; }
}

@media (max-width: 768px) {
  body { font-size: 16px; }
  .container { padding: 0 24px; }
  section { padding: 80px 0; }
  .hero-title { font-size: 44px; letter-spacing: 10px; }
  .hero-subtitle { font-size: 18px; }
  .section-title { font-size: 28px; }
  .big-numbers { grid-template-columns: 1fr; gap: 16px; }
  .big-number .number { font-size: 60px; }
  .big-number { padding: 24px 20px; }
  .before-after { flex-direction: column; gap: 30px; padding: 40px 20px; }
  .ba-number { font-size: 64px; }
  .ba-arrow { transform: rotate(90deg); }
  .deploy-cards { grid-template-columns: 1fr; }
  .compare-row { grid-template-columns: 1fr 1fr 1fr; }
  .compare-cell { padding: 14px 12px; font-size: 14px; }
  .chain-step { flex: 0 0 50%; }
  .chain-time { font-size: 22px; }
  .cta { padding: 100px 0; }
  .cta-title { font-size: 30px; }
}
