:root {
  --bg: #0a0a0f;
  --bg-alt: #111118;
  --bg-card: #16161f;
  --fg: #e8e8ed;
  --fg-dim: #8888a0;
  --accent: #f5a623;
  --accent-glow: rgba(245, 166, 35, 0.15);
  --accent-strong: #ffc247;
  --border: rgba(255,255,255,0.06);
  --radius: 12px;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== HERO ===== */
.hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 24px 60px;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(245,166,35,0.08) 0%, transparent 70%);
  position: relative;
}

.hero-badge {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid rgba(245,166,35,0.2);
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 40px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.15;
  max-width: 800px;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

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

.hero-sub {
  font-size: 1.1rem;
  color: var(--fg-dim);
  max-width: 600px;
  margin-bottom: 56px;
  line-height: 1.7;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 56px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-cta-primary {
  display: inline-flex;
  align-items: center;
  background: var(--accent);
  color: #0a0a0f;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  padding: 15px 28px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(245,166,35,0.2);
}

.hero-cta-primary:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(245,166,35,0.3);
}

.hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--fg-dim);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 15px 24px;
  border-radius: 10px;
  border: 1px solid var(--border);
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}

.hero-cta-secondary:hover {
  color: var(--fg);
  border-color: rgba(255,255,255,0.15);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-strong);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--fg-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  max-width: 160px;
  text-align: center;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
}

/* ===== PROBLEM ===== */
.problem {
  padding: 100px 24px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.problem-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.problem-label,
.services-label,
.results-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.problem h2,
.services h2,
.results h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 48px;
  letter-spacing: -0.02em;
  max-width: 700px;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

.problem-icon {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-glow);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  margin-bottom: 20px;
}

.problem-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.problem-card p {
  font-size: 0.9rem;
  color: var(--fg-dim);
  line-height: 1.6;
}

/* ===== SERVICES ===== */
.services {
  padding: 100px 24px;
}

.services-inner {
  max-width: 1100px;
  margin: 0 auto;
}

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

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

.service-card:hover {
  border-color: rgba(245,166,35,0.25);
}

.service-featured {
  border-color: rgba(245,166,35,0.3);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(245,166,35,0.04) 100%);
}

.service-tag {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 16px;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--fg-dim);
  line-height: 1.6;
}

/* ===== RESULTS ===== */
.results {
  padding: 100px 24px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.results-inner {
  max-width: 900px;
  margin: 0 auto;
}

.results-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.result-item {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.result-item:last-child {
  border-bottom: none;
}

.result-industry {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-strong);
  min-width: 160px;
  flex-shrink: 0;
}

.result-desc {
  font-size: 0.95rem;
  color: var(--fg-dim);
}

/* ===== CLOSING ===== */
.closing {
  padding: 120px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.closing-inner {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.closing-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245,166,35,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.closing-sub {
  font-size: 1.05rem;
  color: var(--fg-dim);
  line-height: 1.7;
  margin-bottom: 40px;
}

.closing-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--fg-dim);
}

.closing-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

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

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
}

.footer-contact {
  font-size: 0.85rem;
  color: var(--fg-dim);
}

/* ===== CALCULATOR ===== */
.calc-section {
  padding: 100px 24px;
  background: var(--bg);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.calc-section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse at top, rgba(245,166,35,0.05) 0%, transparent 65%);
  pointer-events: none;
}

.calc-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.calc-header {
  margin-bottom: 60px;
}

.calc-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.calc-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.calc-sub {
  font-size: 1rem;
  color: var(--fg-dim);
  line-height: 1.6;
}

.calc-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* --- Inputs --- */
.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
}

.calc-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.calc-label-field {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fg);
  display: flex;
  align-items: center;
  gap: 8px;
}

.calc-hint {
  font-size: 0.75rem;
  color: var(--fg-dim);
  margin-top: -4px;
}

.calc-hint span {
  color: var(--accent);
  font-weight: 600;
}

/* Select */
.calc-select-wrap {
  position: relative;
}

.calc-select {
  width: 100%;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 40px 12px 14px;
  appearance: none;
  cursor: pointer;
  transition: border-color 0.2s;
}

.calc-select:focus {
  outline: none;
  border-color: rgba(245,166,35,0.4);
}

.calc-select-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 8px;
  color: var(--fg-dim);
  pointer-events: none;
}

/* Number inputs */
.calc-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.calc-prefix {
  position: absolute;
  left: 14px;
  color: var(--fg-dim);
  font-size: 0.95rem;
  pointer-events: none;
}

