/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Tokens */
:root {
  --font-heading: 'DM Serif Display', serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --text: #1a1a1a;
  --text-muted: #5a5a5a;
  --text-light: #888;
  --bg: #ffffff;
  --bg-soft: #f5f6f8;
  --border: #e0e3e8;
  --primary: #1D2B32;
  --primary-text: #ffffff;
  --accent: #457B9D;
  --gold: #c9a84c;
  --gold-hover: #b5943f;
  --gold-bg: #fef9ed;
  --radius: 12px;
  --radius-sm: 8px;
}

/* Base */
html { font-size: 16px; -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); background: var(--bg); line-height: 1.6; }
h1, h2, h3 { font-family: var(--font-heading); line-height: 1.12; letter-spacing: -0.02em; color: var(--text); }
h1 { font-size: clamp(2.25rem, 6vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); margin-bottom: 16px; text-align: center; }
h3 { font-size: 1.125rem; }
p { max-width: 60ch; line-height: 1.7; color: var(--text-muted); }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
strong { color: var(--text); }

/* Layout */
.container { max-width: 720px; margin: 0 auto; padding: 0 20px; }
.container-wide { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* ─── Header ─── */
.header {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  z-index: 100;
}
.header .container-wide { display: flex; align-items: center; justify-content: space-between; }
.logo { font-family: var(--font-heading); font-size: 1.25rem; color: var(--text); }
.logo:hover { text-decoration: none; }
.logo-accent { color: var(--accent); }
.nav { display: flex; gap: 20px; }
.nav a { color: var(--text-muted); font-size: 0.875rem; font-weight: 500; transition: color 0.15s; }
.nav a:hover { color: var(--text); text-decoration: none; }

/* ─── Hero ─── */
.hero {
  padding: 64px 0 48px;
  text-align: center;
  background: var(--bg);
}
.hero .container { max-width: 600px; }
.hero h1 { color: var(--text); margin-bottom: 20px; }
.hero-gold { color: var(--gold); }
.hero-sub {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin: 0 auto 28px;
  max-width: 420px;
}
.hero-sub strong { color: var(--text); }
.hero-proof {
  margin-top: 12px;
  font-size: 0.8125rem;
  color: var(--text-light);
}

/* ─── Email Form ─── */
.email-form {
  display: flex;
  gap: 10px;
  max-width: 440px;
  margin: 0 auto;
}
.email-form input[type="email"] {
  flex: 1;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  outline: none;
  min-height: 50px;
  background: #fff;
  color: var(--text);
  transition: border-color 0.15s;
}
.email-form input::placeholder { color: #aaa; }
.email-form input:focus { border-color: var(--accent); }
.email-form input.error { border-color: #dc2626; }
.email-form .success-msg {
  display: flex; align-items: center;
  font-size: 1rem; color: #16a34a; font-weight: 600; min-height: 50px;
}
.email-form .error-msg { font-size: 0.8125rem; color: #dc2626; margin-top: 6px; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-body); font-size: 1rem; font-weight: 700;
  border: none; border-radius: var(--radius-sm);
  cursor: pointer; transition: all 0.15s;
  min-height: 50px; text-decoration: none; white-space: nowrap;
}
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-hover); box-shadow: 0 4px 16px rgba(201,168,76,0.35); text-decoration: none; }
.btn:active { transform: scale(0.97); }
.btn-lg { padding: 16px 36px; font-size: 1.0625rem; min-height: 54px; }

/* ─── Proof Strip ─── */
.proof-strip {
  background: var(--primary);
  padding: 24px 0;
}
.proof-strip-inner {
  display: flex;
  justify-content: center;
  gap: 48px;
}
.proof-item { text-align: center; }
.proof-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: #ffffff;
  line-height: 1.1;
}
.proof-label {
  font-size: 0.6875rem;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-top: 2px;
}

/* ─── Sections ─── */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-soft); }

/* ─── Demo Section ─── */
.section-demo { padding: 72px 0; text-align: center; }
.section-demo h2 { margin-bottom: 8px; }
.section-demo .demo-sub { color: var(--text-muted); margin: 0 auto 32px; font-size: 0.9375rem; }

/* Chatbot Frame */
.chatbot-frame {
  width: 380px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.06);
  overflow: hidden;
}
.chatbot-header {
  padding: 14px 18px;
  background: var(--primary);
  display: flex; align-items: center; gap: 10px;
}
.chatbot-dot {
  width: 8px; height: 8px;
  background: #10b981;
  border-radius: 50%;
}
.chatbot-title {
  font-size: 0.875rem; font-weight: 700; color: #fff;
  flex: 1;
}
.chatbot-badge {
  font-size: 0.625rem; font-weight: 700;
  background: var(--accent); color: #fff;
  padding: 2px 8px; border-radius: 100px;
  letter-spacing: 0.05em;
}
.chatbot-body {
  position: relative;
  min-height: 460px;
  display: flex; flex-direction: column;
}

