:root {
  --bg: #0c0c0c;
  --surface: #141414;
  --surface-2: #1c1c1c;
  --border: #272727;
  --text: #e8e3d8;
  --text-muted: #7a7a7a;
  --accent: #f5a623;
  --accent-dim: rgba(245, 166, 35, 0.15);
}

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

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

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

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
}

.hero-content {
  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-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-dim);
  border: 1px solid rgba(245,166,35,0.25);
  border-radius: 100px;
  padding: 5px 14px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 28px;
  text-transform: uppercase;
}

.badge-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

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

.hero-headline {
  font-family: 'Bebas Neue', 'Arial Narrow', sans-serif;
  font-size: clamp(72px, 8vw, 110px);
  line-height: 0.92;
  letter-spacing: 0.01em;
  color: var(--text);
  margin-bottom: 28px;
}

.hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 420px;
  margin-bottom: 40px;
  font-weight: 300;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.stat { display: flex; flex-direction: column; }

.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
  max-width: 140px;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ── DASHBOARD FRAME ── */
.dashboard-frame {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04) inset;
}

.dashboard-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}

.dt-left { display: flex; gap: 6px; }
.dt-dot { width: 10px; height: 10px; border-radius: 50%; }
.dt-dot.red { background: #ff5f57; }
.dt-dot.yellow { background: #ffbd2e; }
.dt-dot.green { background: #28c840; }

.dt-title {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.dt-right {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: #28c840;
  letter-spacing: 0.1em;
}

.dt-pulse {
  width: 6px; height: 6px;
  background: #28c840;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

.dashboard-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.db-header { display: flex; flex-direction: column; gap: 6px; }

.db-section-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.db-status-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.db-live-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: #28c840;
  letter-spacing: 0.08em;
}

.db-account-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.db-insight {
  background: rgba(245, 166, 35, 0.07);
  border: 1px solid rgba(245, 166, 35, 0.18);
  border-radius: 8px;
  padding: 12px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.insight-icon { margin-top: 2px; flex-shrink: 0; }

.insight-text { display: flex; flex-direction: column; gap: 4px; }

.insight-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
}

.insight-detail {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

.db-sequence { display: flex; flex-direction: column; gap: 8px; }

.seq-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.seq-steps { display: flex; flex-direction: column; gap: 6px; }

.seq-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 6px;
  background: var(--surface-2);
  border: 1px solid transparent;
}

.seq-step.done { border-color: rgba(40,200,64,0.3); background: rgba(40,200,64,0.05); }
.seq-step.active { border-color: rgba(245,166,35,0.4); background: rgba(245,166,35,0.07); }
.seq-step.pending { opacity: 0.4; }

.seq-num {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  flex-shrink: 0;
}

.seq-step.done .seq-num { background: #28c840; color: #000; }
.seq-step.active .seq-num { background: var(--accent); color: #000; }
.seq-step.pending .seq-num { background: var(--border); color: var(--text-muted); }

.seq-info { display: flex; flex-direction: column; flex: 1; }
.seq-name { font-size: 13px; font-weight: 500; color: var(--text); }
.seq-status { font-family: 'IBM Plex Mono', monospace; font-size: 10px; color: var(--text-muted); margin-top: 1px; }
.seq-step.active .seq-status { color: var(--accent); }

.seq-check { font-size: 14px; color: #28c840; }

.seq-spinner {
  width: 14px; height: 14px;
  border: 2px solid rgba(245,166,35,0.3);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

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

.db-metric {
  background: var(--surface-2);
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}

.db-m-val {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px;
  color: var(--text);
  line-height: 1;
}

.db-m-lbl {
  font-size: 10px;
  color: var(--text-muted);
  line-height: 1.3;
}

/* ── AGENT SECTION ── */
.agent-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 100px 64px;
}

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

.agent-label {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.al-line { flex: 1; height: 1px; background: var(--border); max-width: 60px; }

.agent-headline {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(48px, 5vw, 72px);
  line-height: 0.95;
  color: var(--text);
  margin-bottom: 20px;
}

.agent-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 60px;
  font-weight: 300;
}

.agent-flow {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.af-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.afi-icon {
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border: 1px solid rgba(245,166,35,0.2);
  border-radius: 10px;
}

.afi-title {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text);
  text-transform: uppercase;
}

.afi-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.af-arrow {
  padding: 20px 8px 0;
  display: flex;
  align-items: flex-start;
  flex-shrink: 0;
}

/* ── FEATURES ── */
.features-section {
  padding: 100px 64px;
}

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

.feat-header { margin-bottom: 60px; }

.feat-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.feat-headline {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 4vw, 60px);
  line-height: 0.95;
  color: var(--text);
  max-width: 600px;
}

.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.feat-card {
  background: var(--surface);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feat-card.large {
  grid-column: span 2;
}

.fc-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fc-icon {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border: 1px solid rgba(245,166,35,0.18);
  border-radius: 8px;
  flex-shrink: 0;
}

.fc-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
}

.fc-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.fc-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}

.fc-code {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 12px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  margin-top: 4px;
}

.code-dim { color: var(--text-muted); }
.code-accent { color: var(--accent); }
.code-bright { color: var(--text); font-weight: 500; }

/* ── OUTCOMES ── */
.outcomes-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 100px 64px;
}

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

.outcomes-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 48px;
}

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

.oc-item {
  background: var(--surface-2);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.oc-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 56px;
  line-height: 1;
  color: var(--accent);
}

.oc-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.outcomes-quote {
  border-left: 2px solid var(--accent);
  padding-left: 28px;
}

.outcomes-quote blockquote {
  font-size: 20px;
  font-style: italic;
  color: var(--text);
  line-height: 1.6;
  font-weight: 300;
  margin-bottom: 12px;
}

.outcomes-quote cite {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--text-muted);
  font-style: normal;
}

/* ── CLOSING ── */
.closing-section {
  padding: 120px 64px;
}

.closing-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.closing-visual {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 48px;
}

.cv-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(245,166,35,0.2);
}

.cv-ring-1 { width: 120px; height: 120px; animation: ring-pulse 3s ease-in-out infinite; }
.cv-ring-2 { width: 86px; height: 86px; border-color: rgba(245,166,35,0.35); animation: ring-pulse 3s ease-in-out infinite 0.5s; }
.cv-ring-3 { width: 52px; height: 52px; border-color: rgba(245,166,35,0.55); animation: ring-pulse 3s ease-in-out infinite 1s; }

@keyframes ring-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.04); opacity: 0.7; }
}

