/* ============================================================
   НЕЙРОВОРОНКА — Цифровой Интеллект 2026/2027
   Design system: Dark Sci-Fi / Cyberpunk
   ============================================================ */

/* — Design tokens — */
:root {
  --bg-0: #030507;
  --bg-1: #071015;
  --panel: #0B141A;
  --panel-2: #101C23;
  --text: #E7EEF3;
  --text-2: #AAB7C2;
  --muted: #6D7C88;
  --line-low: rgba(180,210,225,0.12);
  --line-mid: rgba(180,210,225,0.22);
  --cyan: #33CFFF;
  --cyan-bright: #63E8FF;
  --cyan-core: #BFFBFF;
  --cyan-deep: #1198C5;
  --red: #E93A3A;
  --red-bright: #FF5B5B;
  --accent: #f5a623;
  --green: #22c55e;
  --shadow-c1: 0 0 8px rgba(99,232,255,.55);
  --shadow-c2: 0 0 20px rgba(99,232,255,.35);
  --shadow-c3: 0 0 48px rgba(51,207,255,.18);
  --shadow-r1: 0 0 6px rgba(255,91,91,.60);
  --shadow-r2: 0 0 18px rgba(233,58,58,.35);
  --radius: 12px;
  --radius-sm: 6px;
}

/* — Reset & base — */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Syne', system-ui, sans-serif;
  background: var(--bg-0);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Monospace elements */
.mono { font-family: 'JetBrains Mono', 'Courier New', monospace; }

/* — Container — */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 768px) { .container { padding: 0 32px; } }
@media (min-width: 1200px) { .container { padding: 0 48px; } }

/* — Panels / glass — */
.panel {
  background: rgba(11,20,26,.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line-low);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), var(--shadow-c1);
  border-radius: var(--radius);
}
.panel-sm { border-radius: var(--radius-sm); }

/* — Buttons — */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all .25s ease;
  white-space: nowrap;
}

