/* ColdRank — Theme */

:root {
  --bg: #0f0f0f;
  --bg-2: #1a1a1a;
  --bg-3: #242424;
  --fg: #f0f0f0;
  --fg-muted: #999;
  --accent: #b8ff57;
  --accent-dim: #8bcc3f;
  --border: #2a2a2a;
  --radius: 10px;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Figtree', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Nav */
.nav {
  padding: 24px 48px;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}
.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--accent);
  letter-spacing: -0.5px;
}
.nav-tagline {
  font-size: 13px;
  color: var(--fg-muted);
}

/* Hero */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 48px 96px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  background: rgba(184, 255, 87, 0.1);
  border: 1px solid rgba(184, 255, 87, 0.2);
  padding: 5px 12px;
  border-radius: 4px;
  margin-bottom: 28px;
}
.hero-headline {
  font-family: 'Syne', sans-serif;
  font-size: 58px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--fg);
  margin-bottom: 24px;
}
.hero-lede {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.6;
  margin-bottom: 48px;
  max-width: 440px;
}
.hero-stats {
  display: flex;
  gap: 40px;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-stat-value {
  font-family: 'Syne', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
}
.hero-stat-label {
  font-size: 12px;
  color: var(--fg-muted);
  max-width: 80px;
  line-height: 1.3;
}

/* Agent Card */
.hero-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
}
.agent-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--fg-muted);
  margin-bottom: 24px;
}
.agent-workflow {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.agent-step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  color: var(--fg-muted);
  font-size: 14px;
}
.agent-step:last-child { border-bottom: none; }
.agent-step.done { color: var(--fg); }
.agent-step.active { color: var(--accent); font-weight: 500; }
.step-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
}
.agent-step.done .step-dot { background: var(--accent-dim); }
.agent-step.active .step-dot { background: var(--accent); }
.step-dot.pulse {
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}
.agent-progress {
  margin-top: 20px;
}
.progress-bar {
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 50%, var(--border) 50%);
  border-radius: 2px;
  margin-bottom: 8px;
}
.progress-label {
  font-size: 12px;
  color: var(--fg-muted);
}

/* How it works */
.howitworks {
  background: var(--bg-2);
  padding: 96px 48px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-header {
  max-width: 1200px;
  margin: 0 auto 64px;
}
.section-header h2 {
  font-family: 'Syne', sans-serif;
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 520px;
}
.pipeline {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.pipeline-step {
  flex: 1;
  padding: 0 32px 0 0;
}
.pipeline-step:first-child { padding-left: 0; }
.pipe-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--accent);
}
.pipeline-step h3 {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.pipeline-step p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
}
.pipe-arrow {
  padding-top: 16px;
  color: var(--border);
  flex-shrink: 0;
  padding-right: 16px;
}

/* Features */
.features {
  padding: 96px 48px;
  max-width: 1200px;
  margin: 0 auto;
}
.features .section-header h2 {
  font-family: 'Syne', sans-serif;
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 56px;
}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.feature-card {
  background: var(--bg);
  padding: 40px;
  transition: background 0.2s;
}
.feature-card:hover { background: var(--bg-2); }
.feature-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* Manifesto */
.manifesto {
  background: var(--accent);
  padding: 80px 48px;
}
.manifesto-inner {
  max-width: 900px;
  margin: 0 auto;
}
.manifesto-quote {
  font-family: 'Syne', sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  color: #0f0f0f;
  margin-bottom: 24px;
}
.manifesto-attr {
  font-size: 18px;
  color: #0f0f0f;
  opacity: 0.7;
}

/* Closing */
.closing {
  padding: 96px 48px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.closing h2 {
  font-family: 'Syne', sans-serif;
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}
.closing p {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 48px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-brand {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: var(--accent);
}
.footer-copy {
  font-size: 13px;
  color: var(--fg-muted);
}

/* Mobile */
@media (max-width: 768px) {
  .nav { padding: 20px 24px; }
  .hero { padding: 48px 24px; grid-template-columns: 1fr; gap: 48px; }
  .hero-headline { font-size: 38px; letter-spacing: -1px; }
  .hero-stats { gap: 24px; }
  .hero-stat-value { font-size: 24px; }
  .howitworks { padding: 64px 24px; }
  .section-header h2 { font-size: 32px; }
  .pipeline { flex-direction: column; gap: 32px; }
  .pipe-arrow { display: none; }
  .pipeline-step { padding: 0; }
  .features { padding: 64px 24px; }
  .features .section-header h2 { font-size: 32px; }
  .feature-grid { grid-template-columns: 1fr; }
  .manifesto { padding: 64px 24px; }
  .manifesto-quote { font-size: 22px; }
  .closing { padding: 64px 24px; }
  .closing h2 { font-size: 36px; }
  .footer { padding: 32px 24px; }
  .footer-inner { flex-direction: column; gap: 8px; text-align: center; }
}