/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #08080f;
  --bg-card: #10101e;
  --bg-card-hover: #161628;
  --fg: #e8e8f0;
  --fg-muted: #7a7a9a;
  --accent: #FF4F1F;
  --accent-dim: rgba(255, 79, 31, 0.12);
  --violet: #8B5CF6;
  --violet-dim: rgba(139, 92, 246, 0.12);
  --amber: #F59E0B;
  --green: #10B981;
  --border: rgba(255, 255, 255, 0.06);
  --radius: 12px;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

/* === NAVBAR === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 40px;
  border-bottom: 1px solid var(--border);
  background: rgba(8, 8, 15, 0.85);
  backdrop-filter: blur(16px);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.3px;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-link:hover { color: var(--fg); }

.nav-cta {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 7px;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.nav-cta:hover { opacity: 0.88; }

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 40px 80px;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,79,31,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,79,31,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 40%, transparent 100%);
}

.hero-bg-glow {
  position: absolute;
  top: -20%;
  left: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  font-size: 12px;
  font-weight: 500;
  color: var(--fg-muted);
  letter-spacing: 0.3px;
  margin-bottom: 28px;
  width: fit-content;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2s infinite;
}

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

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--fg);
  margin-bottom: 24px;
}

.headline-accent {
  color: var(--accent);
  position: relative;
}

.hero-lede {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 520px;
  margin-bottom: 40px;
}

.action-note {
  font-size: 15px;
  color: var(--accent);
  font-weight: 500;
  cursor: pointer;
  display: inline-block;
  padding: 12px 24px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.action-note:hover {
  background: var(--accent);
  color: white;
}

/* === STATS CARD === */
.hero-stats-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}

.stats-header {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.stats-items { display: flex; flex-direction: column; gap: 20px; }

.stat-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.stat-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.support-icon { background: var(--violet-dim); }
.leads-icon { background: var(--accent-dim); }
.revenue-icon { background: rgba(16, 185, 129, 0.1); }

.stat-label {
  font-size: 11px;
  color: var(--fg-muted);
  font-weight: 500;
  letter-spacing: 0.3px;
  margin-bottom: 4px;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.5px;
}

.stat-sub {
  font-size: 12px;
  color: var(--fg-muted);
  font-weight: 400;
  font-family: var(--font-body);
}

/* === SECTION LABELS === */
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 56px;
}

/* === PILLARS === */
.pillars {
  padding: 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

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

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

.pillar-card:hover {
  border-color: rgba(255,255,255,0.12);
  transform: translateY(-4px);
}

.pillar-icon-wrap {
  margin-bottom: 20px;
}

.pillar-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 16px;
}

.pillar-tag-purple { background: var(--violet-dim); color: var(--violet); }
.pillar-tag-coral { background: var(--accent-dim); color: var(--accent); }
.pillar-tag-amber { background: rgba(245, 158, 11, 0.1); color: var(--amber); }

.pillar-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--fg);
  margin-bottom: 12px;
  line-height: 1.25;
}

.pillar-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.pillar-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pillar-features li {
  font-size: 13px;
  color: var(--fg-muted);
  padding-left: 16px;
  position: relative;
}

.pillar-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* === HOW IT WORKS === */
.how {
  padding: 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

.steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 64px;
}

.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.step-number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: rgba(255, 79, 31, 0.15);
  letter-spacing: -2px;
  margin-bottom: 20px;
}

.step-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.step-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 280px;
}

.step-connector {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--violet));
  margin: 0 20px;
  flex-shrink: 0;
  margin-top: -20px;
}

.how-quote {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 40px;
  max-width: 640px;
}

.quote-text {
  font-size: 18px;
  font-style: italic;
  color: var(--fg);
  line-height: 1.6;
  margin-bottom: 12px;
}

.quote-attr {
  font-size: 13px;
  color: var(--fg-muted);
}

/* === OUTCOMES === */
.outcomes {
  padding: 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.outcome-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
}

.outcome-number {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--accent);
  margin-bottom: 10px;
}

.outcome-label {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.5;
}

/* === CLOSING === */
.closing {
  padding: 120px 40px;
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
  text-align: center;
}

.closing-inner {
  max-width: 680px;
  margin: 0 auto;
}

.closing-deco {
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
}

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 24px;
}

.closing-accent { color: var(--accent); }

.closing-body {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.7;
}

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

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--fg);
}

.footer-tagline {
  font-size: 14px;
  color: var(--fg-muted);
}

