/* ===========================
   Design Tokens
   =========================== */
:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f5f5f5;
  --color-bg-dark: #1a1a1a;
  --color-text: #1a1a1a;
  --color-text-muted: #666666;
  --color-text-light: #ffffff;
  --color-accent: #2563eb;
  --color-accent-hover: #1d4ed8;
  --color-border: #e5e5e5;
  --color-card-bg: #ffffff;
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --max-width: 1200px;
  --nav-height: 64px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

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

img { max-width: 100%; display: block; }

a {
  color: inherit;
  text-decoration: none;
}

/* ===========================
   Utility Classes
   =========================== */
.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 24px;
}

.section-sub {
  color: var(--color-text-muted);
  font-size: 18px;
  max-width: 560px;
  margin: 12px auto 48px;
  text-align: center;
}

h2 {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  letter-spacing: -0.02em;
}

/* ===========================
   Buttons
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.1s, box-shadow 0.2s;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--color-accent);
  color: var(--color-text-light);
  border-color: var(--color-accent);
}
.btn-primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}
.btn-outline:hover {
  border-color: var(--color-text);
}

.btn-sm { padding: 8px 20px; font-size: 14px; }
.btn-lg { padding: 16px 36px; font-size: 18px; }
.btn-block { width: 100%; }

/* ===========================
   Nav
   =========================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  background: transparent;
  transition: background 0.3s, box-shadow 0.3s;
}

.nav--scrolled {
  background: var(--color-bg);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-wordmark {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

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

.nav-links a:not(.btn):not(.nav-btn) {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.2s;
}
.nav-links a:not(.btn):not(.nav-btn):hover {
  color: var(--color-text);
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-family);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-btn--ghost {
  color: var(--color-text);
  background: transparent;
  border: 1.5px solid var(--color-text);
  font-weight: 700;
}

.nav-btn--ghost:hover {
  background: var(--color-text);
  color: var(--color-text-light);
}

.nav-btn--cta {
  color: #ffffff;
  background: var(--color-accent);
  border: 1.5px solid var(--color-accent);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.nav-btn--cta:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
  transform: translateY(-1px);
}

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 24px;
  position: relative;
  z-index: 1001;
}

.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  position: absolute;
  left: 0;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-hamburger span:nth-child(1) { top: 0; }
.nav-hamburger span:nth-child(2) { top: 11px; }
.nav-hamburger span:nth-child(3) { top: 22px; }

.nav-hamburger.active span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }

/* ===========================
   Hero
   =========================== */
