/* =====================
   RESET & BASE
   ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0A1628;
  --bg2:       #0F2137;
  --surface:   #142240;
  --border:    #1E3359;
  --amber:     #F59E0B;
  --amber-dim: rgba(245, 158, 11, 0.12);
  --text:      #E8EEF5;
  --text-muted: #7A94B8;
  --green:     #34D399;
  --amber2:    #FBBF24;
}

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

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

h1, h2, h3, h4 {
  font-family: 'DM Sans', system-ui, sans-serif;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}

a { color: inherit; text-decoration: none; }

/* =====================
   LAYOUT
   ===================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =====================
   NAV
   ===================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text); }

/* =====================
   HERO
   ===================== */
.hero {
  position: relative;
  padding: 140px 24px 100px;
  overflow: hidden;
  min-height: 680px;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  top: -200px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245,158,11,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.25;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
}
.hero-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--amber-dim);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--amber);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--amber);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-headline {
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 900;
  margin-bottom: 20px;
  color: var(--text);
}
.hero-headline em {
  font-style: normal;
  color: var(--amber);
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 460px;
}

/* Agent card */
.agent-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  font-size: 0.875rem;
  box-shadow: 0 24px 48px rgba(0,0,0,0.4), 0 0 0 1px rgba(245,158,11,0.05);
}
.agent-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.agent-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--amber-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.agent-name {
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
}
.agent-status {
  color: var(--text-muted);
  font-size: 0.78rem;
  margin-top: 2px;
}
.agent-badge {
  margin-left: auto;
  background: rgba(52, 211, 153, 0.15);
  color: var(--green);
  border: 1px solid rgba(52,211,153,0.25);
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.agent-activity {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}
.activity-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}
.activity-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 4px;
}
.activity-dot.green { background: var(--green); }
.activity-dot.amber { background: var(--amber2); }
.agent-footer {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 14px;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.agent-channel { color: var(--amber); font-weight: 600; }

/* =====================
   STATS
   ===================== */
.stats-section {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 24px;
}
.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
}
.stat-block {
  flex: 1;
  text-align: center;
  padding: 0 40px;
}
.stat-value {
  font-family: 'DM Sans', sans-serif;
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 220px;
  margin: 0 auto;
}
.stat-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
}

/* =====================
   HOW IT WORKS
   ===================== */
.how-section {
  padding: 100px 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 16px;
  color: var(--text);
}
.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}
.how-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.how-step {
  display: grid;
  grid-template-columns: 80px 1fr 280px;
  gap: 40px;
  align-items: start;
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}
.how-step:last-child { border-bottom: none; }
.step-number {
  font-family: 'DM Sans', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  color: var(--border);
  line-height: 1;
  letter-spacing: -0.04em;
}
.step-body h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--text);
}
.step-body p {
  color: var(--text-muted);
  line-height: 1.7;
}
.step-visual {
  padding-top: 4px;
}
/* Channel pills */
.channel-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pill {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 5px 12px;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.pill:first-child { color: var(--amber); border-color: rgba(245,158,11,0.3); background: var(--amber-dim); }
/* Mini chart */
.mini-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 80px;
}
.chart-bar {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px 4px 0 0;
  height: var(--h, 40%);
}
.chart-bar.highlight { background: var(--amber); border-color: var(--amber); }
.chart-label {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 8px;
  text-align: center;
}
/* Action card */
.action-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--amber);
  border-radius: 8px;
  padding: 16px;
}
.action-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--amber);
  margin-bottom: 8px;
}
.action-desc {
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 10px;
}
.action-time {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* =====================
   FEATURES
   ===================== */
.features-section {
  background: var(--bg2);
  padding: 100px 24px;
  border-top: 1px solid var(--border);
}
.features-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.feature-card {
  background: var(--bg);
  padding: 36px 32px;
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}
.feature-card:hover {
  border-color: rgba(245,158,11,0.25);
}
.feature-icon {
  width: 44px; height: 44px;
  background: var(--amber-dim);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--text);
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* =====================
   DASHBOARD PREVIEW
   ===================== */
.dashboard-section {
  padding: 100px 24px;
  border-top: 1px solid var(--border);
}
.dashboard-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.dashboard-text h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  margin-bottom: 16px;
}
.dashboard-text > p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 40px;
}
.dashboard-metrics {
  display: flex;
  gap: 40px;
}
.metric-value {
  font-family: 'DM Sans', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--amber);
  letter-spacing: -0.03em;
}
.metric-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}
/* Mockup */
.dashboard-mockup {
  background: #08131F;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(0,0,0,0.5);
}
.mockup-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.mockup-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border);
}
.mockup-title {
  margin-left: auto;
  margin-right: auto;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: 'DM Sans', sans-serif;
}
.mockup-body {
  padding: 20px;
}
.mockup-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.mockup-kpi {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  text-align: center;
}
.kpi-val {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
}
.kpi-lbl {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 4px 0;
}
.kpi-delta {
  font-size: 0.7rem;
  font-weight: 600;
}
.kpi-delta.down { color: var(--green); }
.kpi-delta.up { color: var(--green); }
.mockup-chart {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 14px;
}
.mockup-chart .chart-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-align: left;
  margin-bottom: 12px;
  display: block;
}
.bars { display: flex; flex-direction: column; gap: 8px; }
.bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
}
.bar-row > span:first-child { width: 72px; color: var(--text-muted); flex-shrink: 0; }
.bar {
  height: 8px;
  background: linear-gradient(90deg, rgba(245,158,11,0.6), rgba(245,158,11,0.15));
  border-radius: 3px;
  max-width: 100%;
}
.bar-val { color: var(--text-muted); margin-left: auto; font-size: 0.7rem; }
.mockup-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.action-badge {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.action-badge .badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.action-badge .badge-dot.green { background: var(--green); }
.action-badge .badge-dot.amber { background: var(--amber2); }

/* =====================
   CLOSING
   ===================== */
.closing-section {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
  border-top: 1px solid var(--border);
  padding: 100px 24px;
}
.closing-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.closing-inner h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
}
.closing-inner > p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 56px;
}
.closing-cta {
  display: flex;
  align-items: center;
  gap: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  text-align: left;
}
.cta-visual {
  flex-shrink: 0;
}
.cta-clock {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.cta-clock span {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 80px;
}
@keyframes spin {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: 276; }
}
.spin-slow { animation: spin 8s linear infinite; transform-origin: center; }
.cta-headline {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.cta-sub {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* =====================
   FOOTER
   ===================== */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 40px 24px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.footer-copy {
  color: var(--text-muted);
  font-size: 0.85rem;
  flex: 1;
}
.footer-links {
  display: flex;
  gap: 20px;
}
.footer-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--text); }

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 900px) {
  .hero-inner,
  .dashboard-inner { grid-template-columns: 1fr; gap: 48px; }
  .how-step { grid-template-columns: 60px 1fr; }
  .step-visual { grid-column: 2; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .stats-inner { flex-direction: column; gap: 32px; }
  .stat-divider { width: 60px; height: 1px; }
  .closing-cta { flex-direction: column; text-align: center; }
  .mockup-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .hero { padding: 120px 20px 80px; }
  .features-grid { grid-template-columns: 1fr; }
  .dashboard-metrics { flex-direction: column; gap: 20px; }
}
