/* ══════════════════════════════ TOKENS ══════════════════════════════ */
/* WayFinder brand palette — see wayfinder_brand_package/README.md    */
:root {
  /* Backgrounds — Midnight Navy / Graphite */
  --bg:          #071225;
  --bg-2:        #0A1628;
  --bg-3:        #0E1830;
  --bg-card:     #0C1428;
  --bg-card-2:   #0E1830;
  --border:      rgba(255,255,255,0.08);
  --border-2:    rgba(255,255,255,0.14);

  /* Brand accent colors */
  --violet:       #9A5CFF;  /* Navigator Violet — primary accent */
  --violet-2:     #7B44D4;
  --violet-3:     #5E34A8;
  --violet-light: #C4A0FF;
  --cyan:         #32D6FF;  /* Electric Cyan — graph edges, highlights */
  --cyan-light:   #7EE8FF;
  --blue:         #4D78FF;  /* Signal Blue — gradient midpoint, CTAs */
  --mint:         #56F3C0;  /* Mint Accent — success, progress */
  --red:          #f43f5e;
  --amber:        #f59e0b;

  /* Aliases used throughout stylesheet */
  --purple:       var(--violet);
  --purple-2:     var(--violet-2);
  --purple-3:     var(--violet-3);
  --purple-light: var(--violet-light);
  --green:        var(--mint);

  --text-1:      #F4F7FB;
  --text-2:      #B8C6D8;
  --text-3:      #7080A0;
  --text-4:      #445068;

  --font:        'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:   'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;

  --radius-sm:   6px;
  --radius:      12px;
  --radius-lg:   20px;
  --radius-xl:   32px;

  --shadow-sm:   0 1px 3px rgba(0,0,0,0.5);
  --shadow:      0 4px 24px rgba(0,0,0,0.6);
  --shadow-lg:   0 12px 48px rgba(0,0,0,0.7);
  --shadow-glow: 0 0 40px rgba(154,92,255,0.25);

  --max-w:       1200px;
  --header-h:    68px;
}

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

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

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

img, svg { display: block; }
a { color: var(--purple-light); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--cyan-light); }
code {
  font-family: var(--font-mono);
  font-size: 0.875em;
  background: rgba(154,92,255,0.15);
  border: 1px solid rgba(154,92,255,0.25);
  border-radius: 4px;
  padding: 0.1em 0.4em;
  color: var(--purple-light);
}

/* ══════════════════════════════ LAYOUT ══════════════════════════════ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ═══════════════════════════ TYPOGRAPHY ════════════════════════════ */
h1,h2,h3,h4,h5,h6 { font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }
h4 { font-size: 1rem; font-weight: 600; }

.gradient-text {
  background: linear-gradient(135deg, var(--purple-light) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ════════════════════════════ BUTTONS ══════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-decoration: none;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-3) 100%);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(154,92,255,0.4), 0 4px 16px rgba(154,92,255,0.3);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--purple-2) 0%, var(--purple) 100%);
  box-shadow: 0 0 0 1px rgba(154,92,255,0.6), 0 6px 24px rgba(154,92,255,0.4);
  color: #fff;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--border-2);
}
.btn-ghost:hover {
  background: var(--bg-card-2);
  color: var(--text-1);
  border-color: var(--border);
}

.btn-lg { padding: 0.875rem 1.75rem; font-size: 1rem; border-radius: var(--radius); }
.btn-sm { padding: 0.375rem 0.875rem; font-size: 0.8125rem; border-radius: var(--radius-sm); }
.btn-full { width: 100%; justify-content: center; }

/* ═══════════════════════════ HEADER ════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7,18,37,0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: var(--shadow); }

.nav-inner {
  display: flex;
  align-items: center;
  height: var(--header-h);
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon { width: 28px; height: 28px; }
.logo-text { font-size: 1.125rem; font-weight: 800; color: var(--text-1); letter-spacing: -0.03em; }
.logo-by { font-size: 0.7rem; color: var(--text-3); margin-left: 0.5rem; }
.logo-by strong { color: var(--text-2); }
.wayfinder-nav-logo { height: 36px; width: auto; max-width: 180px; }
.wayfinder-footer-logo { height: 40px; width: auto; max-width: 200px; }

.nav-links {
  display: flex;
  gap: 1.75rem;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text-1); }

.nav-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.nav-mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-2);
  border-radius: 2px;
  transition: all 0.2s;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 24px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.mobile-nav a { padding: 0.625rem 0; font-weight: 500; color: var(--text-2); }
.mobile-nav.open { display: flex; }

@media (max-width: 800px) {
  .nav-links, .nav-actions { display: none; }
  .nav-mobile-toggle { display: flex; }
}

/* ═══════════════════════════ HERO ══════════════════════════════════ */
.hero {
  position: relative;
  padding: 100px 0 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(154,92,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(154,92,255,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black, transparent);
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
}
.hero-glow-1 {
  width: 600px; height: 400px;
  background: var(--purple);
  top: -100px; left: 10%;
}
.hero-glow-2 {
  width: 400px; height: 300px;
  background: var(--cyan);
  top: 100px; right: 10%;
  opacity: 0.15;
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-bottom: 60px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(154,92,255,0.15);
  border: 1px solid rgba(154,92,255,0.3);
  border-radius: 100px;
  padding: 0.375rem 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--purple-light);
  margin-bottom: 1.5rem;
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--purple-light);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50% { opacity:0.5; transform:scale(0.8); }
}

