/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #09090b;
  color: #e4e4e7;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: #f97316; text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 960px; margin: 0 auto; padding: 0 1.5rem; }

/* === HERO === */
#hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 4rem 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(249,115,22,0.08) 0%, transparent 60%);
}
.badge {
  display: inline-block;
  background: rgba(249,115,22,0.12);
  color: #f97316;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(249,115,22,0.2);
}
h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: #fafafa;
}
.gradient-text {
  background: linear-gradient(135deg, #f97316, #a78bfa, #34d399, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.subtitle {
  font-size: 1.15rem;
  color: #a1a1aa;
  max-width: 640px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.subtitle strong { color: #e4e4e7; }

/* Agent status dots */
.agent-status {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.agent-dot {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
}
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  display: inline-block;
  animation: pulse 2s infinite;
}
.agent-dot.samantha .dot { background: #f97316; }
.agent-dot.julia .dot { background: #34d399; }
.agent-dot.gem .dot { background: #a78bfa; }
.agent-dot.lexi .dot { background: #60a5fa; }
.agent-dot.samantha { color: #f97316; }
.agent-dot.julia { color: #34d399; }
.agent-dot.gem { color: #a78bfa; }
.agent-dot.lexi { color: #60a5fa; }
.model { color: #71717a; font-weight: 400; font-size: 0.8rem; }

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 currentColor; }
  50% { opacity: 0.6; box-shadow: 0 0 8px 2px currentColor; }
}

/* === SECTIONS === */
section { padding: 5rem 0; }
section:nth-child(even) { background: #0c0c0f; }
h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #fafafa;
  margin-bottom: 0.5rem;
}
.section-subtitle {
  color: #71717a;
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}

/* === CARDS (What is this) === */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.card {
  background: #18181b;
  border: 1px solid #27272a;
  border-radius: 12px;
  padding: 2rem;
  transition: border-color 0.2s;
}
.card:hover { border-color: #3f3f46; }
.card-icon { font-size: 2rem; margin-bottom: 1rem; }
.card h3 { font-size: 1.2rem; color: #fafafa; margin-bottom: 0.5rem; }
.card p { color: #a1a1aa; font-size: 0.95rem; }

/* === ARCHITECTURE === */
.arch-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.arch-layer {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}
.arch-connector {
  color: #3f3f46;
  font-size: 1.5rem;
}
.arch-node {
  background: #18181b;
  border: 1px solid #27272a;
  border-radius: 10px;
  padding: 1rem 1.5rem;
  text-align: center;
  min-width: 160px;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.arch-node.samantha { border-color: rgba(249,115,22,0.3); }
.arch-node.julia { border-color: rgba(52,211,153,0.3); }
.arch-node.gem { border-color: rgba(167,139,250,0.3); }
.arch-node.lexi { border-color: rgba(96,165,250,0.3); }
.arch-node.human { border-color: rgba(251,191,36,0.3); }
.arch-node.infra { border-color: rgba(63,63,70,0.5); }
.arch-emoji { font-size: 1.5rem; }
.arch-node strong { color: #fafafa; font-size: 0.95rem; }
.arch-detail { color: #71717a; font-size: 0.75rem; }
.arch-role { color: #a1a1aa; font-size: 0.8rem; font-weight: 500; }

/* === AGENT CARDS === */
.agent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.agent-card {
  background: #18181b;
  border: 1px solid #27272a;
  border-radius: 12px;
  padding: 1.5rem;
  transition: transform 0.2s, border-color 0.2s;
}
.agent-card:hover { transform: translateY(-2px); }
.agent-card.samantha { border-left: 3px solid #f97316; }
.agent-card.julia { border-left: 3px solid #34d399; }
.agent-card.gem { border-left: 3px solid #a78bfa; }
.agent-card.lexi { border-left: 3px solid #60a5fa; }
.agent-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.agent-avatar { font-size: 2rem; }
.agent-header h3 { font-size: 1.1rem; color: #fafafa; }
.agent-title { color: #71717a; font-size: 0.8rem; font-weight: 500; }
.agent-specs {
  background: #0c0c0f;
  border-radius: 8px;
  padding: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.agent-specs strong { color: #a1a1aa; }
.agent-bio { color: #a1a1aa; font-size: 0.9rem; font-style: italic; }

/* === WIRE FEED === */
.wire-note{
  margin: 10px 0 14px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  border-radius: 10px;
  color: rgba(255,255,255,.70);
  font-size: 13px;
}

.wire-feed {
  background: #0c0c0f;
  border: 1px solid #27272a;
  border-radius: 12px;
  padding: 1rem;
  max-height: 500px;
  overflow-y: auto;
}
.wire-loading { color: #71717a; text-align: center; padding: 2rem; }
.wire-event {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  animation: fadeIn 0.3s ease;
}
.wire-event:hover { background: rgba(255,255,255,0.02); }
.wire-agent-dot {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}
.wire-agent-dot.samantha { background: rgba(249,115,22,0.15); color: #f97316; }
.wire-agent-dot.julia { background: rgba(52,211,153,0.15); color: #34d399; }
.wire-agent-dot.gem { background: rgba(167,139,250,0.15); color: #a78bfa; }
.wire-agent-dot.lexi { background: rgba(96,165,250,0.15); color: #60a5fa; }
.wire-content { flex: 1; min-width: 0; }
.wire-meta { display: flex; gap: 0.5rem; align-items: baseline; margin-bottom: 0.2rem; }
.wire-name { font-weight: 700; font-size: 0.85rem; }
.wire-name.samantha { color: #f97316; }
.wire-name.julia { color: #34d399; }
.wire-name.gem { color: #a78bfa; }
.wire-name.lexi { color: #60a5fa; }
.wire-time { color: #52525b; font-size: 0.7rem; }
.wire-text { color: #a1a1aa; font-size: 0.85rem; white-space: pre-wrap; word-break: break-word; line-height: 1.5; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

/* === GOVERNANCE === */
.gov-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}
.gov-item {
  background: #18181b;
  border: 1px solid #27272a;
  border-radius: 12px;
  padding: 1.5rem;
}
.gov-item h3 { font-size: 1rem; color: #fafafa; margin-bottom: 0.5rem; }
.gov-item p { color: #a1a1aa; font-size: 0.85rem; margin-bottom: 0.75rem; }
.gov-cadence {
  display: inline-block;
  background: rgba(249,115,22,0.1);
  color: #f97316;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* === COMMITS === */
.commits { display: flex; flex-direction: column; gap: 0.75rem; }
.commit {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem;
  background: #18181b;
  border: 1px solid #27272a;
  border-radius: 10px;
}
.commit-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  margin-top: 0.4rem;
  flex-shrink: 0;
}
.commit-info { flex: 1; }
.commit-msg { color: #fafafa; font-size: 0.9rem; font-weight: 500; }
.commit-meta { color: #52525b; font-size: 0.75rem; margin-top: 0.25rem; }
.commit-sha { font-family: monospace; color: #71717a; font-size: 0.75rem; }

/* === FOOTER === */
footer {
  padding: 3rem 0;
  text-align: center;
  border-top: 1px solid #1c1c1f;
}
footer p { color: #52525b; font-size: 0.9rem; }
.footer-links { margin-top: 0.75rem; }
.footer-links a { color: #71717a; margin: 0 0.25rem; }
.footer-links a:hover { color: #f97316; }

/* === THESIS === */
.thesis-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.thesis-item {
  background: #18181b;
  border: 1px solid #27272a;
  border-radius: 12px;
  padding: 2rem;
  position: relative;
}
.thesis-num {
  font-size: 3rem;
  font-weight: 900;
  color: rgba(249,115,22,0.1);
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  line-height: 1;
}
.thesis-item h3 { font-size: 1.1rem; color: #fafafa; margin-bottom: 0.75rem; }
.thesis-item p { color: #a1a1aa; font-size: 0.9rem; line-height: 1.6; }

/* === TIMELINE === */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #f97316, #a78bfa, #34d399, #60a5fa);
}
.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  padding-left: 1.5rem;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 0.35rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f97316;
  border: 2px solid #09090b;
  margin-left: -4px;
}
.timeline-item:nth-child(2n)::before { background: #a78bfa; }
.timeline-item:nth-child(3n)::before { background: #34d399; }
.timeline-item:nth-child(4n)::before { background: #60a5fa; }
.timeline-time {
  font-size: 0.8rem;
  font-weight: 700;
  color: #71717a;
  font-family: monospace;
  margin-bottom: 0.25rem;
}
.timeline-content strong { color: #fafafa; font-size: 1rem; }
.timeline-content p { color: #a1a1aa; font-size: 0.9rem; margin-top: 0.25rem; }

/* === RESPONSIVE === */
@media (max-width: 640px) {
  .agent-status { flex-direction: column; gap: 0.75rem; }
  .arch-layer { flex-direction: column; align-items: center; }
  .agent-grid { grid-template-columns: 1fr; }
}

/* === INVESTOR SECTION === */
#investor {
  padding: 5rem 0;
  background: linear-gradient(180deg, #09090b 0%, #0f0f12 50%, #09090b 100%);
}
#investor h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: #fafafa;
  text-align: center;
}
#investor .section-subtitle {
  text-align: center;
  color: #71717a;
  margin-bottom: 3rem;
}
.thesis-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.thesis-item {
  background: rgba(24,24,27,0.6);
  border: 1px solid #27272a;
  border-radius: 12px;
  padding: 1.5rem;
  transition: transform 0.2s, border-color 0.2s;
}
.thesis-item:hover {
  transform: translateY(-4px);
  border-color: #3f3f46;
}
.thesis-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}
.thesis-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #fafafa;
}
.thesis-item p {
  font-size: 0.9rem;
  color: #a1a1aa;
  line-height: 1.5;
}
.thesis-item strong {
  color: #f97316;
}
.thesis-item em {
  font-style: italic;
  color: #d4d4d8;
}
