@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg-primary: #0a0e17;
  --bg-secondary: #111827;
  --bg-card: #161f33;
  --fg-primary: #e8edf5;
  --fg-secondary: #8892a8;
  --fg-muted: #5a6478;
  --accent: #22d3ee;
  --accent-glow: rgba(34, 211, 238, 0.15);
  --accent-secondary: #a78bfa;
  --wire-color: #1e3a5f;
  --border: #1e293b;
  --radius: 12px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg-primary);
  color: var(--fg-primary);
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* === WIRE BACKGROUND PATTERN === */
.wire-bg {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
  opacity: 0.4;
  background:
    linear-gradient(90deg, var(--wire-color) 1px, transparent 1px) 0 0 / 80px 80px,
    linear-gradient(0deg, var(--wire-color) 1px, transparent 1px) 0 0 / 80px 80px;
}

.wire-bg::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 30% 20%, var(--accent-glow) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 80%, rgba(167, 139, 250, 0.08) 0%, transparent 50%);
}

.content-wrap {
  position: relative;
  z-index: 1;
}

/* === HERO === */
.hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 24px 80px;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-glow);
  border: 1px solid rgba(34, 211, 238, 0.25);
  border-radius: 100px;
  padding: 6px 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--accent);
  width: fit-content;
  margin-bottom: 32px;
  letter-spacing: 0.05em;
}

.hero-badge .dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero h1 .accent {
  color: var(--accent);
}

.hero .lede {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: var(--fg-secondary);
  max-width: 600px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero-cta {
  font-size: 1rem;
  padding: 14px 28px;
}

.hero-cta-secondary {
  font-size: 1rem;
  padding: 14px 28px;
}

/* ── Hero preview window ── */
.hero-demo-preview {
  margin-top: 60px;
  max-width: 520px;
}

.preview-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.preview-window {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.preview-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}

.preview-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.preview-dot--red { background: #ff5f57; }
.preview-dot--yellow { background: #ffbd2e; }
.preview-dot--green { background: #28c840; }

.preview-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--fg-secondary);
  margin-left: 4px;
  flex: 1;
}

.preview-status {
  font-size: 0.75rem;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

.preview-messages {
  padding: 16px;
  min-height: 160px;
  max-height: 220px;
  overflow-y: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.preview-msg {
  display: flex;
}

.preview-msg--user {
  justify-content: flex-end;
}

.preview-bubble {
  max-width: 85%;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.82rem;
  line-height: 1.5;
}

.preview-msg--bot .preview-bubble {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  color: var(--fg-primary);
  border-radius: 4px 10px 10px 10px;
}

.preview-msg--user .preview-bubble {
  background: var(--accent);
  color: var(--bg-primary);
  border-radius: 10px 4px 10px 10px;
}

.preview-typing {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
}

.preview-typing span {
  width: 5px; height: 5px;
  background: var(--fg-muted);
  border-radius: 50%;
  animation: typing 1.2s ease-in-out infinite;
}
.preview-typing span:nth-child(2) { animation-delay: 0.2s; }
.preview-typing span:nth-child(3) { animation-delay: 0.4s; }

/* === SERVICES === */
.services {
  padding: 80px 24px 100px;
  max-width: 1100px;
  margin: 0 auto;
}

.services .section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.services h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 60px;
  max-width: 550px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 0.3s, transform 0.3s;
}

.service-card:hover {
  border-color: rgba(34, 211, 238, 0.3);
  transform: translateY(-2px);
}

.service-icon {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.5rem;
  margin-bottom: 20px;
  display: block;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--fg-secondary);
  line-height: 1.65;
}

/* === HOW IT WORKS === */
.how-it-works {
  padding: 80px 24px 100px;
  max-width: 800px;
  margin: 0 auto;
}

.how-it-works .section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-secondary);
  margin-bottom: 16px;
}

.how-it-works h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 60px;
}

