:root {
  --bg: #0A0A0F;
  --surface: #141418;
  --surface2: #1E1E24;
  --border: #2A2A33;
  --fg: #F0F0F0;
  --fg-muted: #8A8A9A;
  --lime: #B5FF00;
  --amber: #FFB700;
  --red: #FF4757;
  --font-display: 'Syne', sans-serif;
  --font-body: 'IBM Plex Sans', sans-serif;
}

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

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

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

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 48px;
  position: relative;
  overflow: hidden;
}

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

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,183,0,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
  background: rgba(181,255,0,0.08);
  border: 1px solid rgba(181,255,0,0.2);
  padding: 6px 12px;
  border-radius: 2px;
  width: fit-content;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg);
}

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

.hero-sub {
  font-size: 17px;
  line-height: 1.65;
  color: var(--fg-muted);
  max-width: 480px;
}

/* DASHBOARD FRAME */
.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.dashboard-frame {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 100%;
  max-width: 480px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 60px rgba(181,255,0,0.05);
}

.dash-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface2);
}

.dash-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dash-dot.red { background: #FF5F57; }
.dash-dot.yellow { background: #FEBC2E; }
.dash-dot.green { background: #28C840; }

.dash-title {
  font-size: 12px;
  color: var(--fg-muted);
  margin-left: 8px;
  font-family: var(--font-body);
}

.dash-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dash-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.dash-stat {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 12px;
  text-align: center;
}

.dash-stat-value {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--fg);
}

.dash-stat-value.lime { color: var(--lime); }
.dash-stat-value.amber { color: var(--amber); }

.dash-stat-label {
  font-size: 10px;
  color: var(--fg-muted);
  margin-top: 4px;
}

.dash-queue {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.queue-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--surface2);
  border-radius: 4px;
  border: 1px solid var(--border);
  font-size: 12px;
}

.queue-status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.queue-status.sending { background: var(--lime); box-shadow: 0 0 6px var(--lime); }
.queue-status.queued { background: var(--amber); }
.queue-status.done { background: #28C840; }

.queue-name {
  font-weight: 500;
  color: var(--fg);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.queue-action {
  color: var(--fg-muted);
  font-size: 11px;
  white-space: nowrap;
}

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

.dash-agent {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(181,255,0,0.04);
  border: 1px solid rgba(181,255,0,0.15);
  border-radius: 4px;
  font-size: 12px;
  color: var(--lime);
}

.agent-pulse {
  width: 8px;
  height: 8px;
  background: var(--lime);
  border-radius: 50%;
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* OUTCOMES */
.outcomes {
  padding: 80px 48px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.outcomes-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.outcome-card {
  background: var(--surface);
  padding: 48px 32px;
  text-align: center;
}

.outcome-number {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  color: var(--lime);
  letter-spacing: -0.04em;
  line-height: 1;
}

.outcome-label {
  margin-top: 16px;
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.5;
}

/* FEATURE SECTIONS */
.feature-section {
  padding: 120px 48px;
  border-bottom: 1px solid var(--border);
}

.feature-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.feature-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 48px;
}

.feature-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.feature-content.reverse {
  direction: rtl;
}

.feature-content.reverse > * {
  direction: ltr;
}

.feature-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--fg);
}

.feature-body {
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--fg-muted);
}

.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.pill {
  font-size: 12px;
  font-weight: 500;
  padding: 5px 12px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--fg-muted);
}

/* RESEARCH VISUAL */
.research-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.research-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.res-header {
  padding: 12px 16px;
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  font-weight: 600;
  color: var(--lime);
}

.res-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.res-row:last-child { border-bottom: none; }

.res-key {
  color: var(--fg-muted);
  font-size: 12px;
}

.res-val {
  color: var(--fg);
}

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

.research-tokens {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tok {
  font-size: 11px;
  padding: 4px 10px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--fg-muted);
}

.tok-active {
  background: rgba(181,255,0,0.08);
  border-color: rgba(181,255,0,0.2);
  color: var(--lime);
}

/* COMPOSE VISUAL */
.compose-email {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.email-header {
  padding: 14px 16px;
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.email-to { color: var(--fg-muted); }
.email-subject { color: var(--fg); font-weight: 500; }

.email-body {
  padding: 20px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--fg-muted);
}

.email-body p { margin-bottom: 12px; }
.email-body p:last-child { margin-bottom: 0; }

.email-tags {
  display: flex;
  gap: 8px;
  padding: 12px 20px;
  border-top: 1px solid var(--border);
}

.etag {
  font-size: 11px;
  padding: 3px 8px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--fg-muted);
}

.etag.lime {
  background: rgba(181,255,0,0.08);
  border-color: rgba(181,255,0,0.2);
  color: var(--lime);
}

/* REPLIES VISUAL */
.reply-inbox {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.inbox-header {
  padding: 12px 16px;
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  font-weight: 600;
  color: var(--lime);
}

.reply-item {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}

.reply-item:last-child { border-bottom: none; }

.reply-sender {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 4px;
}

.reply-preview {
  font-size: 13px;
  color: var(--fg-muted);
  margin-bottom: 8px;
}

.reply-action {
  display: flex;
  align-items: center;
  gap: 8px;
}

.action-tag {
  font-size: 11px;
  padding: 3px 8px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--fg-muted);
}

.action-tag.hot {
  background: rgba(181,255,0,0.08);
  border-color: rgba(181,255,0,0.2);
  color: var(--lime);
}

.action-tag.lime {
  background: rgba(40,200,64,0.1);
  border-color: rgba(40,200,64,0.3);
  color: #28C840;
}

.action-tag.muted { opacity: 0.5; }

/* MANIFESTO */
.manifesto {
  padding: 120px 48px;
  background: var(--surface);
}

.manifesto-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.manifesto-rule {
  width: 48px;
  height: 1px;
  background: var(--lime);
  margin: 0 auto 48px;
}

.manifesto-text {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 600;
  line-height: 1.5;
  color: var(--fg);
  margin-bottom: 32px;
}

.manifesto-text:last-of-type { margin-bottom: 0; }

.manifesto-footer {
  margin-top: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.manifesto-brand {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.02em;
}

.manifesto-sub {
  font-size: 14px;
  color: var(--fg-muted);
}

/* FOOTER */
.site-footer {
  padding: 40px 48px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.02em;
}

.footer-links {
  font-size: 13px;
  color: var(--fg-muted);
}

.footer-meta {
  font-size: 12px;
  color: var(--fg-muted);
  opacity: 0.5;
}

/* MOBILE RESPONSIVE */
@media (max-width: 900px) {
  .hero {
    padding: 60px 24px;
    min-height: auto;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-headline { font-size: 36px; }
  .outcomes { padding: 60px 24px; }
  .outcomes-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-section { padding: 80px 24px; }
  .feature-content {
    grid-template-columns: 1fr;
    gap: 48px;
    direction: ltr;
  }
  .feature-content.reverse { direction: ltr; }
  .feature-headline { font-size: 32px; }
  .manifesto { padding: 80px 24px; }
  .manifesto-text { font-size: 20px; }
  .footer-inner { flex-direction: column; text-align: center; gap: 12px; }
  .dash-stat-row { grid-template-columns: repeat(3, 1fr); }
  .dash-stat-value { font-size: 18px; }
}

@media (max-width: 500px) {
  .outcomes-grid { grid-template-columns: 1fr; }
  .hero-right { display: none; }
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