.demo-msgs {
  flex: 1;
  padding: 12px;
  display: flex; flex-direction: column; gap: 8px;
  overflow-y: auto;
  min-height: 300px;
}

.demo-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 0.8125rem;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(6px);
  animation: demoMsgIn 0.3s ease forwards;
}
.demo-msg-bot {
  background: var(--bg-soft);
  color: var(--text);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.demo-msg-user {
  background: var(--accent);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.demo-typing {
  display: flex; gap: 4px; padding: 12px 16px;
  align-self: flex-start;
  background: var(--bg-soft);
  border-radius: 16px;
}
.demo-typing span {
  width: 6px; height: 6px;
  background: #999;
  border-radius: 50%;
  animation: typingBounce 1s ease-in-out infinite;
}
.demo-typing span:nth-child(2) { animation-delay: 0.15s; }
.demo-typing span:nth-child(3) { animation-delay: 0.3s; }

.demo-input-bar {
  padding: 8px 12px;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; gap: 8px;
}
.demo-input-text {
  flex: 1;
  min-height: 36px;
  padding: 8px 12px;
  background: var(--bg-soft);
  border-radius: 18px;
  font-size: 0.75rem;
  color: var(--text);
  display: flex; align-items: center;
}
.demo-input-text::after {
  content: '|';
  animation: blink 0.8s infinite;
  color: var(--accent);
  font-weight: 300;
}
.demo-input-text.idle::after { display: none; }
.demo-send-btn {
  width: 32px; height: 32px;
  background: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
}
.demo-send-btn.show { opacity: 1; }
.demo-send-btn svg { width: 14px; height: 14px; fill: #fff; }

/* Demo video result */
.demo-result {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: var(--primary);
  transform: translateY(100%);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 0 0 16px 16px;
  overflow: hidden;
}
.demo-result.show { transform: translateY(0); }
.demo-result-inner {
  padding: 20px;
  text-align: center;
}
.demo-result-thumb {
  width: 100%; height: 160px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.demo-result-thumb span {
  font-size: 2rem;
}
.demo-result-title {
  font-size: 0.8125rem; font-weight: 700; color: #fff;
  margin-bottom: 4px;
}
.demo-result-meta {
  font-size: 0.6875rem; color: rgba(255,255,255,0.5);
}
.demo-result-badge {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 12px;
  background: #16a34a;
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  border-radius: 100px;
}

.demo-progress {
  margin: 8px 16px;
  height: 4px;
  background: rgba(0,0,0,0.06);
  border-radius: 2px;
  overflow: hidden;
}
.demo-progress-fill {
  height: 100%;
  background: var(--accent);
  width: 0;
  transition: width 2s ease-in-out;
  border-radius: 2px;
}

.demo-replay {
  margin-top: 20px;
  padding: 8px 20px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s;
  display: none;
}
.demo-replay.show { display: inline-block; }
.demo-replay:hover { border-color: var(--accent); color: var(--accent); }

@keyframes demoMsgIn { to { opacity: 1; transform: translateY(0); } }
@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-4px); }
}
@keyframes blink { 50% { opacity: 0; } }

/* ─── ROI Card ─── */
.section-roi { padding: 56px 0; }
.roi-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px 28px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.roi-vs { display: flex; align-items: stretch; gap: 20px; }
.roi-side {
  flex: 1; text-align: center;
  padding: 20px 12px;
  border-radius: var(--radius-sm);
}
.roi-side-highlight {
  background: var(--gold-bg);
  border: 2px solid var(--gold);
}
.roi-who {
  font-size: 0.6875rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-light); margin-bottom: 8px;
}
.roi-price {
  font-family: var(--font-heading);
  font-size: 2rem; color: var(--text);
  margin-bottom: 6px; line-height: 1;
}
.roi-price span { font-family: var(--font-body); font-size: 0.8125rem; color: var(--text-light); }
.roi-price-gold { color: var(--gold); }
.roi-what { font-size: 0.8125rem; color: var(--text-muted); }
.roi-what strong { color: var(--text); }
.roi-divider {
  display: flex; align-items: center;
  font-size: 0.75rem; font-weight: 700;
  color: var(--text-light); text-transform: uppercase;
}
.roi-bottom {
  text-align: center; margin-top: 24px;
  font-size: 0.9375rem; color: var(--text-muted);
  padding-top: 20px; border-top: 1px solid var(--border);
}
.roi-bottom strong { color: var(--text); }