.step {
  display: flex;
  gap: 24px;
  margin-bottom: 48px;
  align-items: flex-start;
}

.step-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 8px;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.step-content p {
  font-size: 0.95rem;
  color: var(--fg-secondary);
  line-height: 1.65;
}

/* === CLOSING === */
.closing {
  padding: 100px 24px 120px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.closing-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
  margin: 0 auto 40px;
  border: none;
}

.closing h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  line-height: 1.3;
}

.closing p {
  font-size: 1.05rem;
  color: var(--fg-secondary);
  line-height: 1.7;
}

/* === FOOTER === */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px;
  text-align: center;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-brand {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1rem;
  font-weight: 700;
  color: var(--fg-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-tagline {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--fg-muted);
  letter-spacing: 0.05em;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-link {
  font-size: 0.85rem;
  color: var(--fg-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--accent);
}

.footer-email {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: var(--fg-muted);
}

footer .email-link {
  color: var(--accent);
  text-decoration: none;
}

footer .email-link:hover {
  text-decoration: underline;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero { padding: 80px 20px 60px; min-height: 80vh; }
  .services { padding: 60px 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .how-it-works { padding: 60px 20px; }
  .step { gap: 16px; }
  .closing { padding: 60px 20px 80px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.2rem; }
  .service-card { padding: 24px; }
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--fg-primary);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.nav-logo-icon {
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent);
  font-size: 1.1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  color: var(--fg-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 8px 14px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.nav-link:hover {
  color: var(--fg-primary);
  background: rgba(255,255,255,0.05);
}

.nav-cta {
  color: var(--bg-primary);
  background: var(--accent);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 8px;
  transition: opacity 0.2s, transform 0.2s;
}

.nav-cta:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--fg-secondary);
  border-radius: 2px;
}

@media (max-width: 640px) {
  .site-nav { padding: 14px 20px; }
  .nav-burger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 20px;
    gap: 4px;
  }
  .nav-links.nav-open { display: flex; }
  .nav-link, .nav-cta {
    text-align: center;
    padding: 12px;
    border-radius: 8px;
  }
  .nav-cta { margin-top: 4px; }
}

/* ============================================================
   PAGE HERO (shared by pricing / contact / demo inner pages)
   ============================================================ */
.page-hero {
  padding: 140px 24px 60px;
  max-width: 900px;
  margin: 0 auto;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.page-hero .accent { color: var(--accent); }

.page-lede {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: var(--fg-secondary);
  max-width: 600px;
  line-height: 1.7;
}

.page-lede .inline-link, .inline-link {
  color: var(--accent);
  text-decoration: none;
}

.page-lede .inline-link:hover, .inline-link:hover { text-decoration: underline; }

/* ============================================================
   PRICING PAGE
   ============================================================ */
.pricing-section {
  padding: 0 24px 100px;
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  transition: border-color 0.3s, transform 0.3s;
}

.pricing-card:hover {
  border-color: rgba(34, 211, 238, 0.3);
  transform: translateY(-3px);
}

.pricing-card--featured {
  border-color: rgba(34, 211, 238, 0.4);
  background: linear-gradient(135deg, var(--bg-card), rgba(34, 211, 238, 0.04));
}

.pricing-card--featured:hover {
  border-color: rgba(34, 211, 238, 0.7);
}

.featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--bg-primary);
  font-size: 0.7rem;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-card-header {
  margin-bottom: 16px;
}

.tier-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 10px;
}

