/* ===== CSS VARIABLES & RESET (LUMINOUS EDITION) ===== */
:root {
  --bg-primary: transparent;
  /* Controlled by WebGL */
  --bg-secondary: rgba(255, 255, 255, 0.4);
  --bg-card: rgba(255, 255, 255, 0.72);
  --bg-input: rgba(8, 51, 110, 0.05);
  --border: rgba(8, 51, 110, 0.12);
  --border-glow: rgba(47, 111, 167, 0.22);
  --text-primary: #0b0d12;
  --text-secondary: rgba(11, 13, 18, 0.8);
  --text-muted: rgba(11, 13, 18, 0.7);
  --accent: #3d62dc;
  --accent-dim: rgba(61, 98, 220, 0.18);
  --accent-hover: #2946b8;
  --gold: #c9a227;
  --green: #0f7a43;
  --red: #e14b4b;
  --yellow: #c98300;
  --output-accent: #2f56cf;
  --output-accent-dim: rgba(47, 86, 207, 0.16);
  --output-safe: #0c7a3c;
  --output-danger: #d93f3f;
  --output-warning: #ba7700;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', monospace;
  --radius: 12px;
  --radius-sm: 8px;
  --ease-brand: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  background: transparent;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Base theme transition for elements */
.demo-window,
.cloud-failure,
.demo-titlebar,
.cloud-titlebar,
.cloud-msg,
.cloud-error,
.feature-card,
.waitlist-input,
.nav,
.demo-scenario-badge {
  transition: background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, color 0.4s ease;
}

/* ===== LUCIDE ICONS ===== */
.lucide {
  vertical-align: middle;
  stroke-width: 1.5;
}

.icon-sm {
  width: 14px;
  height: 14px;
}

.icon-md {
  width: 18px;
  height: 18px;
}

.icon-lg {
  width: 28px;
  height: 28px;
}

.icon-avatar {
  width: 16px;
  height: 16px;
}

.icon-file {
  width: 13px;
  height: 13px;
  color: var(--text-secondary);
}

/* ===== COMMAND CENTER NAV (PLAN B) ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
  z-index: 100;
  transition: background 0.3s;
}

[data-theme="light"] .nav {
  background: rgba(251, 251, 253, 0.75);
}

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

.company-tag {
  font-size: 13px;
  font-weight: 700;
  color: #1d1d1f;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.slash {
  color: #d1d1d6;
  margin: 0 4px;
  font-weight: 300;
}

.product-selector {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background 0.2s;
  position: relative;
}

.product-selector:hover {
  background: rgba(0, 0, 0, 0.04);
}

.product-name {
  font-size: 15px;
  font-weight: 600;
  color: #1d1d1f;
  display: flex;
  align-items: center;
}

.tag-golden {
  position: absolute;
  top: -6px;
  right: -10px;
  font-size: 9px;
  font-weight: 800;
  color: #b48c26;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 2px 5px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(180, 140, 38, 0.15);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  pointer-events: none;
}

.nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 13px;
  font-weight: 400;
  color: #6e6e73;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

.nav-link:hover {
  color: #1d1d1f;
}

.nav-link.active {
  color: #1d1d1f;
  font-weight: 500;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.nav-cta {
  background: #1d1d1f;
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid #1d1d1f;
  transition: all 0.2s;
}

.nav-cta:hover {
  background: #000;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-decoration: none;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
}

.lang-btn {
  font-size: 12px;
  font-weight: 400;
  color: #6e6e73;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 4px;
  transition: color 0.2s, background 0.15s;
}

.lang-btn:hover {
  color: #1d1d1f;
  background: rgba(0, 0, 0, 0.04);
}

.lang-btn.active {
  color: #1d1d1f;
  font-weight: 500;
}

/* MEGA MENU OVERLAY */
.nav-overlay {
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  z-index: 99;
  display: none;
  opacity: 0;
  transition: opacity 0.2s;
}

.nav-overlay.active {
  display: block;
  opacity: 1;
}

.menu-panel {
  position: absolute;
  top: 12px;
  left: 24px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
  padding: 16px;
  width: 300px;
}

.menu-section-label {
  font-size: 11px;
  font-weight: 600;
  color: #86868b;
  margin-bottom: 8px;
  padding-left: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.menu-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
}

.menu-item:hover {
  background: rgba(0, 0, 0, 0.04);
}

.menu-item.active {
  background: rgba(0, 113, 227, 0.08);
}

.menu-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.5), 0 2px 8px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.icon-mine {
  background: linear-gradient(135deg, #60a5fa, #2563eb);
  color: white;
}

.menu-icon--mine-logo {
  background: linear-gradient(135deg, #3b82f6, #6366f1);
  color: white;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.25);
}

.menu-icon--mine-logo svg {
  width: 18px;
  height: 18px;
}

.menu-icon--puffy-logo {
  padding: 0;
  background: #ffffff;
  border: 1px solid rgba(198, 137, 134, 0.12);
  box-shadow: 0 8px 24px rgba(198, 137, 134, 0.18);
  overflow: hidden;
}

.menu-icon--puffy-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.menu-text h4 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 600;
  color: #1d1d1f;
}

.menu-item-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 6px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #b45309;
  background: rgba(245, 158, 11, 0.12);
  vertical-align: middle;
}

.menu-text p {
  margin: 0;
  font-size: 13px;
  color: #6e6e73;
  line-height: 1.4;
}

.menu-divider {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  margin: 12px 0;
}

.menu-item--overview {
  align-items: center;
  padding: 8px 12px;
}

.menu-item-cta-copy {
  font-size: 13px;
  color: #1d1d1f;
  font-weight: 500;
}

/* ===== SUBNAV (APPLE STYLE) ===== */
.subnav {
  position: fixed;
  top: 65px;
  left: 0;
  right: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}

[data-theme="light"] .subnav {
  background: rgba(248, 250, 252, 0.85);
}

.subnav-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 52px;
}

.subnav-title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.5px;
  color: var(--text-primary);
}

.subnav-links {
  display: flex;
  gap: 24px;
  height: 100%;
}

.subnav-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
  display: flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  padding-top: 2px;
}

.subnav-link:hover {
  color: var(--text-primary);
}

.subnav-link.active {
  color: var(--text-primary);
  border-bottom-color: var(--text-primary);
}

.hero {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 160px 24px 80px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 32px;
  animation: badge-glow 3s ease-in-out infinite alternate;
}

@keyframes badge-glow {
  from {
    box-shadow: 0 0 10px var(--accent-dim);
  }

  to {
    box-shadow: 0 0 25px var(--accent-dim), 0 0 50px rgba(112, 163, 245, 0.05);
  }
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.15;
  margin-bottom: 24px;
  text-wrap: balance;
}

.hero-highlight {
  color: var(--accent);
  white-space: nowrap;
}

.hero-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-cta-btn {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  color: var(--bg-primary);
  background: var(--accent);
  padding: 14px 36px;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 18px 40px rgba(75, 114, 232, 0.18);
}

.hero-cta-btn:hover {
  transform: translateY(-2px);
  background: var(--accent-hover);
  box-shadow: 0 22px 48px rgba(54, 88, 202, 0.22);
}

/* ===== DEMO SECTION ===== */
.demo-section {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 24px 80px;
  text-align: center;
}

/* ===== DEMO PANEL ===== */
.demo-panel {
  margin-bottom: 64px;
  position: relative;
}

.demo-panel:last-of-type {
  margin-bottom: 0;
}

.demo-scenario-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: linear-gradient(135deg, rgba(112, 163, 245, 0.08), rgba(99, 102, 241, 0.06));
  border: 1px solid rgba(112, 163, 245, 0.15);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
  backdrop-filter: blur(8px);
}