/* ─── Steps ─── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 32px; }
.step { text-align: center; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--primary); color: #fff;
  font-family: var(--font-heading); font-size: 1.25rem;
  margin-bottom: 14px;
}
.step h3 { margin-bottom: 6px; color: var(--text); }
.step p { color: var(--text-muted); font-size: 0.875rem; margin: 0 auto; }

/* ─── Who Grid ─── */
.who-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px; margin: 32px 0 24px;
}
.who-item {
  padding: 18px 12px;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-align: center; font-weight: 600; font-size: 0.9375rem;
  color: var(--text);
  transition: transform 0.15s, box-shadow 0.15s;
}
.who-item:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.who-note { text-align: center; color: var(--text-muted); font-size: 0.9375rem; margin: 0 auto; }

/* ─── Included Grid ─── */
.included-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin: 32px 0 40px;
}
.included-item {
  text-align: center; padding: 28px 16px;
  background: var(--bg-soft); border-radius: var(--radius-sm);
}
.included-icon { display: block; font-size: 1.5rem; margin-bottom: 12px; }
.included-item strong { display: block; font-size: 0.9375rem; color: var(--text); margin-bottom: 4px; }
.included-item p { font-size: 0.8125rem; color: var(--text-muted); margin: 0 auto; }
.pricing-cta { text-align: center; }
.pricing-note { margin-top: 12px; font-size: 0.8125rem; color: var(--text-light); }

/* ─── FAQ ─── */
.faq-list { max-width: 600px; margin: 24px auto 0; }
details { border-bottom: 1px solid var(--border); }
summary {
  padding: 18px 0; font-weight: 600; font-size: 0.9375rem;
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  min-height: 48px; gap: 16px; color: var(--text);
}
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 1.25rem; color: var(--text-light); flex-shrink: 0; }
details[open] summary::after { content: '\2212'; }
details p { padding-bottom: 18px; color: var(--text-muted); font-size: 0.875rem; line-height: 1.75; }
details p strong { color: var(--text); }

/* ─── CTA Section ─── */
.section-cta { background: var(--primary); text-align: center; padding: 64px 0; }
.section-cta h2 { color: #fff; margin-bottom: 24px; }
.section-cta .email-form input {
  background: #fff; border-color: rgba(255,255,255,0.3);
  color: var(--text);
}
.section-cta .email-form input::placeholder { color: #aaa; }
.section-cta .email-form input:focus { border-color: var(--gold); }

/* ─── Footer ─── */
.footer {
  padding: 32px 0; border-top: 1px solid var(--border); text-align: center;
}
.footer p { font-size: 0.8125rem; color: var(--text-light); max-width: none; margin: 4px auto; }
.footer a { color: var(--accent); }

/* ─── Sticky CTA (mobile) ─── */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0;
  padding: 10px 16px;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(8px);
  border-top: 1px solid var(--border);
  z-index: 99; text-align: center;
}
.sticky-cta-btn { width: 100%; max-width: 360px; }

/* ─── Responsive: Tablet ─── */
@media (max-width: 768px) {
  .hero { padding: 44px 0 32px; }
  .email-form { flex-direction: column; }
  .proof-strip-inner { gap: 20px; flex-wrap: wrap; }
  .roi-vs { flex-direction: column; gap: 12px; }
  .roi-divider { display: none; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .who-grid { grid-template-columns: repeat(2, 1fr); }
  .included-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 56px 0; }
  .chatbot-frame { width: 320px; }
}

/* ─── Responsive: Mobile ─── */
@media (max-width: 480px) {
  .nav { gap: 12px; }
  .nav a { font-size: 0.8125rem; }
  .hero { padding: 32px 0 24px; }
  h1 { font-size: 2rem; }
  .who-grid { grid-template-columns: 1fr 1fr; }
  .included-grid { grid-template-columns: 1fr 1fr; }
  .included-item { padding: 20px 10px; }
  .proof-strip-inner { gap: 12px; }
  .proof-num { font-size: 1.375rem; }
  .roi-card { padding: 20px 14px; }
  .roi-price { font-size: 1.5rem; }
  .chatbot-frame { width: 100%; max-width: 340px; }
  .chatbot-body { min-height: 400px; }
}

@media (min-width: 769px) {
  .sticky-cta { display: none !important; }
}