.cv-core {
  position: relative;
  z-index: 1;
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border: 1px solid rgba(245,166,35,0.3);
  border-radius: 12px;
}

.closing-headline {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 4.5vw, 64px);
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 24px;
  max-width: 700px;
}

.closing-body {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 560px;
  font-weight: 300;
  margin-bottom: 48px;
}

.closing-cta-line {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 600px;
}

.cta-divider { flex: 1; height: 1px; background: var(--border); }

.cta-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  white-space: nowrap;
}

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

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

.footer-brand { display: flex; flex-direction: column; gap: 4px; }

.fb-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fb-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 0.05em;
  color: var(--text);
}

.fb-tagline {
  font-size: 12px;
  color: var(--text-muted);
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  font-family: 'IBM Plex Mono', monospace;
}

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

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero { padding: 60px 32px; }
  .hero-content { grid-template-columns: 1fr; gap: 48px; }
  .hero-right { order: -1; }
  .feat-grid { grid-template-columns: 1fr; }
  .feat-card.large { grid-column: span 1; }
  .outcomes-grid { grid-template-columns: repeat(2, 1fr); }
  .agent-flow { flex-direction: column; gap: 32px; }
  .af-arrow { display: none; }
}

@media (max-width: 600px) {
  .hero { padding: 48px 24px; }
  .agent-section, .features-section, .outcomes-section, .closing-section { padding: 60px 24px; }
  .outcomes-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 12px; }
  .stat-divider { width: 40px; height: 1px; }
}