/* =====================================================
   НЕЙРОВОРОНКА: ЦИФРОВОЙ ИНТЕЛЛЕКТ 2026/2027
   ===================================================== */

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #060810;
  --text: #ffffff;
  --cyan: #00e5ff;
  --cyan2: #4dd9ff;
  --red: #ff3030;
  --orange: #ff6b35;
  --muted: #8899aa;
  --card-bg: rgba(10,13,22,0.95);
  --widget-border: rgba(0,229,255,0.25);
  --widget-bg: rgba(6,8,16,0.92);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

/* SCANLINES */
.scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.08) 2px,
    rgba(0,0,0,0.08) 4px
  );
}

/* =====================================================
   NAVIGATION
   ===================================================== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid rgba(0,229,255,0.12);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 66px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 2px;
  flex-shrink: 0;
}

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

.nav-links a {
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--accent);
}

.btn-nav-contact {
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: #00e5ff;
  background: transparent;
  border: 1px solid #00e5ff;
  padding: 7px 18px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}

.btn-nav-contact:hover {
  background: rgba(0,229,255,0.1);
}

/* =====================================================
   HERO SECTION
   ===================================================== */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: 66px;
  overflow: hidden;
  background: radial-gradient(ellipse 70% 70% at 60% 50%, rgba(0,40,60,0.4) 0%, var(--bg) 70%);
}

.hero-inner {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 40px 40px 60px;
  gap: 0;
  position: relative;
}

/* --- HERO LEFT --- */
.hero-left {
  width: 42%;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* --- HUD WIDGETS --- */
.hud-widget {
  position: absolute;
  background: var(--widget-bg);
  border: 1px solid var(--widget-border);
  padding: 14px 16px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.05em;
  z-index: 10;
}

.widget-left {
  top: 0;
  left: 0;
  width: 210px;
}

.widget-right-top {
  top: 20px;
  right: 10px;
  width: 240px;
}

.widget-right-bottom {
  bottom: 90px;
  right: 10px;
  width: 220px;
}

/* Corner brackets */
.widget-corner {
  position: absolute;
  width: 10px;
  height: 10px;
  border-color: var(--cyan);
  border-style: solid;
  border-width: 0;
}
.widget-corner.tl { top: -1px; left: -1px; border-top-width: 2px; border-left-width: 2px; }
.widget-corner.tr { top: -1px; right: -1px; border-top-width: 2px; border-right-width: 2px; }
.widget-corner.bl { bottom: -1px; left: -1px; border-bottom-width: 2px; border-left-width: 2px; }
.widget-corner.br { bottom: -1px; right: -1px; border-bottom-width: 2px; border-right-width: 2px; }

.widget-header {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}

.widget-title { color: #aabbc8; }

.widget-divider {
  height: 1px;
  background: linear-gradient(90deg, var(--cyan) 0%, transparent 100%);
  margin-bottom: 10px;
  opacity: 0.5;
}

.widget-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 5px;
  font-size: 10.5px;
}

.row-label { color: #6677888; flex-shrink: 0; color: var(--muted); font-size: 10px; }
.row-dots { flex: 1; color: rgba(136,153,170,0.4); font-size: 9px; overflow: hidden; }
.row-value { color: var(--text); font-weight: 600; font-size: 11px; flex-shrink: 0; }

/* Pulse dot */
.pulse-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse 1.6s ease-in-out infinite;
  flex-shrink: 0;
}

.pulse-dot.small { width: 5px; height: 5px; }
.pulse-dot.delay1 { animation-delay: 0.3s; }
.pulse-dot.delay2 { animation-delay: 0.6s; }

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 4px var(--red); }
  50% { opacity: 0.3; box-shadow: none; }
}

/* Waveform */
.waveform {
  height: 36px;
  margin: 6px 0 10px;
}

.waveform svg, .mini-chart svg { width: 100%; height: 100%; }

.wave-line {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 1.5;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.wave-line.red { stroke: var(--red); }

.mini-chart {
  height: 40px;
  margin: 8px 0;
}

.big-percent {
  font-family: 'Orbitron', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--cyan);
  line-height: 1;
  margin-top: 6px;
}

.percent-label {
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-top: 4px;
  text-transform: uppercase;
}

/* --- HERO TEXT --- */
.hero-text {
  margin-top: 180px;
  padding-left: 8px;
}

.hero-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--cyan);
  text-transform: uppercase;
}

