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

:root {
  --bg:        #04091a;
  --bg-2:      #070f24;
  --bg-card:   #080f28;
  --blue:      #1a6fff;
  --blue-light:#4d9fff;
  --blue-dim:  #0d3a80;
  --neon:      #00aaff;
  --white:     #ffffff;
  --text-dim:  #7a9ec0;
  --border:    rgba(26, 111, 255, 0.2);
  --glow:      rgba(26, 111, 255, 0.35);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--white);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }

/* ═══════════════════════════════════════
   HEADER
═══════════════════════════════════════ */
.header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  height: 60px;
  padding: 0 30px 0 30px;
  background: rgba(4, 9, 26, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 2px;
  color: var(--white);
  margin-right: 20px;
}

.logo-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 28px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  font-size: 0.65rem;
  letter-spacing: 1px;
  border-radius: 4px;
  box-shadow: 0 0 12px var(--glow);
}

.header__social {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}

.header__social a {
  color: var(--text-dim);
  transition: color 0.2s, filter 0.2s;
  display: flex;
  align-items: center;
}

.header__social a:hover {
  color: var(--blue-light);
  filter: drop-shadow(0 0 4px var(--blue));
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header__nav a {
  color: var(--text-dim);
  font-size: 0.875rem;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}

.header__nav a:hover { color: var(--white); }

.nav-cta {
  color: var(--blue-light) !important;
  border: 1px solid var(--blue-dim);
  padding: 5px 14px;
  border-radius: 4px;
  transition: background 0.2s, box-shadow 0.2s !important;
}

.nav-cta:hover {
  background: rgba(26, 111, 255, 0.1) !important;
  box-shadow: 0 0 10px var(--glow);
}

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 520px 260px;
  min-height: calc(100vh - 60px);
  padding: 40px 30px 40px 30px;
  gap: 30px;
  overflow: hidden;
  max-width: 1440px;
  margin: 0 auto;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26,111,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,111,255,0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,80,255,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero__left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 20px;
  z-index: 2;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  letter-spacing: 3px;
  color: var(--blue-light);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 8px var(--neon);
  animation: pulse 2s infinite;
}

.hero__title {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--white);
  margin-bottom: 24px;
  position: relative;
}

.glitch { position: relative; }

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}

.glitch::before {
  color: #00e5ff;
  animation: glitch-top 3.5s infinite;
  clip-path: polygon(0 0, 100% 0, 100% 38%, 0 38%);
  transform: translate(-3px, -2px);
  opacity: 0;
}

.glitch::after {
  color: #ff0080;
  animation: glitch-bot 3.5s infinite;
  clip-path: polygon(0 62%, 100% 62%, 100% 100%, 0 100%);
  transform: translate(3px, 2px);
  opacity: 0;
}

@keyframes glitch-top {
  0%,  88%, 100% { opacity: 0; transform: translate(-3px,-2px); }
  89% { opacity: 1; transform: translate(3px,-4px) skewX(2deg); }
  90% { opacity: 1; transform: translate(-4px, 2px) skewX(-2deg); }
  91% { opacity: 1; transform: translate(2px,-1px); }
  92% { opacity: 0; }
  93% { opacity: 1; transform: translate(-2px,3px) skewX(1deg); }
  94% { opacity: 0; }
}

@keyframes glitch-bot {
  0%,  88%, 100% { opacity: 0; transform: translate(3px,2px); }
  89% { opacity: 1; transform: translate(-3px,4px) skewX(-2deg); }
  90% { opacity: 1; transform: translate(4px,-2px) skewX(2deg); }
  91% { opacity: 1; transform: translate(-2px,1px); }
  92% { opacity: 0; }
  93% { opacity: 1; transform: translate(2px,-3px) skewX(-1deg); }
  94% { opacity: 0; }
}

.hero__subtitle {
  color: var(--text-dim);
  font-size: 0.95rem;
  max-width: 460px;
  margin-bottom: 32px;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--blue);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 1px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  width: fit-content;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s;
  box-shadow: 0 0 20px rgba(26,111,255,0.4);
}

.hero__cta::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.4s;
}

.hero__cta:hover { box-shadow: 0 0 35px rgba(26,111,255,0.7); }
.hero__cta:hover::before { left: 100%; }

.hero__stats {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.stat {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
}

.stat__label {
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 120px;
}

.stat__dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--blue-light);
  box-shadow: 0 0 6px var(--blue-light);
}

.stat__value {
  color: var(--blue-light);
  font-weight: 500;
}

.hero__center {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.hero__img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  max-height: 520px;
}

.hero__img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 460px;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
}

.hero__img-real {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 8px;
  z-index: 0;
  transform: scale(1.12);
  transform-origin: center 22%;
}

.hero__img-gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom, transparent 50%, var(--bg) 100%),
    linear-gradient(to right, rgba(4,9,26,0.3) 0%, transparent 30%, transparent 70%, rgba(4,9,26,0.3) 100%);
  pointer-events: none;
}