.btn-primary {
  color: var(--text);
  background: linear-gradient(180deg, #0E2E39, #081821);
  border: 1px solid rgba(140,220,255,.22);
  border-radius: var(--radius);
  padding: 14px 28px;
  height: 52px;
  box-shadow: 0 0 0 1px rgba(99,232,255,.18), var(--shadow-c2);
}
.btn-primary:hover {
  box-shadow: 0 0 0 1px rgba(99,232,255,.35), 0 0 36px rgba(51,207,255,.25);
  transform: translateY(-1px);
  border-color: rgba(140,220,255,.4);
}
.btn-primary:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

.btn-secondary {
  color: var(--text-2);
  background: transparent;
  border: 1px solid var(--line-mid);
  border-radius: var(--radius);
  padding: 12px 24px;
  height: 48px;
}
.btn-secondary:hover { color: var(--text); border-color: var(--cyan); box-shadow: var(--shadow-c1); }

.btn-accent {
  color: var(--bg-0);
  background: linear-gradient(135deg, var(--accent), #e08c10);
  border: none;
  border-radius: var(--radius);
  padding: 16px 36px;
  height: 56px;
  font-size: 14px;
  box-shadow: 0 0 0 0 rgba(245,166,35,.4);
}
.btn-accent:hover { box-shadow: 0 0 24px rgba(245,166,35,.4), 0 0 48px rgba(245,166,35,.2); transform: translateY(-2px); }

/* — Grid overlay (decorative) — */
.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(180,210,225,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(180,210,225,.04) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

/* — Corner brackets — */
.corner-bracket {
  position: absolute;
  width: 24px;
  height: 24px;
  pointer-events: none;
}
.corner-bracket::before,
.corner-bracket::after {
  content: '';
  position: absolute;
  border-color: rgba(140,220,255,.35);
}
.corner-bracket.tl::before { top: 0; left: 0; width: 100%; border-top: 2px solid; }
.corner-bracket.tl::after  { top: 0; left: 0; height: 100%; border-left: 2px solid; }
.corner-bracket.tr::before { top: 0; right: 0; width: 100%; border-top: 2px solid; }
.corner-bracket.tr::after  { top: 0; right: 0; height: 100%; border-right: 2px solid; }
.corner-bracket.bl::before { bottom: 0; left: 0; width: 100%; border-bottom: 2px solid; }
.corner-bracket.bl::after  { bottom: 0; left: 0; height: 100%; border-left: 2px solid; }
.corner-bracket.br::before { bottom: 0; right: 0; width: 100%; border-bottom: 2px solid; }
.corner-bracket.br::after  { bottom: 0; right: 0; height: 100%; border-right: 2px solid; }

/* — Scanline overlay — */
.scanline {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    transparent 0 2px,
    rgba(255,255,255,.012) 2px 3px
  );
  opacity: .6;
  z-index: 1;
}

/* — Blinking indicators — */
@keyframes blink {
  0%,100% { opacity: 1; box-shadow: var(--shadow-r1); }
  50% { opacity: .3; box-shadow: none; }
}
@keyframes blink-green {
  0%,100% { opacity: 1; box-shadow: 0 0 6px rgba(34,197,94,.6); }
  50% { opacity: .3; box-shadow: none; }
}
@keyframes pulse-cyan {
  0%,100% { filter: drop-shadow(0 0 12px rgba(99,232,255,.28)); }
  50% { filter: drop-shadow(0 0 28px rgba(99,232,255,.55)); }
}
@keyframes counter-up { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes slideIn { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }
@keyframes orb-pulse {
  0%,100% { transform: scale(1); opacity: .7; }
  50% { transform: scale(1.08); opacity: 1; }
}
@keyframes ring-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes ring-spin-rev {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}
@keyframes fog-drift {
  0%,100% { transform: translateX(0) scaleX(1); opacity: .35; }
  50% { transform: translateX(-20px) scaleX(1.1); opacity: .5; }
}
@keyframes text-glitch {
  0%,95%,100% { clip-path: none; transform: none; }
  96% { clip-path: inset(20% 0 60% 0); transform: translate(-2px, 0); }
  97% { clip-path: inset(60% 0 10% 0); transform: translate(2px, 0); }
  98% { clip-path: none; transform: none; }
}
@keyframes scan-line {
  0% { top: -100%; }
  100% { top: 200%; }
}

.blink-red { width: 8px; height: 8px; border-radius: 50%; background: var(--red-bright); animation: blink 1.2s ease-in-out infinite; display: inline-block; flex-shrink: 0; }
.blink-green { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: blink-green 2s ease-in-out infinite; display: inline-block; flex-shrink: 0; }
.blink-cyan { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan-bright); animation: blink-green 2.4s ease-in-out infinite; display: inline-block; flex-shrink: 0; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 64px;
  display: flex;
  align-items: center;
  background: rgba(3,5,7,.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-low);
  transition: background .3s;
}

.header .container {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
  width: 100%;
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 0;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-name {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 700;
  color: var(--cyan-bright);
  letter-spacing: 0.1em;
  text-shadow: var(--shadow-c1);
  line-height: 1;
}
.logo-sub {
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: 'JetBrains Mono', monospace;
}

.nav {
  display: none;
  align-items: center;
  gap: 4px;
}
@media (min-width: 1024px) { .nav { display: flex; } }

.nav a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color .2s, background .2s;
}
.nav a:hover { color: var(--text); background: rgba(180,210,225,.06); }

.nav-cta { flex-shrink: 0; }

.burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
@media (min-width: 1024px) { .burger { display: none; } }
.burger span {
  width: 22px;
  height: 2px;
  background: var(--text-2);
  border-radius: 2px;
  transition: all .3s;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: rgba(7,16,21,.97);
  border-bottom: 1px solid var(--line-low);
  z-index: 99;
  padding: 16px 20px 24px;
  flex-direction: column;
  gap: 8px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2);
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-low);
}
.mobile-menu a:last-child { border: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 64px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 600px at 70% 40%, rgba(51,207,255,.15), transparent 60%),
    radial-gradient(800px 400px at 50% 70%, rgba(10,68,89,.3), transparent 70%),
    linear-gradient(160deg, #030507, #071015);
  z-index: 0;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: .8;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 16px 0 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 5fr 7fr;
    gap: 64px;
  }
}

