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

:root {
  --bg: #060b18;
  --bg-surface: #0a1224;
  --bg-card: #0d1a30;
  --fg: #e8f0fe;
  --fg-muted: #7a8ba8;
  --accent: #00e5ff;
  --accent-dim: rgba(0, 229, 255, 0.12);
  --accent-glow: rgba(0, 229, 255, 0.35);
  --amber: #f59e0b;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

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

/* === TYPOGRAPHY === */
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; }

/* === NAV === */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 2rem;
  border-bottom: 1px solid rgba(0,229,255,0.08);
  background: rgba(6,11,24,0.8);
  backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}
.nav-badge {
  font-size: 0.7rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(0,229,255,0.25);
  padding: 4px 12px;
  border-radius: 20px;
}

/* === HERO === */
.hero {
  min-height: 100vh;
  padding: 100px 2rem 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.hero-grid {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  opacity: 0.8;
}
.hero-headline {
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #e8f0fe 0%, #7ab8d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-lede {
  font-size: 1.1rem;
  color: var(--fg-muted);
  max-width: 440px;
  margin-bottom: 3rem;
  line-height: 1.7;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  padding-right: 2rem;
}
.hero-stat-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-label {
  font-size: 0.75rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(0,229,255,0.15);
  margin-right: 2rem;
}

/* === HUD VISUAL === */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hud-container {
  position: relative;
  width: 340px;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hud-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0,229,255,0.12);
  animation: hud-rotate 20s linear infinite;
}
.hud-ring-outer {
  width: 320px; height: 320px;
}
.hud-ring-inner-1, .hud-ring-inner-2 {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0,229,255,0.1);
  animation: hud-rotate 15s linear infinite reverse;
}
.hud-ring-inner-1 { width: 240px; height: 240px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.hud-ring-inner-2 { width: 160px; height: 160px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
@keyframes hud-rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.hud-core {
  position: absolute;
  width: 120px; height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.hud-core-glow {
  position: absolute;
  width: 80px; height: 80px;
  background: radial-gradient(circle, rgba(0,229,255,0.25) 0%, transparent 70%);
  border-radius: 50%;
  animation: core-pulse 3s ease-in-out infinite;
}
@keyframes core-pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.4); opacity: 0.3; }
}
.hud-core-svg { width: 120px; height: 120px; position: relative; z-index: 1; }

.hud-node {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: hud-float 4s ease-in-out infinite;
}
.hud-node-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-glow);
  animation: node-blink 2s ease-in-out infinite;
}
.hud-node-dot-amber { background: var(--amber); box-shadow: 0 0 8px rgba(245,158,11,0.5); }
.hud-node-label {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  background: rgba(10,18,36,0.9);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(0,229,255,0.15);
}
.hud-node-1 { top: 12px; left: 50%; transform: translateX(-50%); animation-delay: 0s; }
.hud-node-2 { top: 50%; right: 8px; transform: translateY(-50%); animation-delay: 1s; }
.hud-node-3 { bottom: 12px; left: 50%; transform: translateX(-50%); animation-delay: 0.5s; }
.hud-node-4 { top: 50%; left: 8px; transform: translateY(-50%); animation-delay: 1.5s; }
@keyframes hud-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
@keyframes node-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hud-status {
  position: absolute;
  bottom: -20px;
  left: 50%; transform: translateX(-50%);
  width: 240px;
}
.hud-status-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
  border-bottom: 1px solid rgba(0,229,255,0.07);
}
.hud-status-key {
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
}
.hud-status-val {
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
}
.hud-status-amber { color: var(--amber); }

.hud-corner {
  position: absolute;
  width: 16px; height: 16px;
  border-color: rgba(0,229,255,0.3);
  border-style: solid;
}
.hud-corner-tl { top: 0; left: 0; border-width: 2px 0 0 2px; }
.hud-corner-tr { top: 0; right: 0; border-width: 2px 2px 0 0; }
.hud-corner-bl { bottom: 0; left: 0; border-width: 0 0 2px 2px; }
.hud-corner-br { bottom: 0; right: 0; border-width: 0 2px 2px 0; }

.hero-scan-line {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.2;
}

/* === PILOT CORE === */
.pilot-core {
  padding: 100px 2rem;
  background: var(--bg-surface);
  border-top: 1px solid rgba(0,229,255,0.06);
  border-bottom: 1px solid rgba(0,229,255,0.06);
}
.pilot-core-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.pilot-core-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(0,229,255,0.2);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 1.5rem;
}
.pilot-core-headline {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin-bottom: 1.5rem;
  max-width: 600px;
}
.pilot-core-sub {
  color: var(--fg-muted);
  max-width: 680px;
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 4rem;
}
.pilot-core-comparison {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  border: 1px solid rgba(0,229,255,0.1);
  border-radius: 12px;
  overflow: hidden;
}
.pilot-core-col { padding: 2rem 2.5rem; }
.pilot-core-col-old { background: rgba(255,255,255,0.02); }
.pilot-core-col-new { background: rgba(0,229,255,0.03); }
.pilot-core-col-header {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.pilot-core-list { list-style: none; }
.pilot-core-list li {
  font-size: 0.9rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: var(--fg-muted);
}
.pilot-core-list-new li { color: var(--fg); }
.pilot-core-list-old li::before { content: '— '; color: rgba(255,255,255,0.2); }
.pilot-core-list-new li::before { content: '+ '; color: var(--accent); }
.pilot-core-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 2rem;
  gap: 0.75rem;
  background: var(--bg);
  min-width: 80px;
}
.pilot-core-divider-line { width: 1px; height: 40px; background: rgba(0,229,255,0.15); }
.pilot-core-divider-badge {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--fg-muted);
  background: var(--bg-surface);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(0,229,255,0.1);
}

