/* ═══════════════════════════════════════════════════════════════════
   WA Tracking Landing Page — Styles
   Dark mode, premium marketing aesthetic
   ═══════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ─── Design Tokens ─── */
:root {
  --color-bg: #0a0e17;
  --color-bg-alt: #111827;
  --color-bg-card: #1a2332;
  --color-border: #1e293b;
  --color-border-light: #334155;

  --color-text: #f1f5f9;
  --color-text-secondary: #94a3b8;
  --color-text-muted: #64748b;

  --color-accent: #25d366;
  --color-accent-hover: #1eba59;
  --color-accent-glow: rgba(37, 211, 102, 0.15);
  --color-accent-gradient: linear-gradient(135deg, #25d366, #128c7e);

  --color-blue: #3b82f6;
  --color-purple: #8b5cf6;
  --color-amber: #f59e0b;

  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
}

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

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

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

a {
  color: var(--color-accent);
  text-decoration: none;
}

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

/* ─── Container ─── */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ─── Navigation ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(10, 14, 23, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(30, 41, 59, 0.5);
  transition: background 0.2s;
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.nav-brand {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 1;
}

.nav-brand .icon { font-size: 1.5rem; }

/* Desktop links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--color-text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--color-text); }

.btn-nav {
  background: var(--color-accent);
  color: #0a0e17 !important;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-nav:hover {
  background: var(--color-accent-hover);
  box-shadow: 0 0 20px var(--color-accent-glow);
}

/* Hamburger button — hidden on desktop */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  background: transparent;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  cursor: pointer;
  z-index: 201;
}

.nav-hamburger span {
  display: block;
  height: 2px;
  background: var(--color-text-secondary);
  border-radius: 2px;
  transition: all 0.25s ease;
  transform-origin: center;
}

/* Animated X when open */
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
@media (max-width: 768px) {
  .nav-hamburger { display: flex; }

  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--color-bg-secondary);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    z-index: 199;
    padding: 5rem 2rem 2rem;
    animation: none;
  }

  .nav-links.open {
    display: flex;
    animation: mobileMenuIn 0.25s ease;
  }

  @keyframes mobileMenuIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .nav-links li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
  }

  .nav-links li:first-child { border-top: 1px solid var(--color-border); }

  .nav-links a {
    display: block;
    padding: 1.125rem 1.5rem;
    font-size: 1rem;
    color: var(--color-text-secondary);
  }

  .nav-links a:hover { color: var(--color-accent); background: rgba(37,211,102,0.05); }

  .nav-links .btn-nav {
    margin: 1.5rem auto 0;
    display: inline-block;
    width: auto;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    border-radius: var(--radius-md);
  }

  .nav-links li:has(.btn-nav) {
    border: none;
    text-align: center;
  }
}

/* ─── Hero ─── */
.hero {
  padding: 10rem 0 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(37, 211, 102, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  background: var(--color-accent-glow);
  color: var(--color-accent);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(37, 211, 102, 0.2);
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 720px;
  margin: 0 auto 1.5rem;
}

.hero h1 .accent {
  background: var(--color-accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--color-text-secondary);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--color-accent);
  color: #0a0e17;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-lg);
  font-size: 1rem;
  font-weight: 700;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.hero-cta:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.3);
  color: #0a0e17;
}

.hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-secondary);
  padding: 0.875rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  margin-left: 1rem;
  transition: color 0.2s;
}

.hero-cta-secondary:hover {
  color: var(--color-text);
}

/* ─── Section Common ─── */
section {
  padding: 5rem 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--color-text-secondary);
  max-width: 560px;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

/* ─── Problem Section ─── */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.problem-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: all 0.3s;
}

.problem-card:hover {
  border-color: var(--color-border-light);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.problem-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.problem-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.problem-card p {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ─── How It Works ─── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-blue), var(--color-purple));
  opacity: 0.3;
}

.step-card {
  text-align: center;
  position: relative;
}

.step-num {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 1;
}

.step-card:nth-child(1) .step-num {
  background: rgba(37, 211, 102, 0.15);
  color: var(--color-accent);
  border: 2px solid rgba(37, 211, 102, 0.3);
}

.step-card:nth-child(2) .step-num {
  background: rgba(59, 130, 246, 0.15);
  color: var(--color-blue);
  border: 2px solid rgba(59, 130, 246, 0.3);
}

.step-card:nth-child(3) .step-num {
  background: rgba(139, 92, 246, 0.15);
  color: var(--color-purple);
  border: 2px solid rgba(139, 92, 246, 0.3);
}

.step-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  max-width: 280px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ─── Dashboard Preview ─── */
.preview-section {
  padding: 4rem 0;
}

.preview-mockup {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.preview-mockup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-accent-gradient);
}

.preview-dots {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.preview-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-border-light);
}

.preview-dots span:first-child { background: #ef4444; }
.preview-dots span:nth-child(2) { background: #f59e0b; }
.preview-dots span:nth-child(3) { background: #22c55e; }

.preview-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
}

.preview-table th {
  text-align: left;
  padding: 0.75rem 1rem;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border);
  font-weight: 600;
}

.preview-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-secondary);
}

.preview-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.preview-keyword {
  color: var(--color-accent);
  font-weight: 500;
}