.demo-scenario-badge.scenario-research {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.08), rgba(99, 102, 241, 0.06));
  border-color: rgba(168, 85, 247, 0.15);
  color: #a78bfa;
}

.demo-scenario-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-style: italic;
  font-weight: 500;
}

.gold-title-gradient {
  background: linear-gradient(135deg, #b17b2f 0%, #d7af5d 52%, #94651f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: none;
}

.section-title {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.5px;
  margin-bottom: 40px;
}

.waitlist .section-title {
  position: relative;
  top: 6px;
  margin-bottom: 28px;
}

.section-title em {
  color: var(--red);
  font-style: italic;
}

/* ===== PHASE 1: CLOUD FAILURE MOCK ===== */
.cloud-failure {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-secondary);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  margin-bottom: 24px;
  transition: opacity 0.5s, transform 0.5s, max-height 0.6s ease-in-out, margin-bottom 0.5s ease-in-out, border-color 0.5s;
}

.cloud-failure.fade-out {
  opacity: 0;
  transform: translateY(-20px) scale(0.97);
  pointer-events: none;
}

.cloud-failure.collapsing {
  opacity: 0;
  transform: translateY(-10px) scale(0.98);
  max-height: 0 !important;
  margin-bottom: 0 !important;
  border-color: transparent;
  pointer-events: none;
}

.cloud-failure.hidden {
  display: none;
}

.cloud-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid var(--border);
}

.cloud-titlebar-text {
  margin-left: 8px;
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.cloud-body {
  padding: 24px 20px;
  min-height: 140px;
  text-align: left;
}

.cloud-prompt-row,
.cloud-response-row {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  align-items: flex-start;
}

.cloud-avatar {
  font-size: 20px;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border-radius: 8px;
}

.cloud-avatar.ai {
  background: #2d1a1a;
}

.cloud-avatar.chatgpt {
  background: #10a37f;
  border-radius: 50%;
  color: #fff;
}

.cloud-msg {
  font-size: 13px;
  font-family: var(--font-sans);
  color: var(--text-primary);
  line-height: 1.6;
  padding: 10px 14px;
  background: #fff;
  border-radius: 0 var(--radius-sm) var(--radius-sm) var(--radius-sm);
  max-width: 80%;
}

.cloud-error {
  font-size: 13px;
  font-family: var(--font-mono);
  color: var(--red);
  line-height: 1.6;
  padding: 10px 14px;
  background: #fff;
  border: none;
  border-radius: 0 var(--radius-sm) var(--radius-sm) var(--radius-sm);
  max-width: 80%;
}

.cloud-error .error-icon {
  margin-right: 6px;
}

.demo-window {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-secondary);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.06),
    0 4px 12px rgba(0, 0, 0, 0.03);
  backdrop-filter: blur(50px) saturate(200%);
  -webkit-backdrop-filter: blur(50px) saturate(200%);
  transition: box-shadow 0.6s, border-color 0.6s;
  animation: mine-enter 0.6s ease-out;
}

@keyframes mine-enter {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.demo-window.processing {
  border-color: var(--accent);
  box-shadow:
    0 0 30px var(--accent-dim),
    0 20px 60px rgba(0, 0, 0, 0.06);
}

.demo-window.complete {
  animation: completion-pulse 0.6s ease-out;
}

@keyframes completion-pulse {
  0% {
    box-shadow: 0 0 30px var(--accent-dim), 0 20px 60px rgba(0, 0, 0, 0.06);
  }

  50% {
    box-shadow: 0 0 60px rgba(0, 85, 255, 0.2), 0 20px 60px rgba(0, 0, 0, 0.06);
  }

  100% {
    box-shadow: 0 0 30px var(--accent-dim), 0 20px 60px rgba(0, 0, 0, 0.06);
  }
}

.demo-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.6);
  border-bottom: 1px solid var(--border);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot.red {
  background: var(--red);
}

.dot.yellow {
  background: var(--yellow);
}

.dot.green {
  background: var(--green);
}

.demo-titlebar-text {
  margin-left: 8px;
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mine-orb--titlebar {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff 0%, #cbe0ff 15%, #7ab0ff 40%, #3b82f6 75%, #1d4ed8 100%);
  box-shadow: inset -1px -1px 3px rgba(30, 58, 138, 0.35), inset 0.5px 0.5px 1.5px rgba(255, 255, 255, 0.9), 0 1px 3px rgba(59, 130, 246, 0.25);
  flex-shrink: 0;
}

.demo-body {
  display: flex;
  min-height: 420px;
  position: relative;
}

/* Left half: sidebar + main output */
.demo-left {
  display: flex;
  width: 100%;
  transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.demo-body.split-active .demo-left {
  width: 58%;
}

/* Sidebar */
.demo-sidebar {
  --sidebar-file-pad-x: 8px;
  --sidebar-file-icon-w: 28px;
  --sidebar-file-gap: 10px;
  width: 260px;
  min-width: 260px;
  /* Allow slight shrink during split */
  border-right: 1px solid var(--border);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
  transition: width 0.5s;
}

.demo-body.split-active .demo-sidebar {
  width: 260px;
}

.demo-sidebar-title {
  display: block;
  width: 100%;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
  padding-left: var(--sidebar-file-pad-x);
  text-align: left;
}

.file-item {
  display: grid;
  grid-template-columns: var(--sidebar-file-icon-w) minmax(0, 1fr);
  align-items: start;
  column-gap: var(--sidebar-file-gap);
  font-size: 12px;
  font-family: var(--font-sans);
  color: var(--text-secondary);
  padding: 6px var(--sidebar-file-pad-x);
  border-radius: var(--radius-sm);
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  cursor: default;
}

.file-item:hover {
  background: var(--bg-card);
}

.file-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.file-item.visible::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.3;
  animation: scan-flash 0.4s ease-out forwards;
}

@keyframes scan-flash {
  to {
    left: 100%;
    opacity: 0;
  }
}

.file-item.active {
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid var(--accent);
}

.file-icon-pdf {
  width: 28px;
  height: 32px;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.file-icon-pdf::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
  border-radius: 0 3px 0 3px;
}

.file-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  min-width: 0;
  width: 100%;
  text-align: left;
}

.file-name {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
  width: 100%;
}

.file-meta {
  display: block;
  font-size: 10px;
  color: var(--text-muted);
  white-space: nowrap;
  text-align: left;
  width: 100%;
  font-variant-numeric: tabular-nums;
}

.file-icon {
  font-size: 13px;
}

.demo-drag-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 6px;
  font-size: 11px;
  color: var(--text-muted);
  border: 2px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  transition: opacity 0.5s;
}

.drag-icon {
  font-size: 20px;
}

/* Main area */
.demo-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 18px 20px;
  min-width: 280px;
  overflow-x: hidden;
  background: transparent;
  border-radius: 0;
}

.demo-prompt {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: start;
  column-gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-primary);
  padding: 0 0 12px;
  background: transparent;
  border: none;
  border-radius: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
  min-height: 36px;
  text-align: left;
}

.prompt-label {
  color: var(--accent);
  font-weight: 600;
  font-size: 11px;
  background: var(--accent-dim);
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
  align-self: start;
}

.prompt-cursor {
  color: var(--accent);
  animation: blink 1s step-end infinite;
  align-self: start;
  margin-top: 1px;
}

.demo-prompt>[id^="promptText-"],
.demo-prompt .follow-up-text {
  display: block;
  min-width: 0;
  width: 100%;
  line-height: 1.6;
  text-align: left;
  white-space: normal;
  word-break: break-word;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.demo-output {
  flex: 1;
  display: flex;
  flex-direction: column;
  font-size: 12px;
  line-height: 1.8;
  color: var(--text-primary);
  text-align: left;
  overflow-y: auto;
  background: transparent;
  border-radius: 0;
  padding: 0;
}

.demo-output h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--output-accent);
  margin: 18px 0 8px;
}