/* === MODULES === */
.modules {
  padding: 100px 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.modules-header { margin-bottom: 3rem; }
.modules-eyebrow {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.modules-headline {
  font-size: clamp(2rem, 3.5vw, 3rem);
}
.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5px;
  background: rgba(0,229,255,0.08);
  border: 1px solid rgba(0,229,255,0.08);
  border-radius: 12px;
  overflow: hidden;
}
.module-card {
  background: var(--bg);
  padding: 2rem;
  position: relative;
  transition: background 0.2s;
}
.module-card:hover { background: var(--bg-surface); }
.module-icon {
  margin-bottom: 1rem;
  opacity: 0.8;
}
.module-icon-safety { opacity: 0.9; }
.module-num {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(0,229,255,0.2);
  letter-spacing: 0.05em;
}
.module-name {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  font-family: var(--font-display);
}
.module-desc {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* === APPROVAL GATE === */
.approval {
  padding: 100px 2rem;
  background: var(--bg-surface);
  border-top: 1px solid rgba(0,229,255,0.06);
  border-bottom: 1px solid rgba(0,229,255,0.06);
}
.approval-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.approval-visual { display: flex; justify-content: center; }
.approval-panel {
  width: 340px;
  background: var(--bg-card);
  border: 1px solid rgba(0,229,255,0.15);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(0,229,255,0.05), 0 20px 60px rgba(0,0,0,0.4);
}
.approval-panel-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(0,229,255,0.05);
  border-bottom: 1px solid rgba(0,229,255,0.1);
}
.approval-panel-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(0,229,255,0.3);
}
.approval-panel-title {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  margin-left: 6px;
}
.approval-panel-body { padding: 1.5rem; }
.approval-req-label {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  font-family: var(--font-display);
  margin-bottom: 0.5rem;
}
.approval-req-action {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 0.4rem;
}
.approval-req-subject {
  font-size: 0.8rem;
  color: var(--fg-muted);
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.approval-reasoning {
  background: rgba(0,229,255,0.04);
  border: 1px solid rgba(0,229,255,0.1);
  border-radius: 6px;
  padding: 1rem;
  margin-bottom: 1.25rem;
}
.approval-reasoning-label {
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-family: var(--font-display);
  margin-bottom: 0.5rem;
  opacity: 0.8;
}
.approval-reasoning-text {
  font-size: 0.8rem;
  color: var(--fg-muted);
  line-height: 1.6;
}
.approval-actions {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}
.approval-btn {
  padding: 10px;
  border-radius: 6px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}
.approval-btn:hover { opacity: 0.85; }
.approval-btn-approve { background: var(--accent); color: var(--bg); }
.approval-btn-edit { background: rgba(0,229,255,0.15); color: var(--accent); border: 1px solid rgba(0,229,255,0.3); }
.approval-btn-deny { background: rgba(255,255,255,0.05); color: var(--fg-muted); }

.approval-eyebrow {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  opacity: 0.8;
}
.approval-headline {
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin-bottom: 1.5rem;
}
.approval-sub {
  color: var(--fg-muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

/* === MANIFESTO === */
.manifesto {
  padding: 100px 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.manifesto-inner { max-width: 720px; }
.manifesto-headline {
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  margin-bottom: 2rem;
  line-height: 1.25;
}
.manifesto-body {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.manifesto-body em { color: var(--fg); font-style: normal; }
.manifesto-body-accent { color: var(--fg); }

/* === FOOTER === */
.footer {
  padding: 3rem 2rem;
  border-top: 1px solid rgba(0,229,255,0.08);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
}
.footer-tagline {
  font-size: 0.8rem;
  color: var(--fg-muted);
  font-style: italic;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { order: -1; }
  .hud-container { width: 260px; height: 260px; }
  .hud-ring-outer { width: 240px; height: 240px; }
  .hud-ring-inner-1 { width: 180px; height: 180px; }
  .hud-ring-inner-2 { width: 120px; height: 120px; }
  .approval-inner { grid-template-columns: 1fr; gap: 3rem; }
  .approval-visual { order: -1; }
  .pilot-core-comparison { grid-template-columns: 1fr; }
  .pilot-core-divider { flex-direction: row; min-width: auto; padding: 1.5rem 0; }
  .pilot-core-divider-line { width: 40px; height: 1px; }
}
@media (max-width: 600px) {
  .hero-headline { font-size: 2.5rem; }
  .modules-grid { grid-template-columns: 1fr; }
  .approval-panel { width: 100%; }
  .footer-inner { flex-direction: column; gap: 1rem; }
}