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

:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --ink: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --accent: #f59e0b;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(15, 23, 42, .08);
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }

h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(24px, 3.5vw, 32px); font-weight: 800; letter-spacing: -0.01em; margin-bottom: 28px; }
h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }

section { padding: 72px 0; }

.tail { margin-top: 24px; color: var(--muted); max-width: 720px; }
.problems-tail { margin-top: 28px; color: var(--muted); max-width: 720px; font-size: 18px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(248, 250, 252, .9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-weight: 800; font-size: 20px; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.nav { display: flex; gap: 24px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 500; }
.nav a:hover { color: var(--ink); }

/* Buttons */
.btn {
  display: inline-block; padding: 14px 26px; border-radius: 12px;
  font-weight: 700; text-decoration: none; font-size: 16px;
  transition: background .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn-small { padding: 10px 18px; font-size: 15px; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-ghost { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-ghost:hover { background: #eff6ff; }

/* Hero */
.hero { background: linear-gradient(180deg, #eff6ff 0%, var(--bg) 100%); padding-top: 72px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.badge {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: #dbeafe; color: var(--primary-dark); font-weight: 600; font-size: 14px;
  margin-bottom: 18px;
}
.hero-sub { font-size: 18px; color: var(--muted); margin: 20px 0 28px; max-width: 560px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 20px; color: var(--muted); font-size: 14px; }

/* Mock bot */
.hero-card { display: flex; justify-content: center; }
.mock-bot {
  width: 100%; max-width: 360px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.mock-head {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px; border-bottom: 1px solid var(--line);
  font-weight: 600; font-size: 15px;
}
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.online { margin-left: auto; color: #16a34a; font-size: 13px; font-weight: 600; }
.mock-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.bubble { padding: 10px 14px; border-radius: 14px; font-size: 14px; max-width: 85%; }
.bubble.in { background: #f1f5f9; align-self: flex-start; }
.bubble.out { background: #dbeafe; align-self: flex-end; }

/* Cards / grid */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
}
.card p { color: var(--muted); font-size: 15px; }
.service h3 { margin-bottom: 6px; }
.price { font-weight: 800; font-size: 22px !important; color: var(--ink) !important; margin-bottom: 10px; }
.price span { font-weight: 500; color: var(--muted); font-size: 15px; }

/* Steps */
.steps { list-style: none; display: grid; gap: 16px; max-width: 760px; }
.steps li {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 22px;
}
.steps li span {
  flex: 0 0 34px; height: 34px; border-radius: 50%;
  background: var(--primary); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.steps li { color: var(--ink); font-weight: 500; }

/* CTA */
section.demo { background: #fff; border-block: 1px solid var(--line); }
.demo-link { margin-top: 24px; }
.cta .cta-box {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #fff; border-radius: 20px; padding: 48px;
  text-align: center;
}
.cta-box h2 { color: #fff; margin-bottom: 14px; }
.cta-box p { color: #cbd5e1; margin-bottom: 28px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-actions .btn-ghost { color: #fff; border-color: #475569; }
.cta-actions .btn-ghost:hover { background: #1e293b; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }

/* Responsive */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .grid-3 { grid-template-columns: 1fr; }
  .nav { display: none; }
  section { padding: 56px 0; }
}