.demo-output ul {
  padding-left: 18px;
}

.demo-output li {
  margin-bottom: 4px;
  color: var(--text-primary);
}

.demo-output p {
  color: var(--text-primary);
}

.demo-output .output-block {
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.5s;
}

.demo-output .output-block.visible {
  opacity: 1;
  transform: translateY(0);
}

.demo-output table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0;
  font-size: 11px;
}

.demo-output th {
  text-align: left;
  padding: 8px 8px 10px;
  background: transparent;
  color: var(--output-accent);
  font-weight: 700;
  border-bottom: 1px solid var(--border);
}

.demo-output td {
  padding: 8px;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border);
}

.demo-output th:last-child,
.demo-output td:last-child {
  white-space: nowrap;
  width: 1%;
}

.demo-output .output-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 16px;
  padding: 0 0 16px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.6;
  color: var(--text-primary);
}

.demo-output .output-summary.is-tail {
  margin-top: 12px;
  margin-bottom: 0;
  padding-top: 12px;
  padding-bottom: 0;
  border-top: 1px solid var(--border);
  border-bottom: none;
}

.demo-output .output-summary-main,
.demo-output .output-summary-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.demo-output .output-summary-main {
  min-width: 0;
  color: var(--text-primary);
}

.demo-output .output-summary-meta {
  color: var(--text-muted);
}

.demo-output .output-accent {
  color: var(--output-accent);
  font-weight: 800;
}

.demo-output .output-danger {
  color: var(--output-danger);
  font-weight: 800;
}

.demo-output .output-warning {
  color: var(--output-warning);
  font-weight: 800;
}

.demo-output .output-safe {
  color: var(--output-safe);
  font-weight: 800;
}

.demo-output .risk-level {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  font-weight: 800;
}

.demo-output .risk-level.is-fatal,
.demo-output .risk-level.is-severe {
  color: var(--output-danger);
}

.demo-output .risk-level.is-warning {
  color: var(--output-warning);
}

/* Contradiction card for visual hierarchy */
.contradiction-card {
  background: transparent;
  border-radius: 0;
  padding: 16px 0 0;
  margin: 18px 0;
  box-shadow: none;
  border-top: 1px solid var(--border);
}

.contradiction-card h4 {
  margin-top: 0 !important;
}

/* Follow-up answer block */
.follow-up-answer {
  background: transparent;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  margin-top: 14px;
  border-top: 1px solid var(--border);
}

.knowledge-module {
  padding: 16px 0 18px;
  border-top: 1px solid var(--border);
}

.knowledge-module-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.knowledge-module-kicker,
.knowledge-module-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.knowledge-module-kicker {
  color: var(--text-muted);
}

.knowledge-module-meta {
  color: var(--text-muted);
}

.knowledge-module-title {
  margin: 0 0 8px !important;
  font-size: 16px !important;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--text-primary) !important;
}

.knowledge-module-copy {
  margin: 0;
  font-size: 13px;
  line-height: 1.72;
  color: var(--text-primary);
}

.knowledge-module-copy+.knowledge-module-copy {
  margin-top: 8px;
}

.knowledge-row-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.knowledge-row {
  padding-left: 14px;
  border-left: 2px solid rgba(148, 163, 184, 0.2);
}

.knowledge-row--qa {
  padding-left: 0;
  border-left: none;
}

.knowledge-row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.knowledge-row-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
  color: var(--text-primary);
}

.knowledge-row-copy {
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.knowledge-tone {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.knowledge-tone.is-warning {
  color: #b45309;
  background: rgba(245, 158, 11, 0.12);
}

.knowledge-tone.is-severe {
  color: var(--output-danger);
  background: rgba(220, 38, 38, 0.1);
}

.knowledge-tone.is-safe {
  color: var(--output-safe);
  background: rgba(34, 197, 94, 0.1);
}

.knowledge-tone.is-accent {
  color: var(--output-accent);
  background: rgba(47, 86, 207, 0.1);
}

.knowledge-cite-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

/* ===== CITATION BADGES ===== */
.cite-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--output-accent);
  background: var(--output-accent-dim);
  border: none;
  border-radius: 4px;
  padding: 1px 6px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  vertical-align: middle;
  margin: 0 2px;
}

.cite-badge:hover {
  background: rgba(47, 86, 207, 0.22);
  box-shadow: 0 0 12px var(--output-accent-dim);
  transform: translateY(-1px);
}

.cite-badge.active {
  background: var(--output-accent);
  color: #fff;
  box-shadow: 0 0 20px var(--output-accent-dim);
}

/* ===== PDF VIEWER PANEL (SPLIT SCREEN) ===== */
.demo-pdf-viewer {
  width: 0;
  min-width: 0;
  overflow: hidden;
  border-left: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.96), rgba(241, 245, 249, 0.92));
  display: flex;
  flex-direction: column;
  transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  opacity: 0;
}

.demo-body.split-active .demo-pdf-viewer {
  width: 42%;
  opacity: 1;
}

/* Updated toolbar to replace old header */
.pdf-viewer-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  font-size: 11px;
  color: var(--text-secondary);
}

.toolbar-left,
.toolbar-center,
.toolbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.toolbar-left {
  flex: 1;
  overflow: hidden;
}

.pdf-viewer-filename {
  font-family: var(--font-sans);
  font-weight: 500;
  color: var(--text-primary);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.toolbar-divider {
  width: 1px;
  height: 12px;
  background: var(--border);
  margin: 0 4px;
}

.pdf-close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid transparent;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 3px;
  border-radius: 4px;
  transition: all 0.2s;
}

.pdf-close-btn:hover {
  color: var(--text-primary);
  background: rgba(112, 163, 245, 0.08);
  border-color: var(--border);
}

.pdf-viewer-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 16px;
  overflow-x: hidden;
  overflow-y: auto;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.8), rgba(241, 245, 249, 0.9));
}