.hero {
  padding-top: var(--nav-height);
  background: var(--color-bg-alt);
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 64px 24px 80px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.hero-text {
  position: relative;
  top: -40px;
}

.hero-text h1 {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero-sub {
  font-size: 21.6px;
  color: var(--color-text-muted);
  margin: 20px 0 32px;
  line-height: 1.6;
}

.hero-sub-line3 {
  display: block;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-trust {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-top: 16px;
}

.hero-waitlist-title {
  font-size: 16.4px;
  font-weight: 700;
  color: var(--color-text-muted);
  margin: 47px 0 12px;
}

.hero-credibility {
  font-size: 23px;
  color: var(--color-text-muted);
  margin-top: 40px;
  font-style: italic;
  opacity: 0.75;
}

/* Hero Chat Conversation */
.hero-chat {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-chat-window {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-chat-header {
  background: var(--color-bg-dark);
  color: var(--color-text-light);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.hero-chat-header-text {
  line-height: 1.2;
}

.hero-chat-header-text strong {
  display: block;
  font-size: 15px;
  margin-bottom: -1px;
}

.hero-chat-header-text span {
  font-size: 11px;
  opacity: 0.6;
  line-height: 1;
}

.hero-chat-messages {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 320px;
  overflow-y: auto;
}

.hero-msg {
  max-width: 88%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.45;
}

.hero-msg.assistant {
  background: #f0f0f0;
  color: var(--color-text);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.hero-msg.user {
  background: var(--color-bg-dark);
  color: var(--color-text-light);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.hero-chat-input {
  padding: 12px 16px;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.hero-chat-input-left {
  flex: 1;
  display: flex;
  align-items: center;
  min-height: 20px;
  overflow: hidden;
  position: relative;
}

.hero-chat-input-placeholder {
  font-size: 14px;
  color: #bbb;
}

.hero-chat-input-text {
  font-size: 14px;
  color: var(--color-text);
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.4;
}

.hero-chat-input-cursor {
  display: none;
  width: 2px;
  height: 16px;
  background: var(--color-text);
  margin-left: 1px;
  flex-shrink: 0;
  animation: heroCursorBlink 0.6s step-end infinite;
}

.hero-chat-input--typing .hero-chat-input-cursor {
  display: inline-block;
}

.hero-chat-input--typing .hero-chat-input-placeholder {
  display: none;
}

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

.hero-chat-send {
  width: 34px;
  height: 34px;
  background: #e0e0e0;
  color: #999;
  border: none;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.hero-chat-input--typing .hero-chat-send {
  background: var(--color-bg-dark);
  color: #fff;
}

.hero-chat-send--active {
  transform: scale(0.82);
}

/* Hero headline nowrap */
.hero-nowrap {
  white-space: nowrap;
}

/* Hero typing indicator */
.hero-typing {
  display: flex;
  gap: 4px;
  padding: 10px 14px;
  background: #f0f0f0;
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  max-width: 60px;
}

.hero-typing span {
  width: 7px;
  height: 7px;
  background: #999;
  border-radius: 50%;
  animation: demoBounce 1.4s infinite ease-in-out;
}

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

/* Hero messages fade-in */
.hero-msg {
  animation: msgFadeIn 0.3s forwards;
}

.hero-chat-insight {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--color-bg);
  border: 1px solid rgba(37, 99, 235, 0.3);
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
  animation: insightGlow 2s ease-in-out infinite alternate;
  border-radius: var(--radius-md);
  overflow: hidden;
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-text);
}

.insight-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.10), rgba(124, 58, 237, 0.06));
  border-bottom: 1px solid rgba(37, 99, 235, 0.15);
}

.insight-header svg {
  flex-shrink: 0;
  filter: drop-shadow(0 0 4px rgba(37, 99, 235, 0.4));
}

.insight-label {
  background: linear-gradient(135deg, var(--color-accent), #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.insight-body {
  padding: 14px 16px 12px;
}

.insight-stat-row {
  display: flex;
  gap: 24px;
  margin-bottom: 10px;
}

.insight-stat {
  display: flex;
  flex-direction: column;
}

.insight-stat-value {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-accent);
  line-height: 1.1;
}

.insight-stat-desc {
  font-size: 11px;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.insight-finding {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.45;
  margin: 0;
}

.insight-action {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.08), rgba(16, 185, 129, 0.04));
  border-top: 1px solid rgba(5, 150, 105, 0.15);
  color: #059669;
  font-size: 12px;
  font-weight: 500;
}

.insight-action svg {
  flex-shrink: 0;
  opacity: 0.7;
}

.insight-action strong {
  font-weight: 700;
  color: #047857;
}

@keyframes insightGlow {
  0% { box-shadow: 0 0 20px rgba(37, 99, 235, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06); }
  100% { box-shadow: 0 0 28px rgba(37, 99, 235, 0.22), 0 4px 16px rgba(124, 58, 237, 0.08); }
}

.hero-chat-insight--hidden {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.hero-chat-insight--visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Insight progress / shimmer state */
.insight-progress {
  padding: 14px 16px 12px;
}

.insight-progress-text {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 10px;
}

.insight-shimmer-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.insight-shimmer-bar {
  height: 10px;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.08) 25%, rgba(37, 99, 235, 0.18) 50%, rgba(37, 99, 235, 0.08) 75%);
  background-size: 200% 100%;
  animation: insightShimmer 1.5s ease-in-out infinite;
  width: 100%;
}

.insight-shimmer-bar--short {
  width: 60%;
  animation-delay: 0.2s;
}

.insight-shimmer-bar--med {
  width: 80%;
  animation-delay: 0.4s;
}

@keyframes insightShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Demo Phone Frame */
.demo-phone-frame {
  background: #2a2a2a;
  border: 3px solid #3a3a3a;
  border-radius: 36px;
  padding: 12px 8px;
  max-width: 400px;
  margin: 0 auto;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 20px 60px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
}

.demo-phone-notch {
  width: 100px;
  height: 6px;
  background: #3a3a3a;
  border-radius: 4px;
  margin: 0 auto 8px;
}

.demo-phone-bar {
  width: 80px;
  height: 4px;
  background: #3a3a3a;
  border-radius: 3px;
  margin: 8px auto 0;
}

/* Demo Phone */
.demo-phone {
  background: var(--color-card-bg);
  border-radius: 20px;
  box-shadow: none;
  overflow: hidden;
  max-width: 380px;
  margin: 0 auto;
}

.demo-header {
  background: var(--color-bg-dark);
  color: var(--color-text-light);
  padding: 16px 20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.demo-header-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
}

.demo-header-text strong {
  display: block;
  font-size: 16px;
  margin-bottom: 2px;
}

.demo-header-text span {
  font-size: 12px;
  opacity: 0.7;
}

.demo-messages {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 200px;
}

.demo-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: var(--radius-lg);
  font-size: 14px;
  line-height: 1.4;
}

.demo-msg.assistant {
  background: #f0f0f0;
  color: #1a1a1a;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.demo-msg.user {
  background: var(--color-bg-dark);
  color: var(--color-text-light);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.demo-input {
  padding: 12px 16px;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.demo-input span {
  font-size: 14px;
  color: #bbb;
}

.demo-send {
  width: 32px;
  height: 32px;
  background: var(--color-bg-dark);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ===========================
   Social Proof Bar
   =========================== */
.social-proof {
  background: var(--color-bg-dark);
  color: var(--color-text-light);
}

.social-proof-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 32px 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
}

.proof-stat {
  text-align: center;
  min-width: 160px;
}

.proof-stat strong {
  display: block;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.proof-stat span {
  font-size: 14px;
  opacity: 0.7;
}

@media (min-width: 768px) {
  .social-proof-inner {
    padding: 40px 32px;
    gap: 40px;
  }
  .proof-stat strong {
    font-size: 34px;
  }
  .proof-stat span {
    font-size: 17px;
  }
}

/* ===========================
   Pain Points
   =========================== */
.pain {
  background: var(--color-bg);
}

.pain-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.pain-card {
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
}

.pain-icon {
  font-size: 28px;
  margin-bottom: 16px;
  color: var(--color-text-muted);
  letter-spacing: 2px;
}

.pain-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.pain-card p {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ===========================
   How It Works
   =========================== */
.how-it-works {
  background: var(--color-bg-alt);
}

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  counter-reset: step;
}

.step {
  text-align: center;
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--color-accent);
  color: var(--color-text-light);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.step p {
  font-size: 15px;
  color: var(--color-text-muted);
  max-width: 320px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ===========================
   Benefits
   =========================== */
.benefits {
  background: var(--color-bg);
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.benefit-card {
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  padding: 32px;
}

.benefit-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.benefit-card p {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ===========================
   Benefits Dashboard Mockup
   =========================== */
.benefits-dashboard {
  margin-top: 56px;
  background: var(--color-card-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.dash-titlebar {
  background: #f0f0f0;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--color-border);
}

.dash-dots {
  display: flex;
  gap: 6px;
}

.dash-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dash-dots span:nth-child(1) { background: #ff5f57; }
.dash-dots span:nth-child(2) { background: #febc2e; }
.dash-dots span:nth-child(3) { background: #28c840; }

.dash-titlebar-text {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-muted);
  flex: 1;
  text-align: center;
  margin-right: 46px;
}

.dash-body {
  padding: 24px;
}

.dash-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.dash-stat {
  background: var(--color-bg-alt);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
}

.dash-stat-value {
  display: block;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.dash-stat-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.dash-panels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.dash-panel {
  background: var(--color-bg-alt);
  border-radius: var(--radius-sm);
  padding: 20px;
}

.dash-panel h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text);
  margin-bottom: 16px;
}

/* Theme rows */
.dash-theme-row {
  display: grid;
  grid-template-columns: 110px 1fr 36px;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
}

.dash-theme-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dash-theme-bar {
  height: 8px;
  background: #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
}

.dash-theme-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-accent), #7c3aed);
  border-radius: 4px;
  transition: width 0.6s ease;
}

.dash-theme-pct {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-accent);
  text-align: right;
}

/* Recommendation cards */
.dash-rec {
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
}

.dash-rec:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.dash-rec-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  margin-bottom: 6px;
}

.dash-rec-badge--high {
  background: #fee2e2;
  color: #dc2626;
}

.dash-rec-badge--med {
  background: #fef3c7;
  color: #d97706;
}

.dash-rec-badge--low {
  background: #d1fae5;
  color: #059669;
}

.dash-rec p {
  font-size: 13px;
  color: var(--color-text);
  line-height: 1.5;
}

/* ===========================
   Interactive Demo
   =========================== */
.demo {
  background: var(--color-bg-dark);
  color: var(--color-text-light);
}

.demo h2 { color: var(--color-text-light); }
.demo .section-sub { color: rgba(255,255,255,0.6); }

.demo-container {
  max-width: 420px;
  margin: 0 auto;
}

.demo-messages {
  min-height: 260px;
  transition: all 0.3s;
}

/* Typing indicator inside demo */
.demo-typing {
  display: flex;
  gap: 4px;
  padding: 10px 14px;
  background: #f0f0f0;
  border-radius: var(--radius-lg);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  max-width: 60px;
}

.demo-typing span {
  width: 7px;
  height: 7px;
  background: #999;
  border-radius: 50%;
  animation: demoBounce 1.4s infinite ease-in-out;
}

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

@keyframes demoBounce {
  0%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-5px); }
}

/* Fade-in for demo messages */
.demo-msg {
  opacity: 0;
  transform: translateY(8px);
  animation: msgFadeIn 0.3s forwards;
}

@keyframes msgFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===========================
   Intelligence Preview
   =========================== */
.demo-intel {
  max-width: 640px;
  margin: 48px auto 0;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
}

.demo-intel--visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.demo-intel h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text-light);
  text-align: center;
  margin-bottom: 20px;
}

.demo-intel-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.intel-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 20px 24px;
}

.intel-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: 6px;
}

.intel-card strong {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-light);
  line-height: 1.4;
}