.calc-input {
  width: 100%;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 14px 12px 30px;
  transition: border-color 0.2s;
}

.calc-input.no-prefix {
  padding-left: 14px;
}

.calc-input:focus {
  outline: none;
  border-color: rgba(245,166,35,0.4);
}

.calc-input::-webkit-outer-spin-button,
.calc-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

/* Range slider */
.calc-slider-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.calc-slider {
  flex: 1;
  -webkit-appearance: none;
  height: 4px;
  border-radius: 2px;
  background: var(--border);
  cursor: pointer;
  outline: none;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  box-shadow: 0 0 0 3px rgba(245,166,35,0.2);
  transition: box-shadow 0.2s;
}

.calc-slider:hover::-webkit-slider-thumb {
  box-shadow: 0 0 0 5px rgba(245,166,35,0.25);
}

.calc-slider::-moz-range-thumb {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  border: none;
}

.calc-slider-val {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  min-width: 40px;
  text-align: right;
}

/* Tooltip */
.calc-tooltip-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.calc-tooltip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--border);
  color: var(--fg-dim);
  font-size: 10px;
  font-weight: 700;
  cursor: help;
}

.calc-tooltip-text {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.78rem;
  color: var(--fg-dim);
  line-height: 1.5;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  transition: opacity 0.15s;
  pointer-events: none;
  z-index: 10;
}

.calc-tooltip-wrap:hover .calc-tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* --- Output --- */
.calc-output {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 24px;
}

.calc-output-primary {
  background: var(--bg-card);
  border: 1px solid rgba(245,166,35,0.25);
  border-radius: var(--radius);
  padding: 36px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.calc-output-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top center, rgba(245,166,35,0.06) 0%, transparent 65%);
  pointer-events: none;
}

.calc-output-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 12px;
  position: relative;
}

.calc-output-number {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--accent-strong);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 12px;
  position: relative;
  /* pulse glow on change */
  transition: text-shadow 0.3s;
}

.calc-output-number.pulse {
  text-shadow: 0 0 30px rgba(245,166,35,0.4);
}

.calc-output-sub {
  font-size: 0.8rem;
  color: var(--fg-dim);
  position: relative;
}

/* Compare card */
.calc-compare {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
}

.calc-compare-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.calc-compare-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.calc-compare-tag {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--fg-dim);
  margin-bottom: 4px;
}

.calc-compare-val {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.calc-compare-val.loss { color: #ff5252; }
.calc-compare-val.gain { color: #4caf82; }

.calc-compare-desc {
  font-size: 0.75rem;
  color: var(--fg-dim);
  line-height: 1.3;
}

.calc-compare-divider {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--fg-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0 4px;
  flex-shrink: 0;
}

.calc-compare-plan {
  font-size: 0.8rem;
  color: var(--fg-dim);
  text-align: center;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.calc-compare-plan strong {
  color: var(--accent);
}

/* CTA */
.calc-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--accent);
  color: #0a0a0f;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 16px 28px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(245,166,35,0.2);
}

.calc-cta svg {
  width: 16px; height: 16px;
  flex-shrink: 0;
}

.calc-cta:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(245,166,35,0.3);
}

.calc-cta:active {
  transform: translateY(0);
}

/* Footnote */
.calc-footnote {
  font-size: 0.72rem;
  color: var(--fg-dim);
  line-height: 1.6;
  opacity: 0.65;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

/* ===== DEMO PAGE ===== */
.demo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 100;
}

.demo-back {
  font-size: 0.85rem;
  color: var(--fg-dim);
  text-decoration: none;
  transition: color 0.2s;
}

.demo-back:hover { color: var(--fg); }

.demo-header-badge {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid rgba(245,166,35,0.25);
  padding: 5px 14px;
  border-radius: 100px;
}

.demo-hero {
  padding: 80px 24px 60px;
  text-align: center;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(245,166,35,0.07) 0%, transparent 70%);
}

.demo-hero-inner {
  max-width: 700px;
  margin: 0 auto;
}

.demo-hero .hero-badge { margin-bottom: 28px; }

.demo-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

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

.demo-hero .hero-sub {
  font-size: 1rem;
  color: var(--fg-dim);
  line-height: 1.7;
  margin-bottom: 32px;
}

.demo-meta-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pill {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--fg-dim);
}