/* The realistic paper */
.pdf-paper {
  background: #fdfdfd;
  color: #111111;
  box-sizing: border-box;
  width: min(100%, 580px);
  max-width: 100%;
  min-width: 0;
  padding: 24px 30px 28px;
  min-height: 100%;
  margin: 0 auto;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
  border-radius: 2px;
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.pdf-paper.is-pdf {
  font-family: 'Times New Roman', Times, serif;
}

.pdf-paper.is-file {
  font-family: var(--font-sans);
  line-height: 1.58;
}

.pdf-paper .pdf-page-num {
  font-family: 'Times New Roman', Times, serif;
  font-size: 11px;
  color: #666;
  text-align: center;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.pdf-paper.is-file .pdf-page-num {
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  color: #475569;
}

.pdf-paper .pdf-paragraph {
  margin-bottom: 12px;
  padding: 4px 6px;
  border-radius: 4px;
  transition: all 0.4s;
  text-align: justify;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.preview-surface {
  width: 100%;
  min-height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.98);
  color: #111827;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 18px;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.preview-kicker {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #64748b;
  text-transform: uppercase;
}

.preview-doc {
  flex: 1;
  padding: 22px 24px 24px;
}

.preview-doc-title {
  margin: 10px 0 6px;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.preview-doc-subhead {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.preview-doc .pdf-paragraph {
  margin-bottom: 14px;
  padding: 0;
  line-height: 1.7;
  text-align: left;
}

.preview-doc .preview-doc-callout {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  border-left: none;
  background: linear-gradient(180deg, rgba(254, 240, 138, 0.55), rgba(255, 251, 235, 0.98));
  border: 1px solid rgba(234, 179, 8, 0.22);
}

.preview-sheet {
  flex: 1;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
}

.preview-sheet-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: linear-gradient(180deg, rgba(241, 245, 249, 0.96), rgba(248, 250, 252, 0.96));
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.preview-sheet-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.preview-sheet-tab {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.12);
  color: #475569;
  font-size: 11px;
  font-weight: 600;
}

.preview-sheet-tab.active {
  background: rgba(22, 163, 74, 0.12);
  color: #15803d;
}

.preview-sheet-formula {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #64748b;
  white-space: nowrap;
}

.preview-sheet-grid {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(88px, 0.72fr) minmax(78px, 0.72fr) minmax(0, 2.2fr) minmax(92px, 0.8fr);
}

.preview-sheet-cell {
  min-width: 0;
  padding: 12px 14px;
  border-top: 1px solid rgba(226, 232, 240, 0.85);
  font-size: 12px;
  line-height: 1.55;
  color: #0f172a;
  overflow-wrap: anywhere;
}

.preview-sheet-cell.header {
  border-top: none;
  font-size: 11px;
  font-weight: 700;
  color: #475569;
  background: rgba(248, 250, 252, 0.92);
}

.preview-sheet-cell.highlighted {
  background: rgba(254, 240, 138, 0.5);
  box-shadow: inset 3px 0 0 #eab308;
}

.preview-markdown {
  flex: 1;
  padding: 22px 24px 24px;
  background: linear-gradient(180deg, rgba(250, 250, 250, 0.98), rgba(255, 255, 255, 0.98));
}

.preview-markdown-title {
  margin: 10px 0 14px;
  font-family: var(--font-mono);
  font-size: 18px;
  line-height: 1.35;
  color: #0f172a;
}

.preview-markdown-section {
  margin: 14px 0 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #475569;
}

.preview-markdown-paragraph {
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.65;
  color: #0f172a;
}

.preview-markdown-callout {
  margin: 14px 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(239, 246, 255, 0.98), rgba(219, 234, 254, 0.9));
  border: 1px solid rgba(96, 165, 250, 0.2);
  font-size: 14px;
  line-height: 1.65;
  color: #1e3a8a;
}

.preview-markdown-label {
  display: inline-flex;
  margin-left: 8px;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.12);
  color: #1d4ed8;
  font-family: var(--font-mono);
  font-size: 10px;
  vertical-align: middle;
}

.preview-web {
  flex: 1;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  background: #f8fafc;
}

.preview-web-chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

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

.preview-web-dots span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.46);
}

.preview-web-url {
  min-width: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.preview-web-hero {
  padding: 18px 18px 8px;
  background: linear-gradient(180deg, rgba(239, 246, 255, 0.9), rgba(248, 250, 252, 0.96));
}

.preview-web-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.1);
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 700;
}

.preview-web-hero h3 {
  margin: 12px 0 6px;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.preview-web-meta {
  font-size: 12px;
  color: #64748b;
}

.preview-web-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
}

.preview-web-card {
  position: relative;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.14);
  font-size: 14px;
  line-height: 1.62;
  color: #0f172a;
}

.preview-web-card.highlighted {
  background: linear-gradient(180deg, rgba(239, 246, 255, 0.98), rgba(224, 231, 255, 0.92));
  border-color: rgba(96, 165, 250, 0.22);
}

.preview-web-label {
  display: inline-flex;
  margin-left: 8px;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.1);
  color: #1d4ed8;
  font-family: var(--font-mono);
  font-size: 10px;
}

.pdf-paper .pdf-paragraph.highlighted {
  background: #fef08a;
  /* yellow highlighter */
  border-left: 3px solid #eab308;
  padding-left: 12px;
  color: #111;
  animation: none;
}

.pdf-paper .pdf-paragraph.highlighted .highlight-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 700;
  color: #b45309;
  background: #fef9c3;
  border: 1px solid #fde047;
  border-radius: 3px;
  padding: 1px 4px;
  margin-left: 6px;
  vertical-align: middle;
}

/* Progress bar */
.progress-bar-container {
  width: 100%;
  height: 6px;
  background: var(--bg-card);
  border-radius: 3px;
  margin: 10px 0;
  overflow: hidden;
  box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.4);
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #6366f1, var(--accent));
  background-size: 200% 100%;
  border-radius: 3px;
  width: 0%;
  transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 0 12px var(--accent), 0 0 24px #6366f144;
  animation: bar-shimmer 1s linear infinite;
}

@keyframes bar-shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* Live processing counter */
.live-counter {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--output-accent);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: rgba(47, 86, 207, 0.08);
  border: none;
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  animation: counter-pulse 1s ease-in-out infinite alternate;
}

@keyframes counter-pulse {
  from {
    opacity: 0.7;
  }

  to {
    opacity: 1;
  }
}

.live-counter .spinner {
  width: 10px;
  height: 10px;
  border: 2px solid var(--output-accent);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Replay */
.demo-replay-btn {
  display: inline-block;
  margin-top: 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  background: none;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 20px;
  cursor: pointer;
  transition: all 0.2s;
}

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

/* ===== FEATURES ===== */
.features {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 100px 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all 0.3s;
}

.feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px var(--accent-dim);
}

.feature-icon {
  font-size: 28px;
  margin-bottom: 14px;
}

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

.feature-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== WAITLIST ===== */
.waitlist {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 120px 24px 100px;
  text-align: center;
}

.waitlist-desc,
.waitlist-form,
.waitlist-count,
.waitlist-note {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.waitlist-desc {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.7;
}

.waitlist-form {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.waitlist-input {
  flex: 1;
  font-family: var(--font-sans);
  font-size: 15px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.92);
  border: none;
  border-radius: 16px;
  color: var(--text-primary);
  outline: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 -1px 0 rgba(75, 114, 232, 0.08),
    0 18px 44px rgba(16, 24, 40, 0.08),
    0 3px 12px rgba(16, 24, 40, 0.04);
  transition: box-shadow 0.2s, transform 0.2s;
}

.waitlist-input:focus {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 -1px 0 rgba(75, 114, 232, 0.08),
    0 0 0 4px rgba(75, 114, 232, 0.08),
    0 18px 44px rgba(75, 114, 232, 0.14);
  transform: translateY(-1px);
}

.waitlist-input::placeholder {
  color: var(--text-muted);
}

.waitlist-submit {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #b88831 0%, #d2ab57 50%, #9d6d25 100%);
  border: none;
  border-radius: 16px;
  padding: 14px 28px;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(157, 109, 37, 0.22);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.waitlist-submit:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #ab7d2d 0%, #c69c49 50%, #91611f 100%);
  box-shadow: 0 12px 24px rgba(145, 97, 31, 0.28);
}

.waitlist-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: btn-spin 0.8s linear infinite;
}

@keyframes btn-spin {
  to {
    transform: rotate(360deg);
  }
}

.waitlist-count {
  font-size: 13px;
  color: var(--accent);
  font-family: var(--font-mono);
  margin-bottom: 8px;
}

.waitlist-note {
  font-size: 12px;
  color: var(--text-muted);
}

/* Success state */
.waitlist-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px;
  background: var(--accent-dim);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  animation: fadeIn 0.5s;
}

.waitlist-success .check {
  font-size: 36px;
}

.waitlist-success p {
  font-size: 14px;
  color: var(--text-primary);
}

/* ===== FOOTER ===== */
.footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #1d1d1f;
  letter-spacing: -0.2px;
  margin-bottom: 4px;
}

.footer-legal {
  font-size: 11px;
  color: #86868b;
  line-height: 1.5;
}

.footer-contact {
  font-size: 11px;
}

.footer-contact a {
  color: #6e6e73;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact a:hover {
  color: #1d1d1f;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.footer-links a {
  color: #6e6e73;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #1d1d1f;
}