.hero-title {
  font-size: clamp(2.75rem, 7vw, 5rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
  letter-spacing: -0.04em;
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-2);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: center;
  color: var(--text-3);
  font-size: 0.875rem;
}
.stars { color: var(--amber); letter-spacing: 1px; }

/* Hero Screenshot */
.hero-screenshot {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  max-width: 1000px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  border: 1px solid var(--border-2);
  border-bottom: none;
  background: var(--bg-2);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}
.screenshot-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  background: var(--bg-3);
  border-bottom: 1px solid var(--border);
}
.dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.dot.red    { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green  { background: #28c840; }
.screenshot-url {
  flex: 1;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-3);
  font-family: var(--font-mono);
}

.screenshot-body {
  display: flex;
  height: 480px;
}
.screenshot-canvas {
  flex: 1;
  position: relative;
  background: #0d1117;
  overflow: hidden;
}
.mock-node {
  position: absolute;
  background: var(--bg-card-2);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-sm);
  min-width: 140px;
  overflow: hidden;
}
.mock-node.highlight { border-color: var(--purple); box-shadow: 0 0 12px rgba(154,92,255,0.3); }
.mock-node-title {
  background: var(--bg-3);
  padding: 5px 10px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-2);
  border-bottom: 1px solid var(--border);
}
.mock-node-body { height: 32px; }
.mock-node-body.tall { height: 64px; }
.mock-edges { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

.screenshot-placeholder-label {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-4);
  font-size: 0.75rem;
}
.screenshot-placeholder-label svg { width: 28px; height: 28px; opacity: 0.4; }

.screenshot-sidebar {
  width: 320px;
  flex-shrink: 0;
  border-left: 1px solid var(--border);
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  font-size: 0.8125rem;
}
.sidebar-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  font-weight: 700;
  font-size: 0.9rem;
}
.sidebar-badge { padding: 2px 8px; border-radius: 100px; font-size: 0.65rem; font-weight: 700; }
.sidebar-badge.pro { background: linear-gradient(135deg,var(--purple),var(--cyan)); color:#fff; }

.chat-messages { flex: 1; padding: 0.75rem; display: flex; flex-direction: column; gap: 0.625rem; overflow: hidden; }
.chat-msg {
  padding: 0.625rem 0.75rem;
  border-radius: var(--radius-sm);
  line-height: 1.5;
  font-size: 0.775rem;
}
.chat-msg.user {
  background: rgba(154,92,255,0.2);
  border: 1px solid rgba(154,92,255,0.25);
  color: var(--purple-light);
  margin-left: 1.5rem;
}
.chat-msg.assistant {
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--text-2);
}
.tool-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.375rem;
  padding: 2px 8px;
  background: rgba(50,214,255,0.1);
  border: 1px solid rgba(50,214,255,0.2);
  border-radius: 100px;
  font-size: 0.7rem;
  color: var(--cyan);
}
.thinking-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--purple-light);
  margin-right: 0.375rem;
  animation: pulse 1s infinite;
  vertical-align: middle;
}

.chat-input-mock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.625rem 0.75rem;
  border-top: 1px solid var(--border);
  color: var(--text-4);
  font-size: 0.775rem;
}
.chat-input-mock svg { width: 16px; height: 16px; color: var(--purple); }

/* ═══════════════════════════ TRUST BAR ═════════════════════════════ */
.trust-bar {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}
.trust-label { text-align: center; color: var(--text-3); font-size: 0.8125rem; margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: 0.1em; }
.trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.trust-logo { opacity: 0.4; transition: opacity 0.2s; color: var(--text-1); }
.trust-logo:hover { opacity: 0.7; }
.trust-logo svg { height: 20px; }