.preview-gclid {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* ─── Pricing ─── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.price-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  position: relative;
  transition: all 0.3s;
}

.price-card:hover {
  border-color: var(--color-border-light);
  transform: translateY(-4px);
}

.price-card.featured {
  border-color: var(--color-accent);
  box-shadow: 0 0 40px rgba(37, 211, 102, 0.1);
}

.price-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: #0a0e17;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 1rem;
  border-radius: 9999px;
}

.price-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  margin-bottom: 0.75rem;
}

.price-amount {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.25rem;
}

.price-amount span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.price-desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

.price-features {
  list-style: none;
  margin-bottom: 2rem;
}

.price-features li {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.price-features li::before {
  content: '✓';
  color: var(--color-accent);
  font-weight: 700;
  font-size: 0.875rem;
}

.price-btn {
  display: block;
  width: 100%;
  padding: 0.75rem;
  border-radius: var(--radius-md);
  font-family: var(--font-family);
  font-size: 0.9375rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.price-btn-primary {
  background: var(--color-accent);
  color: #0a0e17;
}

.price-btn-primary:hover {
  background: var(--color-accent-hover);
  box-shadow: 0 0 20px var(--color-accent-glow);
  color: #0a0e17;
}

.price-btn-secondary {
  background: transparent;
  color: var(--color-text-secondary);
  border: 1px solid var(--color-border-light);
}

.price-btn-secondary:hover {
  background: var(--color-bg-alt);
  color: var(--color-text);
}

/* ─── Footer ─── */
.footer {
  border-top: 1px solid var(--color-border);
  padding: 3rem 0;
}

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

.footer-brand {
  font-weight: 700;
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--color-text-secondary);
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.25rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .problem-grid,
  .steps-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid::before {
    display: none;
  }

  .nav-links {
    display: none;
  }

  .hero-cta-secondary {
    display: block;
    margin-left: 0;
    margin-top: 1rem;
  }

  .footer .container {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .section-title {
    font-size: 1.75rem;
  }
}

/* ─── Hero Orbs ─── */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: orbFloat 8s ease-in-out infinite;
}
.hero-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(37,211,102,0.10) 0%, transparent 70%);
  top: -100px; left: 50%; transform: translateX(-50%);
  animation-delay: 0s;
}
.hero-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(59,130,246,0.08) 0%, transparent 70%);
  top: 100px; right: 5%;
  animation-delay: -3s;
  animation-duration: 10s;
}
.hero-orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(139,92,246,0.07) 0%, transparent 70%);
  bottom: 0; left: 5%;
  animation-delay: -5s;
  animation-duration: 12s;
}
@keyframes orbFloat {
  0%, 100% { transform: translateY(0) translateX(-50%); }
  50% { transform: translateY(-30px) translateX(-50%); }
}
.hero-orb-2 { animation-name: orbFloat2; }
.hero-orb-3 { animation-name: orbFloat3; }
@keyframes orbFloat2 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}
@keyframes orbFloat3 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(25px); }
}

/* ─── Badge dot ─── */
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--color-accent);
  display: inline-block;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* ─── Pulse glow CTA ─── */
.pulse-glow {
  position: relative;
}
.pulse-glow::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: var(--color-accent);
  animation: ctaPulse 2.5s ease-in-out infinite;
  z-index: -1;
}
@keyframes ctaPulse {
  0%, 100% { opacity: 0; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(1.08); }
}

/* ─── Floating chips ─── */
.floating-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.625rem;
  margin: 2rem auto 0;
  max-width: 640px;
}
.chip {
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid var(--color-border);
  background: var(--color-bg-card);
  color: var(--color-text-secondary);
  animation: chipFloat 6s ease-in-out infinite;
}
.chip-1 { animation-delay: 0s; color: var(--color-accent); border-color: rgba(37,211,102,0.3); }
.chip-2 { animation-delay: -1.5s; color: var(--color-blue); border-color: rgba(59,130,246,0.3); }
.chip-3 { animation-delay: -3s; color: var(--color-purple); border-color: rgba(139,92,246,0.3); }
.chip-4 { animation-delay: -4.5s; color: var(--color-accent); border-color: rgba(37,211,102,0.3); }
@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ─── Hero Stats Strip ─── */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 1.75rem 2rem;
  max-width: 720px;
  margin: 3.5rem auto 0;
}

.hero-stat {
  flex: 1;
  text-align: center;
}

.hero-stat-num {
  display: block;
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--color-accent);
  letter-spacing: -0.03em;
}

.hero-stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
  line-height: 1.4;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--color-border);
  flex-shrink: 0;
  margin: 0 1rem;
}

/* ─── Wrong Approaches Grid ─── */
.wrong-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.wrong-card {
  background: var(--color-bg-card);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: var(--radius-xl);
  padding: 2rem;
  position: relative;
}

.wrong-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.wrong-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.wrong-card p {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.wrong-result {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 1rem;
  background: rgba(239, 68, 68, 0.05);
  border-radius: var(--radius-md);
  border-left: 3px solid rgba(239, 68, 68, 0.4);
}

.wrong-label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
}

.wrong-value {
  font-size: 0.875rem;
  color: #ef4444;
  font-weight: 500;
}

/* ─── Agitate Section ─── */
.agitate-section {
  padding: 5rem 0;
}

