/* ============================================================
   Project Helios · ServerSystem · style.css
   ============================================================ */

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

:root {
  --bg:           #03030a;
  --bg-2:         #07071a;
  --bg-3:         #0a0a1f;
  --border:       rgba(100,120,255,.12);
  --border-light: rgba(100,120,255,.25);

  --text:         #f0f2ff;
  --text-muted:   #a8afd4;
  --text-dim:     #6870a0;

  --accent:       #4f7cff;
  --accent-2:     #8b5cf6;
  --accent-glow:  #6366f1;
  --accent-soft:  rgba(79,124,255,.15);
  --accent-soft2: rgba(139,92,246,.12);

  --sat-cyan:     #00d4ff;
  --sat-cyan-dim: rgba(0,212,255,.15);

  --font-orb:  'Orbitron', 'Space Mono', monospace;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'Space Mono', 'Courier New', monospace;
}

html { scroll-behavior: smooth; }

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

/* ── BACKGROUND CANVAS ── */
#nebulaCanvas {
  position: fixed;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ── TYPOGRAPHY ── */
h1 { font-family: var(--font-orb); font-size: clamp(36px, 5.5vw, 72px); font-weight: 700; line-height: 1.08; }
h2 { font-family: var(--font-orb); font-size: clamp(26px, 3.5vw, 48px); font-weight: 700; line-height: 1.1; }
h3 { font-family: var(--font-orb); font-size: clamp(16px, 2vw, 22px); font-weight: 600; line-height: 1.2; }
p  { color: var(--text-muted); font-size: 15px; }
.mission-card p, .tl-body p, .rpi-block p { color: var(--text-muted); }
.mono { font-family: var(--font-mono); }

/* ── UTILS ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 28px; position: relative; z-index: 1; }
.section   { padding: 110px 0; position: relative; z-index: 1; }

/* ── TAG / BADGE ── */
.tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .15em;
  color: var(--accent);
  border: 1px solid var(--border-light);
  border-radius: 2px;
  padding: 5px 12px;
  margin-bottom: 20px;
  background: var(--accent-soft);
}

/* ── SECTION HEADER ── */
.section-header { margin-bottom: 60px; }
.section-header.center { text-align: center; }
.section-header h2 { margin-bottom: 14px; }
.sec-desc { color: var(--text-muted); font-size: 16px; margin-top: 10px; }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(3,3,10,.7);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background .3s;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon { width: 26px; height: 26px; color: var(--accent); }
.logo-text {
  font-family: var(--font-orb);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--text);
}
.logo-accent { color: var(--accent); }

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 30px;
  font-size: 13px;
  font-family: var(--font-mono);
  color: var(--text);
}
.nav-links a { transition: color .2s; color: var(--text); }
.nav-links a:hover { color: #fff; }

.btn-nav {
  color: #fff !important;
  border: 1px solid var(--accent);
  padding: 6px 16px;
  border-radius: 2px;
  background: var(--accent);
  transition: background .2s, border-color .2s;
}
.btn-nav:hover { background: #6b93ff !important; border-color: #6b93ff !important; }
.btn-nav:hover { background: rgba(79,124,255,.25) !important; border-color: var(--accent) !important; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.burger span { display: block; width: 20px; height: 1.5px; background: var(--text-muted); transition: .3s; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  padding: 13px 28px;
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  border: none;
  cursor: pointer;
  transition: opacity .2s, transform .15s;
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent);
  transform: translateX(-100%);
  transition: transform .5s;
}
.btn-primary:hover::before { transform: translateX(100%); }
.btn-primary:hover { opacity: .9; transform: translateY(-1px); }
.btn-primary svg { width: 14px; height: 14px; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 13px 28px;
  border-radius: 2px;
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .05em;
  transition: color .2s, border-color .2s;
}
.btn-outline:hover { color: var(--text); border-color: var(--text-muted); }

/* ── NEBULA BLURS ── */
.nebula-blur {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.nb1 { width: 500px; height: 500px; background: rgba(79,124,255,.06); top: -100px; left: -100px; }
.nb2 { width: 400px; height: 400px; background: rgba(139,92,246,.07); top: 200px; right: -80px; }
.nb3 { width: 300px; height: 300px; background: rgba(0,212,255,.04); bottom: 0; left: 40%; }
.nb4 { width: 600px; height: 600px; background: rgba(79,124,255,.08); top: -100px; left: 10%; }
.nb5 { width: 400px; height: 400px; background: rgba(139,92,246,.09); bottom: -80px; right: 20%; }

/* ── GRID OVERLAY ── */
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(79,124,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79,124,255,.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0;
  overflow: hidden;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 90px 28px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-content { flex: 1; max-width: 580px; }

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--accent);
  margin-bottom: 22px;
}

.dot-pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sat-cyan);
  position: relative;
  flex-shrink: 0;
}
.dot-pulse::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--sat-cyan);
  animation: pulse-dot 2s ease-out infinite;
}
@keyframes pulse-dot {
  0% { opacity: .8; transform: scale(.5); }
  100% { opacity: 0; transform: scale(2); }
}