.label-diamond { color: var(--cyan); font-size: 10px; }
.label-dots { display: flex; gap: 4px; align-items: center; }

.hero-title {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: clamp(56px, 7vw, 90px);
  line-height: 0.92;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.hero-badge {
  display: inline-block;
  border: 1px solid var(--red);
  color: var(--red);
  padding: 4px 14px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
  line-height: 1.5;
  max-width: 340px;
  margin-bottom: 28px;
}

.btn-cta {
  display: inline-block;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.15em;
  color: var(--text);
  background: transparent;
  border: 2px solid var(--cyan);
  padding: 16px 40px;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.25s;
  position: relative;
}

.btn-cta::before {
  content: '';
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(0,229,255,0.2);
}

.btn-cta:hover {
  background: var(--cyan);
  color: #000;
}

.urgency-text {
  margin-top: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--muted);
}

.urgency-accent {
  color: var(--orange);
  font-weight: 500;
}

/* --- HERO RIGHT --- */
.hero-right {
  width: 58%;
  position: relative;
  height: calc(100vh - 66px);
  min-height: 500px;
}

.hero-visual {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-network-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.92;
}



/* Platform rings */
.platform-rings {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 120px;
  pointer-events: none;
}

.ring {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  border: 1px solid rgba(0,229,255,0.15);
  background: linear-gradient(180deg, rgba(0,229,255,0.03) 0%, transparent 100%);
}

.ring1 { width: 360px; height: 80px; bottom: 0; }
.ring2 { width: 280px; height: 60px; bottom: 10px; border-color: rgba(0,229,255,0.1); }
.ring3 { width: 200px; height: 45px; bottom: 18px; border-color: rgba(0,229,255,0.08); }

/* --- TAGLINE --- */
.hero-tagline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 14px 40px;
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
}

.tagline-line {
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan) 100%);
  opacity: 0.4;
}

.tagline-line:last-child {
  background: linear-gradient(90deg, var(--cyan), transparent 100%);
}

.tagline-text {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--muted);
  text-transform: uppercase;
}

/* =====================================================
   SCREEN 2: FACTS
   ===================================================== */
#facts {
  background: var(--bg);
  position: relative;
  padding-bottom: 0;
}

.facts-inner {
  padding: 70px 60px 40px;
}

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

.facts-header-left { flex: 1; }

.section-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.tag-bar {
  display: block;
  width: 20px;
  height: 3px;
  background: var(--red);
  flex-shrink: 0;
}

.facts-title {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 3.5vw, 48px);
  color: var(--text);
  line-height: 1.1;
}

.facts-num {
  font-size: 1.15em;
  color: var(--cyan);
}

.facts-hud-deco {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Rajdhani', sans-serif;
  color: var(--red);
  font-size: 14px;
  padding-top: 8px;
}

.deco-dots { letter-spacing: 4px; }
.deco-code { font-size: 11px; color: var(--muted); letter-spacing: 0.1em; }

/* Fact cards */
.facts-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fact-card {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--card-bg);
  border: 1px solid rgba(0,229,255,0.15);
  padding: 16px 24px 16px 0;
  gap: 0;
  transition: border-color 0.2s;
}

.fact-card:hover { border-color: rgba(0,229,255,0.35); }

.fact-num-col {
  width: 90px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
}

.fact-indicator {
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
}

.fact-number {
  font-family: 'Orbitron', sans-serif;
  font-size: 64px;
  font-weight: 700;
  color: #1a2535;
  line-height: 1;
  user-select: none;
}

.fact-img-col {
  width: 160px;
  height: 120px;
  flex-shrink: 0;
  overflow: hidden;
  margin-right: 24px;
}

.fact-img-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fact-text-col p {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #ccd6e0;
  line-height: 1.6;
}

/* Footer bar */
.facts-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 60px;
  background: rgba(6,8,16,0.97);
  border-top: 1px solid var(--red);
  margin-top: 30px;
}

.footer-stats {
  display: flex;
  align-items: center;
  gap: 0;
}

.footer-stat {
  padding: 0 24px;
}

.fstat-label {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 3px;
}

.fstat-sub {
  font-family: 'Rajdhani', sans-serif;
  font-size: 10px;
  color: rgba(136,153,170,0.6);
  letter-spacing: 0.08em;
}

.footer-divider {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.1);
}

.btn-future {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--red);
  padding: 12px 24px;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-future:hover {
  background: rgba(255,48,48,0.15);
}

/* =====================================================
   SCREEN 3: QUOTE
   ===================================================== */