.agitate-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.agitate-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.agitate-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.agitate-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.agitate-list strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.agitate-list p {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ─── Chat Mockup ─── */
.chat-mockup {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
  background: rgba(255,255,255,0.03);
}

.chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.chat-name {
  font-size: 0.875rem;
  font-weight: 600;
}

.chat-sub {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.chat-messages {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.chat-msg {
  max-width: 85%;
  padding: 0.625rem 0.875rem;
  border-radius: 12px;
  font-size: 0.8125rem;
  line-height: 1.5;
}

.chat-msg.client {
  background: var(--color-bg-alt);
  color: var(--color-text-secondary);
  border-radius: 12px 12px 12px 4px;
  align-self: flex-start;
}

.chat-msg.you {
  background: rgba(37, 211, 102, 0.15);
  color: var(--color-text);
  border-radius: 12px 12px 4px 12px;
  align-self: flex-end;
  border: 1px solid rgba(37, 211, 102, 0.2);
}

/* ─── Before / After Comparison ─── */
.compare-section {
  padding: 5rem 0;
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.compare-card {
  border-radius: var(--radius-xl);
  padding: 2rem;
}

.compare-before {
  background: rgba(239, 68, 68, 0.05);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.compare-after {
  background: rgba(37, 211, 102, 0.05);
  border: 1px solid rgba(37, 211, 102, 0.2);
}

.compare-label {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.compare-before .compare-label { color: #ef4444; }
.compare-after .compare-label { color: var(--color-accent); }

.compare-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.compare-before .compare-list li {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  padding-left: 1.5rem;
  position: relative;
}

.compare-before .compare-list li::before {
  content: '✕';
  position: absolute;
  left: 0;
  color: #ef4444;
  font-weight: 700;
  font-size: 0.75rem;
  top: 1px;
}

.compare-after .compare-list li {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  padding-left: 1.5rem;
  position: relative;
}

.compare-after .compare-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
  font-size: 0.875rem;
}

/* ─── Final CTA ─── */
.final-cta-section {
  padding: 5rem 0;
  background: var(--color-bg-alt);
}

.final-cta-inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.final-cta-inner h2 {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.final-cta-inner p {
  font-size: 1.0625rem;
  color: var(--color-text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════
   INTERACTIVE DEMO SECTION
   ═══════════════════════════════════════════════ */
.demo-section { padding: 5rem 0; background: var(--color-bg); }

.demo-wrapper {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 2rem;
  align-items: start;
}

/* ─── Tabs ─── */
.demo-tabs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.demo-tab {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem 0.75rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  overflow: hidden;
}

.demo-tab:hover { border-color: var(--color-border-light); }

.demo-tab.active {
  border-color: var(--color-accent);
  background: rgba(37,211,102,0.04);
}

.demo-tab-inner {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  margin-bottom: 0.75rem;
}

.demo-tab-num {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  padding: 0.2rem 0.4rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.demo-tab.active .demo-tab-num {
  background: rgba(37,211,102,0.15);
  color: var(--color-accent);
}

.demo-tab-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.3;
}

.demo-tab-desc {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-top: 0.2rem;
  line-height: 1.4;
}

.demo-tab-track {
  height: 3px;
  background: var(--color-border);
  border-radius: 2px;
  overflow: hidden;
}

.demo-tab-bar {
  height: 100%;
  width: 0%;
  background: var(--color-accent);
  border-radius: 2px;
}

.demo-tab-bar.running {
  animation: tabProgress 5.2s linear forwards;
}

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

/* ─── Panels ─── */
.demo-panels { position: relative; min-height: 380px; }

.demo-panel {
  display: none;
  animation: panelFadeIn 0.4s ease;
}

.demo-panel.active { display: block; }

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

/* shared panel shell */
.dp-browser, .dp-minisite, .dp-phone, .kw-mockup {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

/* ── Panel 1: Browser capture ── */
.dp-browser-bar, .dp-minisite-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--color-border);
  background: rgba(255,255,255,0.02);
}

.dp-dots { display:flex; gap:.375rem; }
.dp-dots span { width:10px; height:10px; border-radius:50%; }
.dp-dots span:nth-child(1) { background:#ef4444; }
.dp-dots span:nth-child(2) { background:#f59e0b; }
.dp-dots span:nth-child(3) { background:#22c55e; }

.dp-url {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  font-family: 'SF Mono','Fira Code',monospace;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dp-url-hl { color: var(--color-text-secondary); }
.dp-url-val { color: var(--color-accent); }

.dp-browser-body {
  padding: 1.5rem;
}

.dp-capture-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.dp-capture-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.625rem;
  margin-bottom: 1rem;
}

.dp-capture-card {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 0.75rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  opacity: 0;
  transform: translateY(8px);
}

.demo-panel.active .dp-capture-card { animation: cardAppear 0.4s ease forwards; }
.demo-panel.active .dp-delay-1 { animation-delay: 0.2s; }
.demo-panel.active .dp-delay-2 { animation-delay: 0.5s; }
.demo-panel.active .dp-delay-3 { animation-delay: 0.8s; }
.demo-panel.active .dp-delay-4 { animation-delay: 1.1s; }

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

.dp-capture-icon { font-size: 1.1rem; flex-shrink: 0; }
.dp-capture-key { font-size: 0.6875rem; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.dp-capture-val { font-size: 0.8125rem; font-weight: 600; color: var(--color-accent); font-family: monospace; }

.dp-capture-note {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  opacity: 0;
  text-align: center;
  padding: 0.5rem;
  border-radius: var(--radius-md);
  background: rgba(37,211,102,0.06);
  border: 1px solid rgba(37,211,102,0.15);
}
.demo-panel.active .dp-capture-note { animation: cardAppear 0.4s ease 1.4s forwards; }

/* ── Panel 2: Click intercepted ── */
.dp-click-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
}

.dp-minisite-body {
  padding: 1.5rem;
  text-align: center;
}

.dp-minisite-heading { font-size: 0.9375rem; font-weight: 700; margin-bottom: 0.25rem; }
.dp-minisite-sub { font-size: 0.75rem; color: var(--color-text-muted); margin-bottom: 1.25rem; }

.dp-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #25d366;
  color: #0a0e17;
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
  position: relative;
}

.demo-panel.active .dp-wa-btn { animation: btnClick 0.3s ease 1s both; }
@keyframes btnClick {
  0%,100% { transform: scale(1); box-shadow: none; }
  50% { transform: scale(0.94); box-shadow: 0 0 0 6px rgba(37,211,102,0.2); }
}

.dp-cursor {
  position: absolute;
  font-size: 0.875rem;
  color: var(--color-text);
  opacity: 0;
  pointer-events: none;
  bottom: 1.75rem;
  right: 2.5rem;
}
.demo-panel.active .dp-cursor { animation: cursorMove 1.4s ease 0.2s both; }
@keyframes cursorMove {
  0%  { opacity: 0; transform: translate(30px, 30px); }
  40% { opacity: 1; transform: translate(0, 0); }
  80% { opacity: 1; transform: translate(0, 0); }
  100%{ opacity: 0; transform: translate(0, 0); }
}

.dp-minisite { position: relative; }

.dp-log {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 1.25rem;
}

.dp-log-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-accent);
  margin-bottom: 0.875rem;
  padding-bottom: 0.625rem;
  border-bottom: 1px solid var(--color-border);
}

.dp-log-row {
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
  padding: 0.3rem 0;
  opacity: 0;
  transform: translateX(-8px);
  font-family: monospace;
}
.demo-panel.active .dp-log-row { animation: rowSlide 0.3s ease forwards; }
.demo-panel.active .dp-log-delay-1 { animation-delay: 1.2s; }
.demo-panel.active .dp-log-delay-2 { animation-delay: 1.5s; }
.demo-panel.active .dp-log-delay-3 { animation-delay: 1.8s; }
.demo-panel.active .dp-log-delay-4 { animation-delay: 2.1s; }

@keyframes rowSlide {
  to { opacity: 1; transform: translateX(0); }
}

.dp-log-check { color: var(--color-accent); margin-right: 0.375rem; }
.dp-log-row-new strong { color: var(--color-accent); }

.dp-log-row-new {
  background: rgba(37,211,102,0.05);
  border-radius: 4px;
  padding: 0.3rem 0.4rem;
  border-left: 2px solid var(--color-accent);
  margin-top: 0.25rem;
}

/* ── Panel 3: Real lead messages ── */
.dp-lead-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
}

.dp-phone-header {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem 1rem;
  background: #075e54;
  border-bottom: 1px solid rgba(0,0,0,0.2);
}

.dp-phone-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}

.dp-phone-name { font-size: 0.875rem; font-weight: 600; color: #fff; }
.dp-phone-status { font-size: 0.6875rem; color: rgba(255,255,255,0.6); }

.dp-phone-messages {
  padding: 1rem;
  background: #ece5dd;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 160px;
}

.dp-bubble {
  max-width: 85%;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-size: 0.78rem;
  line-height: 1.4;
  color: #111;
  opacity: 0;
}

.demo-panel.active .dp-bubble { animation: bubbleIn 0.3s ease forwards; }
.demo-panel.active .dp-bubble-delay-1 { animation-delay: 0.3s; }
.demo-panel.active .dp-bubble-delay-2 { animation-delay: 1.0s; }
.demo-panel.active .dp-bubble-delay-3 { animation-delay: 2.0s; }

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

.dp-bubble-in {
  background: #fff;
  align-self: flex-start;
  border-radius: 0px 8px 8px 8px;
}

.dp-bubble-out {
  background: #dcf8c6;
  align-self: flex-end;
  border-radius: 8px 0px 8px 8px;
}

.dp-dashboard-row {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.dp-row-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dp-row-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1rem;
  opacity: 0;
}
.demo-panel.active .dp-row-card { animation: cardAppear 0.4s ease 2.3s forwards; }

.dp-row-glow { border-color: rgba(37,211,102,0.4); box-shadow: 0 0 20px rgba(37,211,102,0.1); }
.dp-row-kw { font-size: 0.9375rem; font-weight: 700; color: var(--color-accent); margin-bottom: 0.25rem; }
.dp-row-ref { font-size: 0.75rem; font-family: monospace; color: var(--color-blue); margin-bottom: 0.5rem; }
.dp-row-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  background: rgba(37,211,102,0.15);
  color: var(--color-accent);
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
}

/* ── Panel 4: Upload flow ── */
.dp-upload-wrap { display: flex; flex-direction: column; gap: 1.5rem; padding: 0.5rem; }

.dp-upload-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.dp-upload-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  text-align: center;
  opacity: 0;
  transform: translateY(12px);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  min-width: 110px;
}
.demo-panel.active .dp-upload-node { animation: cardAppear 0.4s ease forwards; }
.demo-panel.active .dp-unode-delay-1 { animation-delay: 0.2s; }
.demo-panel.active .dp-unode-delay-2 { animation-delay: 0.9s; }
.demo-panel.active .dp-unode-delay-3 { animation-delay: 1.6s; }

.dp-upload-node-final {
  border-color: rgba(37,211,102,0.4);
  background: rgba(37,211,102,0.05);
}

.dp-upload-icon { font-size: 1.75rem; margin-bottom: 0.125rem; }
.dp-upload-node-label { font-size: 0.8125rem; font-weight: 700; }
.dp-upload-node-sub { font-size: 0.6875rem; color: var(--color-text-muted); line-height: 1.3; }

.dp-upload-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.125rem;
  padding: 0 0.5rem;
  opacity: 0;
}
.demo-panel.active .dp-upload-arrow { animation: cardAppear 0.3s ease forwards; }
.demo-panel.active .dp-uarrow-delay-1 { animation-delay: 0.55s; }
.demo-panel.active .dp-uarrow-delay-2 { animation-delay: 1.25s; }

.dp-upload-line {
  width: 32px; height: 2px;
  background: linear-gradient(90deg, var(--color-border-light), var(--color-accent));
  opacity: 0.6;
}
.dp-upload-arrowhead { font-size: 0.875rem; color: var(--color-accent); line-height: 1; }
.dp-upload-arrow-label { font-size: 0.65rem; color: var(--color-text-muted); white-space: nowrap; }

.dp-upload-result {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1.25rem;
  background: rgba(37,211,102,0.06);
  border: 1px solid rgba(37,211,102,0.2);
  border-radius: var(--radius-lg);
  opacity: 0;
}
.demo-panel.active .dp-upload-result { animation: cardAppear 0.5s ease 2s forwards; }

.dp-result-icon { font-size: 1.5rem; flex-shrink: 0; }
.dp-result-title { font-size: 0.9375rem; font-weight: 700; color: var(--color-accent); margin-bottom: 0.25rem; }
.dp-result-sub { font-size: 0.8125rem; color: var(--color-text-secondary); line-height: 1.5; }

/* ─── Flow Steps ─── */
.flow-steps {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.flow-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 1.75rem 2rem;
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.3s;
}
.flow-step:hover { border-color: var(--color-border-light); }
.flow-step.flow-visible { opacity: 1; transform: translateX(0); }

.flow-step-final {
  border-color: rgba(37,211,102,0.3);
  background: rgba(37,211,102,0.04);
}

.flow-step-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.flow-step-num {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  text-transform: uppercase;
  margin-bottom: 0.375rem;
}

.flow-step h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.flow-step p {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
  margin-bottom: 0.875rem;
}

.flow-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.flow-tag {
  font-size: 0.7rem;
  font-weight: 600;
  font-family: 'SF Mono', 'Fira Code', monospace;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  background: rgba(255,255,255,0.05);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}
.flow-tag-blue { background: rgba(59,130,246,0.1); color: var(--color-blue); border-color: rgba(59,130,246,0.25); }
.flow-tag-amber { background: rgba(245,158,11,0.1); color: var(--color-amber); border-color: rgba(245,158,11,0.25); }
.flow-tag-green { background: rgba(37,211,102,0.1); color: var(--color-accent); border-color: rgba(37,211,102,0.25); }

.flow-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.25rem 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.flow-connector.flow-visible { opacity: 1; }
.flow-line {
  width: 2px;
  height: 28px;
  background: linear-gradient(180deg, var(--color-border), var(--color-accent));
  opacity: 0.4;
}
.flow-arrow {
  font-size: 1rem;
  color: var(--color-accent);
  opacity: 0.6;
  line-height: 1;
}

/* ─── Keyword Section ─── */
.keyword-section {
  padding: 5rem 0;
}
.keyword-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.kw-mockup {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}
.kw-mockup-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
  background: rgba(255,255,255,0.02);
}
.kw-mockup-title {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-weight: 500;
}
.kw-row-highlight td {
  background: rgba(37,211,102,0.05) !important;
}
.keyword-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.keyword-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
}
.kf-icon {
  color: var(--color-accent);
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}

/* ─── How It Works page ─── */
.hiw-steps { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; }

.hiw-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 2rem 0;
}

.hiw-step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(37,211,102,0.1);
  border: 2px solid rgba(37,211,102,0.3);
  color: var(--color-accent);
  font-size: 1rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.hiw-step-body h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 0.75rem; }