/* ═══════════════════════════ SECTIONS ══════════════════════════════ */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--purple-light);
  margin-bottom: 0.875rem;
}
.section-header h2 { margin-bottom: 1rem; }
.section-header p { color: var(--text-2); max-width: 560px; margin: 0 auto; font-size: 1.0625rem; }

/* ═══════════════════════════ FEATURES ══════════════════════════════ */
.features {
  padding: 6rem 0;
  background: var(--bg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.feature-card-wide { grid-column: span 3; display: flex; gap: 2rem; }
.feature-card-wide .feature-content { flex: 1; }
.feature-card-wide .feature-image { flex: 1; }

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  border-color: var(--border-2);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 44px; height: 44px;
  background: rgba(154,92,255,0.15);
  border: 1px solid rgba(154,92,255,0.25);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--purple-light);
  position: relative;
}
.feature-icon svg { width: 22px; height: 22px; }
.pro-icon { background: rgba(154,92,255,0.1); border-color: rgba(154,92,255,0.2); }
.pro-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  color: #fff;
  font-size: 0.55rem;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 100px;
  letter-spacing: 0.05em;
}

.feature-card h3 { font-size: 1.0625rem; margin-bottom: 0.5rem; color: var(--text-1); }
.feature-card p { font-size: 0.9rem; color: var(--text-2); line-height: 1.65; }

.feature-list {
  margin-top: 1rem;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
.feature-list li {
  font-size: 0.875rem;
  color: var(--text-2);
  padding-left: 1.25rem;
  position: relative;
}
.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.feature-image {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--border);
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-image.small { min-height: 140px; margin-top: 1.25rem; }

.img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-4);
  font-size: 0.75rem;
  padding: 2rem;
  text-align: center;
}
.img-placeholder svg { width: 36px; height: 36px; opacity: 0.3; }

.features-cta { text-align: center; margin-top: 3rem; }

@media (max-width: 900px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
  .feature-card-wide { grid-column: span 2; flex-direction: column; }
}
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .feature-card-wide { grid-column: span 1; }
}

/* ═══════════════════════ HOW IT WORKS ══════════════════════════════ */
.how-it-works {
  padding: 6rem 0;
  background: var(--bg-2);
}
.steps { display: flex; flex-direction: column; gap: 4rem; }
.step {
  display: grid;
  grid-template-columns: 60px 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.step-reverse { direction: rtl; }
.step-reverse > * { direction: ltr; }

.step-number {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  background: linear-gradient(135deg, var(--purple-light), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.step-content h3 { margin-bottom: 0.75rem; }
.step-content p { color: var(--text-2); font-size: 0.9375rem; line-height: 1.7; }
.step-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 700px) {
  .step, .step-reverse { grid-template-columns: 1fr; direction: ltr; }
  .step-number { font-size: 2rem; }
}

/* ═══════════════════════════ VIDEO ════════════════════════════════ */
.video-section {
  padding: 6rem 0;
  background: var(--bg);
}
.video-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.5rem;
}
.video-card-main { grid-row: span 2; }
.video-card { border-radius: var(--radius-lg); overflow: hidden; }
.video-placeholder {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  aspect-ratio: 16/9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}
.video-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(154,92,255,0.1), rgba(50,214,255,0.05));
  opacity: 0;
  transition: opacity 0.3s;
}
.video-placeholder:hover::before { opacity: 1; }
.video-placeholder:hover { border-color: rgba(154,92,255,0.4); box-shadow: 0 0 30px rgba(154,92,255,0.15); }

.video-play-btn {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, var(--purple), var(--purple-3));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(154,92,255,0.4);
  transition: transform 0.2s;
  z-index: 1;
}
.video-play-btn svg { width: 28px; height: 28px; color: #fff; margin-left: 3px; }
.video-play-btn.small { width: 48px; height: 48px; }
.video-play-btn.small svg { width: 18px; height: 18px; }
.video-placeholder:hover .video-play-btn { transform: scale(1.1); }

.video-placeholder.small { aspect-ratio: 16/9; }
.video-meta { text-align: center; z-index: 1; padding: 0 1.5rem; }
.video-meta h4 { font-size: 0.9375rem; color: var(--text-1); margin-bottom: 0.25rem; }
.video-meta span { font-size: 0.8rem; color: var(--text-3); }

@media (max-width: 700px) {
  .video-grid { grid-template-columns: 1fr; }
  .video-card-main { grid-row: span 1; }
}

/* ══════════════════════ TESTIMONIALS ═══════════════════════════════ */
.testimonials {
  padding: 6rem 0;
  background: var(--bg-2);
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}
.testimonial-card .stars { margin-bottom: 1rem; font-size: 0.9rem; letter-spacing: 2px; }
.testimonial-card p { color: var(--text-2); font-size: 0.9375rem; line-height: 1.7; margin-bottom: 1.25rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 0.875rem; }
.avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--purple), var(--cyan));
}
.avatar-2 { background: linear-gradient(135deg, var(--cyan), var(--green)); }
.avatar-3 { background: linear-gradient(135deg, var(--amber), var(--red)); }
.testimonial-author strong { display: block; font-size: 0.875rem; color: var(--text-1); }
.testimonial-author span { font-size: 0.8rem; color: var(--text-3); }