.footer-dot {
  color: #d2d2d7;
  font-size: 10px;
}

.footer p {
  font-size: 12px;
  color: var(--text-muted);
}

/* ===== SCROLL REVEAL SYSTEM ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-brand), transform 0.7s var(--ease-brand);
}

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

.waitlist-content-wrapper {
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(20px);
  filter: blur(12px);
  transition: opacity 1.8s cubic-bezier(0.16, 1, 0.3, 1), transform 1.8s cubic-bezier(0.16, 1, 0.3, 1), filter 1.8s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: 0.8s;
}

.waitlist.is-unlocked .waitlist-content-wrapper {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0px);
}

/* Hero stagger delays */
.hero-title.reveal {
  transition-delay: 0s;
}

.hero-subtitle.reveal {
  transition-delay: 0.15s;
}

.hero-cta-btn.reveal {
  transition-delay: 0.3s;
}

/* Feature card stagger */
.feature-card.reveal:nth-child(1) {
  transition-delay: 0s;
}

.feature-card.reveal:nth-child(2) {
  transition-delay: 0.1s;
}

.feature-card.reveal:nth-child(3) {
  transition-delay: 0.2s;
}

.feature-card.reveal:nth-child(4) {
  transition-delay: 0.3s;
}

/* Founder pricing anchor - Champagne mist edition */
.founder-pricing-anchor {
  position: relative;
  font-size: clamp(14px, 1.4vw, 16px);
  color: #1e293b;
  margin-bottom: 30px;
  padding: 32px 40px;
  background:
    radial-gradient(circle at 16% 12%, rgba(255, 251, 239, 0.92), transparent 28%),
    radial-gradient(circle at 84% 84%, rgba(231, 215, 179, 0.26), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(248, 243, 233, 0.95) 100%);
  border: 1px solid rgba(184, 169, 141, 0.15);
  box-shadow: 0 22px 48px rgba(74, 57, 24, 0.08), 0 4px 10px rgba(74, 57, 24, 0.04);
  border-radius: 24px;
  display: inline-block;
  letter-spacing: 0.3px;
  line-height: 1.6;
  max-width: 100%;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.founder-pricing-anchor::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 42%),
    linear-gradient(180deg, transparent 40%, rgba(214, 185, 132, 0.08) 100%);
  background-size: 150% 150%;
  opacity: 0.82;
  pointer-events: none;
  animation: founder-champagne-drift 12s ease-in-out infinite;
}

.founder-pricing-anchor::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  pointer-events: none;
}

.founder-pricing-row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 20px;
}

.founder-pricing-item {
  display: flex;
  align-items: center;
  color: #292524;
  white-space: nowrap;
  font-weight: 600;
}

.founder-pricing-item-lead {
  align-items: baseline;
  gap: 12px;
  letter-spacing: -0.01em;
}

.founder-price {
  display: inline-block;
  flex: none;
  padding-right: 0.08em;
  font-size: 30px;
  line-height: 1;
  white-space: nowrap;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #c49c48 0%, #ebd186 52%, #b38b39 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.founder-pricing-copy {
  color: #332b20;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.founder-pricing-item:not(:first-child)::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #d4af37;
  border-radius: 50%;
  margin-right: 14px;
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

@keyframes founder-champagne-drift {

  0%,
  100% {
    background-position: 0% 0%, 0% 0%;
    opacity: 0.72;
    transform: translate3d(0, 0, 0);
  }

  50% {
    background-position: 18% -10%, 0% 8%;
    opacity: 0.94;
    transform: translate3d(0, -2px, 0);
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

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

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
  .nav {
    padding: 12px 20px;
  }

  .hero {
    padding: 120px 20px 60px;
  }

  .demo-left {
    flex-direction: column;
  }

  .demo-sidebar {
    width: 100%;
    min-width: unset;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .demo-body.split-active .demo-pdf-viewer {
    width: 100%;
    border-left: none;
    border-top: 1px solid var(--border);
  }

  .demo-body.split-active .demo-left {
    flex: 1;
  }

  .demo-body {
    flex-direction: column;
  }

  .waitlist-form {
    flex-direction: column;
  }

  .waitlist {
    max-width: 560px;
  }

  .founder-pricing-anchor {
    font-size: 15px;
    padding: 18px 20px;
    border-radius: 22px;
  }

  .founder-pricing-row {
    gap: 8px 12px;
  }

  .founder-pricing-item {
    white-space: normal;
  }

  .founder-pricing-item-lead {
    gap: 10px;
  }

  .founder-price {
    font-size: clamp(36px, 10vw, 44px);
  }

  .features {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .founder-pricing-anchor::before {
    animation: none;
  }
}

/* ===== GHOST INJECTOR SCENARIO ===== */
.mock-input.aurora-glow {
  border-color: var(--accent) !important;
  box-shadow: 0 0 15px rgba(112, 163, 245, 0.3), inset 0 0 10px rgba(112, 163, 245, 0.1);
  background: rgba(112, 163, 245, 0.03);
}

.ghost-suggestion.visible {
  opacity: 1 !important;
  animation: ghost-fade-in 0.4s ease-out;
}

@keyframes ghost-fade-in {
  from {
    opacity: 0;
    transform: translateY(-2px);
  }

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

.mock-input.injected {
  border-color: var(--green) !important;
  color: #0f172a !important;
  /* Dark text for light theme browser */
  font-weight: 500;
  background: #f0fdf4 !important;
  /* light green tint */
  box-shadow: 0 0 10px rgba(74, 222, 128, 0.2);
  transition: all 0.2s;
}

.ghost-suggestion.hidden {
  opacity: 0 !important;
  display: none !important;
}

#injector-trigger-overlay.visible {
  display: flex !important;
  animation: pop-up 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes pop-up {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* i18n language switcher — styles consolidated above in NAV section */

/* Default English State */
body:not(.lang-zh-active) .lang-zh {
  display: none !important;
}

body:not(.lang-zh-active) .lang-en {
  display: inline-block;
}

body:not(.lang-zh-active) div.lang-en,
body:not(.lang-zh-active) p.lang-en,
body:not(.lang-zh-active) h1.lang-en,
body:not(.lang-zh-active) h2.lang-en,
body:not(.lang-zh-active) h3.lang-en,
body:not(.lang-zh-active) h4.lang-en,
body:not(.lang-zh-active) ul.lang-en,
body:not(.lang-zh-active) span.lang-en {
  display: var(--original-display, inline-block);
}

/* Block elements specific reset for EN */
body:not(.lang-zh-active) div.lang-en {
  display: block;
}

body:not(.lang-zh-active) span.lang-en {
  display: inline;
}

body:not(.lang-zh-active) h1.lang-en,
body:not(.lang-zh-active) h2.lang-en,
body:not(.lang-zh-active) h3.lang-en,
body:not(.lang-zh-active) p.lang-en {
  display: block;
}

/* Chinese State */
body.lang-zh-active .lang-en {
  display: none !important;
}

body.lang-zh-active .lang-zh {
  display: inline-block;
}

/* Block elements specific reset for ZH */
body.lang-zh-active div.lang-zh {
  display: block;
}

body.lang-zh-active span.lang-zh {
  display: inline;
}

body.lang-zh-active h1.lang-zh,
body.lang-zh-active h2.lang-zh,
body.lang-zh-active h3.lang-zh,
body.lang-zh-active p.lang-zh {
  display: block;
}

/* Placeholder translations */
body.lang-zh-active input.lang-ph-en::placeholder {
  color: transparent;
}

body:not(.lang-zh-active) input.lang-ph-zh::placeholder {
  color: transparent;
}

/* ===== SYNAPSE FLOATING PILL ===== */
.synapse-pill {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  border-radius: 100px;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.synapse-pill.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.synapse-pill.injecting {
  transform: translate(-50%, -50%) scale(0.95);
  border-color: rgba(112, 163, 245, 0.5);
  box-shadow: 0 0 30px rgba(112, 163, 245, 0.2);
}

.synapse-pill.success {
  border-color: rgba(34, 197, 94, 0.5);
  box-shadow: 0 0 30px rgba(34, 197, 94, 0.2);
}

.synapse-icon {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--accent), #6366f1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 0 15px rgba(112, 163, 245, 0.5);
}

.synapse-text {
  display: flex;
  flex-direction: column;
}

.synapse-title {
  color: white;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
}

.synapse-desc {
  color: #94a3b8;
  font-size: 11px;
  font-family: var(--font-mono);
  margin-top: 2px;
}

.synapse-shortcut {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 4px 10px;
  border-radius: 6px;
  color: white;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
}

/* ===== INJECTION TRAILS ===== */
.injection-trail {
  position: absolute;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  height: 2px;
  width: 100px;
  border-radius: 2px;
  opacity: 0;
  z-index: 99;
  pointer-events: none;
  filter: drop-shadow(0 0 8px var(--accent));
}

@keyframes shoot-trail {
  0% {
    transform: scaleX(0) translateX(0);
    opacity: 0;
  }

  20% {
    opacity: 1;
  }

  80% {
    transform: scaleX(1) translateX(var(--target-x));
    opacity: 1;
  }

  100% {
    transform: scaleX(0) translateX(var(--target-x));
    opacity: 0;
  }
}

/* ===== SYNAPSE ENHANCEMENTS ===== */
.synapse-brand {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.7;
}

.synapse-scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #70a3f5 20%, #6366f1 50%, #70a3f5 80%, transparent 100%);
  box-shadow: 0 0 15px #70a3f5, 0 0 40px rgba(112, 163, 245, 0.4), 0 4px 20px rgba(112, 163, 245, 0.2);
  opacity: 0;
  z-index: 10;
  pointer-events: none;
  top: 40px;
}

.synapse-scan-line.active {
  animation: synapse-sweep 1.2s ease-in-out forwards;
}

@keyframes synapse-sweep {
  0% {
    top: 40px;
    opacity: 0;
  }

  5% {
    opacity: 1;
  }

  50% {
    opacity: 0.9;
  }

  85% {
    opacity: 0.6;
  }

  100% {
    top: calc(100% - 2px);
    opacity: 0;
  }
}

.synapse-hotkey-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;
  pointer-events: none;
  opacity: 0;
}

.synapse-hotkey-overlay.active {
  animation: hotkey-flash 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes hotkey-flash {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.7);
  }

  12% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.08);
  }

  55% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.92);
  }
}