.footer-legal {
  font-size: 12px;
  color: rgba(122, 122, 154, 0.5);
}

/* === WAITLIST FORM === */
.waitlist-form-wrap { width: 100%; }

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 520px;
}

.wf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.wf-input {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--fg);
  font-family: var(--font-body);
  transition: border-color 0.2s;
  width: 100%;
}

.wf-input:focus {
  outline: none;
  border-color: rgba(255,79,31,0.4);
}

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

.wf-select { cursor: pointer; }
.wf-select option { background: #10101e; color: var(--fg); }

.wf-submit {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 13px 24px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  text-align: center;
}

.wf-submit:hover { opacity: 0.9; transform: translateY(-1px); }
.wf-submit:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

.wf-status {
  font-size: 13px;
  line-height: 1.5;
  min-height: 20px;
}
.wf-status-ok { color: var(--green); }
.wf-status-err { color: var(--accent); }

/* === SOCIAL PROOF === */
.social-proof {
  border-top: 1px solid var(--border);
  padding: 40px 40px;
}

.social-proof-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.social-proof-label {
  font-size: 13px;
  color: var(--fg-muted);
  letter-spacing: 0.3px;
  text-align: center;
}

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

.logo-placeholder { opacity: 0.4; }

.logo-box {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--fg-muted);
  font-family: var(--font-display);
}

/* === HOW-IT-WORKS (5-step) === */
.how-inner {
  padding: 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

.how-steps {
  display: flex;
  align-items: stretch;
  gap: 0;
  flex-wrap: nowrap;
}

.how-step-card {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.2s, transform 0.2s;
  min-width: 0;
}

.how-step-card:hover {
  border-color: rgba(255,79,31,0.25);
  transform: translateY(-3px);
}

.how-step-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  color: rgba(255, 79, 31, 0.2);
  letter-spacing: -1.5px;
  line-height: 1;
}

.how-step-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.3px;
}

.how-step-desc {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.65;
}

.how-step-arrow {
  display: flex;
  align-items: center;
  padding: 0 10px;
  color: var(--accent);
  font-size: 20px;
  opacity: 0.5;
  flex-shrink: 0;
  align-self: center;
}

/* === PRICING TEASE === */
.pricing {
  border-top: 1px solid var(--border);
}

.pricing-inner {
  padding: 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-subhead {
  font-size: 16px;
  color: var(--fg-muted);
  margin-top: -36px;
  margin-bottom: 52px;
  line-height: 1.6;
  max-width: 560px;
}

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

.pricing-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.2s, transform 0.2s;
}

.pricing-card:hover {
  border-color: rgba(255,255,255,0.1);
  transform: translateY(-3px);
}

.pricing-card-featured {
  border-color: rgba(255,79,31,0.3);
  background: linear-gradient(135deg, rgba(255,79,31,0.04) 0%, var(--bg-card) 100%);
}

.pricing-card-badge {
  position: absolute;
  top: -12px;
  left: 28px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 6px;
  text-transform: uppercase;
}

.pricing-tier-label {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.5px;
}

.pricing-scale {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.5;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.pricing-features li {
  font-size: 13px;
  color: var(--fg-muted);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}

.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
}

.pricing-cta {
  display: block;
  text-align: center;
  padding: 11px 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-muted);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
  margin-top: auto;
}

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

.pricing-cta-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.pricing-cta-primary:hover {
  opacity: 0.9;
  color: #fff;
}

.pricing-note {
  font-size: 12px;
  color: var(--fg-muted);
  opacity: 0.6;
  text-align: center;
}

