/* Cyberlyfe OS - Mission Control Aesthetic */

:root {
  --bg: #050505;
  --surface: #0d0d0d;
  --surface-2: #141414;
  --cyan: #00E5FF;
  --cyan-dim: rgba(0, 229, 255, 0.12);
  --cyan-glow: rgba(0, 229, 255, 0.3);
  --amber: #FF8C00;
  --amber-dim: rgba(255, 140, 0, 0.12);
  --fg: #e8e8e8;
  --fg-2: #8a8a8a;
  --fg-3: #444444;
  --border: #1a1a1a;
  --font-head: 'Space Grotesk', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
}

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

html { font-size: 16px; }

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

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 40px;
  height: 64px;
  display: flex;
  align-items: center;
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.nav-logo-text {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--cyan);
  letter-spacing: 0.12em;
}
.nav-logo-divider {
  color: var(--fg-3);
  font-family: var(--font-mono);
  font-size: 12px;
}
.nav-logo-sub {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-2);
  letter-spacing: 0.08em;
}
.nav-status {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan-glow);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.nav-status-text {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-2);
  letter-spacing: 0.1em;
}

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 40px 0;
  padding-top: 64px;
}
.hero-image-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(0.55) saturate(0.8);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(5, 5, 5, 0.3) 0%,
    rgba(5, 5, 5, 0.1) 40%,
    rgba(5, 5, 5, 0.7) 75%,
    rgba(5, 5, 5, 0.95) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 80px 0 60px;
  max-width: 720px;
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cyan);
  letter-spacing: 0.2em;
  margin-bottom: 20px;
  opacity: 0.8;
}
.hero-title {
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: #fff;
}
.hero-lede {
  font-size: 18px;
  color: rgba(232, 232, 232, 0.7);
  line-height: 1.55;
  margin-bottom: 32px;
  max-width: 560px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: all 0.2s ease;
  cursor: pointer;
}
.btn-primary {
  background: var(--cyan);
  color: #000;
  border: 1px solid var(--cyan);
}
.btn-primary:hover {
  background: #33EEFF;
  box-shadow: 0 0 20px var(--cyan-glow);
}
.btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
}
.btn-secondary:hover {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.05);
}
.btn-outline {
  background: transparent;
  color: var(--cyan);
  border: 1px solid rgba(0, 229, 255, 0.3);
}
.btn-outline:hover {
  border-color: var(--cyan);
  background: var(--cyan-dim);
}

/* HERO STATS */
.hero-stats {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  background: rgba(5, 5, 5, 0.6);
  backdrop-filter: blur(10px);
  overflow-x: auto;
}
.stat {
  padding: 0 32px;
  flex-shrink: 0;
}
.stat:first-child { padding-left: 0; }
.stat-value {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 500;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-unit {
  font-size: 16px;
  opacity: 0.7;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--fg-2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

/* SYSTEMS */
.systems {
  padding: 120px 40px;
  border-top: 1px solid var(--border);
}
.section-header {
  margin-bottom: 64px;
  max-width: 600px;
}
.section-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--amber);
  letter-spacing: 0.2em;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 16px;
  color: var(--fg-2);
  line-height: 1.6;
}
.systems-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.system-card {
  background: var(--surface);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: background 0.2s ease;
}
.system-card:hover {
  background: var(--surface-2);
}
.system-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--cyan);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.system-icon::after {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}
.system-name {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--cyan);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.system-desc {
  font-size: 15px;
  color: var(--fg-2);
  line-height: 1.55;
}
.system-metrics {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.system-metrics span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-2);
  background: var(--surface-2);
  padding: 4px 10px;
  border: 1px solid var(--border);
  letter-spacing: 0.05em;
}

/* AUTONOMY */
.autonomy {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 120px 40px;
}
.autonomy-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 80px;
}
.autonomy-title {
  font-size: clamp(24px, 3.5vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 20px;
}
.autonomy-body {
  font-size: 16px;
  color: var(--fg-2);
  line-height: 1.65;
}
.autonomy-image-wrap {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}
.autonomy-image {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  filter: saturate(0.85) brightness(0.9);
}
.autonomy-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.spec {
  background: var(--surface-2);
  padding: 24px;
}
.spec-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--fg-2);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.spec-value {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
}

/* VISION */
.vision {
  padding: 120px 40px;
  text-align: center;
}
.vision-inner {
  max-width: 700px;
  margin: 0 auto;
}
.vision-title {
  font-size: clamp(28px, 4vw, 54px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 16px 0 24px;
}
.vision-body {
  font-size: 17px;
  color: var(--fg-2);
  line-height: 1.65;
  margin-bottom: 40px;
}
.vision-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--border);
  padding: 64px 40px 40px;
  background: var(--bg);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-logo {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--cyan);
  letter-spacing: 0.15em;
  margin-bottom: 8px;
}
.footer-tagline {
  font-size: 13px;
  color: var(--fg-2);
  max-width: 300px;
}
.footer-links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-links a {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-2);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--fg); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-3);
  display: flex;
  gap: 12px;
  align-items: center;
  letter-spacing: 0.08em;
}
.footer-divider { color: var(--border); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .navbar { padding: 0 24px; }
  .hero { padding: 0 24px; }
  .hero-content { padding: 60px 0 40px; }
  .hero-stats { gap: 0; }
  .stat { padding: 0 20px; }
  .stat:first-child { padding-left: 0; }
  .systems { padding: 80px 24px; }
  .systems-grid { grid-template-columns: 1fr; }
  .autonomy { padding: 80px 24px; }
  .autonomy-inner { grid-template-columns: 1fr; gap: 40px; }
  .autonomy-specs { grid-template-columns: repeat(2, 1fr); }
  .vision { padding: 80px 24px; }
  .footer { padding: 48px 24px 32px; }
  .footer-inner { flex-direction: column; gap: 24px; }
  .footer-links { gap: 16px; }
}

@media (max-width: 600px) {
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .stat-divider { display: none; }
  .stat { padding: 0 16px; }
  .autonomy-specs { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; }
  .btn { justify-content: center; }
}