/* ==========================================
   ShipBase — Theme CSS
   Font: Space Grotesk (display) + DM Sans (body)
   Palette: near-black base, electric teal accent
   ========================================== */

:root {
  --bg: #0D0F14;
  --surface: #141720;
  --surface-2: #1C2030;
  --fg: #E8EAF0;
  --fg-muted: #8892A4;
  --fg-dim: #5A6173;
  --accent: #00E5CC;
  --accent-dim: rgba(0, 229, 204, 0.12);
  --amber: #F59E0B;
  --red: #EF4444;
  --green: #22C55E;
  --border: rgba(255,255,255,0.07);
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --radius: 10px;
  --radius-sm: 6px;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

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

/* ==========================================
   MANIFESTO
   ========================================== */

.manifesto {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 80px 100px;
  overflow: hidden;
}

.manifesto::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(0, 229, 204, 0.04) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(0, 229, 204, 0.03) 0%, transparent 60%);
  pointer-events: none;
}

.manifesto__inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

.manifesto__label {
  margin-bottom: 32px;
}

.manifesto__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(0, 229, 204, 0.3);
  padding: 5px 12px;
  border-radius: 4px;
}

.manifesto__headline {
  font-family: var(--font-display);
  font-size: clamp(56px, 7vw, 96px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 32px;
}

.manifesto__headline em {
  font-style: normal;
  color: var(--accent);
}

.manifesto__sub {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 56px;
}

.manifesto__stats {
  display: flex;
  gap: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.stat { display: flex; flex-direction: column; gap: 4px; }

.stat__num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.stat__label {
  font-size: 12px;
  color: var(--fg-dim);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Geo bg elements */
.manifesto__bg-elements { position: absolute; inset: 0; pointer-events: none; }

.geo-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 229, 204, 0.08);
}
.geo-ring--1 { width: 600px; height: 600px; right: -100px; top: 50%; transform: translateY(-50%); }
.geo-ring--2 { width: 900px; height: 900px; right: -250px; top: 50%; transform: translateY(-50%); border-color: rgba(0,229,204,0.04); }

.geo-dot {
  position: absolute;
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  right: 140px;
  top: 45%;
  box-shadow: 0 0 20px rgba(0, 229, 204, 0.6), 0 0 60px rgba(0, 229, 204, 0.3);
}

/* ==========================================
   SHARED
   ========================================== */

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--fg);
  max-width: 600px;
}

/* ==========================================
   PROCESS
   ========================================== */

.process {
  padding: 100px 80px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.process__header {
  margin-bottom: 64px;
}

.process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.step {
  background: var(--surface);
  padding: 40px 32px;
  position: relative;
  transition: background 0.2s ease;
}

.step:hover { background: var(--surface-2); }

.step__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}

.step__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.step__body {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ==========================================
   ANATOMY
   ========================================== */

.anatomy {
  padding: 100px 80px;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.anatomy__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.anatomy__text .section-label { display: block; }

.anatomy__body {
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 20px;
  font-size: 16px;
}

.anatomy__list {
  list-style: none;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.anatomy__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--fg);
}

.check {
  color: var(--accent);
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}

/* Module card visual */
.anatomy__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.module-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  width: 100%;
  max-width: 360px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.4), 0 0 0 1px rgba(0,229,204,0.05);
}

.module-card__header {
  background: var(--bg);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}

.module-card__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.module-card__dot--green { background: #22C55E; }
.module-card__dot--yellow { background: #F59E0B; }
.module-card__dot--red { background: #EF4444; }

.module-card__title {
  font-size: 12px;
  color: var(--fg-dim);
  margin-left: 8px;
  font-family: var(--font-body);
}

.module-card__body { padding: 20px; }

.module-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.module-card__row:last-of-type { border-bottom: none; }

.mc-tag {
  font-size: 12px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 4px;
}

.mc-tag--teal {
  background: rgba(0, 229, 204, 0.15);
  color: var(--accent);
}

.mc-tag--amber {
  background: rgba(245, 158, 11, 0.15);
  color: var(--amber);
}

.mc-date {
  font-size: 12px;
  color: var(--fg-dim);
}

.module-card__bar {
  margin-top: 16px;
  height: 4px;
  background: var(--surface);
  border-radius: 2px;
  overflow: hidden;
}

.module-card__bar-fill {
  height: 100%;
  width: 75%;
  background: linear-gradient(90deg, var(--accent), rgba(0, 229, 204, 0.4));
  border-radius: 2px;
}

/* ==========================================
   CLOSING
   ========================================== */

.closing {
  padding: 120px 80px;
  background: var(--bg);
  border-top: 1px solid var(--border);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.closing::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 800px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,229,204,0.4), transparent);
}

.closing__inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.closing__headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--fg);
  margin-bottom: 24px;
}

.closing__sub {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 56px;
}

.closing__vision {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  text-align: left;
}

.closing__label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.closing__detail {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.75;
}

/* ==========================================
   FOOTER
   ========================================== */

.footer {
  padding: 40px 80px;
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -0.02em;
}

.footer__tagline {
  display: block;
  font-size: 13px;
  color: var(--fg-dim);
  margin-top: 4px;
}

.footer__meta {
  font-size: 12px;
  color: var(--fg-dim);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer__sep { color: var(--border); }

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 900px) {
  .manifesto, .process, .anatomy, .closing, .footer {
    padding-left: 32px;
    padding-right: 32px;
  }

  .process__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .anatomy__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .manifesto__stats {
    flex-wrap: wrap;
    gap: 32px;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .manifesto, .process, .anatomy, .closing, .footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .process__grid {
    grid-template-columns: 1fr;
  }

  .manifesto__headline {
    font-size: 48px;
  }

  .closing__headline {
    font-size: 32px;
  }

  .manifesto {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

/* Subtle ambient gradient animation */
@keyframes breathe {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.geo-dot {
  animation: breathe 4s ease-in-out infinite;
}