.pill-green { color: #4caf82; border-color: rgba(76,175,130,0.25); }

/* ===== DEMO STAGE ===== */
.demo-stage {
  padding: 60px 24px 100px;
}

.demo-stage-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* Phone mockup */
.phone-mockup {
  background: #1c1c28;
  border-radius: 40px;
  border: 2px solid rgba(255,255,255,0.08);
  padding: 16px;
  max-width: 360px;
  margin: 0 auto;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04);
  position: sticky;
  top: 100px;
}

.phone-notch {
  width: 90px;
  height: 24px;
  background: #111;
  border-radius: 100px;
  margin: 0 auto 16px;
}

.phone-screen {
  background: var(--bg);
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 520px;
}

.phone-chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
  flex-shrink: 0;
}

.phone-avatar {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, #ff8c00 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: #0a0a0f;
  flex-shrink: 0;
}

.online-dot {
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: 10px;
  height: 10px;
  background: #4caf82;
  border-radius: 50%;
  border: 2px solid var(--bg-card);
}

.phone-chat-meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
}

.phone-chat-meta small {
  font-size: 0.72rem;
  color: var(--fg-dim);
}

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

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

.chat-msg {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 0.88rem;
  line-height: 1.5;
  word-break: break-word;
}

.chat-msg--user {
  background: var(--accent);
  color: #0a0a0f;
  font-weight: 500;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-msg--assistant {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--fg);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

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

.typing-indicator span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--fg-dim);
  display: inline-block;
  animation: typing-bounce 1.2s infinite ease-in-out;
}

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

@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-6px); opacity: 1; }
}

.phone-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid var(--border);
  background: var(--bg-card);
  flex-shrink: 0;
}

.phone-input {
  flex: 1;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 0.88rem;
  padding: 9px 16px;
  transition: border-color 0.2s;
}

.phone-input:focus {
  outline: none;
  border-color: rgba(245,166,35,0.35);
}

.phone-input::placeholder { color: var(--fg-dim); opacity: 0.6; }

.phone-send-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a0a0f;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.15s;
}

.phone-send-btn:hover { background: var(--accent-strong); transform: scale(1.05); }
.phone-send-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ===== DEMO EXPLAINER ===== */
.demo-explainer {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 8px;
}

.explainer-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  transition: border-color 0.25s;
}

.explainer-card:hover { border-color: rgba(245,166,35,0.2); }

.lead-capture-card {
  border-color: rgba(76,175,130,0.3);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(76,175,130,0.04) 100%);
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.explainer-icon {
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.explainer-card h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.explainer-card p {
  font-size: 0.85rem;
  color: var(--fg-dim);
  line-height: 1.55;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #0a0a0f;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 15px 28px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(245,166,35,0.2);
  align-self: flex-start;
}

.btn-primary:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(245,166,35,0.3);
}

.demo-cta { width: 100%; justify-content: center; margin-top: 4px; }

/* ===== HOW IT WORKS ===== */
.demo-how {
  padding: 100px 24px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.demo-how-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.demo-how h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 60px;
  text-align: center;
}

.demo-how .highlight { color: var(--accent); }

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.how-step {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.3;
  line-height: 1;
}

.how-step h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
}

.how-step p {
  font-size: 0.88rem;
  color: var(--fg-dim);
  line-height: 1.6;
}

/* ===== DEMO BOTTOM CTA ===== */
.demo-bottom-cta {
  padding: 120px 24px;
  text-align: center;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(245,166,35,0.07) 0%, transparent 70%);
}

.demo-bottom-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.demo-bottom-cta .highlight { color: var(--accent); }

.demo-bottom-cta p {
  font-size: 1rem;
  color: var(--fg-dim);
  margin-bottom: 40px;
}

.demo-bottom-cta .btn-primary {
  margin: 0 auto;
  font-size: 1rem;
  padding: 18px 36px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .problem-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 24px;
  }

  .stat-divider {
    display: none;
  }

  .result-item {
    flex-direction: column;
    gap: 6px;
  }

  .result-industry {
    min-width: auto;
  }

  .hero {
    min-height: auto;
    padding: 60px 20px 40px;
  }

  .problem,
  .services,
  .results {
    padding: 60px 20px;
  }

  .closing {
    padding: 80px 20px;
  }

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

  .calc-body {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .calc-output {
    position: static;
  }

  .calc-section {
    padding: 60px 20px;
  }

  .calc-inputs,
  .calc-output-primary,
  .calc-compare {
    padding: 24px 20px;
  }

  .calc-compare-row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .calc-compare-divider {
    text-align: center;
  }

  .calc-output-number {
    font-size: 2.6rem;
  }

  .demo-stage-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .phone-mockup {
    position: static;
    max-width: 100%;
  }

  .how-steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .demo-how,
  .demo-stage {
    padding: 60px 20px;
  }

  .demo-bottom-cta {
    padding: 80px 20px;
  }

  .demo-header {
    padding: 16px 20px;
  }
}