.hud-scan {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.9), var(--neon), rgba(255,255,255,0.9), transparent);
  top: 20%;
  opacity: 0;
  animation: scan 4s ease-in-out infinite;
  pointer-events: none;
  box-shadow: 0 0 12px var(--neon), 0 0 24px rgba(0,170,255,0.4);
  z-index: 10;
}

.hud {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hud--outer {
  width: 420px; height: 420px;
  border: 1px solid rgba(26,111,255,0.2);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  animation: spin-slow 20s linear infinite;
}

.hud--mid {
  width: 320px; height: 320px;
  border: 1px dashed rgba(26,111,255,0.25);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  animation: spin-slow 15s linear infinite reverse;
}

.hud--inner {
  width: 220px; height: 220px;
  border: 1px solid rgba(77,159,255,0.3);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  animation: spin-slow 10s linear infinite;
}

.hud--cross {
  background: rgba(26,111,255,0.25);
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 0;
}

.hud--cross-h { width: 380px; height: 1px; transform: translate(-50%,-50%); }
.hud--cross-v { width: 1px; height: 380px; transform: translate(-50%,-50%); }

.hud--corner {
  width: 20px; height: 20px;
  border-radius: 0;
  border: 2px solid var(--blue);
}

.hud--tl { top: 15%; left: 12%; border-right: none; border-bottom: none; }
.hud--tr { top: 15%; right: 12%; border-left: none; border-bottom: none; }
.hud--bl { bottom: 15%; left: 12%; border-right: none; border-top: none; }
.hud--br { bottom: 15%; right: 12%; border-left: none; border-top: none; }

.hud-readout {
  position: absolute;
  font-size: 0.65rem;
  font-family: 'Courier New', monospace;
  letter-spacing: 1px;
  color: var(--blue-light);
  background: rgba(4,9,26,0.7);
  border: 1px solid var(--border);
  padding: 4px 8px;
  border-radius: 2px;
  display: flex;
  gap: 6px;
  align-items: center;
  z-index: 5;
}

.readout-val { color: var(--neon); font-weight: 700; }
.hud-readout--1 { top: 18%; left: 4%; }
.hud-readout--2 { top: 30%; right: 4%; }
.hud-readout--3 { bottom: 22%; left: 4%; }

.hero__right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}

.hero__panel {
  background: rgba(8,15,40,0.7);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  backdrop-filter: blur(8px);
}

.panel-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.panel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 8px var(--neon);
  animation: pulse 2s infinite;
}

.panel-title {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
}

.panel-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.panel-label { font-size: 0.75rem; color: var(--text-dim); }

.panel-bar {
  grid-column: 1 / -1;
  height: 3px;
  background: rgba(26,111,255,0.15);
  border-radius: 2px;
  overflow: hidden;
}

.panel-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--neon));
  border-radius: 2px;
  box-shadow: 0 0 6px var(--blue);
}

.panel-pct {
  font-size: 0.7rem;
  color: var(--blue-light);
  font-family: 'Courier New', monospace;
}

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

.panel-stat { margin-bottom: 12px; }

.panel-stat__number {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  font-family: 'Courier New', monospace;
  letter-spacing: 1px;
}

.panel-stat__label {
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.particles span {
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--blue-light);
  box-shadow: 0 0 8px var(--blue-light);
  animation: float var(--dur, 6s) var(--delay, 0s) ease-in-out infinite;
}

.particles span:nth-child(1)  { top: 15%; left: 5%;  --dur:7s; --delay:0s; }
.particles span:nth-child(2)  { top: 75%; left: 10%; --dur:5s; --delay:1s; }
.particles span:nth-child(3)  { top: 40%; left: 2%;  --dur:8s; --delay:2s; }
.particles span:nth-child(4)  { top: 20%; left: 85%; --dur:6s; --delay:0.5s; }
.particles span:nth-child(5)  { top: 65%; left: 90%; --dur:7s; --delay:1.5s; }
.particles span:nth-child(6)  { top: 85%; left: 50%; --dur:9s; --delay:3s; }
.particles span:nth-child(7)  { top: 10%; left: 60%; --dur:5s; --delay:0.8s; }
.particles span:nth-child(8)  { top: 55%; left: 20%; --dur:6s; --delay:2.5s; }
.particles span:nth-child(9)  { top: 90%; left: 30%; --dur:8s; --delay:1.2s; }
.particles span:nth-child(10) { top: 30%; left: 95%; --dur:7s; --delay:0.3s; }
.particles span:nth-child(11) { top: 50%; left: 75%; --dur:6s; --delay:4s;  }
.particles span:nth-child(12) { top: 70%; left: 65%; --dur:5s; --delay:2s;  }
.particles span:nth-child(13) { top: 5%;  left: 45%; --dur:9s; --delay:3.5s;}
.particles span:nth-child(14) { top: 80%; left: 80%; --dur:7s; --delay:1.8s;}
.particles span:nth-child(15) { top: 45%; left: 55%; --dur:6s; --delay:0.6s;}

