:root {
  --neon-cyan: #67f7ff;
  --neon-violet: #7d5cff;
  --neon-gold: #f6d36d;
  --bg-deep: #030611;
  --bg-panel: rgba(8, 15, 28, 0.82);
  --bg-panel-strong: rgba(10, 20, 36, 0.95);
  --panel-border: rgba(103, 247, 255, 0.26);
  --text-main: #f7faff;
  --text-soft: rgba(247, 250, 255, 0.74);
  --shadow-neon: 0 0 0 1px rgba(103, 247, 255, 0.12), 0 0 32px rgba(103, 247, 255, 0.18);
}

body {
  background:
    radial-gradient(circle at top left, rgba(125, 92, 255, 0.16), transparent 28%),
    radial-gradient(circle at 80% 20%, rgba(103, 247, 255, 0.16), transparent 24%),
    linear-gradient(135deg, #02040b, #040816 60%, #060d1b 100%);
  color: var(--text-main);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.8), transparent 92%);
  pointer-events: none;
  z-index: 0;
}

body > * {
  position: relative;
  z-index: 1;
}

.cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(103, 247, 255, 0.16), transparent 65%);
  filter: blur(2px);
  mix-blend-mode: screen;
  z-index: 0;
  transition: transform 180ms ease-out;
}

.age-bar {
  background: linear-gradient(90deg, rgba(196, 30, 58, 0.95), rgba(122, 29, 35, 0.9));
  border-bottom: 1px solid rgba(255,255,255,0.12);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-header {
  background: rgba(4, 8, 18, 0.88);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(103, 247, 255, 0.16);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.32);
}

.header-inner {
  max-width: 1420px;
}

.logo-icon {
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(103,247,255,0.95), rgba(125,92,255,0.95));
  box-shadow: 0 0 24px rgba(103,247,255,0.24);
  position: relative;
  overflow: hidden;
}

.logo-icon::after {
  content: '✦';
  font-size: 1.05rem;
  color: #02111d;
  font-weight: 900;
}

.logo-text .name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.logo-text .sub {
  color: var(--neon-cyan);
  letter-spacing: 0.28em;
}

.main-nav a {
  position: relative;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  font-size: 0.74rem;
  letter-spacing: 0.24em;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.2rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: 180ms ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

.main-nav a.active,
.main-nav a:hover {
  color: var(--text-main);
}

.btn-nav,
.btn-primary,
.btn-outline,
.btn-gold-outline {
  border: 1px solid rgba(103,247,255,0.24);
  box-shadow: var(--shadow-neon);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.btn-nav:hover,
.btn-primary:hover,
.btn-outline:hover,
.btn-gold-outline:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(103,247,255,0.24), 0 0 40px rgba(103,247,255,0.2);
}

.btn-primary {
  background: linear-gradient(135deg, rgba(103,247,255,0.95), rgba(125,92,255,0.95));
  color: #02111d;
  font-weight: 700;
}

.btn-outline,
.btn-gold-outline {
  background: rgba(255,255,255,0.02);
  color: var(--text-main);
}

.hero-shell {
  position: relative;
  margin: 2rem auto 1.25rem;
  max-width: 1420px;
  padding: clamp(1.4rem, 3vw, 2rem);
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(4,10,19,0.92), rgba(9,18,32,0.9));
  border: 1px solid rgba(103,247,255,0.22);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.04), 0 42px 120px rgba(2, 6, 16, 0.6);
  overflow: hidden;
}

.hero-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 10%, rgba(103,247,255,0.14), transparent 26%), radial-gradient(circle at 85% 12%, rgba(125,92,255,0.16), transparent 24%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}

.hud-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.2rem;
}

.hud-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.8rem;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-soft);
  border: 1px solid rgba(103,247,255,0.16);
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
}

.hud-pill::before {
  content: '◉';
  color: var(--neon-cyan);
  font-size: 0.6rem;
}

.hero-title {
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  line-height: 0.95;
  margin-bottom: 1rem;
  max-width: 760px;
}

.hero-title span {
  display: inline-block;
  color: var(--neon-cyan);
  text-shadow: 0 0 20px rgba(103,247,255,0.25);
}