@media (max-width: 700px) {
  .testimonial-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════ PRICING TEASER ════════════════════════════ */
.pricing-teaser {
  padding: 6rem 0;
  background: var(--bg);
}
.pricing-cards-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 700px;
  margin: 0 auto;
}
.pricing-mini {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
}
.pricing-mini.pro {
  border-color: rgba(154,92,255,0.4);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(154,92,255,0.08) 100%);
  box-shadow: 0 0 40px rgba(154,92,255,0.1);
}
.pricing-mini-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 100px;
  white-space: nowrap;
}
.pricing-mini-tier { font-size: 0.875rem; font-weight: 700; color: var(--text-3); margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 0.1em; }
.pricing-mini-price { font-size: 2rem; font-weight: 900; letter-spacing: -0.04em; margin-bottom: 1.25rem; }
.pricing-mini-price span { font-size: 0.9rem; font-weight: 400; color: var(--text-3); margin-left: 4px; }
.pricing-mini ul { list-style: none; margin-bottom: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; }
.pricing-mini li { font-size: 0.875rem; color: var(--text-2); }

.pricing-footnote { text-align: center; margin-top: 1.5rem; color: var(--text-3); font-size: 0.9rem; }

@media (max-width: 550px) {
  .pricing-cards-mini { grid-template-columns: 1fr; }
}

/* ══════════════════════════════ FAQ ═══════════════════════════════ */
.faq { padding: 6rem 0; background: var(--bg-2); }
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.faq-item h4 { margin-bottom: 0.625rem; color: var(--text-1); }
.faq-item p { font-size: 0.9rem; color: var(--text-2); line-height: 1.65; }

@media (max-width: 650px) { .faq-grid { grid-template-columns: 1fr; } }

/* ════════════════════════ FINAL CTA ═══════════════════════════════ */
.final-cta {
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
.final-cta .container { position: relative; z-index: 1; }
.final-cta h2 { margin-bottom: 1rem; }
.final-cta p { color: var(--text-2); font-size: 1.0625rem; max-width: 560px; margin: 0 auto 2.5rem; }

/* ══════════════════════════ FOOTER ════════════════════════════════ */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  padding: 4rem 0 3rem;
}
.footer-brand .logo { margin-bottom: 1rem; }
.footer-tagline { font-size: 0.875rem; color: var(--text-3); line-height: 1.65; }
.footer-made-by { display: flex; align-items: center; gap: 0.5rem; margin-top: 1.25rem; }
.footer-by-label { font-size: 0.75rem; color: var(--text-4); white-space: nowrap; }
.aardvark-brand-logo { height: 22px; width: auto; opacity: 0.75; transition: opacity 0.15s; }
.footer-made-by a:hover .aardvark-brand-logo { opacity: 1; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer-col h4 { font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-3); margin-bottom: 1rem; }
.footer-col a { display: block; font-size: 0.875rem; color: var(--text-2); text-decoration: none; margin-bottom: 0.5rem; transition: color 0.15s; }
.footer-col a:hover { color: var(--text-1); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.25rem 0;
}
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.footer-bottom span { font-size: 0.8rem; color: var(--text-4); }

