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

:root {
  --midnight: #0A0D16;
  --deep: #0F1219;
  --card-bg: #141821;
  --card-border: #1E2433;
  --cyan: #00E5C4;
  --amber: #F5A623;
  --text: #F0EFE9;
  --text-muted: #8A8FA3;
  --text-dim: #4A4F63;
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'General Sans', system-ui, sans-serif;
}

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

body {
  background: var(--midnight);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* === NAV === */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 3rem;
  border-bottom: 1px solid var(--card-border);
  position: sticky;
  top: 0;
  background: rgba(10, 13, 22, 0.85);
  backdrop-filter: blur(12px);
  z-index: 100;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--cyan);
  color: var(--midnight);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  font-family: var(--font-body);
  letter-spacing: 0;
}

.nav-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* === HERO === */
.hero {
  padding: 6rem 3rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 229, 196, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

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

.hero-eyebrow {
  margin-bottom: 1.5rem;
}

.eyebrow-tag {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border: 1px solid var(--cyan);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.hero-headline em {
  font-style: italic;
  color: var(--cyan);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pill {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 100px;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Agent Stack */
.agent-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.agent-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
  transition: border-color 0.2s ease;
}

.agent-card--active {
  border-color: rgba(0, 229, 196, 0.3);
  box-shadow: 0 0 20px rgba(0, 229, 196, 0.04), 0 8px 32px rgba(0, 0, 0, 0.3);
}

.agent-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.agent-avatar {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--cyan);
  flex-shrink: 0;
}

.agent-meta {
  flex: 1;
}

.agent-name {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
}

.agent-status {
  display: block;
  font-size: 0.7rem;
  color: var(--text-dim);
  font-weight: 500;
}

.agent-status.active {
  color: var(--cyan);
}

.agent-badge {
  font-size: 0.65rem;
  color: var(--amber);
  font-weight: 600;
  letter-spacing: 0.04em;
  background: rgba(245, 166, 35, 0.1);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.agent-stat-row {
  margin-bottom: 0.6rem;
}

.agent-stat-val {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text);
  font-family: var(--font-body);
}

.agent-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-left: 0.5rem;
}

.agent-progress {
  height: 3px;
  background: var(--card-border);
  border-radius: 2px;
  overflow: hidden;
}

.agent-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), rgba(0, 229, 196, 0.5));
  border-radius: 2px;
  transition: width 1s ease;
}

/* === METRICS === */
.metrics {
  padding: 3rem;
  background: var(--deep);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}

.metrics-inner { max-width: 1200px; margin: 0 auto; }

.metrics-row {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.metric { flex: 1; }

.metric-value {
  display: block;
  font-family: var(--font-display);
  font-size: 2.25rem;
  color: var(--text);
  letter-spacing: -0.03em;
  margin-bottom: 0.25rem;
}

.metric-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.metric-divider {
  width: 1px;
  height: 60px;
  background: var(--card-border);
  flex-shrink: 0;
}

/* === AGENTS SECTION === */
.agents {
  padding: 6rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.agents-header {
  margin-bottom: 4rem;
  max-width: 560px;
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
}

.section-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
}

.agents-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.agent-feature {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.agent-feature:hover {
  border-color: rgba(0, 229, 196, 0.2);
  transform: translateY(-2px);
}

.agent-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(0, 229, 196, 0.1);
  border: 1px solid rgba(0, 229, 196, 0.2);
  color: var(--cyan);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 1.25rem;
}

.agent-feature-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.agent-feature-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.agent-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.agent-feature-list li {
  font-size: 0.82rem;
  color: var(--text-muted);
  padding-left: 1.2rem;
  position: relative;
}

.agent-feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
}

/* === MANIFESTO === */
.manifesto {
  padding: 6rem 3rem;
  background: var(--deep);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}

.manifesto-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.manifesto-quote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 400;
  font-style: italic;
  color: var(--text);
  line-height: 1.5;
  max-width: 780px;
  margin: 1.5rem 0 2rem;
  letter-spacing: -0.02em;
  position: relative;
  padding-left: 2rem;
}

.manifesto-quote::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--cyan), var(--amber));
  border-radius: 2px;
}

.manifesto-body {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 660px;
  line-height: 1.75;
  margin-bottom: 4rem;
}

.manifesto-numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.manifesto-num {}

.manifesto-big {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--text);
  letter-spacing: -0.04em;
  margin-bottom: 0.3rem;
}

.manifesto-small {
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.4;
}

/* === CLOSING === */
.closing {
  padding: 8rem 3rem;
  position: relative;
  overflow: hidden;
}

.closing::before {
  content: '';
  position: absolute;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(0, 229, 196, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.closing-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.closing-content {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.closing-body {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.closing-cta {
  margin-bottom: 1.5rem;
}

.cta-tag {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.cta-price {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--text);
  letter-spacing: -0.04em;
}

.cta-period {
  font-size: 1.5rem;
  color: var(--text-muted);
}

.closing-promise {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.promise-item {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.promise-sep {
  color: var(--card-border);
}

/* === FOOTER === */
.footer {
  border-top: 1px solid var(--card-border);
  padding: 3rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1rem;
  white-space: nowrap;
}

.footer-tagline {
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.6;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .nav { padding: 1rem 1.5rem; }
  .hero { padding: 4rem 1.5rem 3rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { display: none; }
  .metrics { padding: 2rem 1.5rem; }
  .metrics-row { flex-direction: column; gap: 1.5rem; }
  .metric-divider { display: none; }
  .agents { padding: 4rem 1.5rem; }
  .agents-grid { grid-template-columns: 1fr; }
  .manifesto { padding: 4rem 1.5rem; }
  .manifesto-numbers { grid-template-columns: 1fr; gap: 1.5rem; }
  .closing { padding: 5rem 1.5rem; }
  .footer { padding: 2rem 1.5rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

@media (max-width: 480px) {
  .hero-pill-row { display: none; }
  .nav-status { display: none; }
  .metric-value { font-size: 1.8rem; }
  .manifesto-big { font-size: 2rem; }
  .cta-price { font-size: 2.5rem; }
  .closing-promise { flex-direction: column; }
  .promise-sep { display: none; }
}