/* ============================================
   NEURALIS — AI Sci-Fi Landing Page
   Design System & Styles
   ============================================ */

/* === CSS Variables === */
:root {
  /* Colors — Science Lab Blue & White */
  --cyan: #4A9EF7;
  --cyan-dim: rgba(74, 158, 247, 0.1);
  --cyan-glow: rgba(74, 158, 247, 0.25);
  --cyan-bright: #7FBFFF;
  --magenta: #2B7DE9;
  --magenta-dim: rgba(43, 125, 233, 0.1);
  --purple: #6CB4F8;
  --purple-dim: rgba(108, 180, 248, 0.08);
  --green: #34D399;
  --warning: #FBBF24;
  --bg-primary: #060B18;
  --bg-secondary: #0C1526;
  --bg-card: rgba(12, 21, 42, 0.55);
  --text-primary: #EDF2FA;
  --text-secondary: rgba(200, 215, 240, 0.65);
  --text-dim: rgba(140, 165, 210, 0.4);
  --border-color: rgba(74, 158, 247, 0.1);
  --border-glow: rgba(74, 158, 247, 0.2);

  /* Typography */
  --font-display: 'Orbitron', sans-serif;
  --font-body: 'Rajdhani', sans-serif;
  --font-mono: 'Share Tech Mono', monospace;

  /* Spacing */
  --section-padding: 120px 0;
  --container-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--cyan) var(--bg-primary);
}

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

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--cyan), #2B7DE9);
  border-radius: 3px;
}

::selection {
  background: var(--cyan);
  color: var(--bg-primary);
}

/* === Three.js Canvas === */
#neuralis-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* === Scanline Overlay === */
.scanline-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(74, 158, 247, 0.008) 3px,
    rgba(74, 158, 247, 0.008) 6px
  );
}

/* === HUD Corner Frames === */
.hud-corner {
  position: fixed;
  width: 60px;
  height: 60px;
  z-index: 100;
  pointer-events: none;
}
.hud-tl { top: 16px; left: 16px; border-top: 2px solid var(--cyan); border-left: 2px solid var(--cyan); }
.hud-tr { top: 16px; right: 16px; border-top: 2px solid var(--cyan); border-right: 2px solid var(--cyan); }
.hud-bl { bottom: 16px; left: 16px; border-bottom: 2px solid var(--cyan); border-left: 2px solid var(--cyan); }
.hud-br { bottom: 16px; right: 16px; border-bottom: 2px solid var(--cyan); border-right: 2px solid var(--cyan); }

.hud-corner::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan), 0 0 20px var(--cyan-glow);
}
.hud-tl::after { top: -3px; left: -3px; }
.hud-tr::after { top: -3px; right: -3px; }
.hud-bl::after { bottom: -3px; left: -3px; }
.hud-br::after { bottom: -3px; right: -3px; }

/* === Navigation === */
.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 72px;
  background: rgba(6, 11, 24, 0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.nav-bar.scrolled {
  height: 60px;
  background: rgba(6, 11, 24, 0.95);
  border-bottom-color: var(--border-glow);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 4px;
  display: flex;
  align-items: center;
  gap: 2px;
}

.logo-bracket {
  color: var(--cyan);
  font-weight: 400;
  text-shadow: 0 0 10px var(--cyan-glow);
}

.logo-text {
  background: linear-gradient(90deg, #ffffff, var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-version {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--text-dim);
  margin-left: 8px;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 3px;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 8px 0;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--cyan);
  text-shadow: 0 0 15px var(--cyan-glow);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--green);
  letter-spacing: 2px;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green), 0 0 16px rgba(52, 211, 153, 0.3);
  animation: pulse-dot 2s ease-in-out infinite;
}

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

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  position: fixed;
  top: 22px;
  right: 20px;
  z-index: 1001;
  padding: 5px;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cyan);
  transition: all 0.3s ease;
  box-shadow: 0 0 6px var(--cyan-glow);
}

/* === Sections Common === */
.section {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--section-padding);
}

.section-container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 40px;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--cyan);
  letter-spacing: 3px;
  margin-bottom: 16px;
  text-shadow: 0 0 10px var(--cyan-glow);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: 6px;
  line-height: 1.2;
}

.section-title .accent {
  background: linear-gradient(90deg, #ffffff, var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-line {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  margin: 24px auto 0;
  box-shadow: 0 0 10px var(--cyan-glow);
}

/* === Hero Section === */
.hero-section {
  flex-direction: column;
  padding-top: 100px;
}

.hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
  animation: fadeInDown 1s ease 0.2s both;
}

