/* ==========================================
   OutboundOS Landing Page — Design System
   ========================================== */

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

:root {
  --bg:         #08080F;
  --surface:    #11111E;
  --surface2:   #191929;
  --border:     rgba(255,255,255,0.07);
  --lime:       #C6FF00;
  --lime-dim:   rgba(198,255,0,0.12);
  --lime-glow:  rgba(198,255,0,0.25);
  --text:       #E8E8EC;
  --text-muted: #7A7A96;
  --text-dim:   #4A4A66;
  --white:      #FAFAFA;
  --green:      #4ADE80;
  --radius:     12px;
  --radius-sm:  8px;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* --- Typography --- */
h1, h2, h3 { font-family: 'Sora', sans-serif; line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p  { font-size: 1.05rem; color: var(--text-muted); line-height: 1.7; }

.lime { color: var(--lime); }

/* --- Layout Helpers --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ==========================================
   SITE HEADER
   ========================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8,8,15,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 0.6rem; }
.logo-mark {
  width: 36px; height: 36px;
  background: var(--lime);
  color: #000;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  letter-spacing: -0.02em;
}
.logo-text {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  letter-spacing: -0.01em;
}
.header-nav {
  display: flex;
  gap: 2.5rem;
}
.header-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.header-nav a:hover { color: var(--lime); }

/* ==========================================
   HERO
   ========================================== */
.hero {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  padding: 5rem 2rem 4rem;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 400px;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(198,255,0,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--lime);
  background: var(--lime-dim);
  border: 1px solid rgba(198,255,0,0.2);
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}
.live-dot {
  width: 7px; height: 7px;
  background: var(--lime);
  border-radius: 50%;
  animation: pulse-lime 2s infinite;
  box-shadow: 0 0 6px var(--lime);
}
@keyframes pulse-lime {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(0.85); }
}
.hero-headline {
  margin-bottom: 1.25rem;
  color: var(--white);
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}
.hero-metrics {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.metric { text-align: center; }
.metric-value {
  font-family: 'Sora', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--lime);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.metric-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.metric-divider {
  width: 1px; height: 40px;
  background: var(--border);
}

/* --- Dashboard Card --- */
.dashboard-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 0 40px rgba(198,255,0,0.04), 0 24px 48px rgba(0,0,0,0.4);
  position: relative;
  overflow: hidden;
}
.dashboard-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--lime-glow), transparent);
}
.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.dash-title {
  font-family: 'Sora', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.dash-status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--green);
  font-weight: 500;
}
.status-dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse-green 2s infinite;
}
@keyframes pulse-green {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.5; }
}
.dash-rows { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1.5rem; }
.dash-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0.9rem;
  background: var(--surface2);
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 0.85rem;
}
.dash-row-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-weight: 500;
}
.dash-row-right { display: flex; align-items: center; gap: 0.5rem; }
.dash-val { font-family: 'Sora', sans-serif; font-weight: 700; color: var(--white); font-size: 0.95rem; }
.dash-delta { font-size: 0.75rem; font-weight: 600; padding: 0.15rem 0.45rem; border-radius: 100px; }
.dash-delta.up { background: rgba(74,222,128,0.15); color: var(--green); }
.dash-activity {
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.activity-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}
.activity-items { display: flex; flex-direction: column; gap: 0.5rem; }
.activity-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.act-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.3rem;
}
.act-dot.lime  { background: var(--lime); }
.act-dot.green { background: var(--green); }

/* ==========================================
   MANIFESTO
   ========================================== */
.manifesto {
  padding: 5rem 2rem;
  background: linear-gradient(180deg, transparent, rgba(198,255,0,0.02) 50%, transparent);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.manifesto-inner { max-width: 1200px; margin: 0 auto; }
.manifesto-quote {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-weight: 600;
  color: var(--white);
  text-align: center;
  max-width: 860px;
  margin: 0 auto 4rem;
  line-height: 1.4;
  position: relative;
}
.manifesto-quote::before {
  content: '';
  display: block;
  width: 40px; height: 3px;
  background: var(--lime);
  margin: 0 auto 1.5rem;
  border-radius: 2px;
}
.manifesto-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}
.m-stat-num {
  font-family: 'Sora', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--lime);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.m-stat-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 220px;
  margin: 0 auto;
}

/* ==========================================
   WORKFLOW
   ========================================== */
.workflow {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--lime);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
}
.section-title {
  color: var(--white);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}