.hotkey-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 700;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.95);
  padding: 14px 28px;
  border-radius: 16px;
  box-shadow: 0 12px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.3), 0 0 60px rgba(112, 163, 245, 0.15);
  letter-spacing: 3px;
}

.hotkey-symbol {
  font-size: 24px;
  opacity: 0.5;
}

/* ===== INJECTOR PORTAL ===== */
.injector-workspace {
  display: flex;
  flex: 1;
  gap: 14px;
  min-width: 0;
}

.injector-portal-shell {
  flex: 1.65;
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(8, 51, 110, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.06);
}

.injector-synapse-shell {
  flex: 1.12;
  min-width: clamp(360px, 32vw, 420px);
  max-width: 460px;
}

.injector-browser-top {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 8px 10px 0;
  background: #edf2fb;
  border-bottom: 1px solid rgba(8, 51, 110, 0.12);
}

.injector-window-controls {
  display: flex;
  gap: 6px;
  padding: 0 8px 8px 4px;
  flex-shrink: 0;
}

.injector-browser-tabs {
  display: flex;
  gap: 6px;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.injector-browser-tabs::-webkit-scrollbar,
.injector-form-tabs::-webkit-scrollbar,
.demo-v2-signal-belt::-webkit-scrollbar {
  display: none;
}

.injector-browser-tab {
  border: 1px solid transparent;
  border-bottom: none;
  background: transparent;
  color: #64748b;
  padding: 8px 14px;
  border-radius: 10px 10px 0 0;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

.injector-browser-tab.active {
  background: #ffffff;
  color: #0f172a;
  border-color: rgba(8, 51, 110, 0.12);
}

.injector-urlbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(8, 51, 110, 0.08);
  background: rgba(248, 250, 252, 0.9);
  font-family: var(--font-mono);
  font-size: 11px;
  color: #64748b;
}

.injector-nav-icons {
  display: flex;
  gap: 8px;
  color: #94a3b8;
}

.injector-urlbox {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(8, 51, 110, 0.12);
  background: #ffffff;
}

.injector-urlbox span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.injector-lock {
  color: #10b981;
}

.injector-user-pill {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #e2e8f0;
  color: #64748b;
  flex-shrink: 0;
}

.injector-browser-body {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
  background: #fafcff;
  color: #334155;
}

.injector-crumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 16px 24px 0;
  font-size: 11px;
  color: #64748b;
  font-family: var(--font-mono);
}

.injector-portal-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 24px 14px;
  border-bottom: 1px solid rgba(8, 51, 110, 0.08);
}

.injector-portal-heading h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
  color: #0f172a;
}

.injector-portal-meta {
  margin-top: 6px;
  font-size: 11px;
  color: #64748b;
  font-family: var(--font-mono);
}

.injector-portal-actions {
  display: flex;
  gap: 8px;
}

.injector-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(8, 51, 110, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  color: #475569;
  font-size: 11px;
  font-weight: 600;
}

.injector-form-tabs {
  display: flex;
  gap: 8px;
  padding: 12px 24px 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.injector-form-tab {
  border: 1px solid transparent;
  background: transparent;
  color: #64748b;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.injector-form-tab.active {
  background: rgba(112, 163, 245, 0.12);
  border-color: rgba(112, 163, 245, 0.22);
  color: #365fca;
}

.injector-form-surface {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 16px 24px 20px;
}

.injector-section {
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(8, 51, 110, 0.08);
}

.injector-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.injector-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.injector-section-title {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}

.injector-section-meta {
  font-size: 9px;
  color: rgba(100, 116, 139, 0.78);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.injector-field-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 14px 18px;
}

.injector-field {
  min-width: 0;
}

.injector-field.wide {
  grid-column: 1 / -1;
}

.injector-field-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
  font-size: 10px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.injector-field-value {
  min-height: 42px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid rgba(8, 51, 110, 0.08);
  background: #ffffff;
  color: #0f172a;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.injector-field-value.empty {
  color: #94a3b8;
  font-family: var(--font-mono);
}

.injector-field-value.injected {
  color: #15803d;
  background: rgba(21, 128, 61, 0.05);
  border-color: rgba(21, 128, 61, 0.18);
}

.injector-field-value.queued {
  display: grid;
  align-content: center;
  gap: 6px;
  color: #1f3c88;
  background: linear-gradient(180deg, rgba(75, 114, 232, 0.06), rgba(255, 255, 255, 0.96));
  border-color: rgba(75, 114, 232, 0.16);
}

.injector-field-value.blocked {
  color: #dc2626;
  background: rgba(239, 68, 68, 0.05);
  border-color: rgba(239, 68, 68, 0.18);
}

.injector-field-main {
  display: block;
  width: 100%;
  color: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.injector-field-sub {
  display: block;
  width: 100%;
  font-size: 10px;
  color: #64748b;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.injector-tag-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.injector-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(8, 51, 110, 0.04);
  color: #526072;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.injector-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 24px 20px;
  border-top: 1px solid rgba(8, 51, 110, 0.08);
}

.injector-submit-note {
  font-size: 11px;
  color: #64748b;
  font-family: var(--font-mono);
}

.injector-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border: none;
  border-radius: 999px;
  background: #e2e8f0;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
  cursor: not-allowed;
  transition: all 0.3s ease;
}

.injector-submit-btn.ready {
  background: var(--accent);
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(75, 114, 232, 0.18);
}

/* ===== GHOST INJECTOR V2 (HIGH FI P0 MERGE) ===== */
.demo-v2-container {
  --v2-bg: rgba(255, 255, 255, 0.6);
  --v2-bg-soft: rgba(255, 255, 255, 0.4);
  --v2-line: rgba(0, 0, 0, 0.08);
  /* Darker line for white bg */
  --v2-text: #0b0d12;
  /* Dark text */
  --v2-muted: rgba(11, 13, 18, 0.72);
  --v2-cold: #4b72e8;
  --v2-cold-strong: #4b72e8;
  --v2-good: #15803d;
  /* Dark green for success text */
  --v2-warn: #fbbf24;
  --v2-danger: #ef4444;
  --v2-glow: radial-gradient(circle at top, rgba(75, 114, 232, 0.08), transparent 44%);
  --v2-spring: 180ms cubic-bezier(0.2, 0.8, 0.2, 1);

  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  color: var(--v2-text);
  font-family: var(--font-sans);
  position: relative;
  border: none;
  box-shadow: 0 20px 60px rgba(16, 24, 40, 0.08);
}

.demo-v2-container::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: var(--v2-glow);
  opacity: 0.95;
}