/* ===========================
   Pricing
   =========================== */
.pricing {
  background: #eef2f7;
}

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
}

.toggle-label {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.2s;
}

.toggle-label--active {
  color: var(--color-text);
}

.toggle-badge {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-text-light);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  vertical-align: middle;
  margin-left: 4px;
}

/* Toggle switch */
.toggle-switch {
  position: relative;
  width: 48px;
  height: 26px;
  cursor: pointer;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  inset: 0;
  background: #ccc;
  border-radius: 26px;
  transition: background 0.3s;
}

.toggle-slider::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  bottom: 3px;
  background: white;
  border-radius: 50%;
  transition: transform 0.3s;
}

.toggle-switch input:checked + .toggle-slider {
  background: var(--color-accent);
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(22px);
}

/* Pricing cards */
.pricing-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--color-card-bg);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 2px solid var(--color-border);
  position: relative;
}

.pricing-card--featured {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
}

.pricing-card-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: var(--color-text-light);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: var(--radius-full);
}

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

.pricing-card-header h3 {
  font-size: 22px;
  font-weight: 700;
}

.pricing-card-desc {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-top: 4px;
}

.pricing-price {
  margin-bottom: 24px;
}

.price-amount {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.price-period {
  font-size: 16px;
  color: var(--color-text-muted);
}

.pricing-features {
  list-style: none;
  margin-bottom: 28px;
}

.pricing-features li {
  padding: 8px 0;
  font-size: 15px;
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border);
}