/* Left column */
.hero-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-eyebrow-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan-bright);
  text-shadow: var(--shadow-c1);
}

.hero-title {
  font-size: clamp(48px, 8vw, 88px);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--text);
}
.hero-title .glitch {
  display: block;
  animation: text-glitch 8s ease-in-out infinite;
}
.hero-title .accent-line {
  display: block;
  background: linear-gradient(90deg, var(--cyan-bright), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-year {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(51,207,255,.08);
  border: 1px solid rgba(51,207,255,.22);
  border-radius: 20px;
  padding: 6px 16px;
  width: fit-content;
}
.hero-year-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--cyan);
}

.hero-subtitle {
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-2);
  max-width: 420px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 400;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.hero-urgency {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Right column */
.hero-right {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.neural-orb {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  aspect-ratio: 1;
}

.neural-canvas {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  filter: drop-shadow(0 0 40px rgba(51,207,255,.2));
  animation: pulse-cyan 3s ease-in-out infinite;
}

/* HUD panels */
.hud-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.hud-panel {
  padding: 14px 16px;
  position: relative;
  overflow: hidden;
}
.hud-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: .4;
}

.hud-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hud-metric {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.hud-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 22px;
  font-weight: 700;
  color: var(--cyan-bright);
  letter-spacing: -0.02em;
  text-shadow: var(--shadow-c1);
  line-height: 1;
}
.hud-unit {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.hud-bar {
  margin-top: 8px;
  height: 3px;
  background: rgba(180,210,225,.1);
  border-radius: 2px;
  overflow: hidden;
}
.hud-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--cyan-deep), var(--cyan-bright));
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(99,232,255,.5);
  transition: width 2s ease;
}

/* Hero status bar */
.hero-status-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 16px;
  flex-wrap: wrap;
}
.hero-status-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-status-item strong {
  color: var(--text-2);
}

/* ============================================================
   SECTION COMMON
   ============================================================ */
section { position: relative; overflow: hidden; }

.section-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.section-eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--cyan);
  opacity: .5;
}

.section-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--text);
}

/* ============================================================
   FACTS SECTION
   ============================================================ */
.facts-section {
  padding: 96px 0;
  background: linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 50%, var(--bg-0) 100%);
}

.facts-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 64px;
}

.facts-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 768px) {
  .facts-layout {
    grid-template-columns: 40px 1fr;
    gap: 24px;
  }
}

/* Vertical rail */
.facts-rail {
  display: none;
  flex-direction: column;
  align-items: center;
  padding-top: 20px;
}
@media (min-width: 768px) { .facts-rail { display: flex; } }

.rail-line {
  width: 1px;
  flex: 1;
  background: linear-gradient(180deg, transparent, var(--cyan), transparent);
  opacity: .3;
}
.rail-dots {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  align-items: center;
}

.facts-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fact-card {
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  align-items: start;
  transition: border-color .3s, box-shadow .3s;
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) {
  .fact-card {
    grid-template-columns: 64px 1fr;
    gap: 28px;
  }
}
.fact-card:hover {
  border-color: rgba(51,207,255,.3);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 0 32px rgba(51,207,255,.12);
}
.fact-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, rgba(51,207,255,.02), transparent);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.fact-card:hover::after { opacity: 1; }

.fact-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  color: rgba(51,207,255,.2);
  letter-spacing: -0.04em;
  align-self: center;
  transition: color .3s;
}
.fact-card:hover .fact-number { color: rgba(51,207,255,.5); }

.fact-content {}

.fact-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.fact-text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-2);
}