/* ===== PRICING ===== */
.pricing {
  padding: 100px 24px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pricing-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-header {
  margin-bottom: 64px;
}

.pricing-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.pricing-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.pricing-sub {
  font-size: 0.95rem;
  color: var(--fg-dim);
  line-height: 1.6;
  max-width: 500px;
}

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

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

.pricing-card:hover {
  border-color: rgba(245,166,35,0.2);
}

.pricing-card--featured {
  border-color: rgba(245,166,35,0.4);
  background: linear-gradient(160deg, var(--bg-card) 0%, rgba(245,166,35,0.05) 100%);
  /* Slightly elevated */
  box-shadow: 0 0 0 1px rgba(245,166,35,0.15), 0 20px 60px rgba(0,0,0,0.3);
}

.pricing-popular-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #0a0a0f;
  background: var(--accent);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.pricing-tier-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.pricing-price-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
}

.pricing-amount {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent-strong);
  letter-spacing: -0.03em;
  line-height: 1;
}

.pricing-period {
  font-size: 0.95rem;
  color: var(--fg-dim);
}

.pricing-setup {
  font-size: 0.8rem;
  color: var(--fg-dim);
  margin-bottom: 28px;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 32px;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--fg);
  line-height: 1.45;
}

.check-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 1px;
}

.pricing-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 13px 24px;
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.2s;
}

.pricing-cta--primary {
  background: var(--accent);
  color: #0a0a0f;
  box-shadow: 0 4px 20px rgba(245,166,35,0.2);
}

.pricing-cta--primary:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(245,166,35,0.3);
}

.pricing-cta--secondary {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--border);
}

.pricing-cta--secondary:hover {
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.03);
}

.pricing-guarantee {
  margin-top: 40px;
  font-size: 0.82rem;
  color: var(--fg-dim);
  text-align: center;
  line-height: 1.6;
}

/* ===== BOOK A DEMO FORM ===== */
.book-demo {
  padding: 100px 24px;
  background: var(--bg);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.book-demo::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse at top, rgba(245,166,35,0.04) 0%, transparent 65%);
  pointer-events: none;
}

.book-demo-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 1;
}

/* Left column */
.book-demo-left h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.book-demo-sub {
  font-size: 1rem;
  color: var(--fg-dim);
  line-height: 1.7;
  margin-bottom: 40px;
}

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

.book-perk {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.book-perk-icon {
  font-size: 1.3rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.book-perk strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 2px;
}

.book-perk span {
  font-size: 0.83rem;
  color: var(--fg-dim);
  line-height: 1.5;
}

/* Form */
.demo-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-row {
  display: flex;
  gap: 16px;
}

.form-row--2col {
  flex-direction: row;
}

.form-row--2col .form-field {
  flex: 1;
  min-width: 0;
}

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

.form-label {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: 0.2px;
}

.form-required {
  color: var(--accent);
}

.form-input,
.form-select,
.form-textarea {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 0.93rem;
  padding: 11px 14px;
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: rgba(245,166,35,0.45);
  box-shadow: 0 0 0 3px rgba(245,166,35,0.08);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--fg-dim);
  opacity: 0.55;
}

.form-input--error {
  border-color: rgba(255,82,82,0.5) !important;
}

.form-select-wrap {
  position: relative;
}

.form-select {
  cursor: pointer;
  padding-right: 40px;
}

.form-select option {
  background: var(--bg-card);
  color: var(--fg);
}

.form-select-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 11px;
  height: 7px;
  color: var(--fg-dim);
  pointer-events: none;
}

.form-textarea {
  resize: vertical;
  min-height: 88px;
  line-height: 1.55;
}

.form-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--accent);
  color: #0a0a0f;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  padding: 16px 28px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(245,166,35,0.2);
  margin-top: 4px;
}

.form-submit:hover:not(:disabled) {
  background: var(--accent-strong);
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(245,166,35,0.3);
}

.form-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.form-submit-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.form-status {
  font-size: 0.85rem;
  line-height: 1.5;
  text-align: center;
}

.form-status--error {
  color: #ff5252;
}

/* Success state */
.form-success {
  text-align: center;
  padding: 24px 0;
}