.tag-line {
  width: 40px;
  height: 1px;
  background: var(--cyan);
  box-shadow: 0 0 6px var(--cyan);
}

.tag-text {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--cyan);
  letter-spacing: 6px;
  text-shadow: 0 0 10px var(--cyan-glow);
}

.hero-title {
  margin-bottom: 28px;
  animation: fadeInUp 1s ease 0.4s both;
}

.title-line {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  letter-spacing: 8px;
  line-height: 1.1;
  color: var(--text-primary);
}

.title-line.accent {
  background: linear-gradient(90deg, #ffffff, var(--cyan), #2B7DE9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 0 30px var(--cyan-glow));
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.8;
  letter-spacing: 0.5px;
  animation: fadeInUp 1s ease 0.6s both;
}

.hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
  animation: fadeInUp 1s ease 0.8s both;
}

/* Buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, rgba(74, 158, 247, 0.08), rgba(43, 125, 233, 0.08));
  color: #ffffff;
  border: 1px solid rgba(74, 158, 247, 0.5);
  box-shadow: 0 0 12px var(--cyan-dim), inset 0 0 12px rgba(74, 158, 247, 0.05);
}

.btn-primary:hover {
  background: linear-gradient(135deg, rgba(74, 158, 247, 0.18), rgba(43, 125, 233, 0.18));
  box-shadow: 0 0 25px var(--cyan-glow), inset 0 0 20px rgba(74, 158, 247, 0.06), 0 0 50px rgba(74, 158, 247, 0.1);
  transform: translateY(-2px);
}

.btn-glow {
  position: absolute;
  top: 50%;
  left: -100%;
  width: 200%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  transform: translateY(-50%) skewX(-20deg);
  transition: left 0.6s ease;
}

.btn-primary:hover .btn-glow {
  left: 100%;
}

.btn-secondary {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  position: relative;
}

.btn-secondary:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 20px var(--cyan-dim);
  transform: translateY(-2px);
}

.btn-corner {
  position: absolute;
  width: 8px;
  height: 8px;
  border-color: var(--cyan);
  transition: all 0.3s ease;
}
.btn-corner-tl { top: -1px; left: -1px; border-top: 1px solid; border-left: 1px solid; }
.btn-corner-br { bottom: -1px; right: -1px; border-bottom: 1px solid; border-right: 1px solid; }

.btn-icon {
  transition: transform 0.3s ease;
}
.btn:hover .btn-icon {
  transform: translateX(4px);
}

/* Hero Metrics */
.hero-metrics {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  animation: fadeInUp 1s ease 1s both;
}

.metric {
  text-align: center;
}

.metric-value {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--cyan);
  text-shadow: 0 0 20px var(--cyan-glow);
}

.metric-unit {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--text-secondary);
  margin-left: 2px;
}

.metric-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-dim);
  letter-spacing: 3px;
  margin-top: 4px;
}

.metric-divider {
  width: 1px;
  height: 40px;
  background: var(--border-color);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fadeInUp 1s ease 1.2s both;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--cyan), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

.scroll-text {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-dim);
  letter-spacing: 4px;
}

/* === About Section === */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.8;
}

.highlight {
  color: var(--cyan);
  font-weight: 600;
}

.about-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.tech-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 2px;
  padding: 6px 14px;
  border: 1px solid var(--border-color);
  color: var(--cyan);
  background: var(--cyan-dim);
  transition: all 0.3s ease;
}

.tech-tag:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 15px var(--cyan-dim);
  transform: translateY(-2px);
}

/* Code Block */
.code-block {
  background: rgba(6, 11, 24, 0.92);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 30px var(--cyan-dim);
}

.code-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(74, 158, 247, 0.04);
  border-bottom: 1px solid var(--border-color);
}