/* Facts footer bar */
.facts-footer {
  margin-top: 48px;
  padding: 16px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (min-width: 768px) {
  .facts-footer {
    grid-template-columns: repeat(4, 1fr);
  }
}

.facts-footer-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}
.facts-footer-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.facts-footer-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--cyan);
}

.facts-cta {
  margin-top: 32px;
  text-align: center;
}

/* ============================================================
   QUOTE / SLIDER SECTION
   ============================================================ */
.quote-section {
  padding: 96px 0;
  background: var(--bg-0);
}

.quote-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 768px) {
  .quote-grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

.quote-left { display: flex; flex-direction: column; gap: 24px; }

.quote-marks {
  font-family: 'JetBrains Mono', monospace;
  font-size: 72px;
  line-height: 0.5;
  color: var(--cyan);
  opacity: .3;
  display: block;
  font-weight: 700;
}

.quote-text {
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--text);
}

.quote-desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-2);
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.quote-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan-deep), var(--panel));
  border: 1px solid var(--line-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px;
  font-weight: 700;
  color: var(--cyan-bright);
  flex-shrink: 0;
}
.quote-author-info {}
.quote-author-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
.quote-author-role {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quote-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}
.quote-nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--line-mid);
  color: var(--text-2);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
}
.quote-nav-btn:hover { border-color: var(--cyan); color: var(--cyan); box-shadow: var(--shadow-c1); }

.quote-counter {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.1em;
}
.quote-counter span { color: var(--cyan); font-weight: 600; }

/* Portal orb (right side) */
.portal-orb {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portal-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
}
.portal-ring-1 {
  width: 85%;
  height: 85%;
  border-color: rgba(51,207,255,.12);
  animation: ring-spin 20s linear infinite;
}
.portal-ring-2 {
  width: 70%;
  height: 70%;
  border-color: rgba(51,207,255,.2);
  border-style: dashed;
  animation: ring-spin-rev 14s linear infinite;
}
.portal-ring-3 {
  width: 55%;
  height: 55%;
  border-color: rgba(51,207,255,.3);
  animation: ring-spin 10s linear infinite;
}
.portal-ring-4 {
  width: 38%;
  height: 38%;
  border-color: rgba(99,232,255,.5);
  animation: ring-spin-rev 7s linear infinite;
}
.portal-core {
  width: 20%;
  height: 20%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--cyan-core), var(--cyan-bright), var(--cyan));
  box-shadow: 0 0 40px rgba(99,232,255,.6), 0 0 80px rgba(51,207,255,.3);
  animation: orb-pulse 3s ease-in-out infinite;
  z-index: 1;
}
.portal-fog {
  position: absolute;
  bottom: 0;
  left: -10%;
  right: -10%;
  height: 40%;
  background: linear-gradient(transparent, rgba(10,68,89,.4));
  border-radius: 0 0 50% 50%;
  animation: fog-drift 6s ease-in-out infinite;
  pointer-events: none;
}

/* Partners row */
.partners-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.partner-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 4px 10px;
  border: 1px solid var(--line-low);
  border-radius: var(--radius-sm);
  transition: border-color .2s, color .2s;
}
.partner-tag:hover { border-color: var(--line-mid); color: var(--text-2); }

/* ============================================================
   FORM SECTION
   ============================================================ */
.form-section {
  padding: 96px 0;
  background: linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 100%);
}

.form-wrapper {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
}

.form-header {
  text-align: center;
  margin-bottom: 40px;
}
.form-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 12px;
}
.form-subtitle {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.lead-form {
  padding: 36px;
  position: relative;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
@media (min-width: 600px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group.full { grid-column: 1 / -1; }

.form-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-input {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  background: rgba(11,20,26,.7);
  border: 1px solid var(--line-low);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 15px;
  font-family: 'Syne', sans-serif;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.form-input:focus {
  border-color: rgba(51,207,255,.4);
  box-shadow: 0 0 0 3px rgba(51,207,255,.08);
}
.form-input::placeholder { color: var(--muted); }

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 20px 0;
}
.form-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--cyan);
  cursor: pointer;
  margin-top: 2px;
}
.form-consent-text {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}
.form-consent-text a {
  color: var(--cyan);
  text-decoration: none;
}
.form-consent-text a:hover { text-decoration: underline; }

.form-submit-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.form-microcopy {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  letter-spacing: 0.04em;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--line-low);
  background: var(--bg-0);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
}