.form-success-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(76,175,130,0.12);
  border: 2px solid rgba(76,175,130,0.3);
  color: #4caf82;
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.form-success p {
  font-size: 0.92rem;
  color: var(--fg-dim);
  line-height: 1.6;
}

.form-success p strong {
  color: var(--fg);
}

/* Responsive */
@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pricing {
    padding: 60px 20px;
  }

  .book-demo {
    padding: 60px 20px;
  }

  .book-demo-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .form-row--2col {
    flex-direction: column;
  }

  .demo-form {
    padding: 28px 24px;
  }
}

/* ===== INDUSTRY SELECTOR (demo page) ===== */
.industry-selector {
  margin: 28px 0 24px;
}

.industry-selector-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--fg-dim);
  margin-bottom: 12px;
}

.industry-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 12px;
}

.industry-pill {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--fg-dim);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 18px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.industry-pill:hover {
  border-color: rgba(245,166,35,0.3);
  color: var(--fg);
}

.industry-pill.active {
  background: var(--accent-glow);
  border-color: rgba(245,166,35,0.4);
  color: var(--accent-strong);
}

.industry-tagline {
  font-size: 0.8rem;
  color: var(--fg-dim);
  text-align: center;
  margin-top: 4px;
  min-height: 1.2em;
  transition: opacity 0.2s;
}

/* ===== TRANSCRIPT CARD ===== */
.transcript-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  animation: fadeIn 0.35s ease;
}

.transcript-card-inner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.transcript-icon {
  font-size: 1.3rem;
  line-height: 1;
  flex-shrink: 0;
}

.transcript-body strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 4px;
}

.transcript-body p {
  font-size: 0.82rem;
  color: var(--fg-dim);
  line-height: 1.5;
}

.transcript-input-row {
  display: flex;
  gap: 8px;
}

.transcript-email-input {
  flex: 1;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 0.88rem;
  padding: 10px 14px;
  transition: border-color 0.2s;
}

.transcript-email-input:focus {
  outline: none;
  border-color: rgba(245,166,35,0.4);
}

.transcript-email-input::placeholder { color: var(--fg-dim); opacity: 0.6; }

.transcript-send-btn {
  background: var(--accent);
  color: #0a0a0f;
  border: none;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 10px 18px;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.transcript-send-btn:hover:not(:disabled) { background: var(--accent-strong); }
.transcript-send-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.transcript-status {
  font-size: 0.8rem;
  margin-top: 8px;
  line-height: 1.4;
  min-height: 1.2em;
}

.transcript-status.success { color: #4caf82; }
.transcript-status.error   { color: #ff5252; }

/* ===== DEMO ACTIONS ROW ===== */
.demo-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.btn-restart {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--fg-dim);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 11px 20px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  text-align: center;
}

.btn-restart:hover {
  color: var(--fg);
  border-color: rgba(255,255,255,0.15);
}

/* ===== FLOATING CHAT BUBBLE ===== */
.chat-bubble {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9000;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #0a0a0f;
  border: none;
  border-radius: 100px;
  padding: 14px 22px 14px 18px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(245,166,35,0.35), 0 2px 8px rgba(0,0,0,0.4);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.chat-bubble:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(245,166,35,0.45), 0 4px 12px rgba(0,0,0,0.4);
  background: var(--accent-strong);
}

.chat-bubble-icon { display: flex; align-items: center; }
.chat-bubble-label { line-height: 1; }

.chat-bubble-panel {
  position: fixed;
  bottom: 92px;
  right: 28px;
  z-index: 9001;
  width: 340px;
  max-height: 480px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.chat-bubble-panel.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.bubble-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
  flex-shrink: 0;
}

.bubble-panel-persona {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bubble-avatar {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, #ff8c00 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: #0a0a0f;
  flex-shrink: 0;
}

.bubble-panel-persona strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
}

.bubble-panel-persona small {
  font-size: 0.7rem;
  color: var(--fg-dim);
}

.bubble-panel-close {
  background: transparent;
  border: none;
  color: var(--fg-dim);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}

.bubble-panel-close:hover {
  color: var(--fg);
  background: rgba(255,255,255,0.05);
}

.bubble-panel-messages {
  flex: 1;
  overflow-y: auto;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  scroll-behavior: smooth;
}

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

.bubble-panel-footer {
  flex-shrink: 0;
  border-top: 1px solid var(--border);
}

.bubble-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px 6px;
}

.bubble-input {
  flex: 1;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 0.82rem;
  padding: 8px 14px;
  transition: border-color 0.2s;
}

.bubble-input:focus {
  outline: none;
  border-color: rgba(245,166,35,0.35);
}

.bubble-input::placeholder { color: var(--fg-dim); opacity: 0.6; }

.bubble-send-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a0a0f;
  flex-shrink: 0;
  transition: background 0.15s;
}

