/* ═══════════════════════════════════════════════════════════════════
   NEURAL INTELLIGENCE — Production Stylesheet v2
   ═══════════════════════════════════════════════════════════════════ */

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

:root {
  --bg:       #000000;
  --bg2:      #0a0a0f;
  --bg3:      #0d1117;
  --bg4:      #111827;
  --border:   rgba(255,255,255,.07);
  --border2:  rgba(255,255,255,.12);
  --cyan:     #00d4ff;
  --purple:   #7c3aed;
  --pink:     #ec4899;
  --text:     #e2e8f0;
  --text2:    #94a3b8;
  --text3:    #6b7280;
  --grad:     linear-gradient(135deg, #00d4ff, #7c3aed);
  --font:     'Inter', system-ui, -apple-system, sans-serif;
  --mono:     'JetBrains Mono', 'Fira Code', monospace;
  --nav-h:    72px;
  --radius:   12px;
  --radius-lg:20px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg3); }
::-webkit-scrollbar-thumb { background: var(--purple); border-radius: 3px; }

/* ── Selection ── */
::selection { background: rgba(124,58,237,.4); color: white; }

/* ── Focus visible — accesibilidad teclado ── */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}
:focus:not(:focus-visible) { outline: none; }

/* ── Utilities ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section { padding: 100px 0; }

/* ── Fade-in animation (en CSS, no en JS) ── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(0,0,0,.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background .3s, border-color .3s;
}
.navbar.scrolled {
  background: rgba(0,0,0,.97);
  border-color: var(--border2);
}
.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon { width: 40px; height: 40px; }
.logo-icon-sm { width: 32px; height: 32px; }
.logo-text {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: .15em;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Nav links */
.nav-links {
  display: flex;
  list-style: none;
  gap: 2px;
  flex: 1;
}
.nav-btn, .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  color: var(--text2);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  border-radius: 8px;
  transition: color .2s, background .2s;
  white-space: nowrap;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
}
.nav-btn:hover, .nav-link:hover,
.nav-btn:focus-visible, .nav-link:focus-visible {
  color: var(--text);
  background: rgba(255,255,255,.06);
}
.nav-btn[aria-expanded="true"] { color: var(--cyan); }
.chevron {
  width: 10px; height: 6px;
  opacity: .6;
  transition: transform .2s;
  flex-shrink: 0;
}
.nav-btn[aria-expanded="true"] .chevron { transform: rotate(180deg); }

/* Dropdown */
.nav-dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: 8px;
  min-width: 260px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .2s, transform .2s;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
}
.dropdown-menu.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text);
  transition: background .2s;
}
.dropdown-item:hover, .dropdown-item:focus-visible {
  background: rgba(255,255,255,.06);
}
.di-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(124,58,237,.12);
  color: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.di-icon svg { width: 16px; height: 16px; }
.dropdown-item strong { display: block; font-size: .9rem; font-weight: 600; }
.dropdown-item small { color: var(--text2); font-size: .8rem; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.mobile-menu-btn span {
  display: block;
  width: 20px; height: 2px;
  background: var(--text2);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.mobile-menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mobile-menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav panel */
.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 16px 24px 24px;
  border-top: 1px solid var(--border);
  background: rgba(0,0,0,.98);
  gap: 4px;
}
.mobile-nav.open { display: flex; }
.mobile-nav-link {
  display: block;
  padding: 12px 16px;
  color: var(--text2);
  text-decoration: none;
  font-weight: 500;
  border-radius: 8px;
  transition: color .2s, background .2s;
}
.mobile-nav-link:hover { color: var(--text); background: rgba(255,255,255,.06); }
.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* ═══════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--grad);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: .9rem;
  border: none;
  cursor: pointer;
  transition: opacity .2s, transform .1s, box-shadow .2s;
  box-shadow: 0 0 20px rgba(0,212,255,.15);
  white-space: nowrap;
  font-family: var(--font);
}
.btn-primary:hover {
  opacity: .9;
  transform: translateY(-1px);
  box-shadow: 0 4px 30px rgba(0,212,255,.3);
}
.btn-primary svg { width: 16px; height: 16px; flex-shrink: 0; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: transparent;
  color: var(--text);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: .9rem;
  border: 1px solid var(--border2);
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .1s;
  white-space: nowrap;
  font-family: var(--font);
}
.btn-outline:hover {
  background: rgba(255,255,255,.06);
  border-color: var(--cyan);
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  color: var(--text2);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  font-size: .9rem;
  transition: color .2s, background .2s;
  white-space: nowrap;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
}
.btn-ghost:hover { color: var(--text); background: rgba(255,255,255,.06); }