.pricing-features li:last-child { border-bottom: none; }

.pricing-features li::before {
  content: '\2713';
  color: var(--color-accent);
  font-weight: 700;
  margin-right: 10px;
}

.pricing-enterprise {
  text-align: center;
  margin-top: 32px;
  font-size: 15px;
  color: var(--color-text-muted);
}

.pricing-enterprise a {
  color: var(--color-accent);
  font-weight: 600;
}
.pricing-enterprise a:hover {
  text-decoration: underline;
}

/* ===========================
   Testimonials
   =========================== */
.testimonials {
  background: var(--color-bg-alt);
}

.testimonial-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.testimonial-card {
  background: var(--color-card-bg);
  border-radius: var(--radius-md);
  padding: 32px;
}

.testimonial-card blockquote {
  font-size: 16px;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 20px;
  color: var(--color-text);
}

.testimonial-author strong {
  display: block;
  font-size: 15px;
}

.testimonial-author span {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* ===========================
   Final CTA
   =========================== */
.final-cta {
  background: var(--color-bg-dark);
  color: var(--color-text-light);
  text-align: center;
}

.final-cta h2 {
  color: var(--color-text-light);
  margin-bottom: 16px;
}

.final-cta p {
  font-size: 18px;
  opacity: 0.7;
  margin-bottom: 32px;
}

.final-cta .btn {
  margin-bottom: 16px;
}

.final-cta-note {
  font-size: 14px;
  opacity: 0.5;
}

/* ===========================
   Footer
   =========================== */
.footer {
  background: var(--color-bg-dark);
  color: var(--color-text-light);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 24px 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  opacity: 0.6;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  padding: 4px 0;
  transition: color 0.2s;
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* ===========================
   Scroll Reveal Animations
   =========================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children slightly */
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }

/* ===========================
   Section Eyebrows
   =========================== */
.demo-eyebrow,
.how-eyebrow,
.showcase-eyebrow {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.demo-eyebrow { color: rgba(255,255,255,0.5); }

/* ===========================
   Comparison Section
   =========================== */
.compare {
  background: var(--color-bg);
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

.compare-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.compare-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #999;
  text-align: center;
}

.compare-label--new {
  color: var(--color-accent);
}

.compare-card {
  border-radius: var(--radius-lg);
  padding: 24px;
  min-height: 300px;
}

.compare-card--old {
  background: #f8f8f8;
  border: 2px dashed #ddd;
  position: relative;
  overflow: hidden;
}

.compare-card--old::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(248,248,248,0.95));
  pointer-events: none;
}

.compare-card--new {
  background: var(--color-bg);
  border: 2px solid var(--color-accent);
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.12);
}