@media (max-width: 800px) {
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════════════ PAGE HERO ═════════════════════════════════ */
.page-hero {
  position: relative;
  padding: 5rem 0 4rem;
  text-align: center;
  overflow: hidden;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { margin-bottom: 1rem; }
.page-hero-sub { font-size: 1.125rem; color: var(--text-2); margin-bottom: 2rem; }

.billing-toggle {
  display: inline-flex;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4px;
  gap: 4px;
}
.toggle-btn {
  padding: 0.5rem 1.25rem;
  border-radius: calc(var(--radius) - 4px);
  border: none;
  background: transparent;
  color: var(--text-2);
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.toggle-btn.active {
  background: linear-gradient(135deg, var(--purple), var(--purple-3));
  color: #fff;
  box-shadow: 0 2px 8px rgba(154,92,255,0.3);
}
.save-badge {
  background: var(--green);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 100px;
}

/* ═══════════════════════ PRICING FULL ══════════════════════════════ */
.pricing-full { padding: 4rem 0 6rem; }

.pricing-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 4rem;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
}
.pricing-card-pro {
  border-color: rgba(154,92,255,0.5);
  box-shadow: 0 0 60px rgba(154,92,255,0.15);
  background: linear-gradient(180deg, rgba(154,92,255,0.08) 0%, var(--bg-card) 40%);
}
.pricing-card-popular {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 5px 18px;
  border-radius: 0 0 12px 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pricing-card-header {
  padding: 2.5rem 2rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
.pricing-card-popular + .pricing-card-header { padding-top: 3rem; }
.pricing-card-header h2 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.tier-tagline { font-size: 0.875rem; color: var(--text-3); margin-bottom: 1.25rem; line-height: 1.5; }

.pricing-amount { display: flex; align-items: baseline; gap: 0.25rem; margin-bottom: 1.25rem; }
.price-val { font-size: 2.75rem; font-weight: 900; letter-spacing: -0.04em; }
.price-period { font-size: 1rem; color: var(--text-3); }
.price-subtext { font-size: 0.8rem; color: var(--text-3); margin-top: -0.75rem; margin-bottom: 1.25rem; }

.pricing-note { font-size: 0.75rem; color: var(--text-4); margin-top: 0.75rem; text-align: center; }

.pricing-card-features { padding: 1.5rem 2rem 2rem; }
.feature-group { margin-bottom: 1.5rem; }
.feature-group:last-child { margin-bottom: 0; }
.feature-group h4 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-4); margin-bottom: 0.875rem; }
.feature-group ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.feature-group li { font-size: 0.875rem; line-height: 1.4; display: flex; align-items: flex-start; gap: 0.5rem; }
.feature-group li::before { flex-shrink: 0; margin-top: 0.05em; }
.feature-group li.check { color: var(--text-2); }
.feature-group li.check::before { content: '✓'; color: var(--green); font-weight: 700; }
.feature-group li.check.check-pro::before { color: var(--purple-light); }
.feature-group li.cross { color: var(--text-4); }
.feature-group li.cross::before { content: '—'; color: var(--text-4); }

@media (max-width: 700px) { .pricing-cards { grid-template-columns: 1fr; } }

/* Comparison table */
.comparison-table-wrapper { margin-top: 3rem; overflow-x: auto; }
.comparison-table-wrapper h3 { margin-bottom: 1.5rem; text-align: center; }
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.comparison-table th,
.comparison-table td {
  padding: 0.75rem 1rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
  color: var(--text-2);
}
.comparison-table th:first-child,
.comparison-table td:first-child { text-align: left; color: var(--text-1); }
.comparison-table th {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-3);
  background: var(--bg-2);
}
.comparison-table .pro-col { color: var(--purple-light); }
.comparison-table .group-header td {
  background: var(--bg-3);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-3);
  padding: 0.5rem 1rem;
}

.pricing-faq { margin-top: 4rem; }
.pricing-faq h3 { text-align: center; margin-bottom: 2rem; }

/* ══════════════════════ FUNNEL PAGES ══════════════════════════════ */
.funnel-page {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: flex-start;
  padding: 5rem 0;
  overflow: hidden;
}
.funnel-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.funnel-inner-narrow { grid-template-columns: 1fr; max-width: 560px; }

.funnel-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}

.funnel-header { text-align: center; margin-bottom: 2rem; }
.funnel-icon {
  width: 56px; height: 56px;
  background: rgba(154,92,255,0.15);
  border: 1px solid rgba(154,92,255,0.3);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--purple-light);
}
.funnel-icon svg { width: 26px; height: 26px; }
.funnel-icon.free-icon { background: rgba(16,185,129,0.1); border-color: rgba(16,185,129,0.25); color: var(--green); }
.funnel-icon.pro-icon {
  background: linear-gradient(135deg, rgba(154,92,255,0.2), rgba(50,214,255,0.1));
  border-color: rgba(154,92,255,0.3);
  color: var(--purple-light);
}

.funnel-header h1 { font-size: 1.75rem; margin-bottom: 0.625rem; }
.funnel-header p { font-size: 0.9375rem; color: var(--text-2); }