.tier-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price-range {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.price-unit {
  font-size: 0.8rem;
  color: var(--fg-muted);
  font-family: 'JetBrains Mono', monospace;
}

.tier-desc {
  font-size: 0.9rem;
  color: var(--fg-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.tier-includes {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tier-includes li {
  font-size: 0.9rem;
  color: var(--fg-secondary);
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.check {
  color: var(--accent);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.tier-cta {
  display: block;
  text-align: center;
  padding: 12px 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--fg-primary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.tier-cta:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.tier-cta--featured {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg-primary);
}

.tier-cta--featured:hover {
  background: transparent;
  color: var(--accent);
}

.pricing-footnote {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 40px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.fn-icon {
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-footnote p {
  font-size: 0.9rem;
  color: var(--fg-secondary);
  line-height: 1.6;
}

/* ── Pricing grid 2-column variant ── */
.pricing-grid--two {
  grid-template-columns: repeat(2, 1fr);
  max-width: 820px;
  margin: 0 auto;
}

/* ── Monthly price display ── */
.tier-monthly {
  margin-top: 6px;
}

.monthly-price {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--fg-secondary);
}

.monthly-unit {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--fg-muted);
  font-family: 'JetBrains Mono', monospace;
}

/* ── Pricing breakdown section ── */
.pricing-breakdown {
  margin-top: 48px;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.pricing-breakdown .section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  display: block;
}

.breakdown-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px;
}

.breakdown-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--fg-secondary);
}

/* ── Testimonials ── */
.closing-testimonials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0;
  text-align: left;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
}

.testimonial-text {
  font-size: 0.9rem;
  color: var(--fg-primary);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 12px !important;
}

.testimonial-author {
  font-size: 0.78rem;
  color: var(--fg-muted);
  font-family: 'JetBrains Mono', monospace;
}

.closing-cta {
  display: inline-block;
  font-size: 1rem;
  padding: 14px 32px;
  margin-top: 8px;
}

/* ============================================================
   DEMO NUDGE (pricing page)
   ============================================================ */
.demo-nudge {
  padding: 80px 24px 100px;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.demo-nudge h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 16px 0 12px;
}

.demo-nudge p {
  font-size: 1rem;
  color: var(--fg-secondary);
  margin-bottom: 32px;
  line-height: 1.7;
}

.nudge-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--bg-primary);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}

.btn-primary:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-block;
  border: 1px solid var(--border);
  color: var(--fg-primary);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section {
  padding: 0 24px 100px;
  max-width: 700px;
  margin: 0 auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fg-secondary);
  letter-spacing: 0.02em;
}

.label-hint {
  font-weight: 400;
  color: var(--fg-muted);
  font-size: 0.8rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--fg-primary);
  font-size: 0.95rem;
  font-family: 'Space Grotesk', sans-serif;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235a6478' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(34, 211, 238, 0.5);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--fg-muted);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-submit {
  align-self: flex-start;
  background: var(--accent);
  color: var(--bg-primary);
  border: none;
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
  padding: 14px 32px;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}

.form-submit:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.contact-success {
  background: var(--bg-card);
  border: 1px solid rgba(34, 211, 238, 0.3);
  border-radius: var(--radius);
  padding: 48px 40px;
  text-align: center;
}

.success-icon {
  font-family: 'JetBrains Mono', monospace;
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 16px;
}

.contact-success h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.contact-success p {
  color: var(--fg-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .form-submit { align-self: stretch; text-align: center; }
}

/* ============================================================
   DEMO PAGE — chatbot widget
   ============================================================ */
.demo-section {
  padding: 0 24px 100px;
  max-width: 1100px;
  margin: 0 auto;
}

.demo-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 40px;
  align-items: start;
}

.demo-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.demo-meta-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.demo-meta-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.demo-meta-text {
  font-size: 0.9rem;
  color: var(--fg-secondary);
  line-height: 1.65;
}

.demo-try-prompts {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.prompt-chips {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.prompt-chip {
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--fg-secondary);
  font-size: 0.85rem;
  font-family: 'Space Grotesk', sans-serif;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s, color 0.2s;
  width: 100%;
}

.prompt-chip:hover {
  border-color: rgba(34, 211, 238, 0.4);
  color: var(--fg-primary);
}

/* Chatbot widget */
.chatbot-widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  height: 520px;
  overflow: hidden;
  position: sticky;
  top: 80px;
}

