/* Zyga - Plain CSS Version */
/* Base reset and fonts */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.5;
  color: #111827;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 25vh;
  background: linear-gradient(
    180deg,
    rgba(124, 58, 237, 0.06) 0%,
    rgba(139, 92, 246, 0.03) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  pointer-events: none;
  z-index: 49;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

img {
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
}

input {
  font-family: inherit;
}

/* Utility classes */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-1 { gap: 4px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }
.gap-12 { gap: 48px; }

.text-center { text-align: center; }
.text-right { text-align: right; }

/* Colors */
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }
.text-gray-700 { color: #374151; }
.text-gray-900 { color: #111827; }
.text-white { color: #fff; }
.text-violet-500 { color: #7c3aed; }
.text-violet-600 { color: #7c3aed; }
.text-indigo-600 { color: #4f46e5; }
.text-emerald-400 { color: #34d399; }
.text-emerald-500 { color: #10b981; }
.text-emerald-700 { color: #047857; }
.text-amber-400 { color: #fbbf24; }
.text-amber-500 { color: #f59e0b; }
.text-rose-500 { color: #f43f5e; }
.text-indigo-200 { color: #c7d2fe; }

.bg-white { background-color: #fff; }
.bg-gray-50 { background-color: #f9fafb; }
.bg-gray-100 { background-color: #f3f4f6; }
.bg-gray-200 { background-color: #e5e7eb; }
.bg-gray-800 { background-color: #1f2937; }
.bg-gray-900 { background-color: #111827; }
.bg-beige { background-color: #f6f5f3; }
.bg-violet-50 { background-color: #f5f3ff; }
.bg-violet-100 { background-color: #ede9fe; }
.bg-emerald-100 { background-color: #d1fae5; }
.bg-blue-100 { background-color: #dbeafe; }

/* Border colors */
.border-gray-100 { border-color: #f3f4f6; }
.border-gray-200 { border-color: #e5e7eb; }
.border-beige { border-color: #e8e6e3; }
.border-violet-100 { border-color: #ede9fe; }

/* Font sizes */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1.2; }

.font-light { font-weight: 300; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.tracking-tight { letter-spacing: -0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.2em; }
.uppercase { text-transform: uppercase; }

/* Spacing */
.mb-1 { margin-bottom: 4px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mb-5 { margin-bottom: 20px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.mb-10 { margin-bottom: 40px; }
.mb-12 { margin-bottom: 48px; }
.mb-16 { margin-bottom: 64px; }
.mb-20 { margin-bottom: 80px; }

.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }

.ml-auto { margin-left: auto; }

.p-2 { padding: 8px; }
.p-3 { padding: 12px; }
.p-4 { padding: 16px; }
.p-5 { padding: 20px; }
.p-6 { padding: 24px; }
.p-8 { padding: 32px; }

.px-2 { padding-left: 8px; padding-right: 8px; }
.px-3 { padding-left: 12px; padding-right: 12px; }
.px-4 { padding-left: 16px; padding-right: 16px; }
.px-5 { padding-left: 20px; padding-right: 20px; }
.px-6 { padding-left: 24px; padding-right: 24px; }
.px-8 { padding-left: 32px; padding-right: 32px; }

.py-1 { padding-top: 4px; padding-bottom: 4px; }
.py-2 { padding-top: 8px; padding-bottom: 8px; }
.py-3 { padding-top: 12px; padding-bottom: 12px; }
.py-4 { padding-top: 16px; padding-bottom: 16px; }
.py-5 { padding-top: 20px; padding-bottom: 20px; }
.py-6 { padding-top: 24px; padding-bottom: 24px; }

.pt-8 { padding-top: 32px; }

/* Border radius */
.rounded { border-radius: 4px; }
.rounded-lg { border-radius: 8px; }
.rounded-xl { border-radius: 12px; }
.rounded-2xl { border-radius: 16px; }
.rounded-3xl { border-radius: 24px; }
.rounded-full { border-radius: 9999px; }

/* Shadows */
.shadow-sm { box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); }
.shadow-md { box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); }

/* Borders */
.border { border: 1px solid; }
.border-t { border-top: 1px solid; }
.border-b { border-bottom: 1px solid; }
.border-r { border-right: 1px solid; }

/* Transitions */
.transition {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
}

.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

/* ============================================
   HEADER STYLES - Artikle Style
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  overflow: visible;
}

.header-desktop {
  display: none;
  overflow: visible;
}

/* Header container */
.header-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 50px;
  overflow: visible;
  width: 100%;
}

/* Floating nav pill - fixed size, background expands via pseudo-element */
.header-pill {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 10px;
  border-radius: 9999px;
  overflow: visible;
  /* Ensure nav is centered in viewport */
  margin: 0 auto;
}

/* Background pseudo-element that expands on scroll */
.header-pill::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: transparent;
  border-radius: 9999px;
  border: 1px solid transparent;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

/* After scroll - background expands */
.header-main.scrolled .header-pill::before {
  top: 15px;
  bottom: 15px;
  left: -180px;
  right: -180px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 4px 16px 0 rgb(0 0 0 / 0.1);
}

/* Keep same padding on scroll to prevent vertical shift */
.header-main.scrolled .header-pill {
  padding: 10px 10px;
}

/* Logo - absolute positioned, doesn't affect layout */
.header-logo-slide {
  position: absolute;
  top: 50%;
  left: -180px;
  transform: translate(-100%, -50%);
  display: flex;
  align-items: center;
  opacity: 1;
}

/* Separate transition rule */
.header-pill > a.header-logo-slide {
  transition: left 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.header-logo-slide img {
  height: 32px;
  width: auto;
  display: block;
}

/* On scroll, logo slides into the expanded background */
.header-main.scrolled .header-logo-slide {
  left: -80px;
  transform: translate(-100%, -50%);
}

/* CTA - absolute positioned, doesn't affect layout */
.header-cta-slide {
  position: absolute;
  top: 50%;
  right: -180px;
  transform: translate(100%, -50%);
  margin-top: 35px;
  white-space: nowrap;
  opacity: 1;
}

/* Separate transition rule with high specificity */
.header-pill > a.header-cta-slide {
  transition: right 0.6s cubic-bezier(0.25, 0.1, 0.25, 1), background-color 0.15s;
}

/* On scroll, CTA slides into the expanded background */
.header-main.scrolled .header-cta-slide {
  right: -40px;
  transform: translate(100%, -50%);
}

/* Separators - hidden */
.header-separator {
  display: none;
}


/* Nav links in pill - centered in viewport */
.header-pill-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  /* Nav width is fixed so it doesn't shift */
  flex-shrink: 0;
  /* Offset to the right */
  margin-left: 100px;
}

/* Before scroll - plain text buttons */
.header-pill-nav a {
  padding: 8px 18px;
  font-size: 0.95rem;
  font-weight: 300;
  border-radius: 9999px;
  transition: color 0.15s;
  color: #6b7280;
  background: transparent;
  /* Reserve space for bold text to prevent layout shift */
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Invisible bold text to reserve width */
.header-pill-nav a::after {
  content: attr(data-text);
  font-weight: 500;
  height: 0;
  visibility: hidden;
  overflow: hidden;
  pointer-events: none;
}

.header-pill-nav a:hover {
  color: #111827;
  font-weight: 400;
  background: transparent;
}

.header-pill-nav a.active {
  color: #111827;
  font-weight: 500;
  background: transparent;
  pointer-events: none;
  cursor: default;
}

/* After scroll - same hover behavior as normal state */
.header-main.scrolled .header-pill-nav a:hover {
  color: #111827;
  font-weight: 400;
  background: transparent;
}

.header-main.scrolled .header-pill-nav a.active {
  background: transparent;
  color: #111827;
  font-weight: 600;
}

.header-logo img {
  height: 32px;
  width: auto;
}

.btn-primary {
  padding: 8px 20px;
  font-size: 0.875rem;
  font-weight: 500;
  background: #111827;
  color: #fff;
  border-radius: 9999px;
  transition: background-color 0.15s;
}

.btn-primary:hover {
  background: #1f2937;
}

/* Header CTA wrapper with space hint */
.header-cta-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.space-hint {
  font-size: 0.75rem;
  color: #9ca3af;
  display: flex;
  align-items: center;
  gap: 4px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.header-main.scrolled .space-hint {
  opacity: 1;
}

.space-key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.7rem;
  font-weight: 500;
  color: #6b7280;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.btn-primary-lg {
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 600;
  background: #111827;
  color: #fff;
  border-radius: 9999px;
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary-lg:hover {
  background: #1f2937;
}

.btn-secondary {
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 600;
  background: #f3f4f6;
  color: #374151;
  border-radius: 9999px;
  transition: background-color 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary:hover {
  background: #e5e7eb;
}

/* Legacy floating header styles removed - using Artikle style */

/* Mobile header */
.header-mobile {
  padding: 16px;
}

.header-mobile-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding: 0 16px;
  background: #fff;
  border-radius: 16px;
  transition: all 0.15s;
}

.header-mobile-bar.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-radius: 9999px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.header-mobile-bar .header-logo img {
  height: 28px;
}

.mobile-menu-btn {
  padding: 8px;
  color: #4b5563;
}

.mobile-menu-btn svg {
  width: 20px;
  height: 20px;
}

.mobile-menu {
  display: none;
  margin-top: 8px;
  padding: 16px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

.mobile-menu.open {
  display: block;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu nav a {
  display: block;
  padding: 10px 16px;
  font-size: 0.875rem;
  font-weight: 300;
  color: #6b7280;
  border-radius: 8px;
  transition: all 0.15s;
}

.mobile-menu nav a:hover {
  background: #f3f4f6;
  color: #111827;
}

.mobile-menu nav a.active {
  background: #e5e7eb;
  color: #111827;
  font-weight: 500;
}

.mobile-menu-cta {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #f3f4f6;
}

.mobile-menu-cta .btn-primary {
  display: block;
  width: 100%;
  text-align: center;
  padding: 10px 20px;
}

/* ============================================
   HERO SECTION - Artikle Style
   ============================================ */
.hero-main {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-main-subpage {
  padding-top: 180px;
}

/* Subtle gradient background - minimal cool tones */
.hero-main-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(
    180deg,
    rgba(243, 244, 246, 0.8) 0%,
    rgba(249, 250, 251, 0.4) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  pointer-events: none;
}

/* Subtle cool accent at top-right */
.hero-main-bg::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -50px;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(124, 58, 237, 0.06) 0%,
    rgba(124, 58, 237, 0) 70%
  );
  pointer-events: none;
}

/* Subtle purple accent at top-left */
.hero-main-bg::after {
  content: '';
  position: absolute;
  top: -50px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(124, 58, 237, 0.05) 0%,
    rgba(124, 58, 237, 0) 70%
  );
  pointer-events: none;
}

.hero-main-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.425);
  border: 1px solid rgba(0,0,0,0.06);
  color: #374151;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 32px;
}

.hero-badge img {
  width: 16px;
  height: 16px;
  margin: 0 2px;
}

.hero-badge-icon {
  width: 14px;
  height: 14px;
  vertical-align: middle;
}

/* Email form in hero */
.hero-email-form {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-email-input-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 9999px;
  min-width: 300px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: all 0.2s;
}

.hero-email-input-wrapper:focus-within {
  border-color: #111827;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.hero-email-input-wrapper svg {
  color: #9ca3af;
  flex-shrink: 0;
}

.hero-email-input-wrapper input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.875rem;
  color: #111827;
  width: 100%;
}

.hero-email-input-wrapper input::placeholder {
  color: #9ca3af;
}

/* Hero space hint */
.hero-space-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.85rem;
  color: #9ca3af;
}

.hero-space-hint .space-key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 10px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 500;
  color: #6b7280;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

/* Inline space hint - next to CTA buttons */
.inline-space-hint {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  color: #9ca3af;
  white-space: nowrap;
}

.inline-space-hint .space-key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.7rem;
  font-weight: 500;
  color: #6b7280;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

/* Hero CTA row - form centered, hint to the right */
.hero-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero-cta-row .hero-email-form {
  margin-top: 0;
}

/* CTA row - form centered, hint to the right */
.cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Button with timer bar */
.btn-primary-lg,
.btn-primary,
.cta-form button {
  position: relative;
  overflow: hidden;
}

.btn-timer-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: rgba(255, 255, 255, 0.5);
  transition: none;
}

.btn-timer-bar.active {
  animation: timerProgress 3s linear forwards;
}

@keyframes timerProgress {
  from { width: 0; }
  to { width: 100%; }
}

/* Input highlight animation */
.hero-email-input-wrapper.highlight {
  animation: inputHighlight 1.5s ease-out;
}

@keyframes inputHighlight {
  0% {
    box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.4);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(124, 58, 237, 0.1);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(124, 58, 237, 0);
  }
}

/* CTA input highlight animation */
.cta-input-wrapper.highlight {
  animation: inputHighlight 1.5s ease-out;
  border-radius: 12px;
}

/* Social proof stats */
.hero-social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 64px;
  padding-top: 56px;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.hero-social-stat {
  font-size: 1.1rem;
  color: #6b7280;
}

.hero-social-stat strong {
  color: #111827;
  font-weight: 700;
  font-size: 1.25rem;
}

.hero-social-divider {
  color: #d1d5db;
  font-size: 1.25rem;
}

.hero h1, .hero-main h1 {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
  line-height: 1.15;
  color: #111827;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #4b5563;
  margin-bottom: 40px;
  max-width: 670px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.hero-buttons {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 24px;
  font-size: 0.875rem;
  color: #6b7280;
}

.hero-trust span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ============================================
   SECTION STYLES
   ============================================ */
section {
  padding: 80px 24px;
}

.section-beige {
  background: #f9f8f6;
}

.section-white {
  background: #fff;
}

/* Desktop padding for sections - will be overridden on mobile */
.section-padding-desktop {
  padding: 96px 24px;
}

@media (min-width: 768px) {
  .section-padding-desktop {
    padding-left: 150px;
    padding-right: 150px;
  }
}

.section-dark {
  background: #111827;
}

/* ===========================================
   COLOR SYSTEM FOR CARDS & ILLUSTRATIONS
   - Light beige: #f9f8f6
   - Darker beige: #f3f2ee
   - Light gray: #f5f5f4
   =========================================== */

/* Beige section: white cards, gray illustrations */
.section-beige .bento-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
}

.section-beige .bento-card .bento-icon {
  background: #f5f5f4;
}

/* White section: beige cards, contrasting beige illustrations */
.section-white .bento-card {
  background: #f9f8f6;
  border: 1px solid rgba(0,0,0,0.04);
}

.section-white .bento-card .bento-icon {
  background: #f3f2ee;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 80px;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.section-title {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.section-title .highlight {
  color: #7c3aed;
}

/* ============================================
   BENTO GRID
   ============================================ */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.bento-card {
  background: #fff;
  border-radius: 24px;
  padding: 32px;
  border: 1px solid rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
}

.bento-card.span-2 {
  grid-column: span 2;
}

.bento-card.span-3 {
  grid-column: span 3;
}

.bento-card.compact {
  padding: 24px;
}

.bento-card.featured {
  background: #fafafa;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.bento-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #f5f5f4;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.bento-icon svg {
  width: 20px;
  height: 20px;
  color: #4b5563;
}

.bento-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
}

.bento-card p {
  font-size: 0.875rem;
  color: #4b5563;
}

/* Bento row layout - 2 cards horizontal */
.bento-row {
  display: flex;
  gap: 16px;
}

.bento-row .bento-card {
  min-height: 0;
}

.bento-row .bento-card.narrow {
  flex: 0 0 38%;
}

.bento-row .bento-card.wide {
  flex: 1;
}

/* Lead scoring card visual - in beige section with white card */
.lead-scoring {
  background: #f5f5f4;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.06);
  padding: 16px;
  margin-top: 16px;
}

.lead-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: 8px;
  background: #fff;
  margin-bottom: 8px;
}

.lead-item:last-child {
  margin-bottom: 0;
}

.lead-avatar {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #4b5563;
}

.lead-name {
  flex: 1;
  font-size: 0.875rem;
  font-weight: 500;
  color: #111827;
}

.lead-score {
  font-size: 0.75rem;
  color: #6b7280;
}

.lead-tag {
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 4px;
  background: #e5e7eb;
  color: #4b5563;
  font-weight: 500;
}

/* Message preview card */
.message-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.message-preview-card {
  background: #f3f2ee;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.04);
  padding: 16px;
  max-width: 340px;
}

.message-text {
  background: #fff;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 12px;
}

.message-text p {
  font-size: 0.875rem;
  color: #374151;
  line-height: 1.625;
}

.message-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.message-quality {
  font-size: 0.75rem;
  color: #6b7280;
}

.message-approve {
  padding: 6px 12px;
  font-size: 0.75rem;
  background: #111827;
  color: #fff;
  border-radius: 8px;
}

/* Training sources tags */
.training-sources {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.training-tag {
  padding: 6px 12px;
  background: rgba(139, 92, 246, 0.1);
  border-radius: 6px;
  font-size: 0.75rem;
  color: #7c3aed;
  font-weight: 500;
}

/* Channel actions */
.channel-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.channel-action {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #f3f2ee;
  border-radius: 8px;
  font-size: 0.8rem;
}

.channel-action-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
}

.channel-action-icon.email {
  background: #dbeafe;
  color: #2563eb;
}

.channel-action-icon.linkedin {
  background: #dbeafe;
  color: #0077b5;
}

.channel-action-icon.dm {
  background: #e0e7ff;
  color: #4f46e5;
}

.channel-action span:nth-child(2) {
  flex: 1;
  color: #374151;
}

.channel-action-stat {
  font-size: 0.7rem;
  color: #10b981;
  font-weight: 500;
}

/* Compact conversation thread */
.conversation-thread.compact {
  margin-top: 16px;
  padding: 10px;
  gap: 8px;
}

.conversation-thread.compact .conversation-message {
  padding: 8px 10px;
  margin-bottom: 6px;
}

.conversation-thread.compact .conversation-message p {
  font-size: 0.75rem;
}

.conversation-thread.compact .ai-sparkle {
  font-size: 0.7rem;
  margin-right: 4px;
}

/* AI decisions card */
.ai-decisions-card {
  background: #f3f2ee;
  border-radius: 12px;
  padding: 16px;
}

.ai-decision-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: #fff;
  border-radius: 8px;
  margin-bottom: 8px;
}

.ai-decision-item:last-child {
  margin-bottom: 0;
}

.ai-decision-item.highlight {
  background: linear-gradient(90deg, #f5f3ff 0%, #fff 100%);
  border: 1px solid #ede9fe;
}

.decision-level {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #9ca3af;
  min-width: 60px;
}

.decision-action {
  font-size: 0.8rem;
  color: #374151;
}

.ai-decision-item.highlight .decision-level {
  color: #7c3aed;
}

/* Company card - in white section with beige card */
.company-card {
  background: #f3f2ee;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.04);
  padding: 12px;
  margin-top: 16px;
}

.company-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.company-threads {
  display: flex;
  gap: 8px;
}

.thread-item {
  flex: 1;
  padding: 8px;
  border-radius: 8px;
  background: #fff;
  text-align: center;
}

.thread-role {
  font-size: 0.75rem;
  font-weight: 500;
  color: #374151;
}

.thread-status {
  font-size: 0.75rem;
  color: #9ca3af;
}

/* Task list card */
.task-list {
  background: #f3f2ee;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.04);
  padding: 12px;
  margin-top: 16px;
}

.task-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  background: #fff;
  border-radius: 8px;
  margin-bottom: 8px;
}

.task-item:last-child {
  margin-bottom: 0;
}

.task-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
}

.task-dot.high { background: #111827; }
.task-dot.medium { background: #6b7280; }
.task-dot.normal { background: #d1d5db; }

.task-text {
  font-size: 0.875rem;
  color: #374151;
}

/* ============================================
   TABS COMPONENT
   ============================================ */
.tabs-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.tabs-buttons {
  display: flex;
  gap: 8px;
}

.tab-btn {
  padding: 16px 28px;
  font-size: 1.0625rem;
  font-weight: 600;
  border-radius: 12px;
  background: #fff;
  color: #4b5563;
  transition: all 0.15s;
}

.tab-btn:hover {
  background: #f3f4f6;
}

.tab-btn.active {
  background: #111827;
  color: #fff;
}

.tabs-horizontal .tab-btn {
  border-radius: 9999px;
  background: #f3f4f6;
}

.tabs-horizontal .tab-btn.active {
  background: #111827;
  color: #fff;
}

.tab-content {
  display: none;
  background: #fff;
  border-radius: 24px;
  padding: 32px 40px;
}

.tab-content.active {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.tab-content-inner {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.tab-text {
  flex: 1;
}

.tab-text h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 12px;
}

.tab-text p {
  font-size: 1rem;
  color: #4b5563;
  margin-bottom: 16px;
}

.tab-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tab-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #4b5563;
}

.tab-visual {
  width: 340px;
  flex-shrink: 0;
}

/* AI Reasoning card - in beige section */
.ai-reasoning {
  background: #f5f5f4;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.06);
  padding: 20px;
}

.ai-reasoning-header {
  font-size: 0.75rem;
  font-weight: 500;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.ai-message {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #f3f4f6;
  padding: 16px;
  margin-bottom: 12px;
}

.ai-message:last-child {
  margin-bottom: 0;
}

.ai-message-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.ai-avatar {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #ede9fe;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #7c3aed;
  flex-shrink: 0;
}

.ai-message p {
  font-size: 0.875rem;
  color: #374151;
  line-height: 1.625;
}

.ai-message-time {
  font-size: 0.75rem;
  color: #9ca3af;
  margin-top: 8px;
  display: block;
}

/* Approval card */
.approval-card {
  background: #111827;
  border-radius: 16px;
  padding: 20px;
  color: #fff;
}

.approval-header {
  font-size: 0.75rem;
  font-weight: 500;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.approval-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  margin-bottom: 12px;
}

.approval-item:last-child {
  margin-bottom: 0;
}

.approval-item-info h4 {
  font-size: 0.875rem;
  font-weight: 500;
}

.approval-item-info span {
  font-size: 0.75rem;
  color: #9ca3af;
}

.approval-buttons {
  display: flex;
  gap: 8px;
}

.approval-edit {
  padding: 6px 12px;
  font-size: 0.75rem;
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-radius: 8px;
  transition: background 0.15s;
}

.approval-edit:hover {
  background: rgba(255,255,255,0.2);
}

.approval-approve {
  padding: 6px 12px;
  font-size: 0.75rem;
  background: #fff;
  color: #111827;
  border-radius: 8px;
  font-weight: 500;
}

/* Simulation card - in beige section */
.simulation-card {
  background: #f5f5f4;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.06);
  padding: 20px;
  margin-top: 16px;
}

.simulation-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.simulation-header svg {
  width: 16px;
  height: 16px;
  color: #6b7280;
}

.simulation-header span {
  font-size: 0.75rem;
  font-weight: 500;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.simulation-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}

.simulation-stat span {
  font-size: 0.875rem;
  color: #4b5563;
}

.simulation-stat strong {
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
}

/* Simulation conversation */
.simulation-conversation {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sim-message {
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff;
}

.sim-message.outbound {
  background: #fff;
  border: 1px solid #e5e7eb;
}

.sim-message.inbound {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
}

.sim-label {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #9ca3af;
  display: block;
  margin-bottom: 4px;
}

.sim-message.inbound .sim-label {
  color: #6b7280;
}

.sim-message p {
  font-size: 0.8rem;
  color: #374151;
  line-height: 1.4;
}

.simulation-footer {
  margin-top: 12px;
  text-align: center;
}

.sim-badge {
  font-size: 0.7rem;
  color: #6b7280;
  font-style: italic;
}

/* Instruct card - in beige section */
.instruct-card {
  background: #f5f5f4;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.06);
  padding: 20px;
}

.instruct-header {
  font-size: 0.75rem;
  font-weight: 500;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.instruct-message {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #f3f4f6;
  padding: 16px;
  margin-bottom: 12px;
}

.instruct-message.ai {
  background: #f5f3ff;
  border-color: #ede9fe;
}

.instruct-message-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.user-avatar {
  width: 24px;
  height: 24px;
  border-radius: 9999px;
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  font-weight: 500;
  color: #4b5563;
}

.ai-small-avatar {
  width: 24px;
  height: 24px;
  border-radius: 9999px;
  background: #ddd6fe;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  font-weight: 700;
  color: #7c3aed;
}

.instruct-time {
  font-size: 0.75rem;
  color: #9ca3af;
}

.instruct-message p {
  font-size: 0.875rem;
  color: #374151;
}

.instruct-input {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

.instruct-input input {
  flex: 1;
  padding: 10px 16px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  font-size: 0.875rem;
  outline: none;
}

.instruct-input input:focus {
  border-color: #7c3aed;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.instruct-input button {
  padding: 10px 16px;
  background: #111827;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 12px;
  transition: background 0.15s;
}

.instruct-input button:hover {
  background: #1f2937;
}

/* ============================================
   COMPARISON SECTION
   ============================================ */
.comparison-grid {
  display: grid;
  grid-template-columns: 3fr 3fr 6fr;
  gap: 24px;
}

.comparison-card {
  border-radius: 24px;
  padding: 24px;
}

.comparison-card.light {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
}

.comparison-card.dark {
  background: #111827;
  color: #fff;
  padding: 32px;
}

.comparison-label {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.comparison-card.light .comparison-label {
  color: #9ca3af;
}

.comparison-card.dark .comparison-label {
  color: #a78bfa;
}

.comparison-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.comparison-card.dark h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.comparison-tools {
  font-size: 0.75rem;
  color: #6b7280;
  margin-bottom: 20px;
}

.comparison-card.dark .comparison-tools {
  color: #9ca3af;
}

.comparison-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comparison-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.comparison-item svg {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

.comparison-item span {
  font-size: 0.875rem;
}

.comparison-card.light .comparison-item span {
  color: #4b5563;
}

.comparison-card.dark .comparison-item span {
  color: #e5e7eb;
}

.comparison-card.dark .comparison-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.comparison-card.dark .comparison-item svg {
  width: 20px;
  height: 20px;
}

.comparison-cta {
  margin-top: 32px;
}

.comparison-cta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #fff;
  color: #111827;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 9999px;
  transition: background 0.15s;
}

.comparison-cta a:hover {
  background: #f3f4f6;
}

/* ============================================
   AUDIENCE TABS
   ============================================ */
.audience-tabs .tabs-buttons {
  margin-bottom: 48px;
}

.audience-content {
  display: none;
  flex-direction: column;
  gap: 48px;
}

.audience-content.active {
  display: flex;
}

.audience-inner {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.audience-text {
  flex: 1;
  max-width: 576px;
}

.audience-text h3 {
  font-size: 1.875rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 16px;
}

.audience-text p {
  font-size: 1.125rem;
  color: #4b5563;
  margin-bottom: 32px;
}

.audience-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.audience-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.audience-feature svg {
  width: 20px;
  height: 20px;
  color: #7c3aed;
  flex-shrink: 0;
  margin-top: 2px;
}

.audience-feature span {
  color: #374151;
}

/* New Audience Tags Style */
.audience-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.audience-tag {
  display: inline-block;
  padding: 10px 16px;
  background: #f9f8f6;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 8px;
  font-size: 0.9rem;
  color: #374151;
  font-weight: 500;
}

.audience-visual {
  width: 400px;
  flex-shrink: 0;
}

/* New Audience Card Style */
.audience-card {
  background: #f9f8f6;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.04);
  padding: 24px;
}

.audience-card.featured {
  background: #fafafa;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.audience-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.audience-card-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.audience-card-badge {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 9999px;
  background: #f3f2ee;
  color: #6b7280;
}

.audience-card-badge.success {
  background: #d1fae5;
  color: #059669;
}

.audience-card-badge.magic {
  background: #ede9fe;
  color: #7c3aed;
}

.audience-card-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Thread rows for Sales tab */
.thread-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #fff;
  border-radius: 10px;
}

.thread-avatar {
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: #4b5563;
  flex-shrink: 0;
}

.thread-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.thread-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #111827;
}

.thread-role {
  font-size: 0.75rem;
  color: #6b7280;
}

.thread-status {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 6px;
  background: #f3f4f6;
  color: #6b7280;
}

.thread-status.replied {
  background: #d1fae5;
  color: #059669;
}

.thread-status.engaged {
  background: #fef3c7;
  color: #d97706;
}

.thread-status.pending {
  background: #f3f4f6;
  color: #6b7280;
}

/* Growth stats for Growth tab */
.growth-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: #fff;
  border-radius: 10px;
}

.growth-stat-info {
  display: flex;
  flex-direction: column;
}

.growth-stat-label {
  font-size: 0.75rem;
  color: #6b7280;
}

.growth-stat-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
}

.growth-stat-change {
  font-size: 0.75rem;
  font-weight: 500;
  color: #6b7280;
}

.growth-stat-change.highlight {
  color: #059669;
}

/* Activity rows for RevOps tab */
.activity-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  background: #fff;
  border-radius: 10px;
}

.activity-dot {
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  margin-top: 4px;
  flex-shrink: 0;
}

.activity-dot.approved {
  background: #10b981;
}

.activity-dot.auto {
  background: #f59e0b;
}

.activity-dot.ai {
  background: #7c3aed;
}

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

.activity-text span:first-child {
  font-size: 0.875rem;
  font-weight: 500;
  color: #111827;
}

.activity-meta {
  font-size: 0.75rem;
  color: #9ca3af;
}

/* Founder stats for Founders tab */
.founder-stat {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: rgba(255,255,255,0.7);
  border-radius: 12px;
}

.founder-stat-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: #7c3aed;
  min-width: 60px;
}

.founder-stat-label {
  font-size: 0.875rem;
  color: #4b5563;
}

/* Pipeline card - in white section */
.pipeline-card {
  background: #f3f2ee;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.04);
  padding: 24px;
}

.pipeline-header {
  font-size: 0.75rem;
  font-weight: 500;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.pipeline-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pipeline-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background: #fff;
  border-radius: 12px;
}

.pipeline-item-info h4 {
  font-size: 0.875rem;
  font-weight: 500;
  color: #111827;
}

.pipeline-item-info span {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
}

.pipeline-change {
  padding: 4px 12px;
  background: #d1fae5;
  color: #047857;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 9999px;
}

/* Metrics card */
.metrics-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  padding: 24px;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.metrics-header {
  font-size: 0.75rem;
  font-weight: 500;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

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

.metric-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.metric-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.metric-header span {
  font-size: 0.875rem;
  color: #4b5563;
}

.metric-value {
  display: flex;
  align-items: center;
  gap: 8px;
}

.metric-value strong {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
}

.metric-value .trend {
  color: #10b981;
  font-size: 0.875rem;
}

.metric-bar {
  height: 8px;
  background: #f3f4f6;
  border-radius: 9999px;
  overflow: hidden;
}

.metric-bar-fill {
  height: 100%;
  background: #7c3aed;
  border-radius: 9999px;
}

/* Activity log card */
.activity-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  padding: 24px;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.activity-header {
  font-size: 0.75rem;
  font-weight: 500;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.activity-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.activity-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  background: #f9fafb;
  border-radius: 12px;
}

.activity-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.activity-icon.approved { background: #d1fae5; }
.activity-icon.approved svg { color: #047857; }
.activity-icon.auto { background: #dbeafe; }
.activity-icon.auto svg { color: #2563eb; }
.activity-icon.ai { background: #ede9fe; }
.activity-icon.ai svg { color: #7c3aed; }

.activity-icon svg {
  width: 16px;
  height: 16px;
}

.activity-info {
  flex: 1;
  min-width: 0;
}

.activity-info h4 {
  font-size: 0.875rem;
  font-weight: 500;
  color: #111827;
}

.activity-info span {
  font-size: 0.75rem;
  color: #6b7280;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: 80px 24px 112px;
  background: #f6f5f3;
}

.cta-content {
  max-width: 768px;
  margin: 0 auto;
  text-align: center;
}

.cta-social-proof {
  font-size: 0.875rem;
  color: #9ca3af;
  margin-bottom: 32px;
}

.cta-social-proof strong {
  color: #4b5563;
  font-weight: 500;
}

.cta-title {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: #111827;
  margin-bottom: 24px;
}

.cta-title .subtitle {
  display: block;
  font-size: 3rem;
  color: #9ca3af;
}

.cta-description {
  font-size: 1.125rem;
  color: #4b5563;
  margin-bottom: 40px;
}

.cta-form {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cta-form input {
  flex: 1;
  padding: 16px 20px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 9999px;
  font-size: 1rem;
  color: #111827;
  outline: none;
}

.cta-form input::placeholder {
  color: #9ca3af;
}

.cta-form input:focus {
  border-color: #d1d5db;
  box-shadow: 0 0 0 3px #f3f4f6;
}

.cta-form button {
  padding: 16px 32px;
  background: #111827;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 9999px;
  transition: background 0.15s;
  white-space: nowrap;
}

.cta-form button:hover {
  background: #1f2937;
}

.cta-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #9ca3af;
}

.cta-hint span {
  font-size: 0.875rem;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
  padding: 80px 24px 112px;
  background: #fff;
}

.faq-container {
  max-width: 768px;
  margin: 0 auto;
}

.faq-header {
  text-align: center;
  margin-bottom: 64px;
}

.faq-header h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: #111827;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.15s;
}

.faq-item:hover {
  border-color: #d1d5db;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  text-align: left;
  background: none;
}

.faq-question span {
  font-weight: 600;
  color: #111827;
  padding-right: 16px;
}

.faq-question svg {
  width: 20px;
  height: 20px;
  color: #6b7280;
  flex-shrink: 0;
  transition: transform 0.15s;
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 24px 24px;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-answer p {
  color: #4b5563;
  line-height: 1.75;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #fff;
  padding: 0 25px 25px;
}

.footer-inner {
  background: #f6f5f3;
  border-radius: 24px;
  border: 1px solid #e8e6e3;
  padding: 64px 80px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand img {
  height: 32px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  background: #fff;
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  transition: all 0.15s;
}

.footer-social a:hover {
  color: #111827;
  border-color: #d1d5db;
}

.footer-social a svg {
  width: 16px;
  height: 16px;
}

.footer-links h4 {
  font-weight: 600;
  color: #111827;
  margin-bottom: 16px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.875rem;
  color: #6b7280;
  transition: color 0.15s;
}

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

.footer-placeholder {
  font-size: 0.875rem;
  color: #9ca3af;
  cursor: default;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid #e8e6e3;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom span {
  font-size: 0.875rem;
  color: #9ca3af;
}

/* ============================================
   HOW IT WORKS PAGE
   ============================================ */
.page-hero {
  padding-top: 160px;
  padding-bottom: 80px;
  background: #f6f5f3;
}

.page-hero-content {
  max-width: 768px;
  margin: 0 auto;
  text-align: center;
}

.page-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #111827;
  margin-bottom: 24px;
}

.page-hero p {
  font-size: 1.25rem;
  color: #4b5563;
  max-width: 672px;
  margin: 0 auto;
  line-height: 1.75;
}

/* Timeline */
.timeline {
  max-width: 1024px;
  margin: 0 auto;
  position: relative;
  padding-bottom: 80px;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, #e5e7eb, #d1d5db, #e5e7eb);
  display: none;
}

.timeline-steps {
  display: flex;
  flex-direction: column;
  gap: 96px;
}

.timeline-step {
  position: relative;
}

.timeline-step-number {
  display: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  z-index: 10;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

.timeline-step-number.blue { background: linear-gradient(to bottom right, #3b82f6, #06b6d4); }
.timeline-step-number.violet { background: linear-gradient(to bottom right, #7c3aed, #a855f7); }
.timeline-step-number.amber { background: linear-gradient(to bottom right, #f59e0b, #f97316); }
.timeline-step-number.pink { background: linear-gradient(to bottom right, #ec4899, #f43f5e); }
.timeline-step-number.emerald { background: linear-gradient(to bottom right, #10b981, #14b8a6); }
.timeline-step-number.indigo { background: linear-gradient(to bottom right, #6366f1, #7c3aed); }

.timeline-step-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.timeline-step-text {
  margin-bottom: 24px;
}

.timeline-step-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 12px;
}

.timeline-step-badge.blue { background: linear-gradient(to right, #3b82f6, #06b6d4); }
.timeline-step-badge.violet { background: linear-gradient(to right, #7c3aed, #a855f7); }
.timeline-step-badge.amber { background: linear-gradient(to right, #f59e0b, #f97316); }
.timeline-step-badge.pink { background: linear-gradient(to right, #ec4899, #f43f5e); }
.timeline-step-badge.emerald { background: linear-gradient(to right, #10b981, #14b8a6); }
.timeline-step-badge.indigo { background: linear-gradient(to right, #6366f1, #7c3aed); }

.timeline-step-mobile-number {
  display: flex;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.timeline-step-mobile-number.blue { background: linear-gradient(to bottom right, #3b82f6, #06b6d4); }
.timeline-step-mobile-number.violet { background: linear-gradient(to bottom right, #7c3aed, #a855f7); }
.timeline-step-mobile-number.amber { background: linear-gradient(to bottom right, #f59e0b, #f97316); }
.timeline-step-mobile-number.pink { background: linear-gradient(to bottom right, #ec4899, #f43f5e); }
.timeline-step-mobile-number.emerald { background: linear-gradient(to bottom right, #10b981, #14b8a6); }
.timeline-step-mobile-number.indigo { background: linear-gradient(to bottom right, #6366f1, #7c3aed); }

.timeline-step h3 {
  font-size: 1.875rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
}

.timeline-step .subtitle {
  color: #4f46e5;
  font-weight: 500;
  margin-bottom: 12px;
}

.timeline-step p {
  color: #4b5563;
  line-height: 1.75;
  margin-bottom: 24px;
}

.timeline-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.timeline-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #374151;
}

.timeline-feature svg {
  width: 16px;
  height: 16px;
  color: #9ca3af;
}

.timeline-feature span {
  font-size: 0.875rem;
}

/* Timeline visual cards */
.timeline-visual {
  background: #111827;
  border-radius: 16px;
  border: 1px solid #1f2937;
  padding: 24px;
}

.timeline-visual-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.timeline-visual-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-visual-icon svg {
  width: 16px;
  height: 16px;
}

.timeline-visual-icon.blue { background: rgba(59, 130, 246, 0.2); }
.timeline-visual-icon.blue svg { color: #60a5fa; }
.timeline-visual-icon.violet { background: rgba(139, 92, 246, 0.2); }
.timeline-visual-icon.violet svg { color: #a78bfa; }
.timeline-visual-icon.amber { background: rgba(245, 158, 11, 0.2); }
.timeline-visual-icon.amber svg { color: #fbbf24; }
.timeline-visual-icon.pink { background: rgba(236, 72, 153, 0.2); }
.timeline-visual-icon.pink svg { color: #f472b6; }
.timeline-visual-icon.emerald { background: rgba(16, 185, 129, 0.2); }
.timeline-visual-icon.emerald svg { color: #34d399; }
.timeline-visual-icon.indigo { background: rgba(99, 102, 241, 0.2); }
.timeline-visual-icon.indigo svg { color: #818cf8; }

.timeline-visual-title {
  color: #fff;
  font-weight: 500;
}

.timeline-visual-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.timeline-visual-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(31, 41, 55, 0.5);
  border-radius: 8px;
  border: 1px solid rgba(55, 65, 81, 0.5);
}

.timeline-visual-item svg {
  width: 16px;
  height: 16px;
  color: #9ca3af;
}

.timeline-visual-item span {
  flex: 1;
  font-size: 0.875rem;
  color: #d1d5db;
}

.timeline-visual-item .status {
  font-size: 0.75rem;
  color: #34d399;
}

/* Dark CTA section */
.dark-cta {
  padding: 80px 24px 112px;
  background: #111827;
}

.dark-cta-content {
  max-width: 672px;
  margin: 0 auto;
  text-align: center;
}

.dark-cta h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.dark-cta p {
  font-size: 1.125rem;
  color: #9ca3af;
  margin-bottom: 40px;
}

.dark-cta .btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: #fff;
  color: #111827;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 9999px;
  transition: background 0.15s;
}

.dark-cta .btn-white:hover {
  background: #f3f4f6;
}

/* Light CTA - white background variant */
.light-cta {
  padding: 80px 24px 112px;
  background: #ffffff;
}

.light-cta-content {
  max-width: 672px;
  margin: 0 auto;
  text-align: center;
}

.light-cta h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 16px;
}

.light-cta p {
  font-size: 1.125rem;
  color: #6b7280;
  margin-bottom: 40px;
}

.light-cta .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  font-size: 1rem;
}

.light-cta-form {
  display: flex;
  align-items: center;
  gap: 12px;
}

.light-cta-form input {
  flex: 1;
  padding: 16px 20px;
  border: 1px solid #e5e7eb;
  border-radius: 9999px;
  font-size: 1rem;
  color: #111827;
  background: #fff;
  transition: border-color 0.2s;
}

.light-cta-form input:focus {
  outline: none;
  border-color: #111827;
}

.light-cta-form input::placeholder {
  color: #9ca3af;
}

.light-cta-form .btn-primary {
  flex-shrink: 0;
}

/* Compare page CTA */
.compare-cta {
  margin: 0 25px 25px;
}

.compare-cta-inner {
  background: #f6f5f3;
  border-radius: 24px;
  padding: 80px 24px;
  border: 1px solid #e8e6e3;
  text-align: center;
}

.compare-cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.compare-cta h2 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #111827;
  margin-bottom: 16px;
}

.compare-cta p {
  font-size: 1.125rem;
  color: #4b5563;
  margin-bottom: 32px;
}

.compare-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================
   COMPARE PAGE
   ============================================ */
.compare-hero {
  margin: 0 15px;
  padding-top: 90px;
}

.compare-hero-inner {
  background: #f6f5f3;
  border-radius: 24px;
  min-height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  border: 1px solid #e8e6e3;
}

.compare-hero-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.compare-hero .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 9999px;
  background: rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.06);
  color: #6b7280;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 32px;
}

.compare-hero .hero-badge svg {
  color: #9ca3af;
}

.compare-hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #111827;
  margin-bottom: 24px;
  line-height: 1.15;
}

.compare-hero p {
  font-size: 1.25rem;
  color: #4b5563;
  line-height: 1.75;
  max-width: 560px;
  margin: 0 auto;
}

.compare-hero .highlight {
  color: #7c3aed;
}

/* Compare section wrapper */
.compare-section {
  padding: 80px 24px;
  background: #fff;
}

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

/* Feature comparison table */
.compare-table {
  max-width: 1000px;
  margin: 0 auto;
  padding: 32px;
  background: #f9fafb;
  border-radius: 24px;
  border: 1px solid #e5e7eb;
}

.compare-table-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 2px solid #f3f4f6;
  margin-bottom: 8px;
}

.compare-table-header .col-feature {
  flex: 1;
  font-size: 0.875rem;
  font-weight: 500;
  color: #6b7280;
}

.compare-table-header .col-zyga {
  width: 112px;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: #4f46e5;
}

.compare-table-header .col-others {
  width: 112px;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  color: #9ca3af;
}

.compare-table-rows {
  display: flex;
  flex-direction: column;
}

.compare-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 12px;
  margin: 0 -12px;
  border-radius: 8px;
  transition: background 0.15s;
}

.compare-row:hover {
  background: #f9f8f6;
}

.compare-row .col-feature {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}

.compare-row .feature-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #f3f2ee;
  display: flex;
  align-items: center;
  justify-content: center;
}

.compare-row .feature-icon svg {
  width: 16px;
  height: 16px;
  color: #4b5563;
}

.compare-row .feature-info h4 {
  font-weight: 600;
  color: #111827;
}

.compare-row .feature-info p {
  font-size: 0.875rem;
  color: #6b7280;
}

.compare-row .col-zyga,
.compare-row .col-others {
  width: 112px;
  display: flex;
  justify-content: center;
}

.compare-row .col-zyga svg,
.compare-row .col-others svg {
  width: 20px;
  height: 20px;
}

.compare-table-footer {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.compare-table-legend {
  font-size: 0.75rem;
  color: #9ca3af;
  text-align: center;
  margin-bottom: 16px;
}

.compare-table-icons {
  display: flex;
  justify-content: center;
  gap: 32px;
  font-size: 0.875rem;
  color: #6b7280;
}

.compare-table-icons span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.compare-table-icons svg {
  width: 16px;
  height: 16px;
}

/* Core difference section */
.core-difference-container {
  max-width: 1000px;
  margin: 0 auto;
}

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

.core-card {
  padding: 32px;
  border-radius: 24px;
}

.core-card.light {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
}

.core-card.gradient {
  background: #111827;
  color: #fff;
}

.core-card-label {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.core-card.light .core-card-label {
  color: #9ca3af;
}

.core-card.gradient .core-card-label {
  color: #c7d2fe;
}

.core-card-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.core-card-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.core-card-item svg {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex-shrink: 0;
}

.core-card.light .core-card-item svg {
  color: #d1d5db;
}

.core-card.gradient .core-card-item svg {
  color: #86efac;
}

.core-card.light .core-card-item span {
  color: #4b5563;
}

.core-card.gradient .core-card-item span {
  color: rgba(255, 255, 255, 0.9);
}

/* Competitors breakdown */
.competitors-container {
  max-width: 1100px;
  margin: 0 auto;
}

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

.competitor-card {
  padding: 28px;
  border-radius: 24px;
  background: #f9f8f6;
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.15s;
}

.competitor-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px -4px rgb(0 0 0 / 0.08);
  background: #f3f2ee;
}

.competitor-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.competitor-icon svg {
  color: #6b7280;
}

.competitor-card h3 {
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
}

.competitor-card p {
  font-size: 0.875rem;
  color: #4b5563;
}

/* ============================================
   NEW COMPARE PAGE STYLES
   ============================================ */

/* Hero highlight color */
.hero-main h1 .highlight {
  color: #7c3aed;
}

/* New comparison table with descriptive cells */
.compare-table-new {
  background: #fff;
  border-radius: 24px;
  border: 1px solid #e5e7eb;
  overflow: hidden;
}

.compare-table-new-header {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr 1fr;
  gap: 16px;
  padding: 20px 24px;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
}

.compare-table-new-header .col-capability {
  font-size: 0.875rem;
  font-weight: 600;
  color: #6b7280;
}

.compare-table-new-header .col-zyga-new {
  font-size: 0.875rem;
  font-weight: 700;
  color: #7c3aed;
  text-align: center;
}

.compare-table-new-header .col-classic,
.compare-table-new-header .col-bdr {
  font-size: 0.875rem;
  font-weight: 600;
  color: #9ca3af;
  text-align: center;
}

.compare-table-new-rows {
  display: flex;
  flex-direction: column;
}

.compare-row-new {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr 1fr;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid #f3f4f6;
  transition: background 0.15s;
}

.compare-row-new:last-child {
  border-bottom: none;
}

.compare-row-new:hover {
  background: #fafafa;
}

.compare-row-new .col-capability h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #111827;
}

.compare-row-new .col-zyga-new,
.compare-row-new .col-classic,
.compare-row-new .col-bdr {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.compare-row-new .col-zyga-new span,
.compare-row-new .col-classic span,
.compare-row-new .col-bdr span {
  font-size: 0.875rem;
  color: #4b5563;
  line-height: 1.4;
}

.compare-row-new .col-zyga-new .cell-highlight {
  color: #111827;
  font-weight: 500;
  background: #f3f4f6;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

/* Competitor tabs */
.competitor-tabs {
  margin-top: 48px;
}

.competitor-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.competitor-tab {
  padding: 10px 20px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #6b7280;
  background: #f3f4f6;
  border-radius: 9999px;
  transition: all 0.15s;
  cursor: pointer;
}

.competitor-tab:hover {
  background: #e5e7eb;
  color: #111827;
}

.competitor-tab.active {
  background: #111827;
  color: #fff;
}

.competitor-content {
  display: none;
}

.competitor-content.active {
  display: block;
}

.competitor-comparison {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: start;
  background: #f9fafb;
  border-radius: 24px;
  padding: 40px;
  border: 1px solid #e5e7eb;
}

.competitor-them,
.competitor-us {
  padding: 24px;
  border-radius: 16px;
}

.competitor-them {
  background: #fff;
  border: 1px solid #e5e7eb;
}

.competitor-us {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
}

.competitor-them h3,
.competitor-us h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 4px;
}

.competitor-tagline {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 16px;
}

.competitor-them ul,
.competitor-us ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.competitor-them li,
.competitor-us li {
  font-size: 0.9375rem;
  color: #4b5563;
  padding-left: 20px;
  position: relative;
}

.competitor-them li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #d1d5db;
}

.competitor-us li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #7c3aed;
  font-weight: 600;
}

.competitor-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 600;
  color: #9ca3af;
  padding-top: 60px;
}

.competitor-summary {
  text-align: center;
  font-size: 1rem;
  color: #374151;
  margin-top: 24px;
  padding: 16px 24px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
}

.competitor-summary strong {
  color: #111827;
}

/* White CTA section */
.cta-section-white {
  padding: 80px 24px 112px;
  background: #fff;
  text-align: center;
}

.cta-content-white {
  max-width: 720px;
  margin: 0 auto;
}

/* CTA row in white section - don't wrap on desktop */
.cta-section-white .cta-row {
  flex-wrap: nowrap;
}

.cta-section-white h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 16px;
  letter-spacing: -0.025em;
}

.cta-section-white p {
  font-size: 1.125rem;
  color: #6b7280;
  margin-bottom: 32px;
}

.cta-form-inline {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cta-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.cta-input-wrapper svg {
  position: absolute;
  left: 16px;
  color: #9ca3af;
  pointer-events: none;
}

.cta-input-wrapper input {
  padding: 14px 16px 14px 46px;
  font-size: 0.875rem;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  min-width: 280px;
  color: #111827;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.cta-input-wrapper input:focus {
  outline: none;
  border-color: #7c3aed;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.cta-input-wrapper input::placeholder {
  color: #9ca3af;
}

/* ============================================
   SCROLL LINK SECTION - Transition below hero
   ============================================ */
.scroll-link-section {
  text-align: center;
  padding: 32px 24px 64px;
  background: linear-gradient(to bottom, #f9fafb 0%, #fff 100%);
}

.scroll-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #6b7280;
  transition: all 0.2s;
}

.scroll-link:hover {
  color: #7c3aed;
}

.scroll-link svg {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(4px);
  }
  60% {
    transform: translateY(2px);
  }
}

/* ============================================
   HERO SCROLL HINT - Plain text in hero
   ============================================ */
.hero-scroll-hint {
  margin-top: 48px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #9ca3af;
  letter-spacing: 0.02em;
}

/* ============================================
   SECTION HEADER SPLIT - Label left, title right
   ============================================ */
.section-header-split {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 48px;
}

.section-header-split .section-label {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 500;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding-top: 8px;
}

.section-header-split .section-title {
  flex: 1;
  text-align: right;
  font-size: 3.5rem;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 0;
}

/* ============================================
   COMPARE SECTION WARM - #f9f8f6 background
   ============================================ */
.compare-section-warm {
  background-color: #f9f8f6;
}

/* ============================================
   GAIN COMPARISON - Clean Grid Layout
   ============================================ */
.gain-comparison {
  background: #f9f8f6;
  border-radius: 20px;
  padding: 40px;
  border: 1px solid #f3f2ee;
}

.gain-headers {
  display: grid;
  grid-template-columns: 100px 1fr 1fr;
  gap: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e8e6e3;
  margin-bottom: 8px;
}

.gain-header-left,
.gain-header-right {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.gain-header-left {
  color: #9ca3af;
}

.gain-header-right {
  color: #7c3aed;
}

.gain-grid {
  display: flex;
  flex-direction: column;
}

.gain-row {
  display: grid;
  grid-template-columns: 100px 1fr 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid #f3f2ee;
  align-items: center;
}

.gain-row:last-child {
  border-bottom: none;
}

.gain-category {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.gain-before {
  font-size: 0.9375rem;
  color: #9ca3af;
}

.gain-after {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #111827;
  background: #f3f4f6;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
}

/* ============================================
   VISUAL COMPARE GRID - Simple Before/After (legacy)
   ============================================ */
.visual-compare-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.visual-compare-item {
  background: #f9f8f6;
  border-radius: 16px;
  padding: 24px 32px;
  border: 1px solid #f3f2ee;
}

.compare-icon-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.compare-old {
  font-size: 1rem;
  color: #9ca3af;
  text-decoration: line-through;
  text-decoration-color: #d1d5db;
}

.compare-arrow {
  color: #7c3aed;
  flex-shrink: 0;
}

.compare-new {
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  background: #f3f4f6;
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.compare-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 12px;
}

/* ============================================
   QUICK COMPARE TABS - Simplified
   ============================================ */
.quick-compare-tabs {
  margin-top: 48px;
}

.quick-compare-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.quick-tab {
  padding: 10px 20px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #6b7280;
  background: #fff;
  border-radius: 9999px;
  transition: all 0.15s;
  cursor: pointer;
  border: 1px solid #e5e7eb;
}

.quick-tab:hover {
  background: #f9fafb;
  color: #111827;
  border-color: #d1d5db;
}

.quick-tab.active {
  background: #111827;
  color: #fff;
  border-color: #111827;
}

.quick-compare-content {
  display: none;
}

.quick-compare-content.active {
  display: block;
}

.quick-compare-card {
  background: #fff;
  border-radius: 24px;
  border: 1px solid #e5e7eb;
  overflow: hidden;
}

.quick-compare-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 24px;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
}

.quick-them {
  font-size: 1.125rem;
  font-weight: 600;
  color: #9ca3af;
}

.quick-vs {
  font-size: 1.25rem;
  color: #7c3aed;
}

.quick-us {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  background: #f3f4f6;
  padding: 8px 20px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.quick-compare-body {
  padding: 8px;
}

.quick-point {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 20px 24px;
  border-bottom: 1px solid #f3f4f6;
  align-items: center;
}

.quick-point:last-child {
  border-bottom: none;
}

.quick-them-text {
  font-size: 0.9375rem;
  color: #9ca3af;
  text-align: right;
  padding-right: 24px;
  border-right: 2px solid #e5e7eb;
}

.quick-us-text {
  display: inline-block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #111827;
  background: #f3f4f6;
  padding: 10px 20px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

/* ============================================
   SVG ICONS (inline)
   ============================================ */
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }

  .cta-form {
    flex-direction: row;
  }

  .timeline-line {
    display: block;
  }

  .timeline-step-number {
    display: flex;
  }

  .timeline-step-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
  }

  .timeline-step:nth-child(odd) .timeline-step-text {
    text-align: right;
    padding-right: 64px;
  }

  .timeline-step:nth-child(odd) .timeline-visual {
    padding-left: 64px;
  }

  .timeline-step:nth-child(even) .timeline-step-text {
    order: 2;
    padding-left: 64px;
  }

  .timeline-step:nth-child(even) .timeline-visual {
    order: 1;
    padding-right: 64px;
  }

  .timeline-step:nth-child(odd) .timeline-features {
    align-items: flex-end;
  }

  .timeline-step-mobile-number {
    display: none;
  }
}

@media (min-width: 768px) {
  .header-desktop {
    display: block;
  }

  .header-mobile {
    display: none;
  }

  .hero h1, .hero-main h1 {
    font-size: 4rem;
  }

  .compare-hero h1 {
    font-size: 3.25rem;
  }

  .section-header {
    flex-direction: row;
    align-items: flex-start;
  }

  .section-header > div:first-child {
    width: 40%;
    flex-shrink: 0;
  }

  .section-title {
    text-align: right;
  }

  .tab-content.active {
    flex-direction: row;
  }

  .audience-inner {
    flex-direction: row;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}

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

  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-card.span-2,
  .bento-card.span-3 {
    grid-column: span 2;
  }
}

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

  .bento-row {
    flex-direction: column;
  }

  .bento-row .bento-card.narrow {
    flex: none;
  }

  .bento-card {
    padding: 24px;
    border-radius: 16px;
  }

  .bento-card.span-2,
  .bento-card.span-3 {
    grid-column: span 1;
  }

  /* Hide press space hint on mobile - not useful for touch */
  .hero-space-hint,
  .inline-space-hint {
    display: none;
  }

  /* Simplify bento card visuals on mobile */
  .bento-visual {
    max-height: 200px;
    overflow: hidden;
  }

  .audience-inner {
    flex-direction: column;
  }

  .audience-visual {
    width: 100%;
  }

  .tab-content-inner {
    flex-direction: column;
  }

  .tab-visual {
    width: 100%;
  }

  .tab-content {
    padding: 24px;
    border-radius: 16px;
  }

  .tab-content.active {
    gap: 24px;
  }

  .tab-btn {
    padding: 10px 16px;
    font-size: 0.875rem;
  }

  .core-difference-grid {
    grid-template-columns: 1fr;
  }

  .competitors-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* New compare page responsive */
  .visual-compare-item {
    padding: 20px 24px;
  }

  .compare-icon-row {
    gap: 16px;
  }

  .compare-old,
  .compare-new {
    font-size: 0.875rem;
  }

  .quick-compare-nav {
    flex-wrap: wrap;
    gap: 8px;
  }

  .quick-tab {
    padding: 8px 14px;
    font-size: 0.8125rem;
  }

  .quick-compare-header {
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    text-align: center;
  }

  .quick-compare-header .competitor-logo {
    margin: 0 auto;
  }

  .quick-point {
    padding: 16px 20px;
  }

  .quick-compare-card {
    border-radius: 16px;
  }

  .core-card {
    padding: 24px;
    border-radius: 16px;
  }

  .section-header-split {
    flex-direction: column;
    gap: 16px;
  }

  .section-header-split .section-title {
    text-align: left;
    font-size: 2.5rem;
  }

  .visual-compare-headers {
    gap: 60px;
    padding: 0 24px;
  }

  .quick-point {
    grid-template-columns: 1fr 1fr;
  }

  /* Gain comparison tablet */
  .gain-headers,
  .gain-row {
    grid-template-columns: 80px 1fr 1fr;
    gap: 16px;
  }

  .gain-comparison {
    padding: 32px;
  }
}

@media (max-width: 767px) {
  .header-desktop {
    display: none;
  }

  .header-mobile {
    display: block;
  }

  .hero h1, .hero-main h1 {
    font-size: 2.25rem;
  }

  .hero-inner {
    height: auto;
    padding: 80px 24px;
  }

  .section-title {
    font-size: 1.875rem;
    text-align: left;
  }

  .cta-title {
    font-size: 1.875rem;
  }

  .cta-title .subtitle {
    font-size: 1.5rem;
  }

  .tabs-buttons {
    flex-wrap: wrap;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-inner {
    padding: 48px 32px;
  }

  .page-hero h1 {
    font-size: 2.25rem;
  }

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

  .compare-row {
    flex-wrap: wrap;
  }

  .compare-row .col-feature {
    width: 100%;
    margin-bottom: 12px;
  }

  .compare-row .col-zyga,
  .compare-row .col-others {
    width: 50%;
  }

  .compare-table-header .col-feature {
    display: none;
  }

  /* New compare page mobile styles */
  .quick-compare-nav {
    gap: 6px;
  }

  .quick-tab {
    padding: 8px 14px;
    font-size: 0.8125rem;
  }

  .quick-point {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .quick-them-text {
    text-align: left;
    padding-right: 0;
    border-right: none;
    padding-bottom: 8px;
    border-bottom: 1px solid #e5e7eb;
  }

  .quick-us-text {
    padding-left: 0;
    margin-left: 0;
  }

  .scroll-link-section {
    padding: 24px 24px 48px;
  }

  .section-header-split {
    flex-direction: column;
    gap: 12px;
  }

  .section-header-split .section-title {
    text-align: left;
    font-size: 2rem;
  }

  .visual-compare-headers {
    gap: 40px;
    padding: 0 16px;
  }

  /* Gain comparison mobile */
  .gain-comparison {
    padding: 24px;
  }

  .gain-headers {
    display: none;
  }

  .gain-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 16px 0;
  }

  .gain-category {
    margin-bottom: 8px;
  }

  .gain-before {
    padding-left: 12px;
    border-left: 2px solid #e5e7eb;
    margin-bottom: 8px;
  }

  .gain-after {
    padding: 10px 14px;
  }

  /* CTA form mobile */
  .cta-form-inline {
    flex-direction: column;
  }

  .cta-input-wrapper input {
    min-width: auto;
    width: 100%;
    max-width: 320px;
  }

  .compare-section-warm,
  .section-white,
  .section-beige,
  .section-padding-desktop {
    padding: 60px 24px !important;
  }

  .compare-icon-row {
    flex-direction: column;
    gap: 12px;
  }

  .compare-arrow {
    transform: rotate(90deg);
  }

  /* Hero Artikle mobile styles */
  .hero-main {
    min-height: auto;
    padding: 100px 24px 60px;
  }

  .hero-main-subpage {
    padding-top: 120px;
  }

  .hero-main-content h1 {
    font-size: 2.25rem;
  }

  .hero-email-form {
    flex-direction: column;
    gap: 16px;
  }

  .hero-email-input-wrapper {
    min-width: auto;
    width: 100%;
    max-width: 100%;
  }

  .hero-cta-row {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .hero-cta-row .hero-email-form {
    width: 100%;
    max-width: 400px;
  }

  .btn-primary-lg {
    width: 100%;
    justify-content: center;
  }

  .hero-social-proof {
    flex-direction: column;
    gap: 8px;
    margin-top: 40px;
    padding-top: 32px;
  }

  .hero-social-divider {
    display: none;
  }

  .hero-trust {
    flex-direction: column;
    gap: 8px;
  }
}

/* ============================================
   NEW CARD ILLUSTRATIONS
   ============================================ */

/* Import Sources Illustration */
.import-sources {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
  padding: 16px;
  background: #f5f5f4;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.06);
}

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

.import-source-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
}

.import-source-icon.csv {
  background: #f3f4f6;
  color: #6b7280;
}

.import-source-icon.hubspot {
  background: #fff1f0;
  color: #ff7a59;
}

.import-source-icon.salesforce {
  background: #e6f4ff;
  color: #00a1e0;
}

.import-source span {
  font-size: 0.625rem;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.import-arrow {
  color: #d1d5db;
}

/* Contact Enrichment Illustration */
.contact-enrich {
  margin-top: 20px;
  background: #f5f5f4;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.06);
  padding: 12px;
}

.contact-enrich-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 8px;
  margin-bottom: 6px;
  position: relative;
}

.contact-enrich-item:last-child {
  margin-bottom: 0;
}

.contact-enrich-item.existing {
  background: #fff;
}

.contact-enrich-item.new {
  background: linear-gradient(90deg, #f5f3ff 0%, #fff 100%);
  border: 1px dashed #ddd6fe;
}

.contact-enrich-badge {
  position: absolute;
  left: -4px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #7c3aed;
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-enrich-avatar {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  font-weight: 700;
  color: #6b7280;
}

.contact-enrich-item.new .contact-enrich-avatar {
  background: #ddd6fe;
  color: #7c3aed;
}

.contact-enrich-info {
  flex: 1;
  min-width: 0;
}

.contact-enrich-name {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: #111827;
}

.contact-enrich-role {
  display: block;
  font-size: 0.625rem;
  color: #9ca3af;
}

.contact-enrich-new-tag {
  font-size: 0.5rem;
  font-weight: 600;
  color: #7c3aed;
  background: #ede9fe;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Verified Contacts Illustration */
.verified-contacts {
  margin-top: 20px;
  background: #f5f5f4;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.06);
  padding: 12px;
}

.verified-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 8px;
  background: #fff;
  margin-bottom: 6px;
}

.verified-contact-item:last-child {
  margin-bottom: 0;
}

.verified-contact-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.verified-contact-icon.email {
  background: #ede9fe;
  color: #7c3aed;
}

.verified-contact-icon.phone {
  background: #dbeafe;
  color: #2563eb;
}

.verified-contact-icon.linkedin {
  background: #e0f2fe;
  color: #0077b5;
}

.verified-contact-value {
  flex: 1;
  font-size: 0.75rem;
  color: #374151;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
}

.verified-badge {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #d1fae5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Conversation Thread Illustration - in white section with beige card */
.conversation-thread {
  margin-top: 20px;
  background: #f3f2ee;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.04);
  padding: 12px;
}

.conversation-message {
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 8px;
}

.conversation-message:last-child {
  margin-bottom: 0;
}

.conversation-message.outbound {
  background: #fff;
}

.conversation-message.inbound {
  background: #fff;
  border-left: 2px solid #d1d5db;
}

.conversation-message.ai-reply {
  background: linear-gradient(135deg, #f5f3ff 0%, #faf5ff 100%);
  border: 1px solid #ede9fe;
}

.conversation-label {
  display: block;
  font-size: 0.625rem;
  font-weight: 600;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.conversation-message.ai-reply .conversation-label {
  color: #7c3aed;
}

.ai-sparkle {
  color: #7c3aed;
}

.conversation-message p {
  font-size: 0.75rem;
  color: #374151;
  line-height: 1.5;
  margin: 0;
}

.conversation-tag {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.5rem;
  font-weight: 500;
  color: #7c3aed;
  background: #ede9fe;
  padding: 2px 8px;
  border-radius: 4px;
}

/* Unified Channels Illustration */
.unified-channels {
  margin-top: 20px;
  background: #f9fafb;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  padding: 16px;
}

.channel-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.channel-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-radius: 10px;
}

.channel-node.email-node {
  background: #f5f3ff;
  color: #7c3aed;
}

.channel-node.linkedin-node {
  background: #e0f2fe;
  color: #0077b5;
}

.channel-node span {
  font-size: 0.625rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.channel-connector {
  display: flex;
  align-items: center;
  gap: 4px;
}

.connector-line {
  width: 16px;
  height: 2px;
  background: #e5e7eb;
}

.connector-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d1d5db;
}

.channel-ai-pick {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #f3f4f6;
}

.channel-ai-pick span {
  font-size: 0.625rem;
  color: #9ca3af;
}

.channel-ai-pick .ai-sparkle {
  font-size: 0.75rem;
}

/* Adaptive Timeline Illustration - in white section with beige card */
.adaptive-timeline {
  margin-top: 20px;
  background: #f3f2ee;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.04);
  padding: 16px;
}

.timeline-comparison {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.timeline-old,
.timeline-new {
  display: flex;
  align-items: center;
  gap: 12px;
}

.timeline-label {
  font-size: 0.625rem;
  font-weight: 600;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  width: 50px;
  flex-shrink: 0;
}

.timeline-new .timeline-label {
  color: #7c3aed;
}

.timeline-dots {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  position: relative;
}

.timeline-dots::before {
  content: '';
  position: absolute;
  left: 6px;
  right: 6px;
  top: 50%;
  height: 2px;
  background: #e5e7eb;
  z-index: 0;
}

.timeline-new .timeline-dots::before {
  background: linear-gradient(90deg, #7c3aed 0%, #e5e7eb 100%);
}

.timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #e5e7eb;
  position: relative;
  z-index: 1;
}

.timeline-dots.adaptive .timeline-dot.active {
  background: #7c3aed;
}

.timeline-dot-pulse {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #c4b5fd;
  position: relative;
  z-index: 1;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.3);
    opacity: 0.7;
  }
}

.timeline-days {
  font-size: 0.625rem;
  color: #9ca3af;
  white-space: nowrap;
}

.timeline-new .timeline-days {
  color: #7c3aed;
}

/* Engagement Signals Illustration - in white section with beige card */
.engagement-signals {
  margin-top: 20px;
  background: #f3f2ee;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.04);
  padding: 12px;
}

.signal-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 8px;
  margin-bottom: 6px;
  background: #fff;
}

.signal-item:last-child {
  margin-bottom: 0;
}

.signal-item.hot {
  background: linear-gradient(90deg, #fef3c7 0%, #f9fafb 100%);
  border: 1px solid #fde68a;
}

.signal-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.signal-icon.opens {
  background: #dbeafe;
  color: #2563eb;
}

.signal-icon.clicks {
  background: #d1fae5;
  color: #059669;
}

.signal-icon.hot {
  background: #fef3c7;
  color: #d97706;
}

.signal-label {
  font-size: 0.75rem;
  color: #374151;
  flex: 1;
}

.signal-bar {
  width: 60px;
  height: 4px;
  background: #e5e7eb;
  border-radius: 2px;
  overflow: hidden;
}

.signal-bar-fill {
  height: 100%;
  background: #7c3aed;
  border-radius: 2px;
}

.signal-hot-badge {
  font-size: 0.5rem;
  font-weight: 600;
  color: #d97706;
  background: #fef3c7;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Responsive styles for new illustrations */
@media (max-width: 767px) {
  .import-sources {
    flex-wrap: wrap;
    gap: 12px;
  }

  .import-arrow {
    display: none;
  }

  .channel-flow {
    flex-direction: column;
    gap: 8px;
  }

  .channel-connector {
    transform: rotate(90deg);
  }

  .timeline-dots {
    width: 100%;
    justify-content: flex-start;
  }
}

/* ============================================
   HOW IT WORKS - HERO SECTION
   ============================================ */
.hiw-hero {
  position: relative;
  padding: 160px 24px 100px;
  text-align: center;
  overflow: hidden;
}

/* Subtle gradient background - minimal cool tones */
.hiw-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(243, 244, 246, 0.7) 0%,
    rgba(249, 250, 251, 0.3) 25%,
    rgba(255, 255, 255, 1) 50%,
    rgba(255, 255, 255, 1) 100%
  );
  pointer-events: none;
}

/* Subtle cool accent top-right */
.hiw-hero-bg::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -50px;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(124, 58, 237, 0.05) 0%,
    rgba(124, 58, 237, 0) 70%
  );
  pointer-events: none;
}

/* Subtle purple accent top-left */
.hiw-hero-bg::after {
  content: '';
  position: absolute;
  top: -50px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(124, 58, 237, 0.04) 0%,
    rgba(124, 58, 237, 0) 70%
  );
  pointer-events: none;
}

.hiw-hero-content {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.hiw-hero h1 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #111827;
  margin-bottom: 40px;
}

.hiw-hero-line1 {
  display: block;
  font-size: 3.5rem;
}

.hiw-hero-line2 {
  display: block;
  font-size: 2rem;
  color: #6b7280;
  margin-top: 8px;
}

.hiw-hero-subtitle {
  font-size: 1.25rem;
  color: #6b7280;
  max-width: 500px;
  margin: 0 auto;
}


/* ============================================
   HOW IT WORKS - HORIZONTAL LAYOUT
   ============================================ */
.hiw-section {
  background: transparent;
  padding: 0;
  position: relative;
}

/* Background zones */
.hiw-zone {
  position: relative;
  width: 100%;
}

.hiw-zone-white {
  background: #ffffff;
}

.hiw-zone-light {
  background: #f9f8f6;
}

.hiw-zone-dark {
  background: #f3f2ee;
}

.hiw-zone-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* First zone connects to hero - less top padding */
.hiw-zone:first-child .hiw-zone-content {
  padding-top: 0;
}


/* Timeline line for single rows only */
.hiw-row::before {
  content: '';
  position: absolute;
  left: calc(50% + 40px);
  top: 0;
  bottom: 0;
  width: 2px;
  background: #e5e7eb;
  z-index: 1;
}

/* Each row is a horizontal section */
.hiw-row {
  display: flex;
  align-items: flex-start;
  min-height: 520px;
  position: relative;
  padding: 100px 0;
}

/* Left side - Text content */
.hiw-text {
  width: 50%;
  padding-right: 60px;
  padding-left: max(40px, calc((100vw - 1200px) / 2 + 40px));
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Step label above title */
.hiw-step-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 16px;
}

.hiw-text h2 {
  font-size: 2.75rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hiw-text p {
  font-size: 1.125rem;
  color: #6b7280;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 440px;
}

/* Horizontal tags */
.hiw-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Right side - Visual with timeline */
.hiw-visual {
  width: 50%;
  position: relative;
  padding-left: 0;
  margin-left: -10px;
  display: flex;
  align-items: flex-start;
  min-height: 520px;
}

/* Hide individual timeline lines - using section pseudo-element instead */
.hiw-timeline-line {
  display: none;
}

/* Tag colors */
.hiw-tag {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
}

.hiw-tag.blue { background: #f3f4f6; color: #4b5563; }
.hiw-tag.violet { background: #f3f4f6; color: #4b5563; }
.hiw-tag.amber { background: #f3f4f6; color: #4b5563; }
.hiw-tag.pink { background: #f3f4f6; color: #4b5563; }
.hiw-tag.emerald { background: #f3f4f6; color: #4b5563; }
.hiw-tag.indigo { background: #f3f4f6; color: #4b5563; }

/* Timeline dot - positioned at center of screen card */
.hiw-timeline-dot {
  position: absolute;
  left: 43px;
  top: 210px;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px currentColor;
  z-index: 3;
}

.hiw-timeline-dot.blue { background: #3b82f6; color: #3b82f6; }
.hiw-timeline-dot.violet { background: #7c3aed; color: #7c3aed; }
.hiw-timeline-dot.amber { background: #f59e0b; color: #f59e0b; }
.hiw-timeline-dot.pink { background: #ec4899; color: #ec4899; }
.hiw-timeline-dot.emerald { background: #10b981; color: #10b981; }
.hiw-timeline-dot.indigo { background: #6366f1; color: #6366f1; }
.hiw-timeline-dot.cyan { background: #06b6d4; color: #06b6d4; }
.hiw-timeline-dot.orange { background: #f97316; color: #f97316; }
.hiw-timeline-dot.rose { background: #f43f5e; color: #f43f5e; }

/* Additional tag colors */
.hiw-tag.cyan { background: #f3f4f6; color: #4b5563; }
.hiw-tag.orange { background: #f3f4f6; color: #4b5563; }
.hiw-tag.rose { background: #f3f4f6; color: #4b5563; }

/* Additional screen icon colors */
.hiw-screen-icon.cyan { background: #ecfeff; }
.hiw-screen-icon.cyan svg { color: #06b6d4; }
.hiw-screen-icon.orange { background: #fff7ed; }
.hiw-screen-icon.orange svg { color: #f97316; }
.hiw-screen-icon.rose { background: #fff1f2; }
.hiw-screen-icon.rose svg { color: #f43f5e; }

/* ============================================
   BENTO CARD LAYOUT
   ============================================ */

/* Main bento container */
.hiw-bento {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  position: relative;
}

/* Card pair - two cards side by side */
.hiw-card-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  width: 100%;
}

/* Individual card */
.hiw-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.hiw-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 12px 32px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

/* Card entrance animation */
.hiw-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s ease;
}

.hiw-card.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger animation for card pairs */
.hiw-card-pair .hiw-card:nth-child(2) {
  transition-delay: 0.15s;
}

/* Cards on light beige need white background */
/* Cards on white background need subtle beige tint */
.hiw-zone-white .hiw-card {
  background: #fafaf9;
  border-color: rgba(0, 0, 0, 0.06);
}

/* Cards on light beige stay white */
.hiw-zone-light .hiw-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.06);
}

/* Cards on dark beige stay white with slightly stronger border */
.hiw-zone-dark .hiw-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
}

/* ============================================
   TIMELINE MARKERS - Pulsing dots with labels
   ============================================ */

.hiw-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 48px 0;
}

.hiw-marker-dot {
  width: 12px;
  height: 12px;
  background: #10b981;
  border-radius: 50%;
  position: relative;
  animation: pulse-glow 2.5s ease-in-out infinite;
}

.hiw-marker-dot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  background: rgba(16, 185, 129, 0.2);
  border-radius: 50%;
  animation: pulse-ring 2.5s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
  }
  50% {
    box-shadow: 0 0 8px 4px rgba(16, 185, 129, 0.3);
  }
}

@keyframes pulse-ring {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.4);
    opacity: 0.2;
  }
}

.hiw-marker-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #166534;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}


/* Full-width card */
.hiw-card.full {
  width: 100%;
  flex-direction: row;
  align-items: flex-start;
  gap: 48px;
  padding: 40px 48px;
}

.hiw-card.full .hiw-card-content {
  flex: 1;
  max-width: 420px;
}

.hiw-card.full .hiw-card-visual {
  flex: 1;
  max-width: 500px;
}

/* Card content */
.hiw-card-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hiw-card-content .hiw-step-label {
  font-size: 0.6875rem;
  font-weight: 600;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.hiw-card-content h3 {
  font-size: 1.375rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.hiw-card-content p {
  font-size: 0.9375rem;
  color: #6b7280;
  line-height: 1.6;
}

.hiw-card-content .hiw-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

/* Card visual - contains screen */
.hiw-card-visual {
  position: relative;
}

.hiw-card-visual .hiw-screen {
  width: 100%;
  min-height: 180px;
}

/* ============================================
   90-DEGREE ANGLE BRANCHES
   ============================================ */

/* Branch start - splits timeline into two with 90° angles */
.hiw-branch-start {
  position: relative;
  width: 100%;
  height: 80px;
  display: flex;
  justify-content: center;
}

/* Center vertical line coming down */
.hiw-branch-start::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 1px;
  height: 41px;
  background: #1f1f1f;
  transform: translateX(-50%);
}

/* Horizontal line at bottom */
.hiw-branch-start::after {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(25% + 12px);
  right: calc(25% + 12px);
  height: 1px;
  background: #1f1f1f;
}

/* Card pair container */
.hiw-card-pair {
  position: relative;
}

/* Branch end - merges two branches back with 90° angles */
.hiw-branch-end {
  position: relative;
  width: 100%;
  height: 80px;
  display: flex;
  justify-content: center;
}

/* Left vertical rise */
.hiw-branch-end::before {
  content: '';
  position: absolute;
  top: 0;
  left: 25%;
  transform: translateX(-50%);
  width: 1px;
  height: 41px;
  background: #1f1f1f;
}

/* Center vertical line going down */
.hiw-branch-end::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 40px;
  width: 1px;
  height: 40px;
  background: #1f1f1f;
  transform: translateX(-50%);
}

/* Right vertical rise in branch-end */
.hiw-branch-end .branch-right {
  position: absolute;
  top: 0;
  right: 25%;
  transform: translateX(50%);
  width: 1px;
  height: 41px;
  background: #1f1f1f;
}

/* Horizontal merge line in branch-end */
.hiw-branch-end .branch-horizontal {
  position: absolute;
  top: 40px;
  left: calc(25% + 12px);
  right: calc(25% + 12px);
  height: 1px;
  background: #1f1f1f;
}

/* ============================================
   CONNECTOR BETWEEN SECTIONS
   ============================================ */

.hiw-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  position: relative;
}

.hiw-connector-line {
  width: 1px;
  height: 40px;
  background: #1f1f1f;
}

.hiw-connector-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #166534;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  margin: 0;
  position: relative;
  z-index: 2;
}

.hiw-connector-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================
   NEW ILLUSTRATION STYLES - DETAILED UI
   ============================================ */

/* Scroll-triggered animations for stream items */
.stream-item {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.hiw-card.in-view .stream-item,
.hiw-screen.in-view .stream-item {
  opacity: 1;
  transform: translateY(0);
}

.stream-item[data-delay="0"] { transition-delay: 0.1s; }
.stream-item[data-delay="1"] { transition-delay: 0.25s; }
.stream-item[data-delay="2"] { transition-delay: 0.4s; }
.stream-item[data-delay="3"] { transition-delay: 0.55s; }
.stream-item[data-delay="4"] { transition-delay: 0.7s; }

/* Typing text effect */
.typing-text {
  background: linear-gradient(90deg, #374151 50%, transparent 50%);
  background-size: 200% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  animation: typing-reveal 1.5s ease forwards;
  animation-delay: 0.3s;
}

.hiw-card.in-view .typing-text {
  animation: typing-reveal 1.5s ease forwards;
  animation-delay: 0.5s;
}

@keyframes typing-reveal {
  to { background-position: 0 0; }
}

/* Blinking dot */
.blink {
  animation: blink-pulse 1.5s ease-in-out infinite;
}

@keyframes blink-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Sync dot animation */
.hiw-sync-dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  background: #3b82f6;
  border-radius: 50%;
  margin-left: 4px;
  animation: sync-blink 1s ease-in-out infinite;
}

@keyframes sync-blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* Animated progress bar width */
.animate-width {
  width: 0 !important;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: 0.6s;
}

.hiw-card.in-view .animate-width {
  width: var(--target-width) !important;
}

/* Mini spinner */
.hiw-mini-spinner {
  width: 12px;
  height: 12px;
  border: 2px solid rgba(107, 114, 128, 0.2);
  border-top-color: #6b7280;
  border-radius: 50%;
  animation: hiw-spin 0.8s linear infinite;
}

/* Thinking indicator (3 dots) */
.hiw-thinking-indicator {
  display: none;
  gap: 3px;
  padding: 4px 0;
  margin-bottom: 6px;
}

.hiw-card.in-view .hiw-thinking-indicator {
  display: flex;
  animation: thinking-fade 2s ease forwards;
}

.hiw-thinking-indicator span {
  width: 6px;
  height: 6px;
  background: #9ca3af;
  border-radius: 50%;
  animation: thinking-bounce 1.4s ease-in-out infinite;
}

.hiw-thinking-indicator span:nth-child(2) {
  animation-delay: 0.15s;
}

.hiw-thinking-indicator span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes thinking-bounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-4px); }
}

@keyframes thinking-fade {
  0%, 60% { opacity: 1; }
  100% { opacity: 0; height: 0; margin: 0; padding: 0; }
}

/* Typewriter effect */
.typewriter {
  overflow: hidden;
  white-space: normal;
  animation: typewriter-reveal 2s steps(60, end) forwards;
  animation-delay: 0.8s;
  max-height: 0;
}

.hiw-card.in-view .typewriter {
  max-height: 200px;
}

@keyframes typewriter-reveal {
  from { max-height: 0; }
  to { max-height: 200px; }
}

/* Typing dots animation (...) */
.hiw-typing-dots {
  display: inline-flex;
  margin-left: 2px;
}

.hiw-typing-dots span {
  animation: dot-blink 1.4s infinite;
  opacity: 0;
}

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

@keyframes dot-blink {
  0%, 20% { opacity: 0; }
  40%, 100% { opacity: 1; }
}

/* Score counter animation */
.counter {
  transition: none;
}

/* ============================================
   STEP 1: CAMPAIGN SETUP CONFIG LIST
   ============================================ */

.hiw-config-list {
  gap: 8px;
}

.hiw-config-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: #f9fafb;
  border-radius: 8px;
  border: 1px solid #f3f4f6;
}

.hiw-config-row .hiw-config-label {
  font-size: 0.75rem;
  color: #6b7280;
  font-weight: 500;
}

.hiw-config-value {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.hiw-tag.small {
  padding: 4px 8px;
  font-size: 0.6875rem;
}

/* Toggle switch */
.hiw-toggle {
  width: 32px;
  height: 18px;
  background: #e5e7eb;
  border-radius: 9px;
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
}

.hiw-toggle.on {
  background: #7c3aed;
}

.hiw-toggle-dot {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.hiw-toggle.on .hiw-toggle-dot {
  transform: translateX(14px);
}

.hiw-config-toggle-label {
  font-size: 0.6875rem;
  color: #6b7280;
}

/* ============================================
   STEP 2: LEAD SOURCES
   ============================================ */

.hiw-source-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #f9fafb;
  border-radius: 10px;
  border: 1px solid #f3f4f6;
}

.hiw-source-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hiw-source-icon.csv {
  background: #ecfdf5;
  color: #10b981;
}

.hiw-source-icon.crm {
  background: #fef3c7;
  color: #f59e0b;
}

.hiw-source-icon.linkedin {
  background: #eff6ff;
  color: #3b82f6;
}

.hiw-source-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.hiw-source-name {
  font-size: 0.8125rem;
  color: #111827;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hiw-source-status {
  font-size: 0.6875rem;
  color: #6b7280;
}

.hiw-source-status.success {
  color: #10b981;
}

.hiw-source-status.syncing {
  color: #3b82f6;
  display: flex;
  align-items: center;
}

.hiw-source-count {
  font-size: 0.875rem;
  font-weight: 600;
  color: #10b981;
}

/* ============================================
   STEP 3: SIMULATION CHAT VIEW
   ============================================ */

.hiw-chat-view {
  gap: 12px;
  padding: 16px;
}

.hiw-chat-message {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.hiw-chat-message.user {
  justify-content: flex-end;
}

.hiw-chat-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  font-weight: 700;
  flex-shrink: 0;
}

.hiw-chat-avatar.ai {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  color: #fff;
}

.hiw-chat-avatar.user {
  background: #e5e7eb;
  color: #374151;
}

.hiw-chat-bubble {
  max-width: 240px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  border-top-left-radius: 4px;
}

.hiw-chat-bubble.user {
  background: #f3f4f6;
  border-color: #e5e7eb;
  border-radius: 12px;
  border-top-right-radius: 4px;
}

.hiw-chat-label {
  display: block;
  font-size: 0.625rem;
  color: #9ca3af;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.hiw-chat-text {
  font-size: 0.8125rem;
  color: #374151;
  line-height: 1.4;
}

.hiw-chat-score {
  margin-top: 6px;
}

.hiw-score-badge {
  font-size: 0.625rem;
  font-weight: 600;
  color: #10b981;
  background: #ecfdf5;
  padding: 3px 8px;
  border-radius: 4px;
}

/* ============================================
   STEP 4: RESEARCH CARD
   ============================================ */

.hiw-research-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px;
}

.hiw-research-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f3f4f6;
}

.hiw-lead-avatar {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #eff6ff;
  color: #3b82f6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.hiw-lead-info {
  flex: 1;
  min-width: 0;
}

.hiw-lead-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #111827;
}

.hiw-lead-title {
  font-size: 0.75rem;
  color: #6b7280;
}

.hiw-lead-priority {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.6875rem;
  font-weight: 700;
}

.hiw-lead-priority.high {
  background: #fef2f2;
  color: #dc2626;
}

.hiw-research-tasks {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.hiw-task-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: #6b7280;
}

.hiw-task-item.done {
  color: #10b981;
}

.hiw-task-item.done svg {
  color: #10b981;
}

.hiw-task-item.active {
  color: #ec4899;
}

.hiw-research-scores {
  display: flex;
  gap: 12px;
}

.hiw-score-bar {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hiw-score-label {
  font-size: 0.6875rem;
  color: #9ca3af;
  font-weight: 500;
  width: 24px;
}

.hiw-progress {
  flex: 1;
  height: 6px;
  background: #f3f4f6;
  border-radius: 3px;
  overflow: hidden;
}

.hiw-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #ec4899, #f472b6);
  border-radius: 3px;
}

.hiw-score-value {
  font-size: 0.75rem;
  font-weight: 700;
  color: #ec4899;
  width: 24px;
  text-align: right;
}

/* ============================================
   STEP 5: PLANNING LIST
   ============================================ */

.hiw-plan-list {
  gap: 6px;
}

.hiw-plan-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}

.hiw-plan-item.scheduled {
  background: #f9fafb;
  border-style: dashed;
}

.hiw-plan-type {
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.hiw-plan-type.hot {
  background: #fef2f2;
  color: #dc2626;
}

.hiw-plan-type.warm {
  background: #fef3c7;
  color: #d97706;
}

.hiw-plan-type.followup {
  background: #eff6ff;
  color: #2563eb;
}

.hiw-plan-type.cold {
  background: #f3f4f6;
  color: #6b7280;
}

.hiw-plan-type.scheduled {
  background: #f5f3ff;
  color: #7c3aed;
}

.hiw-plan-text {
  flex: 1;
  font-size: 0.8125rem;
  color: #374151;
}

.hiw-plan-badge {
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.625rem;
  font-weight: 700;
}

.hiw-plan-badge.urgent {
  background: #fef2f2;
  color: #dc2626;
  animation: badge-pulse 2s ease-in-out infinite;
}

.hiw-plan-badge.warm {
  background: #fef3c7;
  color: #d97706;
}

@keyframes badge-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.hiw-plan-time {
  font-size: 0.6875rem;
  color: #9ca3af;
}

/* ============================================
   STEP 6: COMPOSE VIEW
   ============================================ */

.hiw-compose-view {
  gap: 10px;
}

.hiw-context-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: #eff6ff;
  border-radius: 6px;
  font-size: 0.6875rem;
  color: #3b82f6;
}

.hiw-context-bar svg {
  flex-shrink: 0;
}

.hiw-incoming-msg {
  padding: 10px 12px;
  background: #f9fafb;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.hiw-msg-label {
  display: block;
  font-size: 0.625rem;
  color: #9ca3af;
  font-weight: 500;
  margin-bottom: 4px;
}

.hiw-msg-preview {
  font-size: 0.8125rem;
  color: #374151;
  font-style: italic;
}

.hiw-compose-box {
  padding: 12px;
  background: #fff;
  border: 1px solid #c7d2fe;
  border-radius: 10px;
}

.hiw-compose-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.6875rem;
  color: #6b7280;
  margin-bottom: 8px;
}

.hiw-ai-indicator {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #6366f1;
  font-weight: 600;
}

.hiw-ai-dot {
  width: 6px;
  height: 6px;
  background: #6366f1;
  border-radius: 50%;
  animation: ai-pulse 1.5s ease-in-out infinite;
}

@keyframes ai-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hiw-compose-text {
  font-size: 0.8125rem;
  color: #374151;
  line-height: 1.5;
  margin: 0;
}

.hiw-compose-actions {
  display: flex;
  gap: 6px;
  margin-top: 2px;
}

.btn-approve, .btn-edit, .btn-instruct {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.6875rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-approve {
  background: #10b981;
  color: #fff;
}

.btn-approve:hover {
  background: #059669;
}

.btn-edit {
  background: #f3f4f6;
  color: #374151;
}

.btn-edit:hover {
  background: #e5e7eb;
}

.btn-instruct {
  background: #eff6ff;
  color: #3b82f6;
}

.btn-instruct:hover {
  background: #dbeafe;
}

/* ============================================
   STEP 7: CONTROL VIEW
   ============================================ */

.hiw-control-view {
  gap: 10px;
}

.hiw-reasoning-box {
  padding: 12px;
  background: linear-gradient(135deg, #ecfeff 0%, #cffafe 100%);
  border: 1px solid #a5f3fc;
  border-radius: 10px;
}

.hiw-reasoning-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #0891b2;
}

.hiw-reasoning-box p {
  margin: 0;
  font-size: 0.8125rem;
  color: #164e63;
  line-height: 1.4;
}

.hiw-instruction-box {
  padding: 10px 12px;
  background: #f9fafb;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.hiw-instruction-label {
  font-size: 0.625rem;
  color: #9ca3af;
  font-weight: 500;
  margin-bottom: 6px;
  display: block;
}

.hiw-instruction-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.hiw-instruction-text {
  font-size: 0.8125rem;
  color: #374151;
}

.hiw-instruction-status {
  font-size: 0.625rem;
  font-weight: 600;
  color: #10b981;
  background: #ecfdf5;
  padding: 2px 8px;
  border-radius: 4px;
}

.hiw-new-instruction {
  display: flex;
  gap: 6px;
}

.hiw-instruct-field {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 0.8125rem;
  background: #fff;
}

.hiw-instruct-field:focus {
  outline: none;
  border-color: #06b6d4;
}

.btn-send-sm {
  padding: 8px 14px;
  background: #06b6d4;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}

.btn-send-sm:hover {
  background: #0891b2;
}

/* ============================================
   STEP 8: TASKS VIEW
   ============================================ */

.hiw-tasks-view {
  gap: 8px;
}

.hiw-task-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
}

.hiw-task-source {
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.5625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hiw-task-source.ai {
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
  color: #7c3aed;
}

.hiw-task-source.manual {
  background: #f3f4f6;
  color: #6b7280;
}

.hiw-task-info {
  flex: 1;
  min-width: 0;
}

.hiw-task-title {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #111827;
}

.hiw-task-meta {
  font-size: 0.6875rem;
  color: #9ca3af;
}

.hiw-task-badge {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.625rem;
  font-weight: 700;
  background: #f3f4f6;
  color: #6b7280;
}

.hiw-task-badge.urgent {
  background: #fef2f2;
  color: #dc2626;
  animation: badge-pulse 2s ease-in-out infinite;
}

.hiw-task-badge.warm {
  background: #fef3c7;
  color: #d97706;
}

/* ============================================
   STEP 9: HOT LEADS VIEW
   ============================================ */

.hiw-hot-lead {
  position: relative;
  padding: 14px;
  background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 100%);
  border: 1px solid #fecdd3;
  border-radius: 12px;
}

.hiw-hot-lead.warm {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border-color: #fde68a;
}

.hiw-hot-lead-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.hiw-lead-avatar.hot {
  background: #fecdd3;
  color: #be123c;
}

.hiw-lead-avatar.warm {
  background: #fde68a;
  color: #b45309;
}

.hiw-lead-company {
  font-size: 0.6875rem;
  color: #6b7280;
}

.hiw-warmth-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
}

.hiw-warmth-badge.hot {
  background: #fecdd3;
  color: #be123c;
  animation: warmth-pulse 2s ease-in-out infinite;
}

.hiw-warmth-badge.warm {
  background: #fde68a;
  color: #b45309;
}

@keyframes warmth-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(244, 63, 94, 0); }
}

.hiw-hot-lead-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.hiw-signal {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.6875rem;
  color: #6b7280;
}

.hiw-signal svg {
  color: #10b981;
}

.hiw-hot-lead-action {
  display: flex;
  gap: 8px;
}

.btn-call {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #be123c;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}

.btn-call:hover {
  background: #9f1239;
}

.hiw-new-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  padding: 3px 8px;
  background: #10b981;
  color: #fff;
  font-size: 0.5625rem;
  font-weight: 700;
  border-radius: 4px;
  animation: new-badge-pulse 2s ease-in-out infinite;
}

@keyframes new-badge-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* ============================================
   MARKER COLOR VARIANTS
   ============================================ */

.hiw-marker-dot.amber {
  background: #f59e0b;
}

.hiw-marker-dot.amber::before {
  background: rgba(245, 158, 11, 0.2);
}

.hiw-marker-dot.pink {
  background: #ec4899;
}

.hiw-marker-dot.pink::before {
  background: rgba(236, 72, 153, 0.2);
}

.hiw-marker-dot.indigo {
  background: #6366f1;
}

.hiw-marker-dot.indigo::before {
  background: rgba(99, 102, 241, 0.2);
}

.hiw-marker-dot.orange {
  background: #f97316;
}

.hiw-marker-dot.orange::before {
  background: rgba(249, 115, 22, 0.2);
}

/* Live indicator variants */
.hiw-live-indicator.amber { color: #d97706; }
.hiw-live-indicator.emerald { color: #059669; }
.hiw-live-indicator.rose { color: #e11d48; }

/* Marker label color variants */
.marker-amber .hiw-marker-label { color: #b45309; }
.marker-pink .hiw-marker-label { color: #be185d; }
.marker-indigo .hiw-marker-label { color: #4338ca; }
.marker-orange .hiw-marker-label { color: #c2410c; }

/* ============================================
   RESPONSIVE - BENTO LAYOUT
   ============================================ */

@media (max-width: 900px) {
  .hiw-zone-content {
    padding: 0 20px;
  }

  .hiw-card-pair {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hiw-marker {
    padding: 32px 0;
  }

  .hiw-card.full {
    flex-direction: column;
    padding: 28px;
    gap: 24px;
  }

  .hiw-card.full .hiw-card-content,
  .hiw-card.full .hiw-card-visual {
    max-width: 100%;
  }

  .hiw-card {
    padding: 24px;
  }
}

@media (max-width: 600px) {
  .hiw-zone-content {
    padding: 0 16px;
  }

  .hiw-card {
    padding: 20px;
    border-radius: 16px;
  }

  .hiw-card-content h3 {
    font-size: 1.25rem;
  }

  .hiw-card-content p {
    font-size: 0.875rem;
  }

  .hiw-marker {
    padding: 24px 0;
  }

  .hiw-marker-label {
    font-size: 0.75rem;
    padding: 8px 14px;
  }

  .light-cta-form {
    flex-direction: column;
  }

  .light-cta-form input {
    padding: 14px 18px;
  }
}

/* Screen cards - flexible size for bento layout */
.hiw-screen {
  width: 100%;
  min-height: 180px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}

/* Larger screen in full-width cards */
.hiw-card.full .hiw-screen {
  min-height: 260px;
}

.hiw-screen-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
}

.hiw-screen-header span {
  font-weight: 600;
  color: #111827;
  font-size: 0.8125rem;
}

.hiw-screen-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hiw-screen-icon svg {
  width: 14px;
  height: 14px;
}

.hiw-screen-icon.blue { background: #eff6ff; }
.hiw-screen-icon.blue svg { color: #3b82f6; }
.hiw-screen-icon.violet { background: #f5f3ff; }
.hiw-screen-icon.violet svg { color: #7c3aed; }
.hiw-screen-icon.amber { background: #fffbeb; }
.hiw-screen-icon.amber svg { color: #f59e0b; }
.hiw-screen-icon.pink { background: #fdf2f8; }
.hiw-screen-icon.pink svg { color: #ec4899; }
.hiw-screen-icon.emerald { background: #ecfdf5; }
.hiw-screen-icon.emerald svg { color: #10b981; }
.hiw-screen-icon.indigo { background: #eef2ff; }
.hiw-screen-icon.indigo svg { color: #6366f1; }

.hiw-screen-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  flex: 1;
}

/* Animation items - scroll triggered */
.animate-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--delay, 0) * 0.15s);
}

.hiw-visual.in-view .animate-item {
  opacity: 1;
  transform: translateY(0);
}

/* Screen card entrance animation */
.hiw-visual .hiw-screen {
  opacity: 0;
  transform: translateY(30px) scale(0.98);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.hiw-visual.in-view .hiw-screen {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Typing indicator animation */
.hiw-typing-indicator {
  display: flex;
  gap: 4px;
  padding: 12px 16px;
}

.hiw-typing-indicator span {
  width: 8px;
  height: 8px;
  background: #9ca3af;
  border-radius: 50%;
  animation: hiw-typing 1.4s ease-in-out infinite;
}

.hiw-typing-indicator span:nth-child(2) {
  animation-delay: 0.2s;
}

.hiw-typing-indicator span:nth-child(3) {
  animation-delay: 0.4s;
}

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

/* Spinner animation */
.hiw-processing-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(59, 130, 246, 0.2);
  border-top-color: #3b82f6;
  border-radius: 50%;
  animation: hiw-spin 1s linear infinite;
}

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

/* Progress bar animation */
.hiw-progress-bar {
  height: 4px;
  background: #e5e7eb;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 8px;
}

.hiw-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #10b981, #34d399);
  border-radius: 2px;
  transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hiw-visual.in-view .hiw-progress-fill {
  width: 100%;
}

/* Score counter animation */
.hiw-visual.in-view .score-icp,
.hiw-visual.in-view .score-persona {
  animation: hiw-score-pop 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes hiw-score-pop {
  0% { transform: scale(0.8); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* Progress wrapper */
.hiw-progress-wrapper {
  padding: 12px 14px;
  background: #f0fdf4;
  border-radius: 10px;
  border: 1px solid #bbf7d0;
}

.hiw-progress-label {
  font-size: 0.75rem;
  color: #166534;
  font-weight: 600;
}

/* Writing status indicator */
.hiw-writing-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #fdf2f8;
  border-radius: 10px;
  border: 1px solid #fbcfe8;
}

.hiw-writing-status .hiw-typing-indicator {
  padding: 0;
}

.hiw-writing-status .hiw-typing-indicator span {
  width: 6px;
  height: 6px;
  background: #ec4899;
}

.hiw-writing-label {
  font-size: 0.75rem;
  color: #be185d;
  font-weight: 500;
}

/* Processing status indicator */
.hiw-processing-status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #fffbeb;
  border-radius: 10px;
  border: 1px solid #fde68a;
}

.hiw-processing-status .hiw-processing-spinner {
  width: 14px;
  height: 14px;
  border-color: rgba(245, 158, 11, 0.25);
  border-top-color: #f59e0b;
}

.hiw-processing-status span {
  font-size: 0.75rem;
  color: #b45309;
  font-weight: 500;
}

/* Feed items */
.hiw-feed-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #f9fafb;
  border-radius: 10px;
  border: 1px solid #f3f4f6;
}

.hiw-feed-item-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hiw-feed-item-icon svg {
  color: #6b7280;
  width: 12px;
  height: 12px;
}

.hiw-feed-item-text {
  flex: 1;
  font-size: 0.8125rem;
  color: #374151;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hiw-feed-item-status {
  font-size: 0.6875rem;
  color: #10b981;
  font-weight: 600;
}

.hiw-feed-item-status.success {
  color: #10b981;
}

/* Event markers between steps */
.hiw-event {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 0 0 32px;
  position: relative;
}

.hiw-event-line {
  width: 2px;
  height: 28px;
  background: linear-gradient(to bottom, #e5e7eb, #d1d5db);
  position: relative;
  left: -24px;
}

.hiw-event-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  border: 1px solid #bbf7d0;
  border-radius: 9999px;
  margin: 4px 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.hiw-event-card svg {
  width: 14px;
  height: 14px;
  color: #10b981;
  flex-shrink: 0;
}

.hiw-event-card span {
  font-size: 0.75rem;
  font-weight: 500;
  color: #166534;
  white-space: nowrap;
}

/* Config cards (Step 2) */
.hiw-config-card {
  padding: 12px 14px;
  background: #f9fafb;
  border-radius: 10px;
  border: 1px solid #f3f4f6;
}

.hiw-config-label {
  font-size: 0.6875rem;
  color: #9ca3af;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.hiw-config-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.hiw-tag {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.6875rem;
  font-weight: 500;
}

.hiw-tag.violet {
  background: #f5f3ff;
  color: #7c3aed;
}

.hiw-persona-list {
  display: flex;
  gap: 10px;
}

.hiw-persona {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hiw-persona-avatar {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: #f5f3ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.5625rem;
  font-weight: 700;
  color: #7c3aed;
}

.hiw-persona span {
  font-size: 0.75rem;
  color: #374151;
}

/* Lead cards (Step 3) */
.hiw-lead-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #f9fafb;
  border-radius: 10px;
  border: 1px solid #f3f4f6;
}

.hiw-lead-avatar {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: #6b7280;
  flex-shrink: 0;
}

.hiw-lead-info {
  flex: 1;
  min-width: 0;
}

.hiw-lead-name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 2px;
}

.hiw-lead-scores {
  display: flex;
  gap: 10px;
  font-size: 0.6875rem;
}

.score-icp {
  color: #d97706;
}

.score-persona {
  color: #7c3aed;
}

.hiw-lead-priority {
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.hiw-lead-priority.high {
  background: #ecfdf5;
  color: #059669;
}

.hiw-lead-priority.medium {
  background: #f3f4f6;
  color: #6b7280;
}

.hiw-live-indicator {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  font-size: 0.6875rem;
  color: #10b981;
  font-weight: 500;
}

.hiw-live-dot {
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
  animation: hiw-pulse 2s ease-in-out infinite;
}

@keyframes hiw-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Message cards (Step 4) */
.hiw-message-card {
  padding: 14px;
  background: #f9fafb;
  border-radius: 10px;
  border: 1px solid #f3f4f6;
}

.hiw-message-to {
  font-size: 0.6875rem;
  color: #9ca3af;
  margin-bottom: 10px;
}

.hiw-message-card.generated {
  background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
  border-color: #fbcfe8;
}

.hiw-message-text {
  font-size: 0.8125rem;
  color: #374151;
  line-height: 1.6;
  margin-bottom: 12px;
  font-style: italic;
}

.hiw-message-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hiw-quality-score {
  font-size: 0.6875rem;
  color: #059669;
  font-weight: 600;
}

.hiw-message-actions {
  display: flex;
  gap: 6px;
}

.hiw-message-actions .btn-edit {
  padding: 5px 10px;
  background: #fff;
  color: #374151;
  font-size: 0.6875rem;
  font-weight: 500;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
  cursor: pointer;
  transition: all 0.15s;
}

.hiw-message-actions .btn-edit:hover {
  background: #f9fafb;
}

.hiw-message-actions .btn-approve {
  padding: 5px 10px;
  background: #10b981;
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}

.hiw-message-actions .btn-approve:hover {
  background: #059669;
}

.hiw-channel-icons {
  display: flex;
  gap: 6px;
  margin-left: auto;
}

.hiw-channel-icons svg {
  color: #9ca3af;
  width: 14px;
  height: 14px;
}

/* Action items (Step 5) */
.hiw-action-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  background: #f9fafb;
  border-radius: 10px;
  border: 1px solid #f3f4f6;
}

.hiw-action-item.urgent {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  border-color: #fecaca;
}

.hiw-action-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d1d5db;
  margin-top: 4px;
  flex-shrink: 0;
}

.hiw-action-dot.urgent {
  background: #ef4444;
  box-shadow: 0 0 6px rgba(239, 68, 68, 0.4);
  animation: hiw-urgent-pulse 2s ease-in-out infinite;
}

@keyframes hiw-urgent-pulse {
  0%, 100% { box-shadow: 0 0 6px rgba(239, 68, 68, 0.4); }
  50% { box-shadow: 0 0 12px rgba(239, 68, 68, 0.8); }
}

.hiw-action-dot.high {
  background: #f59e0b;
}

.hiw-action-info {
  flex: 1;
}

.hiw-action-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 2px;
}

.hiw-action-desc {
  font-size: 0.6875rem;
  color: #6b7280;
}

.hiw-action-badge {
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.5625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.hiw-action-badge.urgent {
  background: #fef2f2;
  color: #dc2626;
}

.hiw-date {
  font-size: 0.6875rem;
  color: #9ca3af;
  margin-left: auto;
}

/* Reasoning card (Step 6) */
.hiw-reasoning-card {
  padding: 14px;
  background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
  border-radius: 10px;
  border: 1px solid #c7d2fe;
}

.hiw-reasoning-label {
  font-size: 0.6875rem;
  color: #6366f1;
  margin-bottom: 8px;
  font-weight: 600;
}

.hiw-reasoning-card p {
  font-size: 0.8125rem;
  color: #374151;
  line-height: 1.6;
  font-style: italic;
}

.hiw-instruct-box {
  display: flex;
  gap: 6px;
}

.hiw-instruct-box input {
  flex: 1;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-size: 0.8125rem;
  color: #111827;
  outline: none;
  transition: border-color 0.15s;
}

.hiw-instruct-box input::placeholder {
  color: #9ca3af;
}

.hiw-instruct-box input:focus {
  border-color: #6366f1;
}

.hiw-instruct-box button {
  width: 40px;
  height: 40px;
  background: #6366f1;
  border: none;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s;
}

.hiw-instruct-box button svg {
  color: #fff;
  width: 14px;
  height: 14px;
}

.hiw-instruct-box button:hover {
  background: #4f46e5;
}

/* Output markers between sections */
.hiw-output {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 4;
  padding: 20px 0;
  padding-left: calc(50% + 10px);
}

.hiw-output-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
}

.hiw-output-dot-inner {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #10b981;
}

.hiw-output-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hiw-output-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
}

.hiw-output-badge svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.hiw-output-badge.success {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border: 1px solid #a7f3d0;
  color: #047857;
}

.hiw-output-badge.success svg {
  color: #10b981;
}

.hiw-output-badge.info {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
}

.hiw-output-badge.info svg {
  color: #3b82f6;
}

.hiw-output-badge.warning {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1px solid #fde68a;
  color: #b45309;
}

.hiw-output-badge.warning svg {
  color: #f59e0b;
}

/* Responsive styles for HIW horizontal layout */
@media (max-width: 1024px) {
  /* Hero responsive */
  .hiw-hero {
    padding: 120px 24px 60px;
  }

  .hiw-hero-line1 {
    font-size: 2.5rem;
  }

  .hiw-hero-line2 {
    font-size: 1.5rem;
  }

  .hiw-hero-subtitle {
    font-size: 1.125rem;
  }

  .hiw-row::before {
    left: 30px;
  }

  .hiw-row {
    flex-direction: column;
    min-height: auto;
    padding: 60px 0;
  }

  .hiw-text {
    width: 100%;
    padding: 0 40px 40px;
    text-align: center;
    align-items: center;
  }

  .hiw-text h2 {
    font-size: 2.25rem;
  }

  .hiw-tags {
    justify-content: center;
  }

  .hiw-visual {
    width: 100%;
    min-height: auto;
    justify-content: center;
    padding-left: 60px;
    margin-left: 0;
    align-items: center;
  }

  .hiw-timeline-dot {
    left: 23px;
    top: 50%;
  }

  .hiw-output {
    padding-left: 60px;
  }

  .hiw-output.centered {
    padding-left: 0;
  }

  .hiw-output-dot {
    width: 28px;
    height: 28px;
  }

  .hiw-output-dot-inner {
    width: 10px;
    height: 10px;
  }

  /* Fork/Merge responsive - simpler vertical line */
  .hiw-fork,
  .hiw-merge {
    height: 50px;
  }

  .hiw-fork-center,
  .hiw-merge-center {
    height: 50px;
  }

  .hiw-fork-left,
  .hiw-fork-right,
  .hiw-merge-left,
  .hiw-merge-right {
    display: none;
  }

  /* Parallel layout - tablet */
  .hiw-parallel {
    flex-direction: column;
    gap: 40px;
    padding: 40px 24px;
  }

  .hiw-parallel-step {
    max-width: 100%;
  }

  .hiw-parallel-line {
    display: none;
  }

  .hiw-parallel-step .hiw-timeline-dot {
    display: none;
  }

  .hiw-parallel-content {
    text-align: center;
  }

  .hiw-parallel-content .hiw-tags {
    justify-content: center;
  }

  .hiw-parallel-visual {
    display: flex;
    justify-content: center;
  }

  .hiw-screen.small {
    max-width: 400px;
  }

}

@media (max-width: 767px) {
  /* Hero mobile */
  .hiw-hero {
    padding: 100px 20px 40px;
  }

  .hiw-hero-line1 {
    font-size: 1.75rem;
  }

  .hiw-hero-line2 {
    font-size: 1.25rem;
  }

  .hiw-hero h1 {
    margin-bottom: 28px;
  }

  .hiw-hero-subtitle {
    font-size: 1rem;
  }

  .hiw-section {
    padding: 0 0 40px;
  }

  .hiw-row::before {
    left: 15px;
  }

  .hiw-row {
    padding: 40px 0;
  }

  .hiw-text {
    padding: 0 24px 32px;
  }

  .hiw-text h2 {
    font-size: 1.75rem;
  }

  .hiw-text p {
    font-size: 1rem;
  }

  .hiw-visual {
    padding-left: 40px;
    padding-right: 24px;
  }

  .hiw-screen {
    width: 100%;
    min-height: auto;
  }

  .hiw-timeline-dot {
    left: 8px;
    top: 50%;
  }

  .hiw-screen-header {
    padding: 12px 16px;
  }

  .hiw-screen-content {
    padding: 16px;
  }

  /* Fork/Merge mobile */
  .hiw-fork,
  .hiw-merge {
    height: 30px;
  }

  .hiw-fork-center,
  .hiw-merge-center {
    height: 30px;
  }

  .hiw-output {
    padding-left: 24px;
    padding-right: 24px;
    flex-wrap: wrap;
    gap: 10px;
  }

  .hiw-output.centered {
    padding-left: 24px;
    justify-content: flex-start;
  }

  /* Parallel layout - mobile */
  .hiw-parallel {
    padding: 20px 16px;
    gap: 32px;
  }

  .hiw-parallel-content h3 {
    font-size: 1.25rem;
  }

  .hiw-parallel-content p {
    font-size: 0.875rem;
  }

  .hiw-screen.small {
    max-width: 100%;
  }

  .hiw-fork,
  .hiw-merge {
    height: 30px;
  }

  .hiw-output-dot {
    width: 24px;
    height: 24px;
    border-width: 2px;
  }

  .hiw-output-dot-inner {
    width: 8px;
    height: 8px;
  }

  .hiw-output-badge {
    padding: 6px 10px;
    font-size: 0.75rem;
  }

  .hiw-output-badge svg {
    width: 12px;
    height: 12px;
  }

  /* Chat bubbles and screens */
  .hiw-chat-bubble {
    max-width: 85%;
  }

  .hiw-chat-text {
    font-size: 0.75rem;
    line-height: 1.4;
  }

  .hiw-chat-avatar {
    width: 28px;
    height: 28px;
    font-size: 0.625rem;
  }

  .hiw-chat-score {
    margin-top: 4px;
  }

  .hiw-score-badge {
    font-size: 0.625rem;
    padding: 2px 6px;
  }

  /* Config list mobile */
  .hiw-config-row {
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
  }

  .hiw-config-value {
    flex-wrap: wrap;
  }

  .hiw-tag.small {
    font-size: 0.625rem;
    padding: 2px 6px;
  }

  /* Source items mobile */
  .hiw-source-count {
    font-size: 0.75rem;
  }

  .hiw-source-name {
    font-size: 0.75rem;
  }

  /* Plan list mobile */
  .hiw-plan-item {
    padding: 8px 12px;
    gap: 8px;
  }

  .hiw-plan-type {
    font-size: 0.625rem;
    padding: 2px 8px;
    min-width: 56px;
  }

  .hiw-plan-text {
    font-size: 0.75rem;
  }

  /* Compose view mobile */
  .hiw-compose-text {
    font-size: 0.75rem;
  }

  .hiw-compose-actions {
    gap: 6px;
  }

  .hiw-compose-actions button {
    font-size: 0.6875rem;
    padding: 4px 10px;
  }

  .hiw-context-bar {
    font-size: 0.6875rem;
  }

  .hiw-incoming-msg {
    font-size: 0.75rem;
  }

  /* Task rows mobile */
  .hiw-task-row {
    padding: 10px 12px;
    gap: 8px;
  }

  .hiw-task-title {
    font-size: 0.75rem;
  }

  .hiw-task-meta {
    font-size: 0.625rem;
  }

  /* Hot leads mobile */
  .hiw-hot-lead-signals {
    flex-wrap: wrap;
    gap: 4px;
  }

  .hiw-signal {
    font-size: 0.6875rem;
  }

  /* Research card mobile */
  .hiw-research-tasks .hiw-task-item {
    font-size: 0.75rem;
  }

  .hiw-lead-name {
    font-size: 0.8125rem;
  }

  .hiw-lead-title {
    font-size: 0.6875rem;
  }

  /* Control/instruction views mobile */
  .hiw-reasoning-box p,
  .hiw-instruction-text {
    font-size: 0.75rem;
  }

  .hiw-instruct-field {
    font-size: 0.75rem;
  }

  /* Marker adjustments */
  .hiw-marker {
    padding: 20px 0;
  }

  .hiw-marker-label {
    font-size: 0.6875rem;
    padding: 6px 12px;
  }

  /* CTA section in HIW */
  .light-cta h2 {
    font-size: 1.5rem;
  }

  .light-cta p {
    font-size: 0.9375rem;
  }
}

/* ============================================
   MOBILE TOUCH TARGETS & FORM IMPROVEMENTS
   ============================================ */
@media (max-width: 767px) {
  /* Prevent horizontal scrolling on mobile */
  html, body {
    overflow-x: hidden;
  }

  /* Mobile menu - larger touch targets */
  .mobile-menu nav a {
    padding: 14px 16px;
    font-size: 1rem;
    min-height: 48px;
  }

  .mobile-menu-btn {
    padding: 12px;
    min-width: 44px;
    min-height: 44px;
  }

  .mobile-menu-btn svg {
    width: 24px;
    height: 24px;
  }

  /* FAQ - optimized for mobile */
  .faq-question {
    padding: 20px;
    min-height: 56px;
  }

  .faq-question span {
    font-size: 0.9375rem;
  }

  .faq-answer {
    padding: 0 20px 20px;
  }

  .faq-item {
    border-radius: 12px;
  }

  /* Footer touch targets */
  .footer-links a {
    display: inline-block;
    padding: 6px 0;
    min-height: 44px;
    line-height: 32px;
  }

  .footer-links ul {
    gap: 8px;
  }

  .footer-bottom a,
  .footer-social a {
    padding: 8px;
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* CTA buttons - ensure minimum touch targets */
  .btn-primary,
  .btn-primary-lg,
  .btn-outline {
    min-height: 48px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  /* Form inputs - better mobile experience */
  .hero-email-input-wrapper input,
  .cta-input-wrapper input {
    font-size: 16px; /* Prevents iOS zoom on focus */
    min-height: 48px;
    padding: 14px 16px;
  }

  /* CTA section mobile spacing */
  .cta-section {
    padding: 60px 24px;
  }

  .cta-inner {
    padding: 40px 24px;
    border-radius: 20px;
  }

  .cta-title {
    font-size: 1.75rem;
  }

  .cta-form-inline {
    gap: 12px;
  }

  .cta-input-wrapper {
    max-width: 100%;
  }

  .cta-input-wrapper input {
    max-width: 100%;
  }

  /* Badge mobile */
  .hero-badge {
    font-size: 0.75rem;
    padding: 6px 12px;
  }

  /* Social proof mobile */
  .trust-item {
    font-size: 0.8125rem;
  }

  /* Section headers mobile */
  .section-header {
    margin-bottom: 32px;
  }

  .section-subtitle {
    font-size: 0.9375rem;
  }
}

/* ============================================
   MOBILE-ONLY UI ADJUSTMENTS
   ============================================ */
@media (max-width: 767px) {
  /* 1. Beta badge in mobile header */
  .mobile-beta-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #7c3aed;
    background: #f5f3ff;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-left: auto;
    margin-right: 12px;
  }

  /* 2. Hide "Join Beta" button in mobile dropdown */
  .mobile-menu-cta {
    display: none;
  }

  /* 3. Tabs section - horizontal tabs above, compact content */
  .tabs-container {
    flex-direction: column !important;
    gap: 24px !important;
  }

  .tabs-buttons {
    flex-direction: row !important;
    width: 100% !important;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }

  .tabs-buttons .tab-btn {
    flex-shrink: 0;
    white-space: nowrap;
  }

  /* Tab content - more compact height */
  .tab-content-inner {
    gap: 20px;
  }

  .tab-text h3 {
    font-size: 1.125rem;
    margin-bottom: 8px;
  }

  .tab-text p {
    font-size: 0.875rem;
    margin-bottom: 12px;
  }

  .tab-features {
    gap: 8px;
  }

  .tab-feature {
    font-size: 0.8125rem;
  }

  .tab-visual {
    /* Let illustrations display naturally without cutting */
    width: 100%;
  }

  /* Make AI reasoning visual more compact */
  .ai-reasoning {
    padding: 12px;
  }

  .ai-message {
    padding: 10px;
  }

  .ai-message p {
    font-size: 0.8125rem;
    line-height: 1.4;
  }

  /* 4. Hide competitor cards - only show Zyga */
  .comparison-grid {
    display: block;
  }

  .comparison-card.light {
    display: none;
  }

  .comparison-card.dark {
    display: block;
    max-width: 100%;
  }

  /* 5. CTA section adjustments */
  .cta-social-proof {
    display: none;
  }

  .cta-form {
    flex-direction: column;
    gap: 12px;
  }

  .cta-form input {
    width: 100%;
  }

  .cta-form button {
    width: 100%;
  }

  .cta-row {
    flex-direction: column;
    align-items: center;
  }

  /* 6. Footer - hide Resources and Company sections */
  .footer-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-links:nth-child(3),
  .footer-links:nth-child(4) {
    display: none;
  }

  .footer-brand {
    text-align: center;
  }

  .footer-brand p {
    margin: 12px auto;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-links:nth-child(2) {
    text-align: center;
  }

  .footer-links:nth-child(2) ul {
    align-items: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* Hide beta badge on desktop - only visible on mobile */
@media (min-width: 768px) {
  .mobile-beta-badge {
    display: none;
  }
}

/* ============================================
   COMPARE PAGE - MOBILE REDESIGN
   ============================================ */
@media (max-width: 767px) {
  /* AT A GLANCE - Compact list layout */
  .gain-comparison {
    padding: 0;
    background: transparent;
    border-radius: 0;
  }

  .gain-headers {
    display: none;
  }

  .gain-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .gain-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 16px 0;
    border-bottom: 1px solid #e5e7eb;
    background: transparent;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    text-align: left;
  }

  .gain-row:last-child {
    border-bottom: none;
  }

  .gain-category {
    background: transparent;
    color: #111827;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0 0 8px;
    margin-bottom: 0;
  }

  .gain-before {
    padding: 0;
    border-left: none;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #9ca3af;
    font-size: 0.8125rem;
    background: transparent;
    text-decoration: line-through;
  }

  .gain-before::before {
    display: none;
  }

  .gain-after {
    padding: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #059669;
    font-size: 0.875rem;
    font-weight: 600;
    background: transparent;
    border-radius: 0;
    margin-top: 2px;
  }

  .gain-after::before {
    content: '→';
    font-size: 0.75rem;
    font-weight: 600;
    color: #059669;
    background: transparent;
    padding: 0;
    border-radius: 0;
    flex-shrink: 0;
  }

  /* QUICK COMPARE - Cleaner stacked layout */
  .quick-compare-tabs {
    gap: 20px;
  }

  .quick-compare-nav {
    gap: 6px;
    justify-content: flex-start;
    padding-bottom: 4px;
  }

  .quick-tab {
    padding: 8px 12px;
    font-size: 0.75rem;
  }

  .quick-compare-card {
    border-radius: 12px;
    overflow: hidden;
  }

  .quick-compare-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 0;
    text-align: center;
  }

  .quick-them {
    padding: 12px;
    background: #f3f4f6;
    font-size: 0.875rem;
    color: #6b7280;
  }

  .quick-us {
    padding: 12px;
    background: #111827;
    font-size: 0.875rem;
    color: #fff;
  }

  .quick-compare-body {
    padding: 0;
  }

  .quick-point {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 0;
    border-bottom: 1px solid #f3f4f6;
  }

  .quick-point:last-child {
    border-bottom: none;
  }

  .quick-them-text {
    padding: 14px 12px;
    text-align: center;
    font-size: 0.8125rem;
    color: #9ca3af;
    background: #fafafa;
    border-right: 1px solid #f3f4f6;
    border-bottom: none;
    padding-bottom: 14px;
  }

  .quick-us-text {
    padding: 14px 12px;
    text-align: center;
    font-size: 0.8125rem;
    color: #111827;
    font-weight: 600;
    background: #fff;
    margin-left: 0;
  }

  .quick-us-text::before {
    display: none;
  }
}

/* ============================================
   MOBILE EXPERIENCE - COMPREHENSIVE FIXES
   ============================================ */

/* Audience mobile cards - hidden by default on desktop */
.audience-mobile-cards {
  display: none;
}

/* Bento inner row helper (used inside wide cards for side-by-side content) */
.bento-inner-row {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.bento-inner-col {
  flex: 1;
}

@media (max-width: 767px) {

  /* ---- BENTO CARD INNER LAYOUTS ---- */
  .bento-inner-row {
    flex-direction: column;
    gap: 12px;
  }

  /* Stack the side-by-side layout inside featured bento cards */
  .bento-card.featured > div[style*="display: flex"][style*="gap: 32px"] {
    flex-direction: column !important;
    gap: 16px !important;
  }

  .bento-card.featured .message-preview-card {
    max-width: 100% !important;
  }

  .bento-card.featured .engagement-signals {
    margin-top: 0 !important;
  }

  /* Verified contacts indentation - less on mobile */
  .verified-contacts[style*="margin-left: 36px"] {
    margin-left: 0 !important;
  }

  /* ---- TABS SECTION - COMPLETE MOBILE REWORK ---- */
  /* Override the inline styles on the container */
  .tabs-container[style] {
    flex-direction: column !important;
    gap: 16px !important;
  }

  .tabs-buttons[style] {
    flex-direction: row !important;
    width: 100% !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 4px;
  }

  .tabs-buttons[style]::-webkit-scrollbar {
    display: none;
  }

  .tabs-buttons .tab-btn {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 10px 16px;
    font-size: 0.8125rem;
  }

  /* Tab content stacks vertically */
  .tab-content {
    padding: 20px !important;
    border-radius: 16px;
  }

  .tab-content.active {
    gap: 16px;
  }

  .tab-content-inner {
    flex-direction: column !important;
    gap: 16px;
  }

  .tab-visual {
    width: 100% !important;
  }

  .tab-text h3 {
    font-size: 1.125rem;
    margin-bottom: 6px;
  }

  .tab-text p {
    font-size: 0.8125rem;
    margin-bottom: 10px;
    line-height: 1.5;
  }

  .tab-features {
    gap: 6px;
  }

  .tab-feature {
    font-size: 0.8125rem;
  }

  /* Compact tab visuals */
  .approval-card {
    padding: 12px;
  }

  .approval-item {
    flex-direction: column;
    gap: 8px;
  }

  .approval-buttons {
    display: flex;
    gap: 8px;
    width: 100%;
  }

  .approval-buttons button {
    flex: 1;
  }

  .simulation-card {
    margin-top: 0;
  }

  .sim-message p {
    font-size: 0.8125rem;
  }

  .instruct-card {
    padding: 12px;
  }

  .instruct-message p {
    font-size: 0.8125rem;
  }

  .instruct-input input {
    font-size: 0.8125rem;
  }

  /* AI reasoning dark card on mobile */
  .ai-reasoning {
    padding: 12px;
    border-radius: 12px;
  }

  .ai-message {
    padding: 10px;
  }

  .ai-message p {
    font-size: 0.8125rem;
    line-height: 1.4;
  }

  /* ---- SECTION SPACING ---- */
  .section-header {
    margin-bottom: 40px;
  }

  .section-padding-desktop {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
  }

  /* ---- AUDIENCE SECTION ---- */
  .audience-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .audience-tabs::-webkit-scrollbar {
    display: none;
  }

  .audience-tab {
    white-space: nowrap;
    flex-shrink: 0;
  }

  .audience-inner {
    flex-direction: column;
    gap: 24px;
  }

  .audience-visual {
    width: 100%;
  }

  /* ---- FAQ SECTION ---- */
  .faq-question {
    padding: 16px 0;
    font-size: 1rem;
  }

  .faq-answer {
    font-size: 0.875rem;
  }

  /* ---- CTA SECTIONS ---- */
  .light-cta-form,
  .cta-form-inline {
    flex-direction: column;
    gap: 12px;
  }

  .light-cta-form input,
  .cta-form-inline input,
  .cta-input-wrapper {
    width: 100%;
    max-width: none !important;
  }

  .light-cta-form .btn-primary,
  .cta-form-inline .btn-primary-lg {
    width: 100%;
  }

  .light-cta h2,
  .cta-content-white h2 {
    font-size: 1.5rem;
  }

  .light-cta p,
  .cta-content-white p {
    font-size: 0.9375rem;
  }

  /* ---- COMPARISON SECTION ---- */
  .comparison-grid {
    gap: 16px;
  }

  .comparison-card {
    padding: 24px;
    border-radius: 16px;
  }

  /* ---- AUDIENCE SECTION: MOBILE ROLE CARDS ---- */
  .audience-desktop-tabs {
    display: none !important;
  }

  .audience-mobile-cards {
    display: flex !important;
    flex-direction: column;
    gap: 12px;
  }

  .audience-role-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
  }

  .audience-role-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f0ff;
    border-radius: 10px;
    color: #7c3aed;
  }

  .audience-role-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 4px;
  }

  .audience-role-content p {
    font-size: 0.8125rem;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
  }
}

/* ============================================
   WAITLIST MODAL
   ============================================ */
.waitlist-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

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

.waitlist-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(17, 24, 39, 0.6);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.2s ease-out;
}

.waitlist-modal-container {
  position: relative;
  width: 100%;
  max-width: 420px;
  animation: slideUp 0.3s ease-out;
}

.waitlist-modal-content {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  position: relative;
  min-height: 420px;
  display: flex;
  flex-direction: column;
}

.waitlist-modal-content.waitlist-modal-success {
  display: none;
  text-align: center;
  justify-content: center;
}

.waitlist-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  color: #6b7280;
  transition: all 0.15s ease;
}

.waitlist-modal-close:hover {
  background: #e5e7eb;
  color: #111827;
}

.waitlist-modal-header {
  margin-bottom: 24px;
}

.waitlist-modal-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 8px;
}

.waitlist-modal-header p {
  font-size: 0.9375rem;
  color: #6b7280;
  margin: 0;
}

.waitlist-modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.waitlist-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.waitlist-form-group label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #374151;
}

.waitlist-form-group input {
  padding: 12px 16px;
  font-size: 0.9375rem;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  color: #111827;
  transition: all 0.15s ease;
}

.waitlist-form-group input:focus {
  outline: none;
  border-color: #7c3aed;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.waitlist-form-group input::placeholder {
  color: #9ca3af;
}

.waitlist-form-group input[readonly] {
  background: #f9fafb;
  color: #6b7280;
  cursor: not-allowed;
}

.waitlist-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.required-asterisk {
  color: #7c3aed;
  font-weight: 600;
}

.waitlist-submit-btn {
  margin-top: 8px;
  width: 100%;
  justify-content: center;
}

/* Success State */
.waitlist-success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 50%;
  color: #10b981;
}

.waitlist-modal-success h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 8px;
}

.waitlist-modal-success p {
  font-size: 0.9375rem;
  color: #6b7280;
  margin: 0 0 24px;
  line-height: 1.6;
}

.waitlist-check-email {
  display: inline-block;
  margin-top: 8px;
  color: #111827;
  font-weight: 500;
}

.waitlist-success-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.waitlist-demo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: #7c3aed;
}

.waitlist-demo-btn:hover {
  background: #6d28d9;
}

.waitlist-close-text {
  background: none;
  border: none;
  font-size: 0.875rem;
  color: #6b7280;
  cursor: pointer;
  padding: 8px;
  transition: color 0.15s ease;
}

.waitlist-close-text:hover {
  color: #111827;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

/* Mobile responsiveness */
@media (max-width: 480px) {
  .waitlist-modal {
    padding: 16px;
  }

  .waitlist-modal-content {
    padding: 24px;
  }

  .waitlist-form-row {
    grid-template-columns: 1fr;
  }

  .waitlist-modal-header h3,
  .waitlist-modal-success h3 {
    font-size: 1.25rem;
  }
}