.demo-v2-app {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 18px 22px 16px;
  position: relative;
  z-index: 1;
}

.demo-v2-rail {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 12px 0 14px;
}

.demo-v2-head-controls,
.demo-v2-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.demo-v2-title {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: max-content;
}

.demo-v2-mark {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #fff 0%, #cbe0ff 15%, #7ab0ff 40%, #3b82f6 75%, #1d4ed8 100%);
  box-shadow: inset -1px -1px 3px rgba(30, 58, 138, 0.35), inset 0.5px 0.5px 1.5px rgba(255, 255, 255, 0.9), 0 1px 3px rgba(59, 130, 246, 0.25);
  flex-shrink: 0;
}

.demo-v2-container h1 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.demo-v2-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 40px;
  min-width: 124px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.055);
  color: var(--v2-muted);
  box-sizing: border-box;
}

.demo-v2-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.2);
  transition: all var(--v2-spring);
}

.demo-v2-status.running .demo-v2-dot {
  background: var(--v2-cold-strong);
  box-shadow: 0 0 16px rgba(75, 114, 232, 0.42), 0 0 30px rgba(75, 114, 232, 0.22);
  animation: v2-pulse 1.5s infinite;
}

.demo-v2-status.ready .demo-v2-dot,
.demo-v2-status.success .demo-v2-dot {
  background: var(--v2-good);
  box-shadow: 0 0 14px rgba(159, 231, 194, 0.56);
}

.demo-v2-status-text {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  color: var(--v2-text);
  white-space: nowrap;
}

.demo-v2-btn {
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.demo-v2-btn:hover {
  transform: translateY(-1px);
}

.demo-v2-btn:active {
  transform: translateY(0);
}

.demo-v2-btn[disabled] {
  opacity: 0.5;
  pointer-events: none;
}

.demo-v2-primary {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid rgba(112, 163, 245, 0.18);
  outline: none;
  height: 40px;
  min-width: 96px;
  padding: 0 18px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--accent);
  box-shadow: 0 14px 30px rgba(75, 114, 232, 0.2);
  cursor: pointer;
}

.demo-v2-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 18px 34px rgba(54, 88, 202, 0.22);
}

.demo-v2-ghost-btn {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid rgba(8, 51, 110, 0.12);
  outline: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  min-width: 96px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--v2-text);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 18px rgba(75, 114, 232, 0.08);
  cursor: pointer;
  line-height: 1;
  box-sizing: border-box;
}

.demo-v2-ghost-btn:hover {
  color: var(--v2-text);
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(112, 163, 245, 0.24);
}

.demo-v2-primary:focus-visible,
.demo-v2-ghost-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(112, 163, 245, 0.16), 0 14px 30px rgba(75, 114, 232, 0.12);
}

.demo-v2-main {
  display: flex;
  flex: 1;
  min-height: 0;
  flex-direction: column;
  margin-top: 0;
  border-top: 1px solid var(--v2-line);
  padding-top: 8px;
}

.demo-v2-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  min-height: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.demo-v2-strip.visible {
  min-height: 34px;
  max-height: 100px;
  opacity: 1;
  padding: 8px 0 2px;
  border-color: transparent;
}

.demo-v2-strip.trace {
  color: var(--v2-cold);
  align-items: flex-start;
}

.demo-v2-strip.receipt {
  color: var(--v2-good);
}

.demo-v2-strip-copy {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.demo-v2-strip-code {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(11, 13, 18, 0.52);
}

.demo-v2-field {
  display: grid;
  grid-template-columns: minmax(112px, 0.82fr) minmax(0, 1.72fr) minmax(96px, auto);
  gap: 10px 12px;
  align-items: start;
  min-height: 64px;
  padding: 12px 0;
  position: relative;
}

.demo-v2-field+.demo-v2-field {
  border-top: 1px solid var(--v2-line);
}

.demo-v2-field.scanning::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(98, 169, 255, 0.1) 50%, transparent 100%);
  transform: translateX(-110%);
  animation: v2-scan 1s linear infinite;
  pointer-events: none;
}

.demo-v2-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.demo-v2-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--v2-text);
}

.demo-v2-role {
  font-size: 10px;
  color: rgba(11, 13, 18, 0.68);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.demo-v2-slot {
  font-size: 13px;
  color: var(--v2-text);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
  min-height: 40px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(11, 13, 18, 0.04);
  border: 1px solid rgba(11, 13, 18, 0.06);
  overflow: hidden;
  /* CRITICAL: allows grid item to shrink strictly to its 1fr bound */
}

/* Force truncation overrides on the spans to stop them from expanding horizontally */
html body:not(.lang-zh-active) .demo-v2-slot>span.lang-en,
html body.lang-zh-active .demo-v2-slot>span.lang-zh {
  display: block !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.demo-v2-slot.empty {
  color: rgba(11, 13, 18, 0.46);
}

.demo-v2-slot.queued {
  display: grid;
  align-content: center;
  gap: 6px;
  color: #2c57cf;
  background: linear-gradient(180deg, rgba(75, 114, 232, 0.07), rgba(255, 255, 255, 0.94));
  border-color: rgba(75, 114, 232, 0.18);
}

.demo-v2-slot.injected {
  color: var(--v2-good);
  background: rgba(21, 128, 61, 0.07);
  border-color: rgba(21, 128, 61, 0.18);
}

.demo-v2-slot.blocked {
  color: var(--v2-danger);
  background: rgba(239, 68, 68, 0.06);
  border-color: rgba(239, 68, 68, 0.18);
}

.demo-v2-slot-main {
  display: block;
  width: 100%;
  min-width: 0;
  color: inherit;
  line-height: 1.45;
  white-space: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.demo-v2-slot-main::-webkit-scrollbar {
  display: none;
}

.demo-v2-slot-meta {
  display: block;
  width: 100%;
  min-width: 0;
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(11, 13, 18, 0.52);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.demo-v2-tag {
  border: none;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 11px;
  color: var(--v2-cold);
  background: rgba(75, 114, 232, 0.12);
  cursor: pointer;
}

.demo-v2-hint-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 32px;
  padding: 2px 0 8px;
  color: rgba(11, 13, 18, 0.72);
  font-size: 12px;
}

.demo-v2-hint-meta {
  color: rgba(11, 13, 18, 0.48);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.demo-v2-signal-wrap {
  position: relative;
  margin: 10px -2px 2px;
}

.demo-v2-signal-wrap::before,
.demo-v2-signal-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 16px;
  pointer-events: none;
  z-index: 1;
}

.demo-v2-signal-wrap::before {
  left: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0));
}

.demo-v2-signal-wrap::after {
  right: 0;
  background: linear-gradient(270deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0));
}

