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

:root {
  --bg: #0a0a0a;
  --surface: #141414;
  --surface-2: #1e1e1e;
  --border: #2a2a2a;
  --text: #f0ede8;
  --text-muted: #8a8680;
  --accent: #f5a623;
  --accent-dim: #c47d0e;
  --green: #4ade80;
}

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

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;
}

::selection { background: var(--accent); color: #000; }

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

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

.section-tag {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  display: block;
}

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

/* === NAV === */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.nav-logo {
  font-family: 'Syne', system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.03em;
}

.nav-right { display: flex; align-items: center; gap: 1rem; }

.nav-badge {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(245,166,35,0.08);
  border: 1px solid rgba(245,166,35,0.2);
  border-radius: 4px;
  padding: 0.35rem 0.75rem;
}

/* === HERO === */
.hero {
  padding: 5rem 2rem 5rem;
  max-width: 1140px;
  margin: 0 auto;
}

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

.hero-eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.hero-headline {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

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

.hero-proof {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.proof-item {
  padding: 1.25rem 1.75rem;
  flex: 1;
}

.proof-stat {
  display: block;
  font-family: 'Syne', system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
}

.proof-label {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-top: 0.2rem;
}

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

/* Agent card */
.agent-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

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

.agent-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}

.agent-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
}

.agent-conversation {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.msg {
  max-width: 85%;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-size: 0.875rem;
  line-height: 1.5;
}

.msg-incoming {
  background: var(--surface-2);
  color: var(--text);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}

.msg-outgoing {
  background: var(--accent);
  color: #000;
  font-weight: 500;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}

.agent-reply { background: rgba(245,166,35,0.15); color: var(--text); border: 1px solid rgba(245,166,35,0.2); }

.agent-footer {
  padding: 0.75rem 1.25rem;
  border-top: 1px solid var(--border);
}

.agent-meta {
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* === PROBLEM === */
.problem {
  padding: 6rem 2rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.problem-inner { max-width: 1140px; margin: 0 auto; }

.problem-header { margin-bottom: 4rem; }

.problem-headline {
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 640px;
  color: var(--text);
}

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

.problem-card {
  background: var(--surface);
  padding: 2.5rem;
  border: 1px solid var(--border);
  position: relative;
}

.problem-number {
  font-family: 'Syne', system-ui, sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--surface-2);
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
  line-height: 1;
}

.problem-title {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 1rem;
}

.problem-body {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* === APPROACH === */
.approach {
  padding: 7rem 2rem;
}

.approach-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.approach-headline {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 1.5rem;
}

.approach-body {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.approach-stat-block { display: flex; flex-direction: column; gap: 2.5rem; padding-top: 1rem; }

.approach-stat { border-left: 2px solid var(--accent); padding-left: 1.5rem; }

.big-num {
  display: block;
  font-family: 'Syne', system-ui, sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.04em;
  line-height: 1;
}

.stat-desc { display: block; font-size: 0.85rem; color: var(--text-muted); margin-top: 0.5rem; line-height: 1.5; }

/* === SERVICES === */
.services {
  padding: 6rem 2rem;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.services-inner { max-width: 1140px; margin: 0 auto; }

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

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}

.service-card {
  background: var(--bg);
  padding: 2.5rem;
}

.service-icon {
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.service-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.service-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* === OUTCOMES === */
.outcomes {
  padding: 7rem 2rem;
  border-top: 1px solid var(--border);
}

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

.outcomes-headline {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  max-width: 600px;
  margin-bottom: 3.5rem;
}

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

.outcome-card {
  background: var(--surface);
  padding: 2.5rem 2rem;
}

.outcome-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.outcome-value {
  font-family: 'Syne', system-ui, sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.outcome-context {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* === CLOSING === */
.closing { padding: 7rem 2rem; }

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

.closing-rule {
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin: 0 auto 2.5rem;
}

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

.closing-body {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

/* === FOOTER === */
.footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
}

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

.footer-logo {
  display: block;
  font-family: 'Syne', system-ui, sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.footer-tagline {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { order: -1; }
  .hero-headline { font-size: 2.2rem; }
  .hero-proof { flex-wrap: wrap; }
  .proof-item { padding: 1rem 1.25rem; flex: 1 1 45%; }
  .proof-divider { display: none; }

  .problem-grid { grid-template-columns: 1fr; }
  .approach-inner { grid-template-columns: 1fr; gap: 3rem; }
  .services-grid { grid-template-columns: 1fr; }
  .outcomes-grid { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; gap: 1rem; text-align: center; }
}

@media (max-width: 480px) {
  .hero { padding: 3rem 1.25rem 3.5rem; }
  .hero-headline { font-size: 1.9rem; }
  .hero-sub { font-size: 1rem; }
  .proof-item { flex: 1 1 100%; }
}