.hero-title { margin-bottom: 22px; }

.hero-sub-line {
  color: var(--text-muted);
  font-weight: 400;
}

/* ── GLITCH ── */
.glitch {
  position: relative;
  color: var(--accent);
  display: inline-block;
}
.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}
.glitch::before {
  color: var(--sat-cyan);
  clip-path: polygon(0 30%, 100% 30%, 100% 50%, 0 50%);
  animation: glitch-1 4s infinite;
  opacity: .6;
}
.glitch::after {
  color: var(--accent-2);
  clip-path: polygon(0 60%, 100% 60%, 100% 80%, 0 80%);
  animation: glitch-2 4s infinite;
  opacity: .6;
}
@keyframes glitch-1 {
  0%, 90%, 100% { transform: translate(0); }
  93% { transform: translate(-3px, 1px); }
  96% { transform: translate(3px, -1px); }
}
@keyframes glitch-2 {
  0%, 88%, 100% { transform: translate(0); }
  91% { transform: translate(2px, 2px); }
  94% { transform: translate(-2px, -1px); }
}

.hero-desc {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 34px;
  line-height: 1.7;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }

.hero-stat-row {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 20px 24px;
  border: 1px solid var(--border);
  background: rgba(7,7,26,.6);
  border-radius: 2px;
  max-width: 480px;
}
.hero-stat { flex: 1; text-align: center; }
.hs-num {
  display: block;
  font-family: var(--font-orb);
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  margin-bottom: 4px;
}
.hs-unit { font-size: 14px; color: var(--accent); margin-left: 2px; }
.hs-label { font-size: 11px; font-family: var(--font-mono); color: var(--text-muted); letter-spacing: .06em; }
.hero-stat-sep { width: 1px; height: 40px; background: var(--border); flex-shrink: 0; margin: 0 8px; }

/* ── HERO VISUAL ── */
.hero-visual {
  flex: 0 0 420px;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.planet-wrap {
  position: relative;
  width: 340px; height: 340px;
  display: flex; align-items: center; justify-content: center;
}

.planet-glow {
  position: absolute;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79,124,255,.2) 0%, transparent 70%);
  filter: blur(20px);
}

.planet {
  width: 140px; height: 140px;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.planet-surface {
  position: absolute; inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 30% 30%, #1a3a7a, #0a1d55 50%, #030d2a);
  overflow: hidden;
}
.planet-surface::before {
  content: '';
  position: absolute;
  width: 200%; height: 200%;
  top: -50%; left: -50%;
  background: repeating-linear-gradient(
    -45deg,
    transparent 0px, transparent 18px,
    rgba(100,150,255,.04) 18px, rgba(100,150,255,.04) 19px
  );
}
.planet-surface::after {
  content: '';
  position: absolute;
  width: 60px; height: 25px;
  border-radius: 50%;
  background: rgba(150,200,255,.07);
  top: 35%; left: 25%;
}

.planet-atmo {
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 4px solid transparent;
  background: radial-gradient(circle at 35% 35%, rgba(100,170,255,.15), transparent 60%) border-box;
}

.orbit-path {
  position: absolute;
  border-radius: 50%;
  border-style: solid;
}
.o1 {
  width: 210px; height: 210px;
  border: 1px solid rgba(79,124,255,.3);
  animation: spin-cw 8s linear infinite;
}
.o2 {
  width: 280px; height: 280px;
  border: 1px dashed rgba(79,124,255,.12);
  animation: spin-ccw 14s linear infinite;
}
.o3 {
  width: 330px; height: 330px;
  border: 1px solid rgba(100,120,255,.06);
}

@keyframes spin-cw  { to { transform: rotate(360deg); } }
@keyframes spin-ccw { to { transform: rotate(-360deg); } }

.sat-marker {
  position: absolute;
  top: -7px; left: 50%;
  transform: translateX(-50%);
  width: 14px; height: 14px;
  z-index: 10;
}
.sat-ping {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--sat-cyan);
  position: absolute; top: 2px; left: 2px;
}
.sat-ping::after {
  content: '';
  position: absolute; inset: -5px;
  border-radius: 50%;
  border: 1px solid var(--sat-cyan);
  animation: pulse-dot 2s ease-out infinite;
}

.scan-line {
  position: absolute;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(79,124,255,.3), transparent);
  animation: scan 4s ease-in-out infinite;
}
@keyframes scan {
  0%, 100% { top: 0; opacity: .5; }
  50% { top: 100%; opacity: .8; }
}

