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

:root {
  --bg: #F5EFE6;
  --bg-2: #EDE5D8;
  --fg: #1A1A1A;
  --fg-muted: #6B5F52;
  --accent: #C7522A;
  --accent-warm: #E8B86D;
  --card: #FFFFFF;
  --card-border: #D9CFC2;
  --border: #C8BAA8;
}

html { scroll-behavior: smooth; }

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 { font-family: 'Fraunces', serif; font-weight: 700; line-height: 1.15; }

/* ===== NAVBAR ===== */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.navbar-logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 36px; height: 36px;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif; font-weight: 800; font-size: 14px;
}
.logo-text {
  font-family: 'Fraunces', serif; font-weight: 700; font-size: 20px; color: var(--fg);
}
.navbar-tagline { font-size: 13px; color: var(--fg-muted); font-weight: 500; letter-spacing: 0.02em; }

/* ===== HERO ===== */
.hero {
  background: var(--bg);
  padding: 60px 40px 80px;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 100px;
  margin-bottom: 28px;
}
.badge-dot { width: 6px; height: 6px; background: #fff; border-radius: 50%; }
.hero-headline {
  font-size: clamp(36px, 5vw, 64px);
  color: var(--fg);
  margin-bottom: 20px;
  font-weight: 800;
}
.hero-headline em { font-style: italic; color: var(--accent); }
.hero-sub {
  font-size: 17px; color: var(--fg-muted); line-height: 1.7; max-width: 440px;
}

/* Agent Card */
.agent-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
}
.agent-card-header {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px;
  background: var(--fg);
  color: #fff;
}
.agent-avatar { width: 36px; height: 36px; flex-shrink: 0; }
.agent-avatar-inner {
  width: 100%; height: 100%;
  background: var(--accent);
  border-radius: 50%;
  position: relative;
}
.agent-avatar-inner::after {
  content: '';
  position: absolute; bottom: 1px; right: 1px;
  width: 10px; height: 10px; background: #4ade80;
  border-radius: 50%; border: 2px solid var(--fg);
}
.agent-info { flex: 1; }
.agent-name { font-size: 13px; font-weight: 600; color: #fff; }
.agent-status { display: flex; align-items: center; gap: 6px; font-size: 11px; color: rgba(255,255,255,0.6); margin-top: 2px; }
.status-dot { width: 6px; height: 6px; background: #4ade80; border-radius: 50%; }
.agent-badge {
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.8);
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em;
  padding: 4px 8px; border-radius: 4px;
}
.agent-card-body { padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.agent-message {
  background: var(--bg-2);
  border-radius: 12px;
  padding: 14px 16px;
  border: 1px solid var(--card-border);
}
.agent-message p { font-size: 13px; color: var(--fg); line-height: 1.5; }
.msg-time { display: block; font-size: 11px; color: var(--fg-muted); margin-top: 6px; opacity: 0.7; }
.agent-card-footer {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--card-border);
  background: var(--bg);
}
.agent-stat { padding: 16px 12px; text-align: center; }
.agent-stat + .agent-stat { border-left: 1px solid var(--card-border); }
.astat-val { font-family: 'Fraunces', serif; font-size: 20px; font-weight: 700; color: var(--fg); }
.astat-label { font-size: 11px; color: var(--fg-muted); margin-top: 2px; }

/* ===== HOW IT WORKS ===== */
.howitworks {
  background: var(--fg);
  padding: 80px 40px;
}
.howitworks-inner { max-width: 1200px; margin: 0 auto; }
.section-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-heading {
  font-size: clamp(28px, 3.5vw, 44px);
  color: #fff;
  margin-bottom: 60px;
  max-width: 600px;
}
.steps { display: flex; align-items: flex-start; gap: 0; }
.step { flex: 1; }
.step-num {
  font-family: 'Fraunces', serif; font-size: 48px; font-weight: 800;
  color: var(--accent-warm); opacity: 0.5;
  margin-bottom: 16px;
}
.step-title { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 10px; font-family: 'Plus Jakarta Sans', sans-serif; }
.step-desc { font-size: 14px; color: rgba(255,255,255,0.65); line-height: 1.7; }
.step-connector {
  width: 60px; height: 1px;
  background: rgba(255,255,255,0.15);
  margin: 40px 20px 0;
  flex-shrink: 0;
}

/* ===== FEATURES ===== */
.features {
  background: var(--bg-2);
  padding: 80px 40px;
}
.features-inner { max-width: 1200px; margin: 0 auto; }
.features .section-heading { color: var(--fg); max-width: 500px; margin-bottom: 50px; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.feature-card {
  background: var(--card);
  padding: 32px 28px;
}
.feature-icon { color: var(--accent); margin-bottom: 16px; }
.feature-title { font-size: 15px; font-weight: 700; color: var(--fg); margin-bottom: 10px; font-family: 'Plus Jakarta Sans', sans-serif; }
.feature-desc { font-size: 13px; color: var(--fg-muted); line-height: 1.7; }

/* ===== NUMBERS ===== */
.numbers {
  background: var(--accent);
  padding: 80px 40px;
  position: relative;
  overflow: hidden;
}
.numbers-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.numbers-bg-text {
  position: absolute; top: -20px; right: -20px;
  font-family: 'Fraunces', serif; font-size: 200px; font-weight: 800;
  color: rgba(0,0,0,0.08);
  line-height: 1; pointer-events: none;
  user-select: none;
}
.numbers-row { display: flex; align-items: center; gap: 0; }
.number-item { flex: 1; text-align: center; padding: 0 20px; }
.number-divider { width: 1px; height: 60px; background: rgba(255,255,255,0.25); flex-shrink: 0; }
.number-val { font-family: 'Fraunces', serif; font-size: 56px; font-weight: 800; color: #fff; line-height: 1; margin-bottom: 12px; }
.number-label { font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.9); margin-bottom: 6px; }
.number-note { font-size: 12px; color: rgba(255,255,255,0.6); }

/* ===== PHILOSOPHY ===== */
.philosophy {
  background: var(--fg);
  padding: 80px 40px;
}
.philosophy-inner { max-width: 760px; margin: 0 auto; }
.philosophy-label { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-warm); margin-bottom: 24px; }
.philosophy-quote {
  font-family: 'Fraunces', serif;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
  font-style: italic;
  margin-bottom: 32px;
  padding-left: 24px;
  border-left: 3px solid var(--accent);
}
.philosophy-body { font-size: 15px; color: rgba(255,255,255,0.7); line-height: 1.8; margin-bottom: 16px; }

/* ===== CLOSING ===== */
.closing {
  background: var(--bg);
  padding: 80px 40px;
}
.closing-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.closing-headline {
  font-size: clamp(32px, 5vw, 60px);
  color: var(--fg);
  margin-bottom: 24px;
}
.closing-sub { font-size: 16px; color: var(--fg-muted); line-height: 1.8; max-width: 560px; margin: 0 auto 40px; }
.closing-tag {
  display: inline-block;
  background: var(--fg);
  color: #fff;
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
  padding: 12px 24px; border-radius: 100px;
}

/* ===== FOOTER ===== */
.footer { background: var(--fg); border-top: 1px solid rgba(255,255,255,0.08); padding: 32px 40px; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-brand { display: flex; align-items: center; gap: 8px; }
.footer-logo {
  width: 28px; height: 28px;
  background: var(--accent);
  color: #fff; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif; font-weight: 800; font-size: 12px;
}
.footer-name { font-family: 'Fraunces', serif; font-weight: 700; color: #fff; font-size: 16px; }
.footer-meta { font-size: 13px; color: rgba(255,255,255,0.4); }
.footer-links { display: flex; align-items: center; gap: 8px; font-size: 12px; color: rgba(255,255,255,0.4); }
.footer-sep { opacity: 0.4; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-right { order: -1; }
  .steps { flex-direction: column; }
  .step-connector { width: 40px; height: 1px; margin: 20px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .numbers-row { flex-direction: column; gap: 32px; }
  .number-divider { display: none; }
  .footer-inner { flex-direction: column; text-align: center; }
  .navbar { padding: 16px 20px; }
  .hero { padding: 40px 20px 60px; }
  .howitworks, .features, .philosophy, .closing { padding: 60px 20px; }
  .numbers { padding: 60px 20px; }
  .navbar-tagline { display: none; }
}

@media (max-width: 600px) {
  .agent-card-footer { grid-template-columns: repeat(3, 1fr); }
  .numbers-bg-text { display: none; }
}

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