.hiw-step-body p { font-size: 0.9375rem; color: var(--color-text-secondary); line-height: 1.7; margin-bottom: 0.75rem; }
.hiw-step-body code { font-family: monospace; font-size: 0.875rem; background: rgba(255,255,255,0.06); padding: 0.1rem 0.4rem; border-radius: 4px; }
.hiw-step-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }

.hiw-connector { display: flex; justify-content: flex-start; padding-left: 1.75rem; }
.hiw-line { width: 2px; height: 32px; background: linear-gradient(180deg, rgba(37,211,102,0.3), rgba(37,211,102,0.1)); }

/* ─── FAQ ─── */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.faq-item h4 { font-size: 0.9375rem; font-weight: 700; margin-bottom: 0.625rem; }
.faq-item p { font-size: 0.875rem; color: var(--color-text-secondary); line-height: 1.6; }
.faq-item code { font-family: monospace; font-size: 0.8rem; background: rgba(255,255,255,0.06); padding: 0.1rem 0.35rem; border-radius: 3px; }

/* ─── Compare table ─── */
.compare-table-wrap { overflow-x: auto; }

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.compare-table th, .compare-table td {
  padding: 0.875rem 1.25rem;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}

.compare-table th:first-child, .compare-table td:first-child {
  text-align: left;
  color: var(--color-text-secondary);
  font-weight: 500;
}