/* Survey mockup */
.survey-mock {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.survey-mock-q {
  font-size: 13px;
  font-weight: 600;
  color: #888;
}

.survey-mock-req { color: #e74c3c; }

.survey-mock-stars {
  display: flex;
  gap: 4px;
  font-size: 24px;
  color: #f0c040;
}

.survey-mock-star--empty { color: #ddd; }

.survey-mock-radios {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #999;
}

.survey-mock-radio {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid #ccc;
  border-radius: 50%;
  vertical-align: middle;
  margin-left: 8px;
}

.survey-mock-radio--selected {
  border-color: var(--color-accent);
  background: var(--color-accent);
  box-shadow: inset 0 0 0 3px white;
}

.survey-mock-textarea {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 13px;
  color: #bbb;
  font-style: italic;
  min-height: 48px;
}

.survey-mock-btn {
  background: #ccc;
  color: #888;
  text-align: center;
  padding: 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
}

/* Compare chat mockup */
.compare-chat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 220px;
}

.compare-chat-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 13px;
  line-height: 1.45;
}

.compare-chat-msg--bot {
  background: #f0f0f0;
  color: var(--color-text);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.compare-chat-msg--user {
  background: var(--color-bg-dark);
  color: var(--color-text-light);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

/* Typing input bar at bottom of compare chat */
.compare-chat-input {
  display: flex;
  align-items: center;
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  padding: 8px 14px;
  min-height: 18px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--color-text);
  margin-top: 4px;
  transition: opacity 0.2s ease;
}

.compare-chat-input--hidden {
  opacity: 0;
  pointer-events: none;
  height: 0;
  min-height: 0;
  padding: 0;
  margin: 0;
  border: none;
  overflow: hidden;
}

.compare-chat-input-text {
  white-space: pre-wrap;
  word-break: break-word;
}

.compare-chat-input-cursor {
  display: inline-block;
  width: 2px;
  height: 15px;
  background: var(--color-text);
  margin-left: 1px;
  animation: compareCursorBlink 0.6s step-end infinite;
  flex-shrink: 0;
}

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

/* Typing indicator dots for compare chat */
.compare-chat-typing {
  display: flex;
  gap: 4px;
  align-self: flex-start;
  background: #f0f0f0;
  padding: 10px 16px;
  border-radius: 16px;
  border-bottom-left-radius: 4px;
}

.compare-chat-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #999;
  animation: compareDotBounce 1.2s infinite ease-in-out;
}

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

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

/* Fade-in for new messages */
.compare-chat-msg--animated {
  animation: compareMsgFadeIn 0.3s ease-out;
}

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

/* VS divider */
.compare-vs-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.compare-vs-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

.compare-vs-badge {
  width: 48px;
  height: 48px;
  background: var(--color-bg-dark);
  color: var(--color-text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

/* Comparison metrics */
.compare-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  text-align: center;
  max-width: 320px;
  margin: 0 auto;
}

.compare-metric strong {
  display: block;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #999;
}

.compare-metrics--new .compare-metric strong {
  color: var(--color-accent);
}

.compare-metric span {
  font-size: 12px;
  color: var(--color-text-muted);
}

/* ===========================
   Demo Section Enhancements
   =========================== */
.demo-intel-arrow {
  text-align: center;
  margin-bottom: 20px;
}

.intel-card-sub {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: rgba(255,255,255,0.45);
  margin-top: 8px;
  line-height: 1.4;
}

/* ===========================
   How It Works V2 — Columns
   =========================== */
.steps-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.step-col {
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  gap: 12px;
}

.step-col h3 {
  margin: 0;
}

.step-col > p {
  color: var(--color-text-muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 4px;
}

.step-number-lg {
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--color-accent), #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}

.step-visual-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.step-visual-card--dark {
  background: var(--color-bg-dark);
  border-color: rgba(255,255,255,0.1);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  text-align: center;
}

.step-visual-card--insights {
  background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
  border: 1px solid rgba(96, 165, 250, 0.2);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: 0 0 40px rgba(37, 99, 235, 0.15), 0 4px 24px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.step-insights-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  color: #60a5fa;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.step-insights-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #60a5fa;
}

.step-insights-dot--live {
  background: #34d399;
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.6);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(52, 211, 153, 0.6); }
  50% { opacity: 0.6; box-shadow: 0 0 16px rgba(52, 211, 153, 0.3); }
}

.step-insights-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  text-align: center;
}

.step-mock-stat-val--green {
  color: #34d399 !important;
}

.step-insights-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.step-insights-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-insights-bar-label {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  width: 56px;
  flex-shrink: 0;
}

.step-insights-bar {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  overflow: hidden;
}

.step-insights-bar-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, #2563eb, #7c3aed);
  transition: width 1s ease;
}

.step-insights-rec {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: rgba(96, 165, 250, 0.08);
  border: 1px solid rgba(96, 165, 250, 0.15);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  line-height: 1.4;
}

.step-insights-rec svg {
  flex-shrink: 0;
  margin-top: 1px;
}

.step-mock-field {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
}

.step-mock-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.step-mock-value {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text);
}

.step-mock-value--long {
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.step-mock-check {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: #059669;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 12px;
}

/* Step 1 — Scan card */
.step-visual-card--scan {
  background: linear-gradient(145deg, #f8fafc 0%, #f0f4ff 100%);
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.08);
}

.step-scan-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.step-scan-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 8px rgba(37, 99, 235, 0.5);
  animation: pulse-dot 2s ease-in-out infinite;
}

.step-scan-url {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 12px;
}

.step-scan-url svg {
  color: var(--color-text-muted);
}

.step-scan-fields {
  margin-bottom: 12px;
}

.step-scan-bar {
  height: 4px;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 8px;
}

.step-scan-bar-fill {
  height: 100%;
  width: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--color-accent), #7c3aed);
  animation: scanPulse 2s ease-in-out infinite;
}