.bubble-send-btn:hover { background: var(--accent-strong); }
.bubble-send-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.bubble-full-demo-link {
  display: block;
  text-align: center;
  font-size: 0.78rem;
  color: var(--fg-dim);
  text-decoration: none;
  padding: 8px 12px 12px;
  transition: color 0.15s;
}

.bubble-full-demo-link:hover { color: var(--accent); }

/* Mobile: make bubble smaller */
@media (max-width: 480px) {
  .chat-bubble { bottom: 16px; right: 16px; padding: 13px 18px 13px 14px; }
  .chat-bubble-label { display: none; }
  .chat-bubble { border-radius: 50%; width: 54px; height: 54px; padding: 0; justify-content: center; }
  .chat-bubble-panel { right: 12px; bottom: 80px; width: calc(100vw - 24px); }
}

/* ===== INLINE LIVE DEMO SECTION ===== */
.live-demo-inline {
  padding: 100px 24px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.live-demo-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

/* Left col */
.live-demo-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.live-demo-left h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.live-demo-left h2 .highlight { color: var(--accent); }

.live-demo-sub {
  font-size: 0.95rem;
  color: var(--fg-dim);
  line-height: 1.7;
  margin-bottom: 32px;
}

.live-demo-industry {
  margin-bottom: 28px;
}

.live-demo-industry-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--fg-dim);
  margin-bottom: 10px;
}

.live-demo-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.inline-pill {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--fg-dim);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 7px 14px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.inline-pill:hover {
  border-color: rgba(245,166,35,0.3);
  color: var(--fg);
}

.inline-pill.active {
  background: var(--accent-glow);
  border-color: rgba(245,166,35,0.4);
  color: var(--accent-strong);
}

.live-demo-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.live-demo-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--fg-dim);
}

.live-demo-check {
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

.live-demo-full-link {
  display: inline-flex;
  align-items: center;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  gap: 4px;
  transition: color 0.2s;
}

.live-demo-full-link:hover { color: var(--accent-strong); }

/* Right col — mini chat widget */
.mini-chat-widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  display: flex;
  flex-direction: column;
  height: 460px;
}

.mini-chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
  flex-shrink: 0;
}

.mini-chat-avatar {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, #ff8c00 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: #0a0a0f;
  flex-shrink: 0;
}

.mini-chat-meta {
  flex: 1;
}

.mini-chat-meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
}

.mini-chat-meta small {
  font-size: 0.7rem;
  color: var(--fg-dim);
}

.mini-chat-live-badge {
  font-size: 0.7rem;
  font-weight: 600;
  color: #4caf82;
  background: rgba(76,175,130,0.1);
  border: 1px solid rgba(76,175,130,0.2);
  border-radius: 100px;
  padding: 3px 10px;
  flex-shrink: 0;
}

.mini-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  scroll-behavior: smooth;
}

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

.mini-chat-messages .chat-msg {
  font-size: 0.85rem;
}

.mini-chat-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  flex-shrink: 0;
}

.mini-chat-input {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 0.85rem;
  padding: 9px 14px;
  transition: border-color 0.2s;
}

.mini-chat-input:focus {
  outline: none;
  border-color: rgba(245,166,35,0.35);
}

.mini-chat-input::placeholder { color: var(--fg-dim); opacity: 0.6; }

.mini-chat-send-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a0a0f;
  flex-shrink: 0;
  transition: background 0.15s;
}

.mini-chat-send-btn:hover { background: var(--accent-strong); }
.mini-chat-send-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.mini-chat-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

.mini-chat-restart-btn {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--fg-dim);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 12px;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}

.mini-chat-restart-btn:hover {
  color: var(--fg);
  border-color: rgba(255,255,255,0.15);
}

.mini-chat-cta-link {
  font-size: 0.78rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s;
}

.mini-chat-cta-link:hover { color: var(--accent-strong); }

/* Responsive */
@media (max-width: 768px) {
  .live-demo-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .live-demo-inline {
    padding: 60px 20px;
  }

  .mini-chat-widget {
    height: 380px;
  }

  .industry-pills {
    justify-content: flex-start;
  }
}