.chatbot-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-secondary);
}

.chatbot-avatar {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.1rem;
  color: var(--accent);
  width: 36px; height: 36px;
  background: var(--accent-glow);
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.chatbot-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.chatbot-title {
  font-size: 0.9rem;
  font-weight: 600;
}

.chatbot-status {
  font-size: 0.75rem;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

.status-dot {
  width: 6px; height: 6px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-behavior: smooth;
}

.chatbot-messages::-webkit-scrollbar { width: 4px; }
.chatbot-messages::-webkit-scrollbar-track { background: transparent; }
.chatbot-messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.chat-msg {
  display: flex;
}

.chat-msg--user {
  justify-content: flex-end;
}

.chat-bubble {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.875rem;
  line-height: 1.55;
}

.chat-msg--bot .chat-bubble {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  color: var(--fg-primary);
  border-radius: 4px 12px 12px 12px;
}

.chat-msg--user .chat-bubble {
  background: var(--accent);
  color: var(--bg-primary);
  border-radius: 12px 4px 12px 12px;
}

/* Typing indicator */
.typing-bubble {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 12px 16px;
}

.typing-bubble span {
  width: 6px; height: 6px;
  background: var(--fg-muted);
  border-radius: 50%;
  animation: typing 1.2s ease-in-out infinite;
}

.typing-bubble span:nth-child(2) { animation-delay: 0.2s; }
.typing-bubble span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
  40% { transform: translateY(-5px); opacity: 1; }
}

.chatbot-input-row {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
}

.chatbot-input-row input {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--fg-primary);
  font-size: 0.875rem;
  font-family: 'Space Grotesk', sans-serif;
  outline: none;
  transition: border-color 0.2s;
}

.chatbot-input-row input:focus {
  border-color: rgba(34, 211, 238, 0.4);
}

.chatbot-input-row input::placeholder { color: var(--fg-muted); }

.chat-send {
  background: var(--accent);
  color: var(--bg-primary);
  border: none;
  border-radius: 8px;
  width: 38px; height: 38px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: opacity 0.2s;
}

.chat-send:hover { opacity: 0.85; }

.demo-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.demo-cta-row p {
  font-size: 1rem;
  color: var(--fg-secondary);
}

@media (max-width: 860px) {
  .demo-layout {
    grid-template-columns: 1fr;
  }
  .chatbot-widget {
    position: static;
    height: 460px;
  }
}

@media (max-width: 640px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-section { padding-bottom: 60px; }
  .page-hero { padding: 120px 20px 48px; }
  .demo-section { padding: 0 20px 60px; }
  .contact-section { padding: 0 20px 60px; }
}

/* ============================================================
   DEMO — TWO-BOT TAB SYSTEM
   ============================================================ */

/* Tab bar — 2 columns now */
.demo-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}

.demo-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  color: var(--fg-secondary);
  font-size: 0.875rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  width: 100%;
}

.demo-tab:hover {
  border-color: rgba(34, 211, 238, 0.3);
  color: var(--fg-primary);
}

.demo-tab--active {
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--bg-card), rgba(34, 211, 238, 0.06));
  color: var(--fg-primary);
}

.demo-tab--active .demo-tab-arrow {
  color: var(--accent);
}

.demo-tab-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.demo-tab-label {
  flex: 1;
  line-height: 1.35;
}

.demo-tab-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 100px;
  padding: 2px 8px;
  white-space: nowrap;
  flex-shrink: 0;
}

.demo-tab-arrow {
  font-size: 0.8rem;
  color: var(--fg-muted);
  flex-shrink: 0;
  transition: color 0.2s;
}

/* Panels */
.demo-panel--hidden {
  display: none;
}