@keyframes scanPulse {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Step 2 — Insights agent card */
.step-visual-card--copilot {
  text-align: center;
  background: linear-gradient(145deg, #f8fafc 0%, #faf5ff 100%);
  border-color: rgba(124, 58, 237, 0.2);
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.08);
}

.step-copilot-avatar-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 8px;
}

.step-copilot-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(124, 58, 237, 0.2);
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.15);
}

.step-copilot-badge {
  position: absolute;
  bottom: 0;
  right: -4px;
  background: linear-gradient(135deg, var(--color-accent), #7c3aed);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 8px;
  letter-spacing: 0.04em;
}

.step-copilot-name {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 2px;
}

.step-copilot-role {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 10px;
}

.step-copilot-preview {
  margin-top: 12px;
}

.step-copilot-bubble {
  display: inline-block;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 12px 12px 12px 2px;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--color-text);
  line-height: 1.4;
  text-align: left;
  max-width: 220px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.step-mock-avatar {
  text-align: center;
  margin-bottom: 8px;
}

.step-mock-avatar img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin: 0 auto;
  object-fit: cover;
}

.step-mock-name {
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}

.step-mock-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.step-mock-tags span {
  background: rgba(37, 99, 235, 0.08);
  color: var(--color-accent);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.step-mock-stat-val {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: var(--color-text-light);
  letter-spacing: -0.02em;
}

.step-mock-stat-lbl {
  display: block;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
}

/* ===========================
   Showcase Section
   =========================== */
.showcase {
  background: var(--color-bg);
}


/* ===========================
   Integrations Section
   =========================== */
.integrations-section {
  background: var(--color-bg-alt);
}

.integrations-eyebrow {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.integrations-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 40px;
}

@media (min-width: 640px) {
  .integrations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .integrations-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.integration-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.integration-card:hover {
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.08);
}

.integration-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.integration-icon--jira {
  background: linear-gradient(135deg, #eff6ff 0%, #e0e7ff 100%);
  color: #4f46e5;
}

.integration-icon--webhook {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  color: #16a34a;
}

.integration-icon--reports {
  background: linear-gradient(135deg, #fefce8 0%, #fef9c3 100%);
  color: #ca8a04;
}

.integration-icon--salesforce {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  color: #0284c7;
}

.integration-icon--slack {
  background: linear-gradient(135deg, #fdf4ff 0%, #fae8ff 100%);
  color: #a855f7;
}

.integration-card--featured {
  border-color: rgba(37, 99, 235, 0.2);
  background: linear-gradient(135deg, #fafbff 0%, #f5f7ff 100%);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.06);
}

.integration-card--featured:hover {
  border-color: rgba(37, 99, 235, 0.4);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.12);
}

.integration-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-text);
}

.integration-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin: 0;
}

.integration-soon {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ca8a04;
  background: #fef9c3;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}

/* ===========================
   Scenarios Section
   =========================== */
.scenarios {
  background: var(--color-bg);
}

.scenarios-eyebrow {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.scenario-filter {
  text-align: center;
  margin-bottom: 32px;
}

.scenario-filter label {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 10px;
}

.scenario-select {
  font-size: 19px;
  font-weight: 600;
  padding: 14px 48px 14px 24px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  color: var(--color-text);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  min-width: 220px;
  transition: border-color 0.2s ease;
}

.scenario-select:focus {
  outline: none;
  border-color: var(--color-accent);
}

.scenario-select:hover {
  border-color: rgba(37, 99, 235, 0.4);
}

.scenario-emoji {
  font-size: 22px;
  line-height: 1;
}

.scenario-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.scenario-card[data-vertical] {
  display: none;
}

.scenario-card.scenario-card--visible {
  display: block;
}

.scenario-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.scenario-card:hover {
  border-color: rgba(37, 99, 235, 0.3);
}

.scenario-card.scenario-card--open {
  border-color: rgba(37, 99, 235, 0.4);
  box-shadow: 0 4px 24px rgba(37, 99, 235, 0.08);
}

.scenario-header {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: inherit;
  font-family: inherit;
}

.scenario-header:hover {
  background: rgba(37, 99, 235, 0.02);
}

.scenario-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.scenario-header-text {
  flex: 1;
  min-width: 0;
}

.scenario-header-text h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 2px;
  color: var(--color-text);
}

.scenario-header-text p {
  font-size: 14px;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.4;
}

.scenario-chevron {
  color: var(--color-text-muted);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.scenario-card--open .scenario-chevron {
  transform: rotate(180deg);
}

.scenario-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.scenario-body-inner {
  padding: 0 24px 24px;
}

.scenario-card--open .scenario-body {
  max-height: 2000px;
}

.scenario-block {
  padding: 16px 24px;
  border-top: 1px solid var(--color-border);
}

.scenario-block h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 8px;
}

.scenario-block--problem h4 {
  color: #ef4444;
}

.scenario-block--catch h4 {
  color: var(--color-accent);
}

.scenario-block--outcome h4 {
  color: #059669;
}

.scenario-block p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-text-muted);
  margin: 0;
}

