:root {
  --bg: #F7F4EF;
  --fg: #1A1A1A;
  --accent: #C4622D;
  --accent-light: #E8A882;
  --surface: #FFFFFF;
  --muted: #7A7268;
  --border: #E2DDD6;
  --chat-in: #E8DDD5;
  --chat-out: #C4622D;
  --chat-system: #D4E8D0;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

/* Nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.4rem;
  color: var(--fg);
  letter-spacing: -0.02em;
  text-decoration: none;
}
.nav-tagline {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.nav-links a {
  color: var(--fg);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }
.btn-nav {
  background: var(--accent);
  color: white !important;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  font-weight: 500;
}
.btn-nav:hover { background: #b35a26; }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 4rem 2rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-left { display: flex; flex-direction: column; gap: 1.25rem; }
.hero-headline {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.08;
  color: var(--fg);
  letter-spacing: -0.03em;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 46ch;
  line-height: 1.65;
}
.hero-sub--secondary {
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 500;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--accent);
  color: white;
  padding: 0.75rem 1.75rem;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-primary:hover { background: #b35a26; }
.btn-secondary {
  background: transparent;
  color: var(--fg);
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s;
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

/* Chat mockup */
.chat-frame {
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 4px 32px rgba(196,98,45,0.08);
}
.chat-header {
  background: var(--accent);
  color: white;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.chat-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.05em;
}
.chat-name { font-weight: 600; font-size: 0.9rem; }
.chat-status { font-size: 0.75rem; opacity: 0.85; }

.chat-messages { padding: 1rem; display: flex; flex-direction: column; gap: 0.75rem; max-height: 360px; overflow-y: auto; }
.chat-bubble {
  max-width: 78%;
  padding: 0.6rem 0.9rem;
  border-radius: 14px;
  font-size: 0.85rem;
  line-height: 1.5;
}
.chat-bubble--in { background: var(--chat-in); border-bottom-left-radius: 4px; align-self: flex-start; }
.chat-bubble--out { background: var(--chat-out); color: white; border-bottom-right-radius: 4px; align-self: flex-end; }
.chat-bubble--system { background: var(--chat-system); font-size: 0.8rem; align-self: center; border-radius: 8px; text-align: center; }
.chat-time { font-size: 0.7rem; color: var(--muted); margin-top: 0.2rem; align-self: flex-start; margin-left: 0.5rem; }
.chat-time--out { align-self: flex-end; margin-right: 0.5rem; }

/* Language chips */
.lang-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.lang-chip {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--muted);
}
.lang-chip--active { border-color: var(--accent); color: var(--accent); font-weight: 500; }

/* Section */
.section { padding: 4rem 2rem; max-width: 1200px; margin: 0 auto; }
.section-tag {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}
.section-headline {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.feature-card:hover { border-color: var(--accent-light); box-shadow: 0 4px 16px rgba(196,98,45,0.06); }
.feature-icon {
  width: 40px; height: 40px;
  background: var(--accent);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  color: white;
  font-size: 1.2rem;
}
.feature-title { font-weight: 600; font-size: 1rem; margin-bottom: 0.5rem; }
.feature-desc { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }

/* Markets */
.markets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.market-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
}
.market-flag { font-size: 2rem; margin-bottom: 0.5rem; }
.market-name { font-weight: 600; font-size: 0.95rem; }
.market-lang { font-size: 0.8rem; color: var(--muted); margin-top: 0.25rem; }

/* Demo flow */
.demo-flow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
  align-items: start;
}
.flow-steps { display: flex; flex-direction: column; gap: 1rem; }
.flow-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.step-num {
  width: 32px; height: 32px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.step-text { font-size: 0.9rem; line-height: 1.5; }
.step-text strong { display: block; margin-bottom: 0.2rem; }

/* Social proof */
.proof-bar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem 2rem;
  margin-top: 2rem;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.proof-stat { text-align: center; }
.proof-number { font-family: 'DM Serif Display', serif; font-size: 2rem; color: var(--accent); }
.proof-label { font-size: 0.8rem; color: var(--muted); margin-top: 0.2rem; }

/* CTA section */
.cta-section {
  background: var(--fg);
  color: white;
  padding: 4rem 2rem;
  text-align: center;
}
.cta-section .section-headline { color: white; }
.cta-section .hero-sub { color: rgba(255,255,255,0.7); max-width: 50ch; margin: 0 auto 1.5rem; }
.cta-section .btn-primary { background: var(--accent); }

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; padding: 2.5rem 1.5rem 2rem; }
  .hero-headline { font-size: 2rem; }
  .chat-frame { max-width: 100%; }
  .demo-flow { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .section { padding: 2.5rem 1.5rem; }
}

/* Mini dashboard */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
}
.stat-label { font-size: 0.8rem; color: var(--muted); margin-bottom: 0.25rem; }
.stat-value { font-family: 'DM Serif Display', serif; font-size: 1.8rem; color: var(--fg); }
.stat-trend { font-size: 0.75rem; color: var(--accent); margin-top: 0.25rem; }