.hero-sub {
  max-width: 640px;
  font-size: 1.02rem;
  margin-bottom: 1.35rem;
  color: var(--text-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.4rem;
}

.metric-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.metric-card,
.data-card,
.sector-card,
.method-card,
.site-footer,
.section-panel {
  background: var(--bg-panel);
  backdrop-filter: blur(14px);
  border: 1px solid var(--panel-border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.metric-card {
  border-radius: 18px;
  padding: 1rem;
}

.metric-card strong {
  display: block;
  font-size: 1.35rem;
  color: var(--neon-cyan);
  font-family: 'Space Grotesk', sans-serif;
}

.metric-card span {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.screen-panel {
  width: 100%;
  max-width: 520px;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(8,16,29,0.96), rgba(5,10,19,0.96));
  border: 1px solid rgba(103,247,255,0.18);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04), 0 0 60px rgba(103,247,255,0.1);
}

.screen-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 1rem;
  background: rgba(103,247,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  text-transform: uppercase;
  font-size: 0.76rem;
  letter-spacing: 0.24em;
}

.screen-body {
  padding: 1rem;
  display: grid;
  gap: 1rem;
}

.radar {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 220px;
  border-radius: 20px;
  background: radial-gradient(circle at center, rgba(103,247,255,0.08), rgba(10,18,30,0.95));
  overflow: hidden;
}

.radar::before,
.radar::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(103,247,255,0.18);
  animation: spin 8s linear infinite;
}

.radar::after {
  inset: 26px;
  border-color: rgba(125,92,255,0.18);
  animation-duration: 12s;
}

.radar-core {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(103,247,255,0.2), rgba(9,18,30,0.9));
  box-shadow: 0 0 80px rgba(103,247,255,0.2), inset 0 0 16px rgba(255,255,255,0.1);
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.console-stack {
  display: grid;
  gap: 0.75rem;
}

.data-card {
  border-radius: 16px;
  padding: 0.95rem 1rem;
}

.data-card small {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.68rem;
  color: var(--text-soft);
  margin-bottom: 0.35rem;
}

.data-card strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.data-card p {
  color: var(--text-soft);
  font-size: 0.94rem;
}

.section-panel {
  border-radius: 24px;
  padding: clamp(1.2rem, 3vw, 1.6rem);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.3rem;
}

.section-heading h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  margin-top: 0.25rem;
}

.section-heading p {
  color: var(--text-soft);
  max-width: 560px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.72rem;
  color: var(--neon-cyan);
}

.sector-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.sector-card {
  position: relative;
  border-radius: 22px;
  padding: 1.25rem;
  transform: translateY(0);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.sector-card:hover,
.sector-card.active {
  transform: translateY(-4px);
  border-color: rgba(103,247,255,0.42);
  box-shadow: 0 0 30px rgba(103,247,255,0.14);
}

.sector-card::before {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: 21px;
  border: 1px solid rgba(255,255,255,0.03);
  pointer-events: none;
}

.sector-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.9rem;
}

.sector-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--text-soft);
}

.sector-badge {
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(103,247,255,0.1);
  color: var(--neon-cyan);
  font-size: 0.73rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sector-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.45rem;
}

.sector-card p {
  color: var(--text-soft);
  margin-bottom: 1rem;
}

.sector-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.stat-pill {
  padding: 0.7rem;
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
}

.stat-pill strong {
  display: block;
  font-size: 0.95rem;
  color: var(--neon-gold);
}

.stat-pill span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-soft);
}

.sector-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--neon-cyan);
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.method-card {
  border-radius: 22px;
  padding: 1.15rem;
}

.method-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.45rem;
}

.method-card p {
  color: var(--text-soft);
  font-size: 0.95rem;
}

.method-icon {
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 0.8rem;
  background: rgba(103,247,255,0.12);
  color: var(--neon-cyan);
  font-size: 1rem;
}

.site-footer {
  margin: 2rem auto 0;
  max-width: 1420px;
  border-radius: 28px 28px 0 0;
  padding: 1.4rem 1.2rem 1.2rem;
}

.footer-top,
.footer-bottom {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 1rem;
}

.footer-col-title,
.footer-links a,
.footer-legal-links a,
.footer-disclaimer,
.footer-tagline,
.footer-copyright p {
  color: var(--text-soft);
}

.footer-links a,
.footer-legal-links a {
  display: block;
  margin-bottom: 0.45rem;
}

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

  .section-heading {
    flex-direction: column;
    align-items: start;
  }

  .sector-grid,
  .method-grid,
  .footer-top,
  .footer-bottom {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .metric-board {
    grid-template-columns: 1fr;
  }

  .main-nav {
    display: none;
  }

  .header-right {
    gap: 0.5rem;
  }

  .hero-shell {
    margin: 1rem 0.75rem 1rem;
    padding: 1rem;
  }
}