.scenario-block p + p {
  margin-top: 10px;
}

.scenario-list {
  list-style: none;
  padding: 0;
  margin: 12px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.scenario-list li {
  font-size: 14px;
  color: var(--color-text-muted);
  padding: 8px 12px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-sm);
  line-height: 1.5;
}

.scenario-list li strong {
  color: var(--color-text);
}

.scenario-insight {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 16px 24px;
  border-top: 1px solid var(--color-border);
  background: rgba(37, 99, 235, 0.03);
}

.scenario-insight svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-accent);
}

.scenario-insight span {
  font-size: 14px;
  font-weight: 600;
  font-style: italic;
  color: var(--color-text);
  line-height: 1.5;
}

/* ===========================
   Waitlist Forms
   =========================== */
.waitlist-form {
  max-width: 480px;
}

.waitlist-input-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.waitlist-input {
  flex: 1;
  font-family: var(--font-family);
  font-size: 16px;
  padding: 12px 16px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-full);
  background: var(--color-bg);
  color: var(--color-text);
  outline: none;
  transition: border-color 0.2s;
}

.waitlist-input:focus {
  border-color: var(--color-accent);
}

.waitlist-input::placeholder {
  color: #999;
}

.waitlist-msg {
  font-size: 14px;
  margin-top: 10px;
  min-height: 20px;
}

.waitlist-msg--success {
  color: #059669;
}

.waitlist-msg--error {
  color: #dc2626;
}

/* Dark variant (final CTA section) */
.waitlist-form--dark {
  max-width: 520px;
  margin: 0 auto;
}

.waitlist-form--dark .waitlist-input {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.waitlist-form--dark .waitlist-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.waitlist-form--dark .waitlist-input:focus {
  border-color: var(--color-accent);
}

.waitlist-form--dark .waitlist-msg--success {
  color: #34d399;
}

.waitlist-form--dark .waitlist-msg--error {
  color: #fca5a5;
}

@media (max-width: 520px) {
  .waitlist-input-row {
    flex-direction: column;
  }

  .waitlist-input-row .btn {
    width: 100%;
  }
}

/* Mobile waitlist button — hidden on desktop, shown on mobile */
.hero-waitlist-mobile-btn {
  display: none;
}

@media (max-width: 639px) {
  .hero-waitlist-title,
  .hero-waitlist-inline {
    display: none !important;
  }

  .hero-inner {
    display: flex;
    flex-direction: column;
  }

  .hero-text {
    order: 1;
  }

  .hero-chat {
    order: 2;
  }

  .hero-waitlist-mobile-btn {
    order: 3;
    display: inline-block;
    margin-top: 16px;
    font-size: 16px;
    padding: 14px 32px;
    align-self: center;
  }
}

/* Waitlist Modal */
.waitlist-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
}

.waitlist-modal-overlay.open {
  display: flex;
}

.waitlist-modal {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  width: 90%;
  max-width: 400px;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: waitlistModalIn 0.25s ease;
}

@keyframes waitlistModalIn {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.waitlist-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: var(--color-text-muted);
  cursor: pointer;
  padding: 0;
}

.waitlist-modal-close:hover {
  color: var(--color-text);
}

.waitlist-modal h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--color-text);
}

.waitlist-modal p {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
}

.waitlist-modal .waitlist-input {
  width: 100%;
  box-sizing: border-box;
}

/* ===========================
   Final CTA V2
   =========================== */