/* CTA card inside demo info col */
.demo-cta-card {
  background: linear-gradient(135deg, var(--bg-card), rgba(34, 211, 238, 0.04));
  border: 1px solid rgba(34, 211, 238, 0.25);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.demo-cta-card-text {
  font-size: 0.9rem;
  color: var(--fg-secondary);
}

.demo-cta-btn {
  white-space: nowrap;
  font-size: 0.875rem;
  padding: 10px 18px;
}

/* Bottom CTA row */
.demo-bottom-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 56px;
  flex-wrap: wrap;
}

.demo-bottom-cta p {
  font-size: 1rem;
  color: var(--fg-secondary);
}

/* Booking bot — option buttons */
.chat-options {
  justify-content: flex-start;
}

.chat-option-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 85%;
}

.chat-option-btn {
  background: var(--bg-card);
  border: 1px solid rgba(34, 211, 238, 0.3);
  border-radius: 8px;
  padding: 9px 14px;
  color: var(--accent);
  font-size: 0.84rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s, border-color 0.2s;
}

.chat-option-btn:hover:not(:disabled) {
  background: var(--accent-glow);
  border-color: var(--accent);
}

.chat-option-btn:disabled,
.chat-option-btn--used {
  opacity: 0.45;
  cursor: default;
}

/* Booking bot — contact form in input area */
.chatbot-input-area {
  border-top: 1px solid var(--border);
}

.booking-contact-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-secondary);
}

.booking-contact-form input {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px 12px;
  color: var(--fg-primary);
  font-size: 0.875rem;
  font-family: 'Space Grotesk', sans-serif;
  outline: none;
  transition: border-color 0.2s;
}

.booking-contact-form input:focus {
  border-color: rgba(34, 211, 238, 0.4);
}

.booking-contact-form input::placeholder { color: var(--fg-muted); }

.booking-submit-btn {
  font-size: 0.875rem;
  padding: 10px 18px;
  border: none;
  cursor: pointer;
}

.chat-start-btn {
  width: 100%;
  padding: 11px 20px;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  border-radius: 0 0 var(--radius) var(--radius);
}

/* Booking confirmation card */
.booking-confirmation {
  background: linear-gradient(135deg, var(--bg-secondary), rgba(34, 211, 238, 0.04));
  border: 1px solid rgba(34, 211, 238, 0.3);
  border-radius: 12px;
  padding: 20px;
  margin: 4px 0;
}

.confirm-icon {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.confirm-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--fg-primary);
  margin-bottom: 14px;
}

.confirm-detail {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.825rem;
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
  gap: 12px;
}

.confirm-detail:last-of-type { border-bottom: none; }

.confirm-detail span {
  color: var(--fg-muted);
  flex-shrink: 0;
}

.confirm-detail strong {
  color: var(--fg-primary);
  text-align: right;
  word-break: break-all;
}

.confirm-note {
  font-size: 0.78rem;
  color: var(--fg-muted);
  margin-top: 12px;
  font-style: italic;
}

/* FAQ bot — lead capture form */
.faq-capture-form {
  flex-direction: column;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
}

.capture-label {
  font-size: 0.8rem;
  color: var(--fg-secondary);
  font-weight: 600;
}

.faq-capture-form input {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px 12px;
  color: var(--fg-primary);
  font-size: 0.875rem;
  font-family: 'Space Grotesk', sans-serif;
  outline: none;
  transition: border-color 0.2s;
}

.faq-capture-form input:focus {
  border-color: rgba(34, 211, 238, 0.4);
}

.faq-capture-form input::placeholder { color: var(--fg-muted); }

.capture-submit-btn {
  font-size: 0.875rem;
  padding: 10px 18px;
  border: none;
  cursor: pointer;
  align-self: flex-start;
}

