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

:root {
  --navy:    #0A1628;
  --blue:    #2563EB;
  --blue-lt: #EFF6FF;
  --slate:   #64748B;
  --light:   #F8FAFC;
  --white:   #FFFFFF;
  --border:  #E2E8F0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--light);
  color: var(--navy);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Instrument Sans', system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.2;
}

/* === NAVBAR === */
.navbar {
  background: var(--navy);
  padding: 18px 48px;
}

.nav-inner {
  display: flex;
  align-items: baseline;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.5px;
}

.nav-tagline {
  font-size: 13px;
  color: var(--slate);
  font-weight: 400;
}

.nav-actions {
  margin-left: auto;
}

.nav-cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  background: var(--blue);
  padding: 7px 16px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.15s;
}

.nav-cta:hover { background: #1D4ED8; }

.nav-account-link {
  font-size: 13px;
  font-weight: 500;
  color: #94A3B8;
  text-decoration: none;
  padding: 7px 12px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
  display: inline-block;
}

.nav-account-link:hover { color: var(--white); background: rgba(255,255,255,0.08); }

/* === HERO === */
.hero-dark {
  background: var(--navy);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 600px;
}

.hero-content {
  padding: 80px 64px 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 24px;
}

.hero-headline {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -1.5px;
  line-height: 1.05;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 17px;
  color: #94A3B8;
  line-height: 1.65;
  max-width: 420px;
}

.hero-visual {
  padding: 80px 64px 80px 32px;
  display: flex;
  align-items: center;
}

/* Agent card */
.agent-card {
  background: #0F172A;
  border: 1px solid #1E293B;
  border-radius: 16px;
  padding: 28px 32px;
  width: 100%;
}

.agent-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.agent-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 6px #10B981;
}

.agent-label {
  font-size: 12px;
  font-weight: 500;
  color: #64748B;
  letter-spacing: 0.5px;
}

.agent-tasks { display: flex; flex-direction: column; gap: 14px; }

.agent-task {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  color: #94A3B8;
  line-height: 1.5;
}

.agent-task.done { opacity: 0.5; }
.agent-task.active { color: #E2E8F0; }

.task-status {
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 1px;
}

.agent-task.done .task-status { color: #10B981; }
.agent-task.active .task-status { color: var(--blue); }

.pulse { animation: blink 1.5s ease-in-out infinite; }
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* === WORKLOAD === */
.workload { background: var(--white); padding: 96px 64px; }

.workload-inner { max-width: 1200px; margin: 0 auto; }

.workload-header { max-width: 640px; margin-bottom: 56px; }

.workload-title {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  color: var(--navy);
}

.workload-sub { font-size: 17px; color: var(--slate); line-height: 1.65; }

.workload-split {
  display: grid;
  grid-template-columns: 160px 1fr 160px;
  gap: 40px;
  align-items: center;
  margin-bottom: 48px;
}

.stat-number {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 52px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.stat-number.highlight { color: var(--blue); }

.stat-label { font-size: 13px; color: var(--slate); margin-top: 6px; }

.workload-bar-wrap { display: flex; flex-direction: column; gap: 8px; }

.workload-bar {
  height: 28px;
  background: #E2E8F0;
  border-radius: 6px;
  overflow: hidden;
}

.bar-fill.admin {
  height: 100%;
  background: var(--navy);
  border-radius: 6px;
  width: 68%;
}

.workload-legend {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--slate);
}

.legend-admin::before, .legend-revenue::before {
  content: '● ';
  font-size: 8px;
  vertical-align: middle;
}

.legend-admin::before { color: var(--navy); }
.legend-revenue::before { color: #E2E8F0; }

.workload-quote {
  background: var(--light);
  border-left: 3px solid var(--blue);
  padding: 24px 28px;
  max-width: 600px;
}

.workload-quote p {
  font-size: 16px;
  color: var(--navy);
  font-style: italic;
  margin-bottom: 8px;
}

.quote-source { font-size: 12px; color: var(--slate); }

/* === FEATURES === */
.features { background: var(--light); padding: 96px 64px; }

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

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 48px;
}

.feature-card {
  background: var(--white);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.2s;
}

.feature-card:hover { background: var(--blue-lt); }

.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--blue-lt);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}

.feature-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.2px;
}

.feature-desc {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.6;
}

/* === HOW === */
.how { background: var(--white); padding: 96px 64px; }

.how-inner { max-width: 1200px; margin: 0 auto; }

.how-title {
  font-size: 38px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.5px;
  margin-top: 16px;
  margin-bottom: 56px;
  max-width: 560px;
}

.how-steps {
  display: flex;
  align-items: center;
  gap: 0;
}

.step { flex: 1; }

.step-num {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.step-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}

.step-desc {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.6;
}

.step-arrow {
  padding: 0 32px;
  flex-shrink: 0;
}

/* === CLOSING === */
.closing { background: var(--navy); padding: 96px 64px; }

.closing-inner { max-width: 1200px; margin: 0 auto; }

.closing-stat { text-align: center; margin-bottom: 48px; }

.closing-num {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 88px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: -3px;
  line-height: 1;
}

.closing-label {
  font-size: 16px;
  color: #94A3B8;
  margin-top: 12px;
}

.closing-divider {
  height: 1px;
  background: #1E293B;
  margin: 48px 0;
}

.closing-headline {
  font-size: 40px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -1px;
  margin-bottom: 24px;
  line-height: 1.15;
}

.closing-body {
  font-size: 16px;
  color: #94A3B8;
  line-height: 1.7;
  max-width: 600px;
}

/* === FOOTER === */
.footer { background: #060E1A; padding: 32px 64px; }

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

.footer-logo {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  display: block;
  margin-bottom: 6px;
}

.footer-desc { font-size: 13px; color: #475569; }

.footer-copy { font-size: 13px; color: #475569; }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-dark { grid-template-columns: 1fr; }
  .hero-visual { padding: 40px 64px 60px; }
  .hero-content { padding: 60px 32px 40px; }
  .features-grid { grid-template-columns: 1fr; }
  .workload-split { grid-template-columns: 1fr; gap: 24px; }
  .how-steps { flex-direction: column; align-items: flex-start; }
  .step-arrow { transform: rotate(90deg); padding: 16px 0; }
  .navbar, .workload, .features, .how, .closing, .footer { padding-left: 32px; padding-right: 32px; }
}

@media (max-width: 600px) {
  .hero-dark { min-height: auto; }
  .closing-num { font-size: 64px; }
  .closing-headline { font-size: 30px; }
  .workload-title { font-size: 26px; }
  .how-title { font-size: 28px; }
  .navbar { padding: 16px 20px; }
  .workload, .features, .how, .closing, .footer { padding-left: 20px; padding-right: 20px; }
  .features, .how, .closing, .workload { padding-top: 64px; padding-bottom: 64px; }
}