.final-cta-v2 {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #1a1a2e 100%);
  color: var(--color-text-light);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta-v2::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at 30% 50%, rgba(37, 99, 235, 0.15) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 50%, rgba(124, 58, 237, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.final-cta-v2 .section-inner {
  position: relative;
  z-index: 1;
}

.final-cta-v2 h2 {
  color: var(--color-text-light);
  margin-bottom: 16px;
  font-size: 36px;
}

.final-cta-v2 p {
  font-size: 18px;
  color: rgba(255,255,255,0.6);
  max-width: 520px;
  margin: 0 auto 36px;
}

.final-cta-v2-btns {
  margin-bottom: 20px;
}

.final-cta-v2-note {
  font-size: 14px;
  color: rgba(255,255,255,0.35);
}

/* ===========================
   Pricing BG override
   =========================== */
.pricing {
  background: #eef2f7;
}

/* ===========================
   Tablet (640px+)
   =========================== */
@media (min-width: 640px) {
  h2 { font-size: 36px; }

  .compare-grid {
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
  }

  .compare-vs-divider {
    flex-direction: column;
  }

  .compare-vs-line {
    width: 2px;
    height: 100%;
    flex: 1;
    background: linear-gradient(180deg, transparent, var(--color-border), transparent);
  }

  .steps-columns {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto auto 1fr;
    gap: 12px 32px;
  }

  .step-col {
    grid-row: span 4;
    grid-template-rows: subgrid;
  }

  .demo-intel-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .dash-stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .dash-panels {
    grid-template-columns: 1fr 1fr;
  }

  .dash-theme-row {
    grid-template-columns: 130px 1fr 40px;
  }

  .footer-inner {
    grid-template-columns: repeat(4, 1fr);
  }

  .final-cta-v2 h2 {
    font-size: 42px;
  }
}

/* ===========================
   Desktop (1024px+)
   =========================== */
@media (min-width: 1024px) {
  h2 { font-size: 40px; }

  .hero-inner {
    grid-template-columns: 1fr 1fr;
    padding: 80px 24px 100px;
  }

  .hero-text h1 {
    font-size: 48px;
  }

  .pricing-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .pricing-card--featured {
    transform: scale(1.05);
  }

  .final-cta-v2 h2 {
    font-size: 48px;
  }
}

/* ===========================
   Large (1280px+)
   =========================== */
@media (min-width: 1280px) {
  .hero-text h1 {
    font-size: 56px;
  }

  .section-inner {
    padding: 100px 24px;
  }
}

/* ===========================
   Nav: hide section links (<800px)
   =========================== */
@media (max-width: 799px) {
  .nav-links a[href="#features"],
  .nav-links a[href="#how-it-works"] {
    display: none;
  }
}

/* ===========================
   Mobile (<640px)
   =========================== */
@media (max-width: 639px) {
  .hero-inner {
    padding: 33px 24px 40px;
    gap: 16px;
  }

  .hero-text {
    top: 0;
  }

  .hero-trust {
    margin-top: 10px;
  }

  .hero-sub .hero-nowrap {
    white-space: normal;
  }

  .hero-sub-line2 {
    display: block;
  }

  .hero-text h1 {
    font-size: 35px;
  }

  .hero-sub {
    font-size: 19.4px;
  }

  .hero-waitlist-title {
    font-size: 13.3px;
  }

  .hero-chat-messages {
    padding: 14px;
    height: 220px;
  }

  .hero-msg {
    font-size: 13px;
  }

  .dash-theme-row {
    grid-template-columns: 90px 1fr 32px;
    gap: 6px;
  }

  .dash-theme-name {
    font-size: 12px;
  }

  .nav-hamburger {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: var(--color-bg);
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 24px;
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a:not(.btn) {
    font-size: 18px;
  }

  .compare-vs-divider {
    flex-direction: row;
  }

  .compare-vs-line {
    height: 2px;
    width: 100%;
  }

  .step-number-lg {
    font-size: 40px;
  }

  .final-cta-v2 h2 {
    font-size: 28px;
  }
}

/* ===========================
   Subpages (About, Blog, etc.)
   =========================== */
.page-hero {
  padding-top: calc(var(--nav-height) + 40px);
  padding-bottom: 0;
  text-align: center;
}

.page-hero .section-inner {
  padding: 0 24px 0;
}

.page-hero h1 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 10px;
}

.page-hero .section-sub {
  margin-bottom: 0;
}

.page-body {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.page-body h2 {
  font-size: 24px;
  text-align: left;
  margin: 32px 0 12px;
}

.page-body h2:first-child {
  margin-top: 0;
}

.page-body p {
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 12px;
}

.page-body ul {
  padding-left: 24px;
  margin-bottom: 12px;
}

.page-body li {
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 6px;
}

.page-body a {
  color: var(--color-accent);
  font-weight: 600;
}

.page-body a:hover {
  text-decoration: underline;
}

.page-section {
  padding: 40px 24px;
}

.page-section .section-inner {
  padding: 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.value-card {
  padding: 28px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
}

.value-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.value-card p {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.blog-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.blog-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 99, 235, 0.2);
}

.blog-date {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.blog-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}

.blog-card p {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
}

.blog-link {
  color: var(--color-accent);
  font-weight: 600;
  font-size: 15px;
}

.blog-link:hover {
  text-decoration: underline;
}

.callout-box {
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
}

.callout-box h2 {
  text-align: center;
  font-size: 22px;
  margin: 0 0 12px;
}

.callout-box p {
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto 24px;
}

.info-box {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 32px;
}

.info-box h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.info-box p {
  color: var(--color-text-muted);
  line-height: 1.7;
  margin: 0;
}

.support-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.support-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
}

.support-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.support-card p {
  color: var(--color-text-muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: 20px 0;
}

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

.faq-q {
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 8px;
  color: var(--color-text);
}

.faq-a {
  color: var(--color-text-muted);
  line-height: 1.7;
  font-size: 15px;
}

.faq-a a {
  color: var(--color-accent);
  font-weight: 600;
}

.faq-a a:hover {
  text-decoration: underline;
}

.page-hero + .page-section {
  padding-top: 32px;
}

.page-hero + .page-section .page-body h2:first-child {
  margin-top: 0;
}

.page-hero + section:not(.page-section) {
  padding-top: 32px;
}

@media (min-width: 640px) {
  .page-hero h1 {
    font-size: 44px;
  }
}

@media (min-width: 1024px) {
  .page-hero h1 {
    font-size: 48px;
  }
}