.footer-brand {}
.footer-logo-name {
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px;
  font-weight: 700;
  color: var(--cyan-bright);
  letter-spacing: 0.1em;
  text-shadow: var(--shadow-c1);
  margin-bottom: 4px;
}
.footer-slogan {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.footer-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.footer-nav-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}
.footer-nav-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav-links a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
}
.footer-nav-links a:hover { color: var(--text-2); }

.footer-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line-low);
}
.footer-legal-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.footer-legal-links {
  display: flex;
  gap: 20px;
}
.footer-legal-links a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
}
.footer-legal-links a:hover { color: var(--text-2); }

.footer-status {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ============================================================
   UTILITY: scroll fade-in
   ============================================================ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   INNER PAGES (oferta, policy)
   ============================================================ */
.inner-page {
  padding-top: 96px;
  padding-bottom: 96px;
  min-height: 100vh;
}
.inner-page .container { max-width: 800px; }

.inner-warning {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(233,58,58,.08);
  border: 1px solid rgba(233,58,58,.25);
  border-radius: var(--radius);
  margin-bottom: 32px;
}
.inner-warning-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}
.inner-warning-text {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-2);
}

.inner-content h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.inner-content h2 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 32px 0 12px;
}
.inner-content h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-2);
  margin: 20px 0 8px;
}
.inner-content p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-2);
  margin-bottom: 12px;
}
.inner-content ul, .inner-content ol {
  padding-left: 20px;
  margin-bottom: 12px;
}
.inner-content li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-2);
  margin-bottom: 6px;
}
.inner-content strong { color: var(--text); }
.inner-content .date-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.08em;
  margin-bottom: 32px;
  display: block;
}
.inner-content hr {
  border: none;
  border-top: 1px solid var(--line-low);
  margin: 32px 0;
}
.inner-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
}
.inner-content th, .inner-content td {
  padding: 10px 14px;
  text-align: left;
  border: 1px solid var(--line-low);
  font-size: 14px;
  color: var(--text-2);
}
.inner-content th {
  background: var(--panel);
  color: var(--text);
  font-weight: 600;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--cyan);
  text-decoration: none;
  margin-bottom: 32px;
  text-transform: uppercase;
  transition: gap .2s;
}
.back-link:hover { gap: 12px; }

/* ============================================================
   THANKS PAGE
   ============================================================ */
.thanks-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 0;
  background:
    radial-gradient(800px 600px at 50% 40%, rgba(34,197,94,.08), transparent 60%),
    linear-gradient(160deg, #030507, #071015);
}
.thanks-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.thanks-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(34,197,94,.1);
  border: 1px solid rgba(34,197,94,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
  font-size: 32px;
  box-shadow: 0 0 32px rgba(34,197,94,.2);
}
.thanks-h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.thanks-h1 .green { color: var(--green); }
.thanks-sub {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-2);
  margin-bottom: 32px;
}
.thanks-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
  text-align: left;
}
.thanks-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 20px;
}
.thanks-step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--cyan-bright);
  background: rgba(51,207,255,.1);
  border: 1px solid rgba(51,207,255,.2);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.thanks-step-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-2);
}
.thanks-confirm {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}
.thanks-reliability {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
}
.thanks-partners {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line-low);
}
.thanks-partners-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .pulse, .pulse-cyan, [class*="blink"], [class*="ring-spin"],
  .portal-ring-1, .portal-ring-2, .portal-ring-3, .portal-ring-4,
  .portal-core, .portal-fog, .neural-canvas {
    animation: none;
    transition: none;
  }
}