/* Forms */
.funnel-form { display: flex; flex-direction: column; gap: 1.25rem; }

.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label { font-size: 0.875rem; font-weight: 600; color: var(--text-1); }
.form-group input {
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-family: var(--font);
  font-size: 0.9375rem;
  color: var(--text-1);
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
  width: 100%;
}
.form-group input:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(154,92,255,0.15);
}
.form-group input::placeholder { color: var(--text-4); }
.form-hint { font-size: 0.8rem; color: var(--text-3); }
.form-static {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  color: var(--text-2);
}

.form-check {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.form-check input[type=checkbox] { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; accent-color: var(--purple); }
.form-check label { font-size: 0.8125rem; color: var(--text-2); }

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

.form-alert {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  line-height: 1.5;
}
.form-alert-error { background: rgba(244,63,94,0.1); border: 1px solid rgba(244,63,94,0.3); color: #fda4af; }
.form-alert-success { background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.3); color: #6ee7b7; }

.spinner {
  display: inline-block;
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.funnel-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
  color: var(--text-4);
  font-size: 0.8125rem;
}
.funnel-divider::before,
.funnel-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.funnel-alt { text-align: center; font-size: 0.875rem; color: var(--text-3); display: flex; flex-direction: column; gap: 0.375rem; }

.funnel-aside h3 { margin-bottom: 1.25rem; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 0.625rem; }
.check-list li {
  font-size: 0.9rem;
  color: var(--text-2);
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.5;
}
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }

.upgrade-hint {
  margin-top: 2rem;
  background: rgba(154,92,255,0.08);
  border: 1px solid rgba(154,92,255,0.2);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
}
.pro-badge-lg {
  display: inline-block;
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.08em;
  flex-shrink: 0;
}
.upgrade-hint p { font-size: 0.875rem; color: var(--text-2); line-height: 1.55; }

/* Plan selector */
.plan-selector { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.5rem; }
.plan-option {
  position: relative;
  background: var(--bg-2);
  border: 1.5px solid var(--border-2);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s;
  font-family: var(--font);
  overflow: hidden;
}
.plan-option:hover { border-color: var(--purple); }
.plan-option.selected {
  border-color: var(--purple);
  background: rgba(154,92,255,0.08);
  box-shadow: 0 0 0 1px rgba(154,92,255,0.2);
}

.plan-option-inner { display: flex; align-items: center; gap: 1rem; }
.plan-radio {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid var(--border-2);
  flex-shrink: 0;
  transition: all 0.2s;
}
.plan-option.selected .plan-radio {
  border-color: var(--purple);
  background: var(--purple);
  box-shadow: inset 0 0 0 3px var(--bg-2);
}
.plan-details { flex: 1; }
.plan-name { display: block; font-weight: 700; font-size: 0.9375rem; color: var(--text-1); }
.plan-desc { display: block; font-size: 0.8rem; color: var(--text-3); margin-top: 0.125rem; }
.plan-price { text-align: right; }
.plan-price-main { display: block; font-weight: 800; font-size: 1.25rem; color: var(--text-1); letter-spacing: -0.02em; }
.plan-price-sub { display: block; font-size: 0.75rem; color: var(--text-3); }

.plan-badge-best {
  position: absolute;
  top: 0; right: 0;
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 0 var(--radius) 0 var(--radius-sm);
  letter-spacing: 0.05em;
}

.checkout-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-size: 0.775rem;
  color: var(--text-3);
  margin-top: 0.75rem;
}

.guarantee-box {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  background: rgba(16,185,129,0.08);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: var(--radius);
  padding: 1.25rem;
  align-items: flex-start;
  color: var(--green);
}
.guarantee-box > div strong { display: block; font-size: 0.9rem; color: var(--green); margin-bottom: 0.375rem; }
.guarantee-box > div p { font-size: 0.825rem; color: var(--text-2); line-height: 1.55; }

/* Payment placeholder */
.payment-placeholder-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: rgba(245,158,11,0.08);
  border: 1px solid rgba(245,158,11,0.25);
  border-radius: var(--radius);
  padding: 0.875rem 1rem;
  margin-bottom: 1.5rem;
  color: var(--amber);
  font-size: 0.825rem;
  line-height: 1.5;
}
.payment-section-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-3);
  margin: 0.5rem 0;
}
.payment-element-mount {
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 1.25rem;
  background: var(--bg-2);
}
.mock-card-form { display: flex; flex-direction: column; gap: 1rem; }
.funnel-order-summary { font-size: 0.9375rem; color: var(--text-2); margin-top: 0.375rem; }

