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

:root {
  --bg: #F5F5F0;
  --bg-dark: #0A3D2E;
  --fg: #1A1A1A;
  --fg-muted: #6B6B6B;
  --accent: #BFFF00;
  --accent-dark: #8FBF00;
  --white: #FFFFFF;
  --border: #E0E0D8;
  --panel-bg: #FFFFFF;
}

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

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

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* === LAYOUT === */
.section-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 0.75rem;
}

.section-headline {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 3rem;
  max-width: 640px;
}

/* === HEADER === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 245, 240, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--fg);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--fg-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--fg); }

/* === HERO === */
.hero {
  padding: 5rem 0 4rem;
  overflow: hidden;
}

.hero-grid {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-dark);
  color: var(--white);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  width: fit-content;
}

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

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

.hero-headline {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: var(--bg-dark);
  margin-bottom: 1.2rem;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--fg-muted);
  max-width: 480px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

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

.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--bg-dark);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
  margin-top: 0.15rem;
}

/* === AGENT PANEL === */
.agent-panel {
  background: var(--panel-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 32px rgba(10, 61, 46, 0.08), 0 1px 4px rgba(0,0,0,0.04);
}

.panel-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.agent-avatar {
  width: 38px;
  height: 38px;
  background: var(--bg-dark);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
}

.agent-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--fg);
}

.agent-status {
  font-size: 0.75rem;
  color: #2D9E6B;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.15rem;
}

.status-pulse {
  width: 7px;
  height: 7px;
  background: #2D9E6B;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.activity-feed { display: flex; flex-direction: column; gap: 0.9rem; }

.activity-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.activity-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
  font-weight: 600;
}

.activity-icon.incoming { background: #E8F4FF; color: #0066CC; }
.activity-icon.sms { background: #FFF3E0; color: #CC6600; }
.activity-icon.cash { background: #E8FFF0; color: #006633; }
.activity-icon.reschedule { background: #F3E8FF; color: #6600CC; }
.activity-icon.alert { background: #FFE8E8; color: #CC0000; }

.activity-text {
  font-size: 0.78rem;
  color: var(--fg);
  line-height: 1.4;
}

.activity-time {
  font-size: 0.7rem;
  color: var(--fg-muted);
  margin-top: 0.2rem;
}

/* === HOW IT WORKS === */
.how-it-works { padding: 5rem 0; background: var(--white); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.step-card {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
}

.step-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-dark);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.step-card h3 {
  font-size: 1.15rem;
  color: var(--bg-dark);
  margin-bottom: 0.75rem;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* === FEATURES === */
.features { padding: 5rem 0; background: var(--bg); }

.features-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.feature-group { display: flex; flex-direction: column; gap: 1.5rem; }

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-icon {
  width: 40px;
  height: 40px;
  background: var(--bg-dark);
  color: var(--accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-item h4 {
  font-size: 0.95rem;
  color: var(--bg-dark);
  margin-bottom: 0.3rem;
}

.feature-item p {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.55;
}

/* === OUTCOMES === */
.outcomes { padding: 5rem 0; background: var(--white); }

.outcomes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.outcomes-headline {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  color: var(--bg-dark);
  margin-bottom: 1.25rem;
}

.outcome-text p {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.outcomes-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.metric-block {
  padding: 1.5rem;
  background: var(--bg);
  border-radius: 12px;
  border: 1px solid var(--border);
}

.metric-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--bg-dark);
  margin-bottom: 0.35rem;
}

.metric-label {
  font-size: 0.78rem;
  color: var(--fg-muted);
  line-height: 1.4;
}

/* === CLOSING === */
.closing {
  padding: 6rem 0;
  background: var(--bg-dark);
}

.closing-content { text-align: center; }

.closing-headline {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 1.25rem;
}

.closing-body {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* === FOOTER === */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 3rem 0 0;
}

.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-brand {}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--fg);
  margin-bottom: 0.75rem;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--fg-muted);
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.footer-col-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 0.75rem;
}

.footer-col { display: flex; flex-direction: column; gap: 0.5rem; }

.footer-col a {
  text-decoration: none;
  color: var(--fg-muted);
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--fg); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.25rem 2rem;
  max-width: 1140px;
  margin: 0 auto;
  font-size: 0.78rem;
  color: var(--fg-muted);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { order: -1; }
  .steps-grid { grid-template-columns: 1fr; }
  .features-layout { grid-template-columns: 1fr; }
  .outcomes-grid { grid-template-columns: 1fr; }
  .outcomes-metrics { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .hero { padding: 3rem 0 2.5rem; }
  .hero-stats { gap: 1.25rem; }
}

@media (max-width: 480px) {
  .outcomes-metrics { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 1rem; }
  .footer-links { grid-template-columns: 1fr; }
}