#quote {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  background: var(--bg);
}

.quote-inner {
  flex: 1;
  display: flex;
  min-height: calc(100vh - 80px);
}

/* Left */
.quote-left {
  width: 50%;
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg);
  position: relative;
  z-index: 2;
}

.big-quotemark {
  font-family: 'Orbitron', sans-serif;
  font-size: 110px;
  font-weight: 700;
  color: var(--red);
  line-height: 0.7;
  margin-bottom: 20px;
  display: block;
}

.quote-text {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: clamp(24px, 2.5vw, 36px);
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 24px;
  font-style: normal;
}

.quote-subtext {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 360px;
  margin-bottom: 36px;
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}

.author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a2535, #0d1520);
  border: 2px solid rgba(0,229,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--cyan);
  flex-shrink: 0;
}

.author-name {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 17px;
  color: var(--text);
  letter-spacing: 0.05em;
}

.author-role {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

.slider-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.slider-btn {
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid rgba(0,229,255,0.3);
  color: var(--text);
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-btn:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.slider-counter {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.1em;
}

/* Right */
.quote-right {
  width: 50%;
  position: relative;
  overflow: hidden;
}

.portal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Partners bar */
.partners-bar {
  border-top: 1px solid rgba(255,255,255,0.08);
  background: var(--bg);
}

.partners-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,229,255,0.3), transparent);
}

.partners-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 60px;
}

.partners-list {
  display: flex;
  align-items: center;
  gap: 32px;
}

.partner-item {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
  transition: color 0.2s;
  cursor: default;
}

.partner-item:hover { color: var(--text); }

.btn-cases {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--cyan);
  padding: 10px 22px;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-cases:hover {
  background: rgba(0,229,255,0.1);
  color: var(--cyan);
}

/* =====================================================
   MODAL
   ===================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6,8,16,0.88);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

.modal-overlay.active { display: flex; }

.modal-box {
  position: relative;
  background: rgba(10,13,28,0.98);
  border: 1px solid var(--widget-border);
  padding: 48px 44px;
  width: 100%;
  max-width: 440px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 16px;
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1;
}

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

.modal-title {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
  margin-bottom: 32px;
  line-height: 1.3;
}

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

.form-group label {
  display: block;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.form-group input {
  width: 100%;
  background: rgba(0,229,255,0.04);
  border: 1px solid rgba(0,229,255,0.2);
  color: var(--text);
  padding: 12px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus { border-color: var(--cyan); }
.form-group input::placeholder { color: rgba(136,153,170,0.5); }

.btn-submit {
  width: 100%;
  background: var(--cyan);
  color: #000;
  border: none;
  padding: 16px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 8px;
  transition: opacity 0.2s;
}

.btn-submit:hover { opacity: 0.85; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 768px) {
  .hero-inner {
    flex-direction: column;
    padding: 20px 20px 80px;
    gap: 20px;
  }

  .hero-left, .hero-right {
    width: 100%;
  }

  .hero-right {
    height: 300px;
    order: -1;
  }

  .hero-text { margin-top: 20px; }

  .widget-left, .widget-right-top, .widget-right-bottom {
    display: none;
  }

  .hero-title { font-size: 52px; }

  .facts-inner { padding: 40px 20px 30px; }

  .fact-card {
    flex-wrap: wrap;
    padding: 16px;
    gap: 12px;
  }

  .fact-img-col { width: 100%; height: 160px; margin-right: 0; }
  .fact-num-col { width: 60px; }
  .fact-number { font-size: 44px; }
  .fact-indicator { left: -8px; }

  .facts-footer-bar {
    flex-direction: column;
    gap: 16px;
    padding: 20px 20px;
    align-items: flex-start;
  }

  .footer-stats { flex-wrap: wrap; gap: 12px; }
  .footer-stat { padding: 0 8px; }
  .footer-divider { display: none; }

  .quote-inner { flex-direction: column; min-height: auto; }
  .quote-left, .quote-right { width: 100%; }
  .quote-left { padding: 40px 20px; }
  .quote-right { height: 300px; }

  .partners-inner { flex-direction: column; gap: 16px; padding: 16px 20px; }
  .partners-list { flex-wrap: wrap; gap: 16px; justify-content: center; }

  .big-quotemark { font-size: 72px; }
  .quote-text { font-size: 22px; }

  .facts-header { flex-direction: column; }
  .facts-hud-deco { margin-top: 8px; }
}
