/* ==========================================
   OUTREACH OS — CUSTOM STYLESHEET
   Dark tech brand — acid lime on obsidian
   ========================================== */

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

/* Tokens */
:root {
  --bg:        #09090B;
  --surface:   #111113;
  --border:    #222225;
  --fg:        #EDEDED;
  --fg-muted:  #888;
  --accent:    #C6FF00;
  --accent-dim: rgba(198, 255, 0, 0.08);
  --accent-dim2: rgba(198, 255, 0, 0.04);
  --red:       #FF4D4D;
  --font-head: 'Barlow Condensed', sans-serif;
  --font-body: 'Instrument Sans', sans-serif;
  --radius:    6px;
}

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

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

/* ---- NAV ---- */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  border-bottom: 1px solid var(--border);
}

.nav-brand { display: flex; align-items: center; gap: 0.5rem; }
.brand-mark { color: var(--accent); font-size: 1.2rem; }
.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-status { display: flex; align-items: center; gap: 0.5rem; }
.status-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
}
.status-label {
  font-size: 0.8rem;
  color: var(--fg-muted);
  font-family: var(--font-head);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ---- HERO ---- */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding: 5rem 3rem 4rem;
  min-height: 90vh;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  border: 1px solid rgba(198,255,0,0.25);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  width: fit-content;
  margin-bottom: 2rem;
}
.tag-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.hero-headline {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--fg);
  margin-bottom: 1.5rem;
}

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

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.stat { display: flex; flex-direction: column; gap: 0.2rem; }
.stat-num {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
}
.stat-label { font-size: 0.75rem; color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* Agent Window */
.agent-window {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04);
}

.agent-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--accent-dim2);
}

.agent-avatar {
  width: 38px; height: 38px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.agent-icon { font-size: 0.9rem; color: #09090B; }

.agent-meta { flex: 1; }
.agent-name {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.agent-status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--accent);
  margin-top: 0.2rem;
}
.pulse {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(198,255,0,0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 4px rgba(198,255,0,0); }
}

.agent-feed { padding: 1rem 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; }

.feed-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.8rem;
  color: var(--fg-muted);
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  border: 1px solid transparent;
  transition: all 0.2s;
}
.feed-item.done { color: var(--fg); }
.feed-item.active { border-color: rgba(198,255,0,0.15); background: var(--accent-dim); color: var(--accent); }
.feed-item.pending { opacity: 0.4; }

.feed-check { color: var(--accent); font-size: 0.75rem; flex-shrink: 0; margin-top: 1px; }
.feed-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
  animation: blink 1.5s infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.feed-clock { color: var(--fg-muted); font-size: 0.75rem; flex-shrink: 0; margin-top: 1px; }

.agent-metrics {
  display: flex;
  border-top: 1px solid var(--border);
  background: var(--accent-dim2);
}
.metric {
  flex: 1;
  padding: 1rem;
  text-align: center;
  border-right: 1px solid var(--border);
}
.metric:last-child { border-right: none; }
.metric-val {
  display: block;
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}
.metric-lbl { font-size: 0.7rem; color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.06em; }

/* ---- PROOF ---- */
.proof {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 4rem 3rem;
  background: var(--surface);
}

.proof-label {
  font-family: var(--font-head);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-muted);
  text-align: center;
  margin-bottom: 3rem;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  max-width: 1200px;
  margin: 0 auto;
}

.proof-item {
  display: flex;
  gap: 1rem;
  padding: 1.5rem 2rem;
  border-right: 1px solid var(--border);
}
.proof-item:last-child, .proof-item:nth-child(3) { border-right: none; }
.proof-item:nth-child(n+4) { border-top: 1px solid var(--border); }

.proof-num {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 800;
  color: rgba(198,255,0,0.15);
  line-height: 1;
  flex-shrink: 0;
  min-width: 2.5rem;
}

.proof-text { font-size: 0.875rem; line-height: 1.6; color: var(--fg-muted); }
.proof-text strong { color: var(--fg); font-weight: 600; }

/* ---- HOW / TIMELINE ---- */
.how { padding: 6rem 3rem; max-width: 1200px; margin: 0 auto; }

.how-header { text-align: center; margin-bottom: 5rem; }
.section-tag {
  font-family: var(--font-head);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 1rem;
  display: block;
}