/* Responsive tweaks */
@media (max-width: 860px) {
  .demo-tabs { grid-template-columns: 1fr; }
  .demo-tab-arrow { display: none; }
  .pricing-grid--two { grid-template-columns: 1fr; }
  .closing-testimonials { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .demo-cta-card { flex-direction: column; align-items: flex-start; }
  .demo-cta-btn { width: 100%; text-align: center; }
  .demo-bottom-cta { flex-direction: column; }
}

/* ======================================================
   VERTICAL LANDING PAGES (/dentists, /restaurants, /salons)
   ====================================================== */

/* ── Vertical hero extras ── */
.vertical-hero {
  padding-bottom: 60px;
}

.vertical-pain-strip {
  margin-top: 40px;
  padding: 24px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  max-width: 760px;
}

.pain-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.pain-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pain-pill {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.82rem;
  color: var(--fg-secondary);
  font-style: italic;
}

/* ── Vertical demo layout ── */
.demo-layout--vertical {
  max-width: 900px;
  margin: 0 auto;
  gap: 32px;
}

/* ── Questions list section ── */
.vertical-questions {
  padding: 80px 24px;
  max-width: 900px;
  margin: 0 auto;
}

.vertical-questions h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 36px;
  max-width: 600px;
}

.question-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}

.question-list li {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 0.95rem;
  color: var(--fg-secondary);
  font-style: italic;
  position: relative;
  padding-left: 44px;
}

.question-list li::before {
  content: '?';
  position: absolute;
  left: 16px;
  top: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  color: var(--accent);
  font-style: normal;
  font-weight: 600;
}

/* ── Accountability section ── */
.accountability-section {
  padding: 80px 24px;
  max-width: 1100px;
  margin: 0 auto;
  background: var(--bg-secondary);
  border-radius: var(--radius);
  margin-bottom: 40px;
}

.accountability-section .section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.accountability-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.accountability-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.3s, transform 0.3s;
}

.accountability-card:hover {
  border-color: rgba(34, 211, 238, 0.3);
  transform: translateY(-2px);
}

.acc-icon {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 16px;
}

.accountability-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.accountability-card p {
  font-size: 0.9rem;
  color: var(--fg-secondary);
  line-height: 1.65;
}

/* ── Vertical pricing ── */
.vertical-pricing {
  padding: 80px 24px;
  max-width: 900px;
  margin: 0 auto;
}

.vertical-pricing h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
  max-width: 600px;
}

/* ── Service FAQ section ── */
.service-faq {
  padding: 80px 24px;
  max-width: 900px;
  margin: 0 auto;
}

.service-faq h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
  max-width: 600px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
}

.faq-item h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--fg-primary);
}

.faq-item p {
  font-size: 0.95rem;
  color: var(--fg-secondary);
  line-height: 1.7;
}

/* ── Cross-vertical links ── */
.cross-vertical {
  padding: 40px 24px 80px;
  max-width: 900px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

.cross-vertical p {
  color: var(--fg-secondary);
  font-size: 0.95rem;
}

/* ── Vertical section-sub (demo subtitle) ── */
.section-sub {
  font-size: 1rem;
  color: var(--fg-secondary);
  max-width: 600px;
  margin-bottom: 48px;
  line-height: 1.6;
}

/* ── Homepage vertical industry links ── */
.vertical-links {
  margin-bottom: 48px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.vertical-links-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  text-transform: uppercase;
  white-space: nowrap;
}

.vertical-link-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.vertical-link-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.82rem;
  color: var(--fg-secondary);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.vertical-link-pill:hover {
  border-color: rgba(34, 211, 238, 0.4);
  color: var(--accent);
}

/* ── Responsive: vertical pages ── */
@media (max-width: 768px) {
  .accountability-section { padding: 48px 24px; }
  .vertical-pain-strip { padding: 20px; }
  .pain-pills { gap: 8px; }
  .question-list { grid-template-columns: 1fr; }
  .accountability-grid { grid-template-columns: 1fr; }
  .vertical-links { flex-direction: column; align-items: flex-start; gap: 10px; }
}