/* ── SCROLL HINT ── */
.scroll-hint {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}
.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { opacity: .3; transform: scaleY(.6); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ── MISSION GRID ── */
.mission-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.mission-card {
  background: var(--bg-2);
  padding: 40px 32px;
  transition: background .3s;
  position: relative;
  overflow: hidden;
}
.mission-card:hover { background: var(--bg-3); }
.mission-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s;
}
.mission-card:hover::before { transform: scaleX(1); }

.mc-large { padding: 50px 40px; }

.mc-number {
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.mc-icon {
  width: 44px; height: 44px;
  color: var(--accent);
  margin-bottom: 20px;
}
.mc-icon svg { width: 100%; height: 100%; }

.mission-card h3 { margin-bottom: 14px; color: var(--text); }
.mission-card p { font-size: 14px; line-height: 1.7; }

/* ── SAT SHOWCASE ── */
.sat-showcase {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 60px;
}

/* ── 3D SATELLITE ── */
.sat-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.sat-3d {
  display: flex;
  align-items: center;
  gap: 0;
  filter: drop-shadow(0 0 30px rgba(79,124,255,.3));
  animation: float 5s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}

.s-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 3px;
  background: #0a0f2a;
  padding: 6px;
  border: 1px solid var(--border-light);
  width: 90px; height: 60px;
}
.panel-cell {
  background: linear-gradient(135deg, #12224a, #1a3a7a);
  border-radius: 1px;
  animation: cell-flicker 3s ease-in-out infinite;
  animation-delay: calc(var(--d) * .2s);
}
@keyframes cell-flicker {
  0%, 90%, 100% { opacity: 1; }
  95% { opacity: .6; }
}

.s-body {
  width: 80px; height: 100px;
  background: #0c1030;
  border: 1px solid var(--border-light);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.s-face.s-top {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--border-light);
}
.s-face.s-front {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.s-face.s-right {
  position: absolute;
  right: -4px; top: 0; bottom: 0;
  width: 4px;
  background: rgba(79,124,255,.2);
}

.s-logo {
  font-family: var(--font-orb);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .08em;
}

.s-led {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sat-cyan);
  animation: led-blink 1.5s ease-in-out infinite;
}
@keyframes led-blink {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px var(--sat-cyan); }
  50% { opacity: .2; box-shadow: none; }
}

.s-antenna {
  position: absolute;
  top: -44px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.s-antenna::before {
  content: '';
  width: 1.5px; height: 32px;
  background: var(--text-dim);
  display: block;
}
.s-dish {
  width: 20px; height: 10px;
  border-radius: 50% 50% 0 0;
  border: 1.5px solid var(--text-muted);
  border-bottom: none;
  margin-top: 2px;
}

.sat-label {
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--text-muted);
}

/* ── SPECS TABLE ── */
.sat-specs { display: flex; flex-direction: column; }

.spec-row {
  display: flex;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}
.spec-row:last-child { border-bottom: none; }

.spec-key {
  flex: 0 0 180px;
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--text-muted);
}
.spec-val {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}

/* ── RPI BLOCK ── */
.rpi-block {
  border: 1px solid var(--border-light);
  padding: 40px 48px;
  background: rgba(79,124,255,.04);
  position: relative;
  overflow: hidden;
}
.rpi-block::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.rpi-tag {
  font-size: 10px;
  letter-spacing: .15em;
  color: var(--accent);
  margin-bottom: 12px;
}

.rpi-block h3 { color: var(--text); margin-bottom: 12px; }
.rpi-block p { font-size: 15px; max-width: 680px; line-height: 1.7; margin-bottom: 24px; }

.rpi-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 2px;
  background: var(--bg-3);
}

/* ── DARK / ALT SECTION ── */
.dark-section { background: var(--bg-2); }
.alt-section  { background: var(--bg-3); }

/* ── TIMELINE ── */
.timeline-wrap {
  max-width: 740px;
  position: relative;
  padding-left: 48px;
}

.tl-track {
  position: absolute;
  left: 11px; top: 0; bottom: 0;
  width: 1px;
  background: var(--border);
}

.tl-step {
  display: flex;
  gap: 32px;
  padding-bottom: 52px;
  position: relative;
  align-items: flex-start;
}

.tl-node {
  position: absolute;
  left: -37px;
  top: 4px;
  display: flex; align-items: center; justify-content: center;
}

.tl-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border);
  border: 2px solid var(--bg);
  position: relative; z-index: 2;
  transition: background .3s;
}

.tl-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  animation: ring-pulse 2.5s ease-out infinite;
}
@keyframes ring-pulse {
  0% { opacity: .7; transform: scale(.6); }
  100% { opacity: 0; transform: scale(2); }
}