.btn-lg { padding: 14px 30px; font-size: 1rem; }
.btn-lg svg { width: 18px; height: 18px; }

/* ═══════════════════════════════════════════
   SECTION HEADERS
   ═══════════════════════════════════════════ */
.section-header { text-align: center; margin-bottom: 64px; }
.section-badge {
  display: inline-block;
  padding: 5px 16px;
  border: 1px solid rgba(0,212,255,.3);
  border-radius: 100px;
  color: var(--cyan);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 16px;
  background: rgba(0,212,255,.06);
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: white;
  letter-spacing: -.01em;
}
.section-title.left { text-align: left; }
.section-subtitle {
  color: var(--text2);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(124,58,237,.25), transparent),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(0,212,255,.08), transparent),
    #000;
  padding-top: var(--nav-h);
}

#neuralCanvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .55;
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 860px;
  padding: 40px 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  border: 1px solid rgba(0,212,255,.25);
  border-radius: 100px;
  color: var(--cyan);
  font-size: .82rem;
  font-weight: 500;
  background: rgba(0,212,255,.06);
  margin-bottom: 28px;
}
.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  flex-shrink: 0;
  animation: pulse-cyan 2s ease-in-out infinite;
}
@keyframes pulse-cyan {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,212,255,.7); }
  50% { box-shadow: 0 0 0 6px rgba(0,212,255,0); }
}

.hero-title {
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-weight: 900;
  line-height: 1.05;
  color: white;
  margin-bottom: 24px;
  letter-spacing: -.025em;
}

.hero-subtitle {
  font-size: clamp(.95rem, 2vw, 1.15rem);
  color: var(--text2);
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.75;
}
.hero-subtitle strong { color: var(--text); font-weight: 600; }

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.025);
  backdrop-filter: blur(10px);
  padding: 24px 0;
  max-width: 680px;
  margin: 0 auto;
}
.stat-item {
  flex: 1;
  min-width: 130px;
  padding: 0 20px;
  text-align: center;
}
.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  font-family: var(--mono);
  color: var(--cyan);
  line-height: 1;
}
.stat-suffix { font-size: 1.5rem; font-weight: 800; color: var(--cyan); }
.stat-label { display: block; color: var(--text3); font-size: .78rem; margin-top: 5px; letter-spacing: .01em; }
.stat-divider { width: 1px; height: 44px; background: var(--border); flex-shrink: 0; }

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text3);
  font-size: .75rem;
}
.scroll-arrow {
  width: 18px; height: 18px;
  border-right: 2px solid var(--text3);
  border-bottom: 2px solid var(--text3);
  transform: rotate(45deg);
  animation: bounce-arrow .8s ease-in-out infinite alternate;
}
@keyframes bounce-arrow {
  from { transform: rotate(45deg) translateY(0); }
  to { transform: rotate(45deg) translateY(4px); }
}

/* ═══════════════════════════════════════════
   THREAT TICKER
   ═══════════════════════════════════════════ */
