@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0a0e1a;
  --bg-card: #0f1525;
  --green: #00ff66;
  --green-dim: #00cc55;
  --red: #ff2222;
  --orange: #ff8800;
  --yellow: #ffdd33;
  --magenta: #ff44ff;
  --cyan: #00ffff;
  --text: #c0d0e0;
  --text-dim: #607080;
  --font: 'Share Tech Mono', 'Courier New', monospace;
}

html { scroll-behavior: smooth; }

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

/* ── Hero ──────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(0, 255, 100, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(255, 34, 34, 0.03) 0%, transparent 40%),
    var(--bg);
}

/* Radar canvas */
.hero-radar {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.35;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-family: var(--font);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 400;
  letter-spacing: 0.15em;
  color: #fff;
  text-shadow: 0 0 60px rgba(0, 255, 100, 0.3), 0 0 120px rgba(0, 255, 100, 0.1);
  margin-bottom: 0.3rem;
}

.hero-subtitle {
  font-size: clamp(0.85rem, 1.8vw, 1.1rem);
  color: var(--green-dim);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  opacity: 0.8;
}

.hero-tagline {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: var(--text);
  max-width: 480px;
  margin: 0 auto 3rem;
  line-height: 2;
}

.cta-btn {
  display: inline-block;
  font-family: var(--font);
  font-size: 1.05rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--green);
  border: none;
  padding: 1.1rem 3.5rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 0 24px rgba(0, 255, 100, 0.3), inset 0 0 20px rgba(255, 255, 255, 0.1);
}

.cta-btn:hover {
  background: #33ff88;
  color: var(--bg);
  box-shadow: 0 0 50px rgba(0, 255, 100, 0.5);
  transform: translateY(-2px);
}

.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-dim);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.7; }
}

/* ── Divider ───────────────────────────────────────── */

.section-divider {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(0, 255, 100, 0.1), transparent);
}

/* ── Section shared ────────────────────────────────── */

section {
  padding: 5rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  color: var(--green);
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  opacity: 0.6;
}

.section-title {
  font-family: var(--font);
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: #fff;
  text-align: center;
  margin-bottom: 0.8rem;
}

.section-rule {
  width: 40px;
  height: 2px;
  background: var(--green);
  margin: 0 auto 3rem;
  box-shadow: 0 0 8px var(--green);
}

/* ── About ─────────────────────────────────────────── */

.about-text {
  text-align: center;
  font-size: 1rem;
  max-width: 620px;
  margin: 0 auto;
  color: var(--text);
  line-height: 2;
}

.about-text + .about-text {
  margin-top: 1.5rem;
}

/* ── Features ──────────────────────────────────────── */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(0, 255, 100, 0.06);
  border: 1px solid rgba(0, 255, 100, 0.06);
}

.feature-card {
  background: var(--bg);
  padding: 2rem 1.5rem;
  transition: background 0.3s;
}

.feature-card:hover {
  background: var(--bg-card);
}

.feature-tag {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid;
  opacity: 0.7;
}

.feature-name {
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: #fff;
  margin-bottom: 0.6rem;
}

.feature-desc {
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.8;
}

/* ── Threats ───────────────────────────────────────── */

.threats-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 700px;
  margin: 0 auto;
}

.threat-row {
  display: flex;
  align-items: baseline;
  gap: 2rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.threat-row:last-child {
  border-bottom: none;
}

.threat-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
  box-shadow: 0 0 8px currentColor;
}

.threat-row[data-ship="smuggler"] .threat-indicator { color: #ff44ff; background: #ff44ff; }
.threat-row[data-ship="emp"] .threat-indicator { color: #ff44ff; background: #ff44ff; }
.threat-row[data-ship="parasite"] .threat-indicator { color: #aaff00; background: #aaff00; }
.threat-row[data-ship="juggernaut"] .threat-indicator { color: #ff2222; background: #ff2222; }
.threat-row[data-ship="warlord"] .threat-indicator { color: #ff2222; background: #ff2222; }
.threat-row[data-ship="distress"] .threat-indicator { color: #ff8800; background: #ff8800; }

.threat-name {
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: #fff;
  white-space: nowrap;
  min-width: 160px;
}

.threat-desc {
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.7;
}

/* ── CTA bottom ────────────────────────────────────── */

.cta-section {
  text-align: center;
  padding: 6rem 2rem 8rem;
}

.cta-section .section-title {
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 1.5rem;
}

.cta-section p {
  color: var(--text-dim);
  margin-bottom: 2.5rem;
  font-size: 0.9rem;
}

/* ── Footer ────────────────────────────────────────── */

footer {
  text-align: center;
  padding: 3rem 2rem;
  color: var(--text-dim);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  border-top: 1px solid rgba(0, 255, 100, 0.04);
}

/* ── Responsive ────────────────────────────────────── */

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

@media (max-width: 600px) {
  .hero { min-height: 90vh; }
  .hero-radar { display: none; }
  .threat-row { flex-direction: column; gap: 0.5rem; }
  .threat-name { min-width: auto; }
}