.tl-step.current .tl-dot {
  background: var(--sat-cyan);
  box-shadow: 0 0 12px var(--sat-cyan);
}
.tl-step.future .tl-dot { background: transparent; border-color: var(--border-light); }
.tl-step.launch .tl-dot,
.tl-step.launch .launch-dot {
  background: var(--accent-2);
  box-shadow: 0 0 16px var(--accent-2);
}

.tl-body { flex: 1; }
.tl-date { font-size: 11px; letter-spacing: .12em; color: var(--accent); margin-bottom: 6px; }
.tl-title {
  font-family: var(--font-orb);
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: .03em;
}
.tl-step.launch .tl-title { color: var(--accent-2); font-size: 20px; }
.tl-body p { font-size: 14px; line-height: 1.7; }

.tl-badge {
  display: inline-block;
  font-size: 10px;
  letter-spacing: .14em;
  padding: 4px 10px;
  border-radius: 2px;
  margin-top: 12px;
}
.current-badge {
  color: var(--sat-cyan);
  border: 1px solid rgba(0,212,255,.3);
  background: rgba(0,212,255,.08);
}
.launch-badge {
  color: var(--accent-2);
  border: 1px solid rgba(139,92,246,.3);
  background: rgba(139,92,246,.1);
}

.tl-step.future { opacity: .55; }
.tl-step.future:hover { opacity: .85; transition: opacity .3s; }

/* ── TECH BLOCKS ── */
.tech-blocks { max-width: 780px; display: flex; flex-direction: column; gap: 28px; }

.tech-block { display: flex; flex-direction: column; gap: 8px; }

.tb-label {
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
}

.tb-bar {
  height: 4px;
  background: rgba(255,255,255,.05);
  border-radius: 0;
  overflow: hidden;
  position: relative;
}
.tb-fill {
  height: 100%;
  width: var(--w);
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  position: relative;
  animation: bar-grow .8s ease-out forwards;
}
@keyframes bar-grow { from { width: 0; } }

.tb-tech {
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--text-muted);
}

/* ── CTA ── */
.cta-section {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
}
.cta-space-bg { position: absolute; inset: 0; overflow: hidden; }

.cta-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.cta-badge {
  display: inline-block;
  font-size: 10px;
  letter-spacing: .16em;
  color: var(--accent);
  border: 1px solid var(--border-light);
  padding: 5px 14px;
  border-radius: 2px;
  margin-bottom: 24px;
  background: var(--accent-soft);
}

.cta-title { margin-bottom: 16px; }

.cta-desc { font-size: 15px; margin-bottom: 36px; line-height: 1.7; }

.cta-form {
  display: flex;
  gap: 8px;
  max-width: 480px;
  margin: 0 auto 16px;
}

.cta-input {
  flex: 1;
  background: rgba(7,7,26,.8);
  border: 1px solid var(--border-light);
  color: var(--text);
  padding: 13px 18px;
  font-family: var(--font-mono);
  font-size: 13px;
  border-radius: 2px;
  outline: none;
  transition: border-color .2s;
}
.cta-input::placeholder { color: var(--text-dim); }
.cta-input:focus { border-color: var(--accent); }

.cta-note { font-size: 11px; letter-spacing: .08em; color: var(--text-dim); }

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 28px;
  position: relative; z-index: 1;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo { margin-bottom: 14px; }
.footer-tagline { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

.footer-nav { display: flex; gap: 60px; }

.fn-col { display: flex; flex-direction: column; gap: 10px; }
.fn-title { font-size: 10px; letter-spacing: .14em; color: var(--text-muted); margin-bottom: 6px; }
.fn-col a { font-size: 13px; color: var(--text-muted); transition: color .2s; }
.fn-col a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .hero-inner { flex-direction: column; text-align: center; align-items: center; }
  .hero-content { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-stat-row { max-width: 100%; }
  .hero-visual { width: 300px; height: 300px; }
  .o2 { width: 240px; height: 240px; }
  .o3 { width: 280px; height: 280px; }
  .mission-grid { grid-template-columns: 1fr; }
  .sat-showcase { grid-template-columns: 1fr; gap: 48px; }
  .nav-links { display: none; }
  .burger { display: flex; }
  .footer-top { flex-direction: column; }
}

@media (max-width: 540px) {
  :root { --section-pad: 70px; }
  .section { padding: 70px 0; }
  .hero-stat-row { flex-direction: column; gap: 16px; padding: 16px; }
  .hero-stat-sep { width: 40px; height: 1px; }
  .cta-form { flex-direction: column; }
  .footer-nav { flex-direction: column; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .rpi-block { padding: 28px 24px; }
}