.demo-v2-signal-belt {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 2px 8px;
  scrollbar-width: none;
}

.demo-v2-signal {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(11, 13, 18, 0.05);
  border: 1px solid transparent;
  color: rgba(11, 13, 18, 0.56);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--font-mono);
  white-space: nowrap;
}

.demo-v2-signal.active {
  color: var(--v2-cold);
  background: rgba(75, 114, 232, 0.1);
  border-color: rgba(75, 114, 232, 0.16);
}

.row-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.demo-v2-footer {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--v2-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--v2-muted);
  font-size: 10px;
  letter-spacing: 1px;
  font-family: var(--font-mono);
}

@keyframes v2-pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.3);
  }
}

@keyframes v2-scan {
  from {
    transform: translateX(-110%);
  }

  to {
    transform: translateX(110%);
  }
}

@media (max-width: 1200px) {
  .injector-workspace {
    flex-direction: column;
  }

  .injector-synapse-shell {
    min-width: 0;
  }

  .injector-field-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== COMPLEX MOCK TABLE ===== */
.mock-table-container {
  overflow-x: auto;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

/* ===== PRODUCT MATRIX TABLE ===== */
.matrix-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  font-size: 15px;
  color: var(--text-primary);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border);
}

.matrix-table th {
  padding: 24px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-secondary);
}

.matrix-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.matrix-table tr:last-child td {
  border-bottom: none;
}

.matrix-table th:first-child,
.matrix-table td:first-child {
  text-align: left;
}

.matrix-table th:not(:first-child),
.matrix-table td:not(:first-child) {
  text-align: center;
}


.mock-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
  text-align: left;
}

.mock-table th {
  background: #f8fafc;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px 12px;
  border-bottom: 1px solid #e2e8f0;
  white-space: nowrap;
}

.mock-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
  transition: all 0.3s ease;
}

.mock-table tr:last-child td {
  border-bottom: none;
}

.mock-td-static {
  font-weight: 500;
}

.mock-td-static-blur {
  color: #cbd5e1;
  filter: blur(2px);
  user-select: none;
}

.mock-table td.empty {
  color: #94a3b8;
  font-family: var(--font-mono);
}

.mock-table td.injected {
  color: var(--v2-good, #15803d);
  /* Use green */
  font-family: var(--font-mono);
  font-weight: 600;
  background: rgba(21, 128, 61, 0.05);
}

.mock-table td.aurora-glow {
  animation: cell-pulse 1.5s infinite;
  border-radius: 2px;
}

@keyframes cell-pulse {
  0% {
    background: transparent;
  }

  50% {
    background: rgba(112, 163, 245, 0.1);
  }

  100% {
    background: transparent;
  }
}

/* ===== GHOST OVERLAY INJECTIONS ===== */
.mock-td {
  position: relative;
}

.ghost-overlay {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 10;
  font-family: var(--font-mono);
  font-size: 11px;
}

.ghost-overlay.visible {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.ghost-overlay.injecting {
  opacity: 0;
  transform: translateY(-50%) translateX(10px);
}

.ghost-value {
  color: var(--accent);
  background: rgba(112, 163, 245, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px dashed rgba(112, 163, 245, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 0 10px rgba(112, 163, 245, 0.1);
}

.ghost-source {
  font-size: 9px;
  color: var(--text-muted);
  background: var(--bg-card);
  padding: 2px 4px;
  border-radius: 3px;
  border: 1px solid var(--border);
}

/* ===== ARCHITECTURE MOAT ===== */
.arch-moat {
  position: relative;
  z-index: 10;
  max-width: 1080px;
  margin: 60px auto 100px;
  padding: 0 24px;
}

.arch-moat-inner {
  background: var(--bg-secondary);
  border-radius: 20px;
  padding: 60px 40px;
  color: var(--text-primary);
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(50px) saturate(200%);
  -webkit-backdrop-filter: blur(50px) saturate(200%);
  border: 1px solid var(--border);
}

.arch-moat-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.arch-moat-inner .section-title {
  color: var(--text-primary);
  margin-bottom: 20px;
  font-weight: 500;
  letter-spacing: -0.5px;
}

.arch-desc {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 60px;
  font-size: 15px;
  line-height: 1.6;
}

.arch-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 20px;
}

.arch-node {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  flex: 1;
  min-width: 180px;
  max-width: 240px;
  text-align: center;
  position: relative;
  transition: all 0.4s ease;
}

.arch-node:hover {
  background: #ffffff;
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px var(--accent-dim);
}

.arch-node.center-node {
  border-color: var(--accent);
  background: var(--accent-dim);
}

.arch-icon {
  margin-bottom: 16px;
  color: var(--accent);
}

.arch-icon .lucide {
  width: 24px;
  height: 24px;
  stroke-width: 1.5;
}

.arch-title {
  font-weight: 500;
  font-size: 15px;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: 0.2px;
}

.arch-meta {
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  line-height: 1.5;
}

.arch-path {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 80px;
}

.arch-line {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  position: relative;
}

.arch-line::after {
  content: '';
  position: absolute;
  top: -1.5px;
  left: 0;
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
  animation: data-flow 2s infinite linear;
}

.arch-signal {
  font-size: 10px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 6px 0;
}

.arch-bottom-line {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-secondary);
  font-style: italic;
  letter-spacing: 0.1px;
}

@keyframes data-flow {
  0% {
    left: 0;
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    left: 100%;
    opacity: 0;
  }
}

@media (max-width: 900px) {
  .arch-diagram {
    flex-direction: column;
  }

  .arch-path {
    width: 2px;
    height: 40px;
    flex-direction: row;
  }

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

  .arch-line::after {
    top: 0;
    left: -1.5px;
    animation: data-flow-v 2s infinite linear;
  }

  .arch-signal {
    writing-mode: vertical-rl;
    margin: 0 8px;
  }
}

@keyframes data-flow-v {
  0% {
    top: 0;
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    top: 100%;
    opacity: 0;
  }
}

/* ===== TARGET AUDIENCE BANNER ===== */
.target-audience-banner {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 20px;
  text-align: center;
  font-size: 14px;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
  margin-bottom: 80px;
  overflow: hidden;
  white-space: nowrap;
}

.target-audience-banner strong {
  color: var(--text-primary);
  font-weight: 500;
  letter-spacing: 0px;
}

/* ===== COMPARISON SECTION ===== */
.comparison-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px 100px;
}

.comparison-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 40px;
}

.comp-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 10px;
}

.comp-card {
  padding: 32px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.3s ease;
}

.comp-card.is-pain {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  opacity: 0.6;
}

.comp-card.is-mine {
  background: var(--background);
  border: 1px solid rgba(61, 98, 220, 0.2);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.comp-card.is-mine::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.5;
}

.comp-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
}

.comp-card.is-mine .comp-icon {
  background: var(--accent-dim);
  color: var(--accent);
}

.comp-icon .lucide {
  width: 20px;
  height: 20px;
}

.comp-content h4 {
  font-size: 20px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.comp-card.is-mine h4 {
  color: #fff;
}

.comp-content p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .comp-col {
    grid-template-columns: 1fr;
  }

  .target-audience-banner {
    font-size: 13px;
    white-space: normal;
    line-height: 1.8;
  }
}