.threat-ticker {
  background: var(--bg3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 11px 0;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.ticker-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  color: #ef4444;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
  border-right: 1px solid var(--border);
  margin-right: 20px;
  flex-shrink: 0;
}
.pulse-red {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #ef4444;
  animation: pulse-red 1.5s ease-in-out infinite;
}
@keyframes pulse-red {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239,68,68,.7); }
  50% { box-shadow: 0 0 0 5px rgba(239,68,68,0); }
}
.ticker-track { flex: 1; overflow: hidden; }
.ticker-inner {
  display: flex;
  gap: 32px;
  white-space: nowrap;
  animation: ticker-scroll 45s linear infinite;
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .ticker-inner { animation: none; }
}
@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ticker-item { font-size: .83rem; font-family: var(--mono); color: var(--text2); }
.threat-critical { color: #ef4444 !important; }
.threat-high { color: #f97316 !important; }
.threat-medium { color: #eab308 !important; }
.ticker-sep { color: var(--text3); }

/* ═══════════════════════════════════════════
   GHOSTNET SECTION
   ═══════════════════════════════════════════ */
.ghostnet-section { background: var(--bg2); }

.ghostnet-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* Terminal */
.terminal-window {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border2);
  background: #0d1117;
  box-shadow: 0 0 60px rgba(0,212,255,.06), 0 20px 60px rgba(0,0,0,.5);
}
.terminal-titlebar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #161b22;
  border-bottom: 1px solid var(--border);
}
.term-dots { display: flex; gap: 6px; }
.term-dot { width: 12px; height: 12px; border-radius: 50%; }
.term-dot.red { background: #ff5f57; }
.term-dot.yellow { background: #ffbd2e; }
.term-dot.green { background: #28ca42; }
.term-title { flex: 1; text-align: center; font-size: .78rem; color: var(--text3); font-family: var(--mono); }
.term-badges { display: flex; gap: 8px; }
.term-badge {
  font-size: .65rem;
  font-family: var(--mono);
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(0,212,255,.08);
  color: var(--cyan);
  border: 1px solid rgba(0,212,255,.2);
}
.term-badge.live {
  background: rgba(239,68,68,.08);
  color: #ef4444;
  border-color: rgba(239,68,68,.2);
}

.terminal-body {
  padding: 20px;
  font-family: var(--mono);
  font-size: .82rem;
  line-height: 1.75;
  min-height: 380px;
  background: #0d1117;
}
.term-line { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 0; }
.term-prompt { color: #00d4ff; }
.term-sep { color: #475569; }
.term-path { color: #7c3aed; }
.term-cmd { color: #e2e8f0; padding-left: 4px; }
.term-info { color: #475569; }
.term-success { color: #22c55e; }
.term-warn { color: #f97316; }
.term-data { color: #94a3b8; }
.term-highlight { color: #00d4ff; font-weight: 700; }
.term-danger { color: #ef4444; font-weight: 700; }
.term-prompt-only { display: flex; align-items: center; margin-top: 4px; }
.cursor-blink {
  color: var(--cyan);
  animation: cursor-blink .8s step-end infinite;
  padding-left: 2px;
}
@keyframes cursor-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* GhostNet Features */
.ghostnet-features { display: flex; flex-direction: column; gap: 28px; }
.gf-header h3 { font-size: 1.45rem; font-weight: 700; color: white; margin-bottom: 8px; }
.gf-header p { color: var(--text2); font-size: .93rem; line-height: 1.6; }

.gf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gf-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: rgba(255,255,255,.025);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .2s, background .2s;
}
.gf-card:hover {
  border-color: rgba(0,212,255,.18);
  background: rgba(0,212,255,.03);
}
.gf-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.3);
  border: 1px solid rgba(255,255,255,.06);
  color: var(--c, #00d4ff);
  flex-shrink: 0;
}
.gf-icon svg { width: 18px; height: 18px; }
.gf-card strong { display: block; font-size: .84rem; font-weight: 600; color: white; }
.gf-card span { font-size: .75rem; color: var(--text3); }
.gf-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ═══════════════════════════════════════════
   PLATFORM GRID
   ═══════════════════════════════════════════ */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.platform-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: transform .2s, border-color .3s, box-shadow .3s;
  position: relative;
  overflow: hidden;
}
.platform-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .3s;
  border-radius: inherit;
  pointer-events: none;
}
.card-glow-blue::before  { background: radial-gradient(circle at top left, rgba(0,212,255,.07), transparent 60%); }
.card-glow-purple::before { background: radial-gradient(circle at top left, rgba(124,58,237,.07), transparent 60%); }
.card-glow-pink::before  { background: radial-gradient(circle at top left, rgba(236,72,153,.07), transparent 60%); }
.platform-card:hover { transform: translateY(-4px); }
.card-glow-blue:hover   { border-color: rgba(0,212,255,.25);   box-shadow: 0 8px 40px rgba(0,212,255,.08); }
.card-glow-purple:hover { border-color: rgba(124,58,237,.25);  box-shadow: 0 8px 40px rgba(124,58,237,.08); }
.card-glow-pink:hover   { border-color: rgba(236,72,153,.25);  box-shadow: 0 8px 40px rgba(236,72,153,.08); }
.platform-card:hover::before { opacity: 1; }

.pc-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.pc-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.pc-icon svg { width: 22px; height: 22px; }
.pc-icon.blue   { background: rgba(0,212,255,.1);   color: var(--cyan); }
.pc-icon.purple { background: rgba(124,58,237,.1);  color: var(--purple); }
.pc-icon.pink   { background: rgba(236,72,153,.1);  color: var(--pink); }
.pc-badge {
  font-size: .68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(255,255,255,.05);
  color: var(--text2);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.platform-card h3 { font-size: 1.1rem; font-weight: 700; color: white; margin-bottom: 10px; }
.platform-card > p { color: var(--text2); font-size: .875rem; margin-bottom: 18px; line-height: 1.65; }
.pc-features { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.pc-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text2);
  font-size: .83rem;
}
.pc-features li::before { content: '▸'; color: var(--cyan); font-size: .75rem; flex-shrink: 0; }

/* ═══════════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════════ */
.how-section { background: var(--bg2); }
.steps-flow {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.step-item {
  flex: 1;
  padding: 28px 20px;
  text-align: center;
  position: relative;
}
.step-num {
  position: absolute;
  top: 16px; left: 20px;
  font-size: .68rem;
  font-weight: 800;
  font-family: var(--mono);
  color: var(--text3);
  letter-spacing: .1em;
}
.step-icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  background: rgba(124,58,237,.08);
  border: 1px solid rgba(124,58,237,.18);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  color: var(--purple);
}
.step-icon svg { width: 26px; height: 26px; }
.step-item h4 { font-size: .98rem; font-weight: 700; color: white; margin-bottom: 10px; }
.step-item p { color: var(--text2); font-size: .86rem; line-height: 1.65; }
.step-arrow {
  font-size: 1.3rem;
  color: var(--text3);
  padding-top: 56px;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   SOLUTIONS
   ═══════════════════════════════════════════ */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.sol-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: transform .2s, border-color .2s;
}
.sol-card:hover { transform: translateY(-3px); border-color: var(--border2); }
.sol-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(124,58,237,.1);
  color: var(--purple);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.sol-icon svg { width: 22px; height: 22px; }
.sol-card h4 { font-size: 1rem; font-weight: 700; color: white; margin-bottom: 10px; }
.sol-card p { color: var(--text2); font-size: .86rem; line-height: 1.65; margin-bottom: 16px; }
.sol-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.sol-tags span {
  font-size: .71rem;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(124,58,237,.08);
  color: rgba(167,139,250,.9);
  border: 1px solid rgba(124,58,237,.18);
}

/* ═══════════════════════════════════════════
   INTELLIGENCE SECTION
   ═══════════════════════════════════════════ */
.intelligence-section { background: var(--bg2); }
.intel-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.intel-content .section-title { margin-bottom: 14px; }
.intel-content > p { color: var(--text2); margin-bottom: 28px; line-height: 1.75; font-size: .95rem; }
.threat-categories { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.threat-cat {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255,255,255,.02);
  transition: border-color .2s, background .2s;
}
.threat-cat:hover { border-color: var(--border2); background: rgba(255,255,255,.03); }
.cat-indicator {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.threat-cat.critical .cat-indicator { background: #ef4444; box-shadow: 0 0 8px rgba(239,68,68,.4); }
.threat-cat.high .cat-indicator     { background: #f97316; box-shadow: 0 0 8px rgba(249,115,22,.4); }
.threat-cat.medium .cat-indicator   { background: #eab308; box-shadow: 0 0 8px rgba(234,179,8,.4); }
.threat-cat strong { display: block; font-size: .88rem; font-weight: 600; color: white; }
.threat-cat small  { color: var(--text3); font-size: .78rem; }

.intel-globe { display: flex; flex-direction: column; align-items: center; gap: 24px; }
#globeCanvas {
  width: 300px; height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(0,212,255,.1);
  box-shadow: 0 0 60px rgba(0,212,255,.08), 0 0 120px rgba(124,58,237,.05);
  display: block;
}
.globe-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 100%;
}
.gs-item {
  text-align: center;
  padding: 14px 12px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.gs-num  { display: block; font-size: 1.3rem; font-weight: 800; font-family: var(--mono); color: var(--cyan); }
.gs-label { font-size: .72rem; color: var(--text3); margin-top: 2px; display: block; }

/* ═══════════════════════════════════════════
   PRICING
   ═══════════════════════════════════════════ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 28px;
}
.pricing-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform .2s;
}
.pricing-card:hover { transform: translateY(-3px); }
.pricing-card.featured {
  border-color: rgba(0,212,255,.25);
  background: linear-gradient(160deg, rgba(0,212,255,.03), rgba(124,58,237,.03));
  box-shadow: 0 0 40px rgba(0,212,255,.06);
}
.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad);
  color: white;
  font-size: .72rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
}
.plan-header { margin-bottom: 24px; }
.plan-name {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text2);
  margin-bottom: 10px;
}
.plan-price {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  margin-bottom: 10px;
  line-height: 1;
}
.price-currency { font-size: 1.2rem; font-weight: 600; color: var(--text2); padding-bottom: 4px; }
.price-amount   { font-size: 2.6rem; font-weight: 900; color: white; font-family: var(--mono); }
.price-period   { color: var(--text3); font-size: .88rem; padding-bottom: 5px; }
.plan-header > p { color: var(--text2); font-size: .84rem; line-height: 1.5; }

.plan-features {
  list-style: none;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.plan-features li { display: flex; align-items: center; gap: 10px; font-size: .88rem; }
.check { color: #22c55e; font-size: .95rem; flex-shrink: 0; }
.cross { color: var(--text3); font-size: .95rem; flex-shrink: 0; }
.plan-features .muted { color: var(--text3); }
.plan-btn { width: 100%; text-align: center; justify-content: center; }
.pricing-note {
  text-align: center;
  color: var(--text2);
  font-size: .88rem;
}
.pricing-note-link { color: var(--cyan); text-decoration: none; font-weight: 600; }
.pricing-note-link:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════ */
.about-section { background: var(--bg2); }
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-content > p { color: var(--text2); line-height: 1.8; margin-bottom: 16px; font-size: .95rem; }
.about-values { display: flex; flex-direction: column; gap: 14px; margin: 24px 0 32px; }
.value-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(255,255,255,.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.value-icon { font-size: 1.3rem; flex-shrink: 0; line-height: 1.6; }
.value-item strong { display: block; font-weight: 600; color: white; margin-bottom: 2px; font-size: .9rem; }
.value-item span { color: var(--text2); font-size: .84rem; }

.about-card-stack { display: flex; flex-direction: column; gap: 14px; }
.about-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: transform .2s, border-color .2s;
}
.about-card:hover { transform: translateX(4px); border-color: var(--border2); }
.ac-1 { background: linear-gradient(135deg, rgba(0,212,255,.04), transparent); }
.ac-2 { background: linear-gradient(135deg, rgba(124,58,237,.04), transparent); }
.ac-3 { background: linear-gradient(135deg, rgba(236,72,153,.04), transparent); }
.ac-icon { font-size: 1.5rem; flex-shrink: 0; }
.about-card strong { display: block; font-weight: 700; color: white; margin-bottom: 4px; font-size: .9rem; }
.about-card span   { color: var(--text2); font-size: .84rem; }

/* ═══════════════════════════════════════════
   DEMO CTA
   ═══════════════════════════════════════════ */
.demo-card {
  position: relative;
  border-radius: 24px;
  border: 1px solid rgba(124,58,237,.18);
  padding: 60px 64px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(124,58,237,.06), rgba(0,212,255,.03));
}
.demo-glow {
  position: absolute;
  top: -120px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(124,58,237,.18), transparent 70%);
  pointer-events: none;
}
.demo-content { position: relative; }
.demo-content h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  color: white;
  margin-bottom: 12px;
  text-align: center;
  letter-spacing: -.01em;
}
.demo-content > p {
  color: var(--text2);
  text-align: center;
  max-width: 540px;
  margin: 0 auto 36px;
  line-height: 1.75;
  font-size: .95rem;
}

/* Form */
.demo-form { max-width: 660px; margin: 0 auto; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.form-row-full { grid-template-columns: 1fr; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text2);
  letter-spacing: .01em;
}
.form-label span { color: var(--cyan); }
.form-input {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  color: var(--text);
  font-size: .9rem;
  font-family: var(--font);
  outline: none;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.form-input:focus {
  border-color: var(--cyan);
  background: rgba(0,212,255,.03);
  box-shadow: 0 0 0 3px rgba(0,212,255,.1);
}
.form-input:invalid:not(:placeholder-shown) {
  border-color: #ef4444;
}
.form-input::placeholder { color: var(--text3); }
.form-select option { background: var(--bg3); color: var(--text); }
.form-textarea { resize: vertical; min-height: 80px; }

.form-footer {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.form-legal {
  flex: 1;
  font-size: .78rem;
  color: var(--text3);
  line-height: 1.5;
  min-width: 200px;
}
.form-legal a { color: var(--cyan); text-decoration: none; }
.form-legal a:hover { text-decoration: underline; }

.form-submit { flex-shrink: 0; }

.form-msg {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: .88rem;
  text-align: center;
}
.form-msg.success {
  background: rgba(34,197,94,.1);
  border: 1px solid rgba(34,197,94,.25);
  color: #4ade80;
}
.form-msg.error {
  background: rgba(239,68,68,.1);
  border: 1px solid rgba(239,68,68,.25);
  color: #f87171;
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 60px 0 36px;
}
.footer-main {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  margin-bottom: 48px;
}
.footer-brand .nav-logo { margin-bottom: 14px; }
.footer-tagline { color: var(--text2); font-size: .88rem; margin-bottom: 22px; }
.footer-social { display: flex; gap: 10px; }
.social-link {
  width: 36px; height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text2);
  text-decoration: none;
  transition: color .2s, border-color .2s, background .2s;
}
.social-link svg { width: 16px; height: 16px; }
.social-link:hover {
  color: var(--cyan);
  border-color: rgba(0,212,255,.3);
  background: rgba(0,212,255,.06);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.footer-col h3 {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: white;
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  color: var(--text2);
  text-decoration: none;
  font-size: .84rem;
  margin-bottom: 9px;
  transition: color .2s;
}
.footer-col a:hover { color: var(--cyan); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}
.footer-legal p { color: var(--text3); font-size: .78rem; line-height: 1.6; }
.footer-legal p + p { margin-top: 6px; }
.footer-disclaimer { font-style: italic; opacity: .8; }
.footer-badges { display: flex; gap: 8px; flex-shrink: 0; flex-wrap: wrap; }
.footer-badge {
  font-size: .7rem;
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  color: var(--text2);
  white-space: nowrap;
}

/* ═══════════════════════════════════════════
   AUTHORITY BAND
   ═══════════════════════════════════════════ */
.authority-section {
  padding: 32px 0 !important;
  background: var(--bg3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.authority-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.authority-label {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text3);
  white-space: nowrap;
  flex-shrink: 0;
  padding-right: 32px;
  border-right: 1px solid var(--border);
}
.authority-integrations {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  flex: 1;
}
.authority-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text2);
  font-size: .81rem;
  font-weight: 500;
  background: rgba(255,255,255,.02);
  transition: border-color .2s, color .2s;
  white-space: nowrap;
}
.authority-item:hover { border-color: rgba(0,212,255,.25); color: var(--text); }
.authority-item svg { width: 15px; height: 15px; flex-shrink: 0; opacity: .65; }

/* ═══════════════════════════════════════════
   VALUE PROPOSITION CARDS
   ═══════════════════════════════════════════ */
.value-section { background: var(--bg); }
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform .2s, border-color .2s;
}
.value-card:hover { transform: translateY(-4px); border-color: var(--border2); }
.value-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}
.value-num {
  font-size: .72rem;
  font-weight: 800;
  font-family: var(--mono);
  color: var(--cyan);
  opacity: .4;
  letter-spacing: .12em;
  padding-top: 4px;
}
.value-card .value-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(124,58,237,.1);
  color: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: initial;
  line-height: initial;
}
.value-card .value-icon svg { width: 22px; height: 22px; }
.value-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
  line-height: 1.4;
}
.value-card p { color: var(--text2); font-size: .875rem; line-height: 1.7; }

/* ═══════════════════════════════════════════
   WHAT WE DO
   ═══════════════════════════════════════════ */
.whatwedo-section { background: var(--bg2); }
.whatwedo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.whatwedo-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.whatwedo-card:hover { transform: translateY(-4px); border-color: var(--border2); }
.whatwedo-card.wwd-primary {
  border-color: rgba(0,212,255,.2);
  background: linear-gradient(160deg, rgba(0,212,255,.04), var(--bg3));
}
.whatwedo-card.wwd-primary:hover {
  border-color: rgba(0,212,255,.35);
  box-shadow: 0 8px 40px rgba(0,212,255,.07);
}
.wwd-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: rgba(0,212,255,.07);
  border: 1px solid rgba(0,212,255,.14);
  color: var(--cyan);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.wwd-icon svg { width: 28px; height: 28px; }
.whatwedo-card h3 { font-size: 1.15rem; font-weight: 700; color: white; margin-bottom: 12px; }
.whatwedo-card p  { color: var(--text2); font-size: .875rem; line-height: 1.7; margin-bottom: 20px; }
.wwd-link {
  color: var(--cyan);
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity .2s;
}
.wwd-link:hover { opacity: .7; }

/* ═══════════════════════════════════════════
   TRAINING SECTION
   ═══════════════════════════════════════════ */
.training-section { background: var(--bg2); }
.training-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.training-content > p { color: var(--text2); line-height: 1.8; margin-bottom: 16px; font-size: .95rem; }
.training-highlights {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 28px 0 32px;
}
.th-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: rgba(255,255,255,.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.th-num {
  font-size: 1.45rem;
  font-weight: 800;
  font-family: var(--mono);
  color: var(--cyan);
  flex-shrink: 0;
  min-width: 50px;
  text-align: right;
}
.th-item span:last-child { color: var(--text2); font-size: .88rem; line-height: 1.4; }
.training-modules {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.tm-card {
  background: var(--bg4);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform .2s, border-color .2s;
}
.tm-card:hover { transform: translateY(-3px); border-color: var(--border2); }
.tm-card.tm-card-highlight {
  border-color: rgba(124,58,237,.25);
  background: linear-gradient(160deg, rgba(124,58,237,.05), var(--bg4));
}
.tm-badge {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 2px 10px;
  border-radius: 100px;
  background: rgba(0,212,255,.07);
  color: var(--cyan);
  border: 1px solid rgba(0,212,255,.18);
  margin-bottom: 10px;
}
.tm-card h4 { font-size: .94rem; font-weight: 700; color: white; margin-bottom: 8px; }
.tm-card p  { color: var(--text2); font-size: .82rem; line-height: 1.6; }

/* ═══════════════════════════════════════════
   FAQ SECTION
   ═══════════════════════════════════════════ */
.faq-section { background: var(--bg); }
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 920px;
  margin: 0 auto;
}
.faq-item {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item[open] { border-color: rgba(0,212,255,.2); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  font-size: .91rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  transition: color .2s;
  user-select: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--cyan);
  flex-shrink: 0;
  line-height: 1;
  transition: transform .25s ease;
}
.faq-item[open] .faq-q::after { transform: rotate(45deg); }
.faq-q:hover { color: white; }
.faq-a {
  padding: 0 22px 18px;
  border-top: 1px solid var(--border);
}
.faq-a p { color: var(--text2); font-size: .875rem; line-height: 1.75; padding-top: 14px; }

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 1100px) {
  .platform-grid,
  .solutions-grid,
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .ghostnet-showcase { grid-template-columns: 1fr; }
  .value-grid,
  .whatwedo-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .intel-layout,
  .about-layout,
  .training-layout { grid-template-columns: 1fr; }
  .intel-visual { order: -1; }
  .steps-flow { flex-wrap: wrap; }
  .step-arrow { display: none; }
  .footer-main { grid-template-columns: 1fr; gap: 36px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .nav-links, .nav-actions { display: none; }
  .mobile-menu-btn { display: flex; }
  .nav-container { gap: 16px; }
  .faq-grid { grid-template-columns: 1fr; }
  .authority-label { display: none; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .platform-grid,
  .solutions-grid,
  .pricing-grid,
  .value-grid,
  .whatwedo-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 16px; padding: 20px; }
  .stat-divider { display: none; }
  .gf-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .demo-card { padding: 32px 20px; }
  .demo-glow { display: none; }
  .footer-bottom { flex-direction: column; gap: 20px; }
  .footer-badges { justify-content: flex-start; }
  .footer-links { grid-template-columns: 1fr 1fr; gap: 20px; }
  .form-footer { flex-direction: column; }
  .form-submit { width: 100%; justify-content: center; }
  #globeCanvas { width: 240px; height: 240px; }
  .training-modules { grid-template-columns: 1fr; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
}