.compare-table th {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text-secondary);
  background: var(--color-bg-card);
}

.compare-table-featured {
  color: var(--color-accent) !important;
  background: rgba(37,211,102,0.05) !important;
  border-left: 1px solid rgba(37,211,102,0.2);
  border-right: 1px solid rgba(37,211,102,0.2);
}

.compare-table td { color: var(--color-text-secondary); }
.compare-table td:nth-child(3) {
  background: rgba(37,211,102,0.03);
  border-left: 1px solid rgba(37,211,102,0.15);
  border-right: 1px solid rgba(37,211,102,0.15);
  color: var(--color-text);
  font-weight: 500;
}

.compare-table tr:hover td { background: rgba(255,255,255,0.02); }
.compare-table tr:hover td:nth-child(3) { background: rgba(37,211,102,0.05); }

/* ─── Contact page ─── */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
  align-items: start;
  padding: 3rem 0;
}

.contact-form-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
}

.contact-form-card h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 1.5rem; }

.contact-form { display: flex; flex-direction: column; gap: 1.125rem; }

.form-group { display: flex; flex-direction: column; gap: 0.375rem; }

.form-group label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.625rem 0.875rem;
  font-family: var(--font-family);
  font-size: 0.9375rem;
  color: var(--color-text);
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(37,211,102,0.1);
}