.hero__pagination {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}

.page-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue-dim);
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}

.page-dot--active {
  background: var(--blue);
  box-shadow: 0 0 8px var(--blue);
  width: 18px;
  border-radius: 3px;
}

/* ═══════════════════════════════════════
   FEATURES
═══════════════════════════════════════ */
.features {
  padding: 60px 30px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26,111,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,111,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px 22px;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  border-color: rgba(26,111,255,0.5);
  box-shadow: 0 4px 30px rgba(26,111,255,0.15);
  transform: translateY(-4px);
}

.feature-card:hover::before { opacity: 1; }

.feature-card__icon {
  width: 44px; height: 44px;
  margin-bottom: 18px;
}

.feature-card__icon svg { width: 100%; height: 100%; }

.feature-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--white);
}

.feature-card__text {
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.7;
}

/* ═══════════════════════════════════════
   BOTTOM SECTION
═══════════════════════════════════════ */
.bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border-top: 1px solid var(--border);
}

.bottom__col {
  background: var(--bg);
  padding: 50px 40px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}

.bottom__col:hover { background: var(--bg-2); }

.bottom__col--center {
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
}

.bottom__img-wrap { margin: 24px 0; }

.bottom__img {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.bottom__img svg { display: block; width: 100%; }

.bottom__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--white);
}

.bottom__text {
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 380px;
}

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 30px;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
  font-size: 0.8rem;
  color: var(--text-dim);
  max-width: 1440px;
  margin: 0 auto;
}

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

.footer__right { display: flex; gap: 24px; }

.footer__right a {
  color: var(--text-dim);
  transition: color 0.2s;
}

.footer__right a:hover { color: var(--blue-light); }

/* ═══════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════ */
@keyframes spin-slow {
  from { transform: translate(-50%,-50%) rotate(0deg); }
  to   { transform: translate(-50%,-50%) rotate(360deg); }
}

@keyframes scan {
  0%   { top: 5%; opacity: 0; }
  5%   { opacity: 1; }
  95%  { opacity: 1; }
  100% { top: 95%; opacity: 0; }
}

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

@keyframes float {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50%       { transform: translateY(-18px); opacity: 1; }
}

/* ═══════════════════════════════════════
   MODALS
═══════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
  max-width: 480px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  z-index: 201;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
}

.modal.active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.modal h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--white);
}

.modal p {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.7;
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.2s;
}

.modal__close:hover {
  color: var(--white);
}

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr 400px; grid-template-rows: auto auto; }
  .hero__right { display: none; }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; padding: 30px 20px; }
  .hero__center { min-height: 300px; order: -1; }
  .features__grid { grid-template-columns: 1fr; }
  .bottom { grid-template-columns: 1fr; background: var(--bg); gap: 0; }
  .bottom__col--center {
    border-left: none; border-right: none;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }
  .header__social { display: none; }
  .header__nav { gap: 14px; }
  .header__nav a { font-size: 0.78rem; }
}

/* ═══════════════════════════════════════
   LARGE SCREENS
═══════════════════════════════════════ */
@media (min-width: 1400px) {
  .hero {
    grid-template-columns: 1fr 560px 280px;
    gap: 40px;
    padding: 50px 40px;
  }

  .hero__title {
    font-size: clamp(2rem, 3.2vw, 3.4rem);
  }

  .hero__subtitle {
    max-width: 480px;
    font-size: 1rem;
  }

  .hero__img-wrap {
    max-height: 580px;
  }

  .hero__img-placeholder {
    min-height: 520px;
  }

  .features__grid {
    max-width: 1320px;
  }

  .bottom__col {
    padding: 60px 50px;
  }

  .bottom__title {
    font-size: 1.2rem;
  }

  .bottom__text {
    font-size: 0.88rem;
    max-width: 420px;
  }
}

@media (min-width: 1600px) {
  .hero {
    grid-template-columns: 1fr 600px 300px;
    gap: 50px;
    padding: 60px 50px;
  }

  .hero__subtitle {
    max-width: 520px;
    font-size: 1.05rem;
  }

  .hero__stats {
    margin-top: 50px;
    gap: 16px;
  }

  .stat {
    font-size: 0.85rem;
  }

  .features {
    padding: 80px 50px;
  }

  .features__grid {
    max-width: 1440px;
    gap: 24px;
  }

  .feature-card {
    padding: 32px 26px;
  }

  .feature-card__title {
    font-size: 1.1rem;
  }

  .bottom__col {
    padding: 70px 60px;
  }

  .bottom__title {
    font-size: 1.3rem;
  }
}