.how-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.timeline { display: flex; flex-direction: column; gap: 0; }

.timeline-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  padding-bottom: 3rem;
}
.timeline-item:last-child { padding-bottom: 0; }

.tl-marker { display: flex; flex-direction: column; align-items: center; padding-top: 0.2rem; }
.tl-num {
  width: 48px; height: 48px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent);
  flex-shrink: 0;
}
.tl-line {
  flex: 1;
  width: 1px;
  background: var(--border);
  margin: 0.8rem 0;
  min-height: 60px;
}
.tl-line.last { background: transparent; }

.tl-content { }
.tl-heading {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
  color: var(--fg);
}
.tl-body { font-size: 0.95rem; color: var(--fg-muted); line-height: 1.7; margin-bottom: 1rem; }

.tl-example {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  padding: 0.8rem 1rem;
  border-radius: 0 4px 4px 0;
  font-size: 0.8rem;
  color: var(--fg-muted);
}
.example-label {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.7rem;
  display: block;
  margin-bottom: 0.3rem;
}

/* ---- FOR WHOM ---- */
.forwhom { padding: 6rem 3rem; background: var(--surface); border-top: 1px solid var(--border); }

.forwhom-header { text-align: center; margin-bottom: 4rem; }
.forwhom-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.persona-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  max-width: 1200px;
  margin: 0 auto;
}

.persona {
  background: var(--bg);
  padding: 2.5rem 2rem;
}

.persona-icon {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: rgba(198,255,0,0.2);
  margin-bottom: 1.5rem;
  line-height: 1;
}

.persona-name {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
  color: var(--fg);
}

.persona-desc { font-size: 0.875rem; color: var(--fg-muted); line-height: 1.65; }

.forwhom-cta {
  max-width: 600px;
  margin: 4rem auto 0;
  text-align: center;
}
.cta-note {
  font-family: var(--font-head);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  margin-bottom: 0.5rem;
}
.cta-body { font-size: 0.9rem; color: var(--fg-muted); }

/* ---- CLOSING ---- */
.closing {
  padding: 6rem 3rem;
  border-top: 1px solid var(--border);
  max-width: 1300px;
  margin: 0 auto;
}

.closing-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin-bottom: 5rem;
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.closing-stat { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; padding: 0 4rem; }
.closing-num {
  font-family: var(--font-head);
  font-size: 4rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.closing-label {
  font-family: var(--font-head);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
}
.closing-divider { width: 1px; height: 80px; background: var(--border); }

.closing-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto 4rem;
}

.closing-body p { font-size: 1rem; color: var(--fg-muted); line-height: 1.75; }

.closing-vision {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  border-top: 1px solid var(--border);
  padding-top: 3rem;
}
.closing-vision p {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--fg);
  line-height: 1.5;
}

/* ---- FOOTER ---- */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand { display: flex; align-items: center; gap: 0.5rem; }
.footer-tagline {
  font-size: 0.8rem;
  color: var(--fg-muted);
  font-style: italic;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 3rem; padding: 3rem 1.5rem 2rem; min-height: auto; }
  .hero-left { order: 1; }
  .hero-right { order: 2; }
  .hero-headline { font-size: 3rem; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-item { border-right: none; border-bottom: 1px solid var(--border); }
  .proof-item:last-child { border-bottom: none; }
  .proof-item:nth-child(n+4) { border-top: none; }
  .persona-grid { grid-template-columns: 1fr; }
  .timeline-item { grid-template-columns: 60px 1fr; gap: 1rem; }
  .closing-inner { flex-direction: column; gap: 2rem; }
  .closing-divider { width: 80px; height: 1px; }
  .closing-body { grid-template-columns: 1fr; gap: 1.5rem; }
  .nav { padding: 1rem 1.5rem; }
  .how, .forwhom, .closing { padding: 4rem 1.5rem; }
  .proof { padding: 4rem 1.5rem; }
  .footer { flex-direction: column; gap: 1rem; text-align: center; }
}

@media (max-width: 600px) {
  .hero-stats { gap: 1rem; }
  .stat { min-width: 70px; }
  .closing-num { font-size: 2.5rem; }
  .closing-stat { padding: 0 2rem; }
}