/* === CLOSING WAITLIST === */
.closing-waitlist {
  margin-top: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.closing-waitlist-label {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.6;
}

.closing-waitlist .waitlist-form {
  max-width: 560px;
  width: 100%;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-right { display: none; }
  .pillars-grid { grid-template-columns: 1fr; gap: 16px; }
  .outcomes-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { flex-direction: column; gap: 32px; }
  .step-connector { display: none; }
  .how-steps { flex-direction: column; gap: 12px; }
  .how-step-arrow { display: none; }
  .pricing-grid { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 640px) {
  .hero { padding: 100px 24px 60px; }
  .pillars, .outcomes, .closing { padding: 80px 24px; }
  .how-inner { padding: 80px 24px; }
  .pricing-inner { padding: 80px 24px; }
  .social-proof { padding: 32px 24px; }
  .hero-headline { letter-spacing: -1px; }
  .outcomes-grid { grid-template-columns: 1fr 1fr; }
  .navbar { padding: 0 24px; }
  .nav-links { display: none; }
  .section-heading { margin-bottom: 36px; }
  .wf-row { grid-template-columns: 1fr; }
  .logo-row { gap: 16px; }
  .demo-workspace { grid-template-columns: 1fr; }
}

/* === DEMO SECTION === */
.demo-section {
  padding: 100px 40px;
  background: var(--bg);
}

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

.demo-subtitle {
  font-size: 17px;
  color: var(--fg-muted);
  max-width: 560px;
  line-height: 1.65;
  margin-bottom: 32px;
}

.demo-examples {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.demo-examples-label {
  font-size: 12px;
  color: var(--fg-muted);
  font-weight: 500;
  white-space: nowrap;
}

.demo-chip {
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  font-family: var(--font-body);
}
.demo-chip:hover {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--fg);
}

.demo-workspace {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.demo-input-area { display: flex; flex-direction: column; gap: 12px; }

.demo-label-row {
  display: flex; align-items: center; justify-content: space-between;
}
.demo-input-label {
  font-size: 12px; font-weight: 600; color: var(--fg-muted);
  text-transform: uppercase; letter-spacing: 0.8px;
}
.demo-char-count {
  font-size: 11px; color: var(--fg-muted);
}

.demo-textarea {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  padding: 14px 16px;
  resize: vertical;
  min-height: 140px;
  transition: border-color 0.2s;
  outline: none;
}
.demo-textarea:focus {
  border-color: var(--accent);
}
.demo-textarea::placeholder {
  color: var(--fg-muted);
  opacity: 0.7;
}

.demo-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 9px;
  padding: 12px 20px;
  cursor: pointer;
  transition: opacity 0.2s;
  width: 100%;
}
.demo-submit-btn:hover:not(:disabled) { opacity: 0.88; }
.demo-submit-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-spinner.spinning {
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.demo-output-area {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
}

.demo-output-placeholder {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  color: var(--fg-muted);
  font-size: 14px;
  padding: 20px;
}

.demo-bubble { flex: 1; display: flex; flex-direction: column; gap: 12px; }

.demo-bubble-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.demo-agent-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  flex-shrink: 0;
}
.demo-agent-label {
  font-size: 11px; font-weight: 600; color: var(--fg-muted);
  text-transform: uppercase; letter-spacing: 0.8px;
}

.demo-bubble-text {
  font-size: 14px;
  color: var(--fg);
  line-height: 1.7;
  white-space: pre-wrap;
}

.demo-error {
  font-size: 13px;
  color: var(--amber);
  padding: 8px 12px;
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: 8px;
  background: rgba(245,158,11,0.06);
}

.demo-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding: 18px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.demo-cta-text {
  font-size: 15px;
  color: var(--fg-muted);
  flex: 1;
}
.demo-cta-btn {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  border: 1px solid var(--accent);
  border-radius: 7px;
  padding: 8px 16px;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.demo-cta-btn:hover {
  background: var(--accent);
  color: #fff;
}

/* How-it-works: digest sample link */
.how-step-sample-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.2px;
  transition: opacity 0.2s;
}
.how-step-sample-link:hover { opacity: 0.75; }

/* === FOLLOW-UP DEMO SECTION === */
.demo-followup-section {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}

/* Workspace: stack fields above output on same 1fr 1fr grid */
.fu-workspace {
  grid-template-columns: 1fr 1fr;
}

.fu-input-area {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fu-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fu-field-row {
  display: flex;
  gap: 12px;
  align-items: flex-end;
}

.fu-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fu-field--grow { flex: 1; }
.fu-field--days { width: 80px; flex-shrink: 0; }

.fu-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.fu-input,
.fu-select {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--fg);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  outline: none;
  transition: border-color 0.15s;
  width: 100%;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
}
.fu-input:focus,
.fu-select:focus {
  border-color: var(--accent);
}
.fu-select {
  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='%23888' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
  cursor: pointer;
}

/* Attribution line under both demos */
.demo-attribution {
  margin-top: 16px;
  font-size: 11px;
  color: var(--fg-muted);
  letter-spacing: 0.4px;
  text-align: center;
}

/* Responsive: stack to single column on mobile */
@media (max-width: 700px) {
  .fu-workspace { grid-template-columns: 1fr; }
  .fu-field-row { flex-direction: column; gap: 12px; }
  .fu-field--days { width: 100%; }
}

.hidden { display: none !important; }