.workflow-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 4rem;
}
.step {
  flex: 1;
  max-width: 300px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
}
.step-num {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-family: 'Sora', sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}
.step-icon {
  width: 56px; height: 56px;
  background: var(--lime-dim);
  border: 1px solid rgba(198,255,0,0.2);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.step-title {
  font-family: 'Sora', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.step-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
.step-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tag {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--surface2);
  border: 1px solid var(--border);
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
}
.step-connector {
  display: flex;
  align-items: center;
  padding-top: 2rem;
  flex-shrink: 0;
}
.workflow-bottom {
  text-align: center;
  padding: 3rem;
  background: var(--lime-dim);
  border: 1px solid rgba(198,255,0,0.15);
  border-radius: 16px;
}
.cta-label {
  font-family: 'Sora', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.workflow-bottom p { max-width: 540px; margin: 0 auto; }

/* ==========================================
   OUTCOMES
   ========================================== */
.outcomes {
  padding: 6rem 2rem;
  background: linear-gradient(180deg, transparent, rgba(17,17,30,0.8));
}
.outcomes .section-header { max-width: 1200px; margin: 0 auto 4rem; }
.outcomes-grid {
  max-width: 1200px;
  margin: 0 auto 4rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.outcome-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
  transition: border-color 0.2s;
}
.outcome-card:hover { border-color: rgba(198,255,0,0.2); }
.outcome-icon {
  width: 44px; height: 44px;
  background: var(--lime-dim);
  border: 1px solid rgba(198,255,0,0.15);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.outcome-title {
  font-family: 'Sora', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.outcome-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.benchmarks {
  max-width: 700px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
}
.benchmark-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}
.benchmark-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.benchmark-row.highlight .bench-name { color: var(--white); }
.bench-name {
  width: 220px;
  font-size: 0.82rem;
  color: var(--text-muted);
  flex-shrink: 0;
}
.bench-bar-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.bench-bar {
  height: 8px;
  background: var(--surface2);
  border-radius: 4px;
  min-width: 8px;
}
.bench-bar.auto  { background: var(--text-dim); }
.bench-bar.ours  { background: var(--lime); box-shadow: 0 0 8px var(--lime-glow); }
.bench-val {
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
}
.benchmark-row.highlight .bench-val { color: var(--lime); font-weight: 600; }

/* ==========================================
   CLOSING
   ========================================== */
.closing { padding: 6rem 2rem; }
.closing-inner { max-width: 1200px; margin: 0 auto; }
.closing-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}
.closing-headline {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 1rem;
}
.closing-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}
.closing-compare { display: flex; flex-direction: column; gap: 1rem; }
.compare-old, .compare-new {
  padding: 1rem 1.25rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.compare-new { border-color: rgba(198,255,0,0.2); background: var(--lime-dim); }
.compare-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}
.compare-tag.old { background: rgba(255,255,255,0.07); color: var(--text-muted); }
.compare-tag.new { background: rgba(198,255,0,0.2); color: var(--lime); }
.compare-old p, .compare-new p { font-size: 0.88rem; margin: 0; }
/* --- Agent Card --- */
.agent-card {
  background: var(--surface);
  border: 1px solid rgba(198,255,0,0.2);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 0 32px rgba(198,255,0,0.06);
  position: relative;
}
.agent-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(198,255,0,0.3), transparent 50%);
  z-index: -1;
}
.agent-avatar {
  width: 72px; height: 72px;
  background: var(--lime-dim);
  border: 2px solid rgba(198,255,0,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.agent-title {
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.2rem;
}
.agent-status {
  font-size: 0.78rem;
  color: var(--green);
  margin-bottom: 1.5rem;
  display: flex; align-items: center; justify-content: center; gap: 0.4rem;
}
.agent-state { text-align: left; }
.state-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}
.state-row:last-child { border-bottom: none; }
.state-label { color: var(--text-muted); }
.state-val { font-weight: 600; color: var(--white); }
.state-val.green { color: var(--green); }

/* ==========================================
   FOOTER
   ========================================== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.footer-brand { display: flex; align-items: center; gap: 0.5rem; }
.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.footer-note {
  font-size: 0.82rem;
  color: var(--text-dim);
}
.footer-note strong { color: var(--lime); font-weight: 600; }

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-right { order: -1; }
  .manifesto-stats { grid-template-columns: 1fr; gap: 1.5rem; }
  .workflow-steps { flex-direction: column; align-items: center; }
  .step { max-width: 100%; width: 100%; }
  .step-connector { transform: rotate(90deg); }
  .outcomes-grid { grid-template-columns: 1fr 1fr; }
  .closing-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .header-nav { display: none; }
}
@media (max-width: 600px) {
  .hero { padding: 3rem 1.25rem 3rem; }
  .hero-metrics { gap: 1rem; }
  .metric-value { font-size: 1.2rem; }
  .outcomes-grid { grid-template-columns: 1fr; }
  .bench-name { display: none; }
  .closing { padding: 4rem 1.25rem; }
}