/* ═══════════════════════ SUCCESS PAGE ══════════════════════════════ */
.success-page .funnel-card { text-align: center; }
.success-icon {
  width: 72px; height: 72px;
  background: rgba(16,185,129,0.15);
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--green);
}
.success-icon svg { width: 36px; height: 36px; }
.success-icon-pro { background: rgba(154,92,255,0.15); border-color: rgba(154,92,255,0.3); color: var(--purple-light); }

.success-sub { color: var(--text-2); font-size: 1rem; margin: 0.5rem 0 1.5rem; }

.key-display { background: var(--bg-2); border: 1px solid var(--border-2); border-radius: var(--radius); padding: 1.25rem; text-align: left; margin: 1.5rem 0; }
.key-display label { display: block; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-3); margin-bottom: 0.75rem; }
.key-copy-row { display: flex; align-items: center; gap: 0.75rem; }
.key-copy-row code { flex: 1; font-size: 0.875rem; letter-spacing: 0.08em; word-break: break-all; background: none; border: none; padding: 0; color: var(--purple-light); }

.key-waiting {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-2);
  font-size: 0.875rem;
}

.success-steps {
  text-align: left;
  margin: 2rem 0;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.success-steps h3 { margin-bottom: 1.25rem; font-size: 1rem; }
.success-steps ol { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.success-steps li { display: flex; gap: 1rem; align-items: flex-start; }
.step-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--purple-3));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.success-steps li strong { display: block; font-size: 0.9rem; margin-bottom: 0.25rem; }
.success-steps li p { font-size: 0.825rem; color: var(--text-2); line-height: 1.55; }