.code-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.code-dot.red { background: #ff5f57; }
.code-dot.yellow { background: #febc2e; }
.code-dot.green { background: #28c840; }

.code-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  margin-left: 8px;
  letter-spacing: 1px;
}

.code-content {
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.8;
  color: var(--text-secondary);
  overflow-x: auto;
}

.code-keyword { color: #7FBFFF; }
.code-class { color: #ffffff; }
.code-func { color: #93C5FD; }
.code-string { color: var(--green); }
.code-num { color: #7DD3FC; }
.code-bool { color: #BAE6FD; }
.code-comment { color: var(--text-dim); font-style: italic; }

/* === Features Section === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.feature-card {
  position: relative;
  padding: 40px;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(30px);
}

.feature-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-card:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 30px var(--cyan-dim), inset 0 0 30px rgba(0, 240, 255, 0.03);
  transform: translateY(-4px);
}

.card-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-card:hover .card-glow {
  opacity: 1;
  box-shadow: 0 0 20px var(--cyan);
}

.card-border {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.card-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: rgba(74, 158, 247, 0.06);
  position: absolute;
  top: 16px;
  right: 24px;
  line-height: 1;
}

.card-icon {
  width: 48px;
  height: 48px;
  color: var(--cyan);
  margin-bottom: 24px;
  filter: drop-shadow(0 0 8px var(--cyan-glow));
}

.card-title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.card-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 2px;
  color: var(--text-dim);
}

.status-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.status-indicator.active {
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse-dot 2s ease-in-out infinite;
}

.status-indicator.warning {
  background: var(--warning);
  box-shadow: 0 0 8px var(--warning);
  animation: pulse-dot 1.5s ease-in-out infinite;
}

/* === Stats Section === */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stat-card {
  text-align: center;
  padding: 40px 20px;
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  transition: all 0.4s ease;
}

.stat-card:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 30px var(--cyan-dim);
  transform: translateY(-4px);
}

.stat-ring {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
}

.stat-ring svg {
  transform: rotate(-90deg);
}

.stat-ring-progress {
  transition: stroke-dashoffset 2s ease-out;
}

.stat-ring-value {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cyan);
  text-shadow: 0 0 10px var(--cyan-glow);
}

.stat-suffix {
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-left: 2px;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 2px;
  color: var(--text-dim);
}

/* === Contact Section === */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  padding: 16px 20px;
  border-left: 2px solid var(--cyan);
  background: var(--cyan-dim);
}

.contact-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-dim);
  letter-spacing: 3px;
  margin-bottom: 4px;
}

.contact-value {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--cyan);
  letter-spacing: 1px;
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  position: relative;
}

.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 3px;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(74, 158, 247, 0.03);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  outline: none;
  transition: all 0.3s ease;
}

.form-input::placeholder {
  color: var(--text-dim);
}

.form-input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 12px var(--cyan-dim), inset 0 0 12px rgba(74, 158, 247, 0.03);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.input-line {
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.form-input:focus + .input-line {
  transform: scaleX(1);
}

.btn-submit {
  align-self: flex-start;
}

/* === Footer === */
.footer {
  position: relative;
  z-index: 2;
  padding: 60px 40px 30px;
  border-top: 1px solid var(--border-color);
  background: rgba(6, 11, 24, 0.92);
}

.footer-content {
  max-width: var(--container-width);
  margin: 0 auto;
  text-align: center;
}

.footer .footer-logo {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 4px;
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.footer-link {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 2px;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--cyan);
  text-shadow: 0 0 10px var(--cyan-glow);
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-dim);
  letter-spacing: 2px;
}

.footer-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(74, 158, 247, 0.4), rgba(43, 125, 233, 0.4), rgba(74, 158, 247, 0.4), transparent);
  margin-top: 30px;
  opacity: 0.3;
}

/* === Animations === */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes glitch {
  0%, 100% { transform: translate(0); }
  20% { transform: translate(-2px, 2px); }
  40% { transform: translate(-2px, -2px); }
  60% { transform: translate(2px, 2px); }
  80% { transform: translate(2px, -2px); }
}

/* === Responsive === */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .contact-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-status {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(6, 11, 24, 0.98);
    padding: 30px 40px;
    gap: 20px;
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    animation: fadeInDown 0.3s ease;
  }
  .title-line {
    font-size: clamp(2rem, 10vw, 3.5rem);
    letter-spacing: 4px;
  }
  .hero-metrics {
    gap: 20px;
  }
  .metric-value {
    font-size: 1.5rem;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .feature-card {
    padding: 28px;
  }
  .section {
    padding: 80px 0;
  }
  .section-container {
    padding: 0 20px;
  }
  .hud-corner {
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 480px) {
  .hero-metrics {
    flex-direction: column;
    gap: 16px;
  }
  .metric-divider {
    width: 40px;
    height: 1px;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
}