.form-group select { appearance: none; cursor: pointer; }

.form-success {
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3rem 1rem;
  gap: 0.75rem;
}

.form-success-icon { font-size: 2.5rem; }
.form-success h4 { font-size: 1.125rem; font-weight: 700; }
.form-success p { color: var(--color-text-secondary); font-size: 0.9375rem; }

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

.contact-info-icon { font-size: 1.25rem; flex-shrink: 0; margin-top: 1px; }
.contact-info-label { font-size: 0.75rem; font-weight: 600; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.25rem; }
.contact-info-value { font-size: 0.9375rem; font-weight: 500; color: var(--color-text); }
a.contact-info-value { color: var(--color-accent); }
a.contact-info-value:hover { text-decoration: underline; }

.contact-note {
  background: rgba(37,211,102,0.06);
  border: 1px solid rgba(37,211,102,0.2);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.contact-note strong { color: var(--color-accent); }

/* ─── Pricing note ─── */
.pricing-note {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* ─── Final CTA note ─── */
.final-cta-note {
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* ─── Scroll Reveal ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ─── Animations ─── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-in {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.animate-delay-1 { animation-delay: 100ms; }
.animate-delay-2 { animation-delay: 200ms; }
.animate-delay-3 { animation-delay: 400ms; }

/* ═══════════════════════════════════════════════
   NEW HOW IT WORKS — Scroll Steps
   ═══════════════════════════════════════════════ */

.hiw-section { padding: 5rem 0; background: var(--color-bg-alt); }

.hiw-steps-wrap { max-width: 960px; margin: 0 auto; }

/* ── Each step row ── */
.hiw-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 0 1.5rem;
  margin-bottom: 0;
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.hiw-row.hiw-visible { opacity: 1; transform: translateY(0); }
.hiw-row:nth-child(2) { transition-delay: 0.1s; }
.hiw-row:nth-child(3) { transition-delay: 0.2s; }
.hiw-row:nth-child(4) { transition-delay: 0.3s; }

/* ── Left: badge + vertical line ── */
.hiw-left {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hiw-badge {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--color-bg-card);
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
  font-size: 0.8125rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  z-index: 1;
}
.hiw-badge-final { background: var(--color-accent); color: #0a0e17; }

.hiw-vline {
  width: 2px;
  flex: 1;
  min-height: 2rem;
  background: linear-gradient(180deg, rgba(37,211,102,0.4) 0%, rgba(37,211,102,0.05) 100%);
  margin: 0.5rem 0;
}

/* ── Right: card ── */
.hiw-right { padding-bottom: 2.5rem; }

.hiw-row-last .hiw-right { padding-bottom: 0; }

.hiw-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  transition: border-color 0.3s;
}
.hiw-card:hover { border-color: var(--color-border-light); }
.hiw-card-final {
  border-color: rgba(37,211,102,0.3);
  background: rgba(37,211,102,0.04);
}

.hiw-text h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.625rem;
  line-height: 1.4;
}
.hiw-text p {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}
.hiw-hint {
  font-size: 0.8125rem !important;
  color: var(--color-accent) !important;
  font-weight: 600;
}

/* ── Step 1: Browser visual ── */
.hiw-browser {
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.hiw-browser-bar {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.625rem 0.875rem;
  border-bottom: 1px solid var(--color-border);
  background: rgba(255,255,255,0.02);
}
.hiw-dots { display:flex; gap:0.3rem; }
.hiw-dots span { width:9px;height:9px;border-radius:50%; }
.hiw-dots span:nth-child(1){background:#ef4444}
.hiw-dots span:nth-child(2){background:#f59e0b}
.hiw-dots span:nth-child(3){background:#22c55e}
.hiw-url-bar {
  font-size: 0.65rem;
  color: var(--color-text-muted);
  font-family: monospace;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hiw-param { color: var(--color-text-secondary); }
.hiw-param strong { color: var(--color-accent); }
.hiw-browser-body { padding: 1rem; }
.hiw-capture-label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}
.hiw-chips { display: flex; flex-wrap: wrap; gap: 0.375rem; }
.hiw-chip {
  font-size: 0.72rem;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
}
.hiw-chip-green { background: rgba(37,211,102,0.1); border-color: rgba(37,211,102,0.25); color: var(--color-accent); }
.hiw-chip-blue  { background: rgba(59,130,246,0.1);  border-color: rgba(59,130,246,0.25);  color: #3b82f6; }

/* ── Step 2: Interactive demo ── */
.hiw-interactive {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.hiw-site {
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.hiw-site-bar {
  display: flex; align-items: center; gap: 0.625rem;
  padding: 0.5rem 0.875rem;
  border-bottom: 1px solid var(--color-border);
  background: rgba(255,255,255,0.02);
}
.hiw-site-url { font-size: 0.65rem; color: var(--color-text-muted); font-family: monospace; }
.hiw-site-body { padding: 1.25rem; text-align: center; }
.hiw-site-heading { font-size: 0.9375rem; font-weight: 700; margin-bottom: 0.25rem; }
.hiw-site-sub { font-size: 0.72rem; color: var(--color-text-muted); margin-bottom: 1rem; }

.hiw-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #25d366;
  color: #0a0e17;
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  animation: waPulse 2s ease-in-out infinite;
}
.hiw-wa-btn:hover { transform: scale(1.04); box-shadow: 0 0 0 6px rgba(37,211,102,0.2); }
.hiw-wa-btn.clicked {
  background: #128c7e;
  animation: none;
}
@keyframes waPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(37,211,102,0.4); }
  50%      { box-shadow: 0 0 0 8px rgba(37,211,102,0); }
}

/* Log panel — hidden by default, shown on click */
.hiw-log {
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1rem;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.4s ease, max-height 0.4s ease;
}
.hiw-log.hiw-log-visible {
  opacity: 1;
  max-height: 200px;
}
.hiw-log-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 0.625rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.hiw-log-reset {
  font-size: 0.6875rem;
  background: none;
  border: none;
  color: var(--color-text-muted);
  cursor: pointer;
  padding: 0;
}
.hiw-log-reset:hover { color: var(--color-text-secondary); }
.hiw-log-row {
  font-size: 0.78rem;
  color: var(--color-text-secondary);
  padding: 0.2rem 0;
  font-family: monospace;
}
.hiw-log-highlight {
  color: var(--color-accent);
  font-weight: 600;
  background: rgba(37,211,102,0.06);
  border-radius: 4px;
  padding: 0.25rem 0.4rem;
  margin: 0.25rem 0;
}
.hiw-check { color: var(--color-accent); margin-right: 0.375rem; }

/* ── Step 3: Phone ── */
.hiw-phone-wrap { display: flex; flex-direction: column; gap: 0.75rem; }
.hiw-phone {
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.hiw-phone-top {
  display: flex; align-items: center; gap: 0.625rem;
  padding: 0.75rem 1rem;
  background: #075e54;
}
.hiw-phone-avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem;
}
.hiw-phone-name { font-size: 0.8125rem; font-weight: 600; color: #fff; }
.hiw-phone-status { font-size: 0.65rem; color: rgba(255,255,255,0.6); }
.hiw-phone-chat {
  background: #ece5dd;
  padding: 0.875rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.hiw-msg {
  max-width: 85%;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-size: 0.78rem;
  line-height: 1.4;
  color: #111;
}
.hiw-msg-in  { background: #fff; align-self: flex-start; border-radius: 0 8px 8px 8px; }
.hiw-msg-out { background: #dcf8c6; align-self: flex-end; border-radius: 8px 0 8px 8px; }

.hiw-match-label { font-size: 0.72rem; color: var(--color-text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.375rem; }
.hiw-match-card {
  background: rgba(37,211,102,0.06);
  border: 1px solid rgba(37,211,102,0.25);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.hiw-match-kw  { font-size: 0.875rem; font-weight: 700; color: var(--color-accent); }
.hiw-match-ref { font-size: 0.75rem; font-family: monospace; color: #3b82f6; }
.hiw-match-badge {
  font-size: 0.6875rem; font-weight: 700;
  background: rgba(37,211,102,0.15); color: var(--color-accent);
  padding: 0.2rem 0.6rem; border-radius: 9999px;
}

/* ── Step 4: Export ── */
.hiw-export { display: flex; flex-direction: column; gap: 0.75rem; }
.hiw-export-table {
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  font-size: 0.75rem;
}
.hiw-export-th, .hiw-export-td {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.5rem;
  padding: 0.625rem 0.875rem;
}
.hiw-export-th {
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--color-border);
  font-weight: 600;
  color: var(--color-text-muted);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.hiw-export-td { color: var(--color-text-secondary); }
.hiw-mono { font-family: monospace; color: var(--color-text); }
.hiw-muted { color: var(--color-text-muted); }

.hiw-export-flow { display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem; }
.hiw-export-btn {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-accent);
  padding: 0.5rem 1rem;
  background: rgba(37,211,102,0.1);
  border: 1px solid rgba(37,211,102,0.25);
  border-radius: var(--radius-md);
  cursor: default;
}
.hiw-export-arr {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  padding-left: 0.5rem;
}
.hiw-gads-result {
  display: flex; align-items: center; gap: 0.75rem;
  background: rgba(37,211,102,0.06);
  border: 1px solid rgba(37,211,102,0.2);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  width: 100%;
}

/* ── Mobile: hiw section ── */
@media (max-width: 768px) {
  .hiw-row { grid-template-columns: 40px 1fr; gap: 0 1rem; }
  .hiw-badge { width: 40px; height: 40px; font-size: 0.72rem; }
  .hiw-card { grid-template-columns: 1fr; gap: 1.25rem; padding: 1.25rem; }
  .hiw-right { padding-bottom: 1.5rem; }
}

/* ─── Desktop fix: dp-upload-flow gap ─── */
.dp-upload-flow { gap: 0.25rem; }

/* ─── Tablet (1024px) — demo wrapper intermediate ─── */
@media (max-width: 1024px) {
  .demo-wrapper {
    grid-template-columns: 280px 1fr;
    gap: 1.25rem;
  }
  .demo-tab-title { font-size: 0.875rem; }
  .demo-tab-desc  { font-size: 0.72rem; }
}

/* ─── Mobile (768px) ─── */
@media (max-width: 768px) {

  /* ── Layout stacks ── */
  .wrong-grid,
  .agitate-inner,
  .compare-grid,
  .keyword-inner,
  .dp-click-wrap,
  .dp-lead-wrap { grid-template-columns: 1fr; }

  .agitate-inner  { gap: 2rem; }
  .keyword-inner  { gap: 2rem; }

  /* ── Hero ── */
  .hero h1        { font-size: 2rem; }
  .hero-subtitle  { font-size: 0.9375rem; }
  .floating-chips { display: none; }

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem;
  }
  .hero-stat-num       { font-size: 1.375rem; }
  .hero-stat-label     { font-size: 0.6875rem; }
  .hero-stat-divider   { width: 100%; height: 1px; margin: 0; }

  /* ── Section headings ── */
  .section-title     { font-size: 1.625rem; }
  .final-cta-inner h2 { font-size: 1.625rem; }

  /* ── Demo section ── */
  .demo-wrapper {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Tabs become a horizontal scrollable row */
  .demo-tabs {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    gap: 0.5rem;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .demo-tabs::-webkit-scrollbar { display: none; }

  .demo-tab {
    flex-shrink: 0;
    min-width: 160px;
    padding: 0.75rem 0.875rem 0.5rem;
  }
  .demo-tab-desc { display: none; }

  .demo-panels { min-height: auto; }

  /* Capture grid: 1 column on mobile */
  .dp-capture-grid { grid-template-columns: 1fr; }

  /* Upload flow: vertical */
  .dp-upload-flow {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }
  .dp-upload-arrow {
    flex-direction: row;
    padding: 0 0.5rem;
  }
  .dp-upload-arrow-label { display: none; }
  .dp-upload-line { width: 20px; }
  .dp-upload-node { min-width: unset; padding: 0.75rem 1rem; }

  /* Tables: scrollable wrapper */
  .preview-mockup,
  .kw-mockup { overflow-x: auto; }

  .preview-table,
  .kw-mockup .preview-table { font-size: 0.72rem; }

  .preview-table th,
  .preview-table td { padding: 0.5rem 0.625rem; }

  /* Agitate chat mockup */
  .chat-mockup { font-size: 0.8125rem; }
  .chat-msg    { font-size: 0.75rem; padding: 0.5rem 0.75rem; }

  /* Nav handled above in dedicated mobile block */

  /* Compare table */
  .compare-table-wrap  { overflow-x: auto; }
  .compare-table th,
  .compare-table td    { padding: 0.5rem 0.625rem; font-size: 0.78rem; }

  /* FAQ + contact */
  .faq-grid, .contact-wrap { grid-template-columns: 1fr; }

  /* How it works page */
  .hiw-step   { grid-template-columns: 48px 1fr; gap: 1rem; }
  .flow-step  { flex-direction: column; gap: 0.75rem; }
  .flow-step  { padding: 1.25rem; }

  /* Pricing */
  .pricing-grid { grid-template-columns: 1fr; }

  /* Steps grid (landing) */
  .steps-grid::before { display: none; }
  .steps-grid { grid-template-columns: 1fr; gap: 1.5rem; }

  /* Problem grid */
  .problem-grid { grid-template-columns: 1fr; }
}
