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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg); color: var(--ink); line-height: 1.6; -webkit-font-smoothing: antialiased;
}
.container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }

.site-header { border-bottom: 1px solid var(--line); background: rgba(248,250,252,.9); backdrop-filter: blur(8px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-weight: 800; font-size: 18px; color: var(--ink); text-decoration: none; }
.tag { color: var(--muted); font-size: 14px; }

.intro { padding: 56px 0 20px; }
.intro h1 { font-size: clamp(26px, 4vw, 36px); line-height: 1.15; font-weight: 800; max-width: 720px; }
.sub { margin-top: 14px; color: var(--muted); font-size: 17px; max-width: 640px; }

.demo-wrap { padding: 32px 0 72px; }
.demo-grid { display: grid; grid-template-columns: 400px 1fr; gap: 40px; align-items: start; }

.phone {
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px;
  box-shadow: var(--shadow); overflow: hidden; max-width: 400px;
}
.phone-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.phone-name { font-weight: 700; }
.phone-status { font-size: 13px; color: var(--ok); }

.chat { min-height: 340px; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.msg { padding: 10px 14px; border-radius: 14px; font-size: 14px; max-width: 82%; white-space: pre-line; }
.msg.bot { background: #f1f5f9; align-self: flex-start; animation: pop .2s ease; }
.msg.user { background: #dbeafe; align-self: flex-end; }

.quick { padding: 12px 16px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px; }
.quick button {
  padding: 9px 14px; border: 1.5px solid var(--primary); border-radius: 999px;
  background: #fff; color: var(--primary); font-weight: 600; font-size: 14px; cursor: pointer;
}
.quick button:hover { background: #eff6ff; }
.quick.disabled button { opacity: .4; pointer-events: none; }

@keyframes pop { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 16px; }
.card h3 { margin-bottom: 10px; font-size: 18px; }
.card ul { padding-left: 20px; color: var(--muted); display: grid; gap: 6px; }
.card p { color: var(--muted); }

.btn { display: inline-block; padding: 14px 26px; border-radius: 12px; background: var(--primary); color: #fff; font-weight: 700; text-decoration: none; font-size: 16px; margin-top: 8px; }
.btn:hover { background: var(--primary-dark); }

@media (max-width: 860px) { .demo-grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .chat { min-height: 280px; } }