/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1a1a2e;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 8px;
  font-weight: 600; font-size: 15px;
  text-decoration: none; border: none; cursor: pointer;
  background: #2563eb; color: #fff;
  transition: all 0.2s;
}
.btn:hover { background: #1d4ed8; transform: translateY(-1px); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 16px 32px; font-size: 17px; }
.btn-outline {
  background: transparent; color: #2563eb;
  border: 2px solid #2563eb;
}
.btn-outline:hover { background: #2563eb; color: #fff; }
.btn-block { width: 100%; justify-content: center; }
.btn-demo { background: #16a34a; }
.btn-demo:hover { background: #15803d; }

/* Nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(10px);
  border-bottom: 1px solid #e5e7eb;
  padding: 14px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #1a1a2e; font-weight: 700; font-size: 18px; }
.logo-img { height: 32px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { text-decoration: none; color: #4b5563; font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: #2563eb; }

/* Hero */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 50%, #fefce8 100%);
}
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.badge {
  display: inline-block; padding: 6px 14px; border-radius: 20px;
  background: #dbeafe; color: #2563eb; font-size: 13px; font-weight: 600;
  margin-bottom: 20px;
}
.hero h1 { font-size: 52px; font-weight: 800; line-height: 1.1; margin-bottom: 20px; color: #0f172a; }
.hero-sub { font-size: 19px; color: #475569; margin-bottom: 32px; max-width: 520px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* Demo Widget */
.demo-widget {
  background: #0f172a; border-radius: 16px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.demo-widget-header {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 20px; background: #1e293b;
  color: #94a3b8; font-size: 13px; font-weight: 500;
}
.demo-pulse {
  width: 8px; height: 8px; border-radius: 50%; background: #22c55e;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.demo-transcript {
  padding: 20px; min-height: 220px; max-height: 280px; overflow-y: auto;
  font-size: 14px; line-height: 1.7;
}
.demo-transcript .msg {
  margin-bottom: 12px; padding: 10px 14px; border-radius: 10px;
  animation: fadeIn 0.3s ease;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.msg.bot { background: #1e293b; color: #e2e8f0; }
.msg.caller { background: #1e3a5f; color: #93c5fd; }
.msg .msg-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; display: block; }
.msg.bot .msg-label { color: #22c55e; }
.msg.caller .msg-label { color: #60a5fa; }
.demo-controls { padding: 16px 20px; border-top: 1px solid #1e293b; }

/* Stats */
.stats { padding: 60px 0; border-bottom: 1px solid #e5e7eb; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat-num { display: block; font-size: 36px; font-weight: 800; color: #2563eb; }
.stat-label { font-size: 14px; color: #6b7280; font-weight: 500; }

/* Section headers */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { font-size: 36px; font-weight: 800; margin-bottom: 12px; }
.section-header p { font-size: 18px; color: #6b7280; max-width: 560px; margin: 0 auto; }

/* Demos section */
.demos { padding: 100px 0; }
.demo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.demo-card {
  border: 1px solid #e5e7eb; border-radius: 16px; padding: 32px;
  transition: all 0.2s;
}
.demo-card:hover { border-color: #2563eb; box-shadow: 0 8px 30px rgba(37,99,235,0.1); }
.demo-card-icon { font-size: 40px; margin-bottom: 16px; }
.demo-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.demo-card p { font-size: 15px; color: #6b7280; margin-bottom: 20px; }
.demo-card-features { display: flex; flex-direction: column; gap: 6px; margin-bottom: 24px; }
.demo-card-features span { font-size: 14px; color: #4b5563; }

/* How It Works */
.how-it-works { padding: 100px 0; background: #f8fafc; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.step { text-align: center; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: #2563eb; color: #fff; font-size: 20px; font-weight: 700;
  margin-bottom: 16px;
}
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 14px; color: #6b7280; }

/* Pricing */
.pricing { padding: 100px 0; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.price-card {
  border: 1px solid #e5e7eb; border-radius: 16px; padding: 36px;
  position: relative;
}
.price-card-popular {
  border-color: #2563eb; box-shadow: 0 8px 30px rgba(37,99,235,0.12);
  transform: scale(1.03);
}
.price-popular-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: #2563eb; color: #fff; padding: 4px 16px; border-radius: 20px;
  font-size: 12px; font-weight: 600;
}
.price-tier { font-size: 14px; font-weight: 600; color: #6b7280; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.price-amount { font-size: 40px; font-weight: 800; }
.price-amount span { font-size: 16px; font-weight: 500; color: #6b7280; }
.price-monthly { font-size: 18px; color: #2563eb; font-weight: 600; margin-bottom: 24px; }
.price-features { list-style: none; margin-bottom: 28px; }
.price-features li { padding: 8px 0; font-size: 15px; color: #4b5563; border-bottom: 1px solid #f3f4f6; }
.price-features li::before { content: '✓ '; color: #22c55e; font-weight: 700; }

/* Contact */
.contact { padding: 100px 0; background: #f8fafc; }
.contact-form { max-width: 640px; margin: 0 auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: #374151; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #d1d5db; border-radius: 8px;
  font-size: 15px; font-family: inherit; background: #fff;
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.form-note { text-align: center; font-size: 13px; color: #9ca3af; margin-top: 12px; }

/* Footer */
.footer { padding: 48px 0; border-top: 1px solid #e5e7eb; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.footer-brand p { font-size: 13px; color: #9ca3af; margin-top: 4px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { text-decoration: none; color: #6b7280; font-size: 14px; }
.footer-links a:hover { color: #2563eb; }
.footer-legal p { font-size: 13px; color: #9ca3af; }

/* Responsive */
@media (max-width: 768px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero h1 { font-size: 36px; }
  .demo-grid, .pricing-grid, .steps-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .price-card-popular { transform: none; }
  .nav-links a:not(.btn) { display: none; }
}
