/* === SHIPOPS THEME === */
:root {
  --bg: #09090E;
  --bg-card: #0D0D18;
  --bg-card-hover: #111120;
  --border: #1A1A2E;
  --border-bright: #252540;
  --fg: #E8E8F0;
  --fg-muted: #6B6B8A;
  --fg-dim: #3D3D5C;
  --accent-cyan: #00F0FF;
  --accent-cyan-dim: rgba(0,240,255,0.12);
  --accent-amber: #FFB020;
  --accent-amber-dim: rgba(255,176,32,0.12);
  --accent-red: #FF4D6A;
  --accent-green: #00E5A0;
  --font-sans: 'Space Grotesk', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --radius: 10px;
  --radius-sm: 6px;
}

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

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

/* Custom scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-bright); border-radius: 4px; }

/* === NAV === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(9,9,14,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.nav-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-muted);
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 8px var(--accent-green);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* === HERO === */
.hero {
  padding: 120px 0 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: var(--accent-cyan-dim);
  border: 1px solid rgba(0,240,255,0.2);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}
.hero-eyebrow { display: flex; }
.hero-headline {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--fg);
}
.hero-lede {
  font-size: 17px;
  line-height: 1.65;
  color: var(--fg-muted);
  margin-bottom: 40px;
  max-width: 440px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}
.stat { display: flex; flex-direction: column; gap: 3px; }
.stat-value {
  font-size: 26px;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  letter-spacing: -0.03em;
}
.stat-label { font-size: 12px; color: var(--fg-muted); }
.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* Terminal */
.hero-terminal { display: flex; flex-direction: column; gap: 12px; }
.terminal-window {
  background: #0A0A14;
  border: 1px solid var(--border-bright);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 80px rgba(0,240,255,0.04), 0 32px 64px rgba(0,0,0,0.6);
}
.terminal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #0D0D1A;
  border-bottom: 1px solid var(--border);
}
.terminal-dots { display: flex; gap: 6px; }
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot-red { background: #FF5F57; }
.dot-yellow { background: #FEBC2E; }
.dot-green { background: #28C840; }
.terminal-title {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-muted);
}
.terminal-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-green);
}
.pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-green);
  animation: pulse 1.5s ease-in-out infinite;
}
.terminal-body {
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.8;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.terminal-lines { flex: 1; }
.t-line { display: flex; align-items: baseline; gap: 10px; margin-bottom: 1px; }
.t-ts { color: var(--fg-dim); font-size: 11px; flex-shrink: 0; width: 70px; }
.t-dim { color: var(--fg-muted); }
.t-ok { color: var(--accent-green); font-weight: 500; }
.t-error { color: var(--accent-red); font-weight: 500; }
.t-amber { color: var(--accent-amber); font-weight: 500; }
.t-ai { color: var(--accent-cyan); }
.t-active { background: rgba(255,77,106,0.06); border-radius: 4px; padding: 2px 6px; margin: 2px -6px; }
.t-highlight { background: rgba(0,240,255,0.04); border-radius: 4px; padding: 2px 6px; margin: 2px -6px; }
.terminal-cursor-line { display: flex; align-items: center; gap: 8px; margin-top: 12px; color: var(--fg-muted); }
.cursor {
  width: 8px;
  height: 16px;
  background: var(--accent-cyan);
  display: inline-block;
  animation: blink 1s step-end infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.hero-terminal-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-dim);
  text-align: center;
}

/* === SECTION COMMON === */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-cyan);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

/* === HOW IT WORKS === */
.how-it-works {
  padding: 100px 0;
  background: #0B0B12;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.how-it-works .section-header { max-width: 1200px; margin: 0 auto 56px; padding: 0 32px; text-align: center; }
.workflow-steps {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.step {
  flex: 1;
  padding: 24px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  transition: border-color 0.2s;
}
.step:hover { border-color: var(--border-bright); }
.step-number {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-dim);
  margin-bottom: 14px;
  font-weight: 500;
}
.step-content h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.step-content p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--fg-muted);
}
.step-connector {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 0 4px;
  padding-top: 36px;
}

/* === FEATURES === */
.features { padding: 100px 0; }
.features .section-header { max-width: 1200px; margin: 0 auto 48px; padding: 0 32px; }
.features-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  transition: all 0.2s;
}
.feature-card:hover { border-color: var(--border-bright); background: var(--bg-card-hover); }
.feature-primary {
  border-color: rgba(0,240,255,0.15);
  background: rgba(0,240,255,0.03);
}
.feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.feature-card p {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--fg-muted);
  margin-bottom: 20px;
}
.feature-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  padding: 3px 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--fg-muted);
}

/* === MANIFESTO === */
.manifesto {
  padding: 100px 0;
  background: #0B0B12;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.manifesto-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 32px;
}
.manifesto-label { margin-bottom: 32px; }
.manifesto-quote {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 32px;
  font-style: italic;
  opacity: 0.9;
}
.manifesto-body {
  font-size: 15px;
  line-height: 1.75;
  color: var(--fg-muted);
  margin-bottom: 20px;
}
.manifesto-highlight {
  color: var(--fg);
  font-weight: 500;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

/* === CLOSING === */
.closing { padding: 100px 0; }
.closing-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; text-align: center; }
.closing-headline {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 20px;
}
.closing-body {
  font-size: 16px;
  color: var(--fg-muted);
  max-width: 500px;
  margin: 0 auto 56px;
  line-height: 1.65;
}
.pipeline-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.pipe-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.pipe-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-muted);
  text-transform: lowercase;
}
.pipe-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--border-bright);
  background: transparent;
}
.pipe-done { border-color: var(--accent-green); background: var(--accent-green); box-shadow: 0 0 12px rgba(0,229,160,0.4); }
.pipe-active { border-color: var(--accent-cyan); }
.pipe-agent { padding: 10px 16px; border: 1px solid rgba(0,240,255,0.2); border-radius: 100px; background: rgba(0,240,255,0.05); }
.pipe-agent-icon { font-size: 18px; line-height: 1; }
.pipe-line { width: 40px; height: 2px; }
.pipe-done-line { background: var(--accent-green); opacity: 0.4; }
.pipe-active-line { background: var(--border-bright); }

/* === FOOTER === */
.footer { padding: 48px 0; border-top: 1px solid var(--border); }
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
}
.footer-tagline {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-muted);
}
.footer-links { font-size: 12px; color: var(--fg-dim); font-family: var(--font-mono); }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-content { text-align: center; }
  .hero-lede { max-width: 100%; }
  .hero-stats { justify-content: center; }
  .hero-terminal { order: -1; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .workflow-steps { flex-direction: column; gap: 16px; }
  .step-connector { display: none; }
}
@media (max-width: 600px) {
  .hero { padding: 100px 0 60px; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .nav-inner { padding: 0 20px; }
  .hero-inner, .how-it-works, .features, .manifesto, .closing, .footer { padding-left: 20px; padding-right: 20px; }
}