.success-upgrade-hint {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: rgba(154,92,255,0.08);
  border: 1px solid rgba(154,92,255,0.2);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: left;
  margin-bottom: 1.5rem;
}
.success-upgrade-hint strong { display: block; font-size: 0.9rem; margin-bottom: 0.375rem; }
.success-upgrade-hint p { font-size: 0.825rem; color: var(--text-2); margin-bottom: 0.875rem; }
.success-share { font-size: 0.875rem; color: var(--text-3); display: flex; align-items: center; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.success-actions { display: flex; gap: 0.875rem; justify-content: center; margin-top: 1.5rem; flex-wrap: wrap; }

/* Activation result */
.activation-result { margin-top: 1.5rem; }
.tier-badge-result {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}
.tier-badge-result.tier-free { background: rgba(16,185,129,0.08); border: 1px solid rgba(16,185,129,0.2); }
.tier-badge-result.tier-pro { background: rgba(154,92,255,0.12); border: 1px solid rgba(154,92,255,0.3); }
.tier-badge-icon { font-size: 1.5rem; }
.tier-badge-result strong { display: block; font-size: 1rem; margin-bottom: 0.125rem; }
.tier-badge-result span { font-size: 0.8125rem; color: var(--text-3); }
.tier-upsell { font-size: 0.875rem; color: var(--text-3); margin-top: 0.5rem; }

.activation-instructions {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.activation-instructions h4 { margin-bottom: 1rem; font-size: 0.9rem; }
.activation-instructions ol { padding-left: 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; }
.activation-instructions li { font-size: 0.875rem; color: var(--text-2); }

/* Confetti */
.confetti-container { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.confetti-piece {
  position: absolute;
  top: -20px;
  animation: confetti-fall linear forwards;
}
@keyframes confetti-fall {
  to { transform: translateY(110vh) rotate(720deg); opacity: 0; }
}

/* ═══════════════════════════ MISC ══════════════════════════════════ */
@media (max-width: 700px) {
  .funnel-inner { grid-template-columns: 1fr; }
  .funnel-aside { display: none; }
  .hero-screenshot { border-radius: var(--radius); }
  .screenshot-body { height: 320px; }
  .screenshot-sidebar { display: none; }
}

/* ═══════════════════ WHAT YOU CAN MAKE (SCENARIOS) ═══════════════════ */
.scenarios {
  padding: 6rem 0;
  background: var(--bg-2);
}
.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.scenario-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.scenario-card:hover {
  border-color: var(--border-2);
  box-shadow: var(--shadow);
}
.scenario-title {
  margin: 0.875rem 0 0.75rem;
  font-size: 1.0625rem;
  color: var(--text-1);
}
.scenario-type {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--violet-light);
  background: rgba(154,92,255,0.12);
  border: 1px solid rgba(154,92,255,0.22);
  border-radius: var(--radius);
  padding: 0.75rem 0.875rem;
  margin: 0 0 1rem;
}
.scenario-card > p {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.65;
}
.scenario-shot {
  margin-top: auto;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--border);
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.scenario-shot .img-placeholder { padding-top: 1.5rem; padding-bottom: 1.5rem; }

/* Tier tags (scenario corner badges) */
.tier-tag {
  align-self: flex-start;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 100px;
}
.tier-tag-free {
  color: var(--bg);
  background: linear-gradient(135deg, var(--mint), var(--cyan));
}
.tier-tag-pro {
  color: #fff;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
}

/* Inline tier pills (within feature card text) */
.tier-inline {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 1px 7px;
  border-radius: 100px;
  vertical-align: middle;
  margin-left: 0.25rem;
}
.tier-inline-free { color: var(--bg); background: linear-gradient(135deg, var(--mint), var(--cyan)); }
.tier-inline-pro  { color: #fff;       background: linear-gradient(135deg, var(--violet), var(--cyan)); }

/* Job sub-headers in the feature grid */
.job-header {
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--violet-light);
  margin: 3rem 0 1.25rem;
  padding-bottom: 0.625rem;
  border-bottom: 1px solid var(--border);
}
.job-header:first-of-type { margin-top: 1rem; }

/* "Free + Pro" split note inside a feature card */
.split-note {
  font-size: 0.8125rem !important;
  color: var(--text-3) !important;
  line-height: 1.55 !important;
  margin-top: 0.75rem;
  padding: 0.625rem 0.75rem;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.split-note strong { color: var(--text-2); }

/* Extensible / MCP demoted note */
.features-extensible {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-3);
  margin-top: 3rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* "And it scales" section */
.scales {
  padding: 6rem 0;
  background: var(--bg-2);
}

/* Pricing teaser mini sub-price */
.pricing-mini-sub {
  font-size: 0.8rem;
  color: var(--text-3);
  margin: -0.75rem 0 1.25rem;
}

/* Comparison table footnote */
.comparison-note {
  font-size: 0.85rem;
  color: var(--text-3);
  line-height: 1.6;
  margin-top: 1.25rem;
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 900px) {
  .scenarios-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .scenarios-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════ BETA LAUNCH ═══════════════════════════ */
/* Mock sidebar badge on the hero (replaces PRO in beta mode) */
.sidebar-badge.beta { background: linear-gradient(135deg, var(--mint), var(--cyan)); color: var(--bg); }

.hero-subtitle-small {
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  color: var(--text-3);
  margin-top: -1.5rem;
}

/* Honeypot field: off-screen for people, still in the DOM for bots */
.hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-alert-info { background: rgba(50,214,255,0.08); border: 1px solid rgba(50,214,255,0.28); color: var(--cyan-light); }
.form-alert-info a { color: var(--text-1); text-decoration: underline; }

.funnel-aside-sub { margin-top: 2rem; }
.funnel-aside-text { font-size: 0.9rem; color: var(--text-2); line-height: 1.6; }

.beta-end-note { font-size: 0.9rem; color: var(--text-2); margin-top: 1.25rem; }

/* "About the beta" facts grid (takes the pricing teaser's slot) */
.beta-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 1000px;
  margin: 0 auto;
}
.beta-fact {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.beta-fact h3 { font-size: 1rem; margin-bottom: 0.5rem; color: var(--text-1); }
.beta-fact p { font-size: 0.9rem; color: var(--text-2); line-height: 1.6; }
@media (max-width: 900px) { .beta-facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .beta-facts { grid-template-columns: 1fr; } }

/* Feedback invitation (takes the testimonials' slot in beta mode) */
.feedback-invite .section-header { margin-bottom: 2rem; }
.feedback-actions { display: flex; justify-content: center; }

/* /beta keeps its facts on phones (the generic funnel aside hides below 700px) */
.funnel-aside.funnel-aside-keep { display: block; }

/* Narrow funnel pages on phones: let the single column shrink below its buttons'
   no-wrap width (it was clipping the success card), and give the card more room. */
.funnel-inner-narrow { grid-template-columns: minmax(0, 1fr); }
.success-actions .btn { white-space: normal; justify-content: center; text-align: center; }
@media (max-width: 500px) {
  .funnel-card { padding: 1.75rem 1.25rem; }
  .key-display { padding: 1rem; }
  .key-copy-row { flex-wrap: wrap; }
  .key-copy-row code { flex-basis: 100%; letter-spacing: 0.04em; word-break: normal; overflow-wrap: anywhere; }
}
