/* ═══════════════════════════════════════════════════════════
   CallCard 2028 — "Tron Eye Bleach"
   Dark neon grid, glowing cyan edges, digital frontier
   ═══════════════════════════════════════════════════════════ */

/* ── Custom Properties ──────────────────────────────────── */
:root {
  /* Base dark palette */
  --bg-void: #050810;
  --bg-primary: #0a0e17;
  --bg-secondary: #0f1423;
  --bg-card: #111827;
  --bg-elevated: #151c2e;

  /* Neon accents */
  --cyan: #00e5ff;
  --cyan-mid: #0891b2;
  --cyan-dim: rgba(0, 229, 255, 0.15);
  --cyan-faint: rgba(0, 229, 255, 0.06);
  --cyan-border: rgba(0, 229, 255, 0.25);
  --magenta: #ff2d78;
  --magenta-dim: rgba(255, 45, 120, 0.12);
  --magenta-border: rgba(255, 45, 120, 0.25);
  --amber: #f59e0b;

  /* Glow */
  --glow-cyan-sm: 0 0 12px rgba(0, 229, 255, 0.3);
  --glow-cyan-md: 0 0 30px rgba(0, 229, 255, 0.2), 0 0 60px rgba(0, 229, 255, 0.1);
  --glow-cyan-lg: 0 0 40px rgba(0, 229, 255, 0.3), 0 0 100px rgba(0, 229, 255, 0.15), 0 0 200px rgba(0, 229, 255, 0.05);
  --glow-magenta: 0 0 30px rgba(255, 45, 120, 0.2), 0 0 60px rgba(255, 45, 120, 0.1);

  /* Text */
  --text-primary: #e8edf5;
  --text-secondary: #7a8ba8;
  --text-muted: #4a5568;
  --text-bright: #ffffff;

  /* Borders */
  --border: rgba(0, 229, 255, 0.08);
  --border-strong: rgba(0, 229, 255, 0.15);

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

  /* Spacing */
  --section-padding: clamp(80px, 10vh, 140px);
  --container-width: 1280px;
  --container-padding: clamp(20px, 4vw, 60px);

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: 200ms var(--ease-out-expo);
  --transition-medium: 400ms var(--ease-out-expo);
  --transition-slow: 800ms var(--ease-out-expo);

  /* Border radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
}

/* ── Day Theme Override ───────────────────────────────────── */
[data-theme="day"] {
  --bg-void: #f0f4f8;
  --bg-primary: #f7f9fc;
  --bg-secondary: #edf1f7;
  --bg-card: #ffffff;
  --bg-elevated: #f0f4f8;

  --cyan: #0891b2;
  --cyan-mid: #06b6d4;
  --cyan-dim: rgba(8, 145, 178, 0.12);
  --cyan-faint: rgba(8, 145, 178, 0.06);
  --cyan-border: rgba(8, 145, 178, 0.2);
  --magenta: #db2777;
  --magenta-dim: rgba(219, 39, 119, 0.08);
  --magenta-border: rgba(219, 39, 119, 0.2);

  --glow-cyan-sm: 0 2px 8px rgba(8, 145, 178, 0.15);
  --glow-cyan-md: 0 4px 20px rgba(8, 145, 178, 0.12);
  --glow-cyan-lg: 0 8px 40px rgba(8, 145, 178, 0.1);
  --glow-magenta: 0 4px 20px rgba(219, 39, 119, 0.1);

  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;
  --text-bright: #0f172a;

  --border: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.12);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-void);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.5s ease, color 0.5s ease;
}

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

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

/* ── Grid Background ───────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 20%, transparent 70%);
}

/* Scanline overlay */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9998;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.03) 2px,
    rgba(0, 0, 0, 0.03) 4px
  );
}

/* ── Scroll-driven reveal animations ────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

.reveal-scale {
  opacity: 0;
  transform: scale(0.95) translateY(20px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

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

/* ── Container ──────────────────────────────────────────── */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ── Navigation ─────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition-medium);
}

.nav.scrolled {
  padding: 12px 0;
  background: rgba(5, 8, 16, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo svg {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 0 6px rgba(0, 229, 255, 0.3));
}

.nav-wordmark {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  font-family: 'Orbitron', monospace;
  text-transform: uppercase;
}

.nav-wordmark .accent {
  color: var(--cyan);
}

/* Mirror the final "d" as a reversed C — matches the CC monogram */
.mirror-d {
  display: inline-block;
  transform: scaleX(-1);
}

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

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast), text-shadow var(--transition-fast);
}

.nav-link:hover {
  color: var(--cyan);
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.4);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--bg-void);
  background: var(--cyan);
  border-radius: 100px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--glow-cyan-md);
}

/* Mobile menu */
.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--cyan);
  margin: 5px 0;
  border-radius: 2px;
  transition: all var(--transition-fast);
}

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

/* ── Hero split layout: text left, live card right ────── */
.hero-split {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: var(--container-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.hero-text-col {
  text-align: center;
  max-width: none;
  margin: 0;
  padding: 0;
}

.hero-text-col .hero-actions {
  justify-content: center;
}

.hero-card-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Phone frame mockup for the live card */
.hero-phone-frame {
  position: relative;
  width: 380px;
  height: 680px;
  background: #000;
  border-radius: 40px;
  padding: 12px;
  box-shadow:
    0 0 0 2px rgba(255,255,255,0.1),
    var(--glow-cyan-md),
    0 40px 80px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-phone-frame:hover {
  transform: translateY(-4px);
  box-shadow:
    0 0 0 2px rgba(255,255,255,0.15),
    var(--glow-cyan-lg),
    0 50px 100px rgba(0, 0, 0, 0.5);
}

.hero-phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 24px;
  background: #000;
  border-radius: 0 0 16px 16px;
  z-index: 10;
}

.hero-card-iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 28px;
  background: #f0f4f8;
}

.hero-card-caption {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  text-align: center;
}

/* Radial glow behind hero */
.hero::before {
  content: '';
  position: absolute;
  width: 900px;
  height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.08) 0%, rgba(0, 229, 255, 0.02) 40%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: hero-breathe 8s ease-in-out infinite;
}

/* Horizontal grid line accent */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--cyan) 50%, transparent 100%);
  opacity: 0.15;
}

@keyframes hero-breathe {
  0%, 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.1); }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  background: var(--cyan-faint);
  border: 1px solid var(--cyan-border);
  border-radius: 100px;
  margin-bottom: 32px;
  font-family: var(--font-mono);
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.6);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(0, 229, 255, 0.6); }
  50% { opacity: 0.4; box-shadow: 0 0 4px rgba(0, 229, 255, 0.3); }
}

.hero-title {
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--text-bright);
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--cyan) 0%, #00b4d8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(0, 229, 255, 0.3));
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 400;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.5;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-sans);
  color: var(--bg-void);
  background: var(--cyan);
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  position: relative;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-cyan-lg);
}

.btn-primary span {
  position: relative;
  z-index: 1;
}

.btn-primary .btn-arrow {
  position: relative;
  z-index: 1;
  transition: transform var(--transition-fast);
}

.btn-primary:hover .btn-arrow {
  transform: translateX(3px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 500;
  font-family: var(--font-sans);
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-secondary:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: var(--cyan-faint);
  box-shadow: var(--glow-cyan-sm);
}

/* ── Hero Reassurance Line ─────────────────────────────── */
.hero-reassurance {
  margin-top: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* ── Hero Value Strip ──────────────────────────────────── */
.hero-value-strip {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero-value-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.hero-value-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--cyan);
  fill: none;
  flex-shrink: 0;
  filter: drop-shadow(0 0 4px rgba(0, 229, 255, 0.3));
}

/* ── SOCIAL PROOF BAR ──────────────────────────────────── */
.section-proof-bar {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-secondary);
}

.proof-bar-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.proof-stat {
  text-align: center;
}

.proof-stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-bright);
  line-height: 1.1;
}

.proof-star {
  color: var(--amber);
  font-size: 0.8em;
}

.proof-stat-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

.proof-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-strong);
}

/* ── PERSONAS SECTION ──────────────────────────────────── */
.section-personas {
  padding: var(--section-padding) 0;
  position: relative;
}

.personas-label {
  text-align: center;
  margin-bottom: 16px;
}

.personas-title {
  text-align: center;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 48px;
  color: var(--text-primary);
}

.personas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.persona-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: transform var(--transition-medium), box-shadow var(--transition-medium), border-color var(--transition-medium);
}

.persona-card:hover {
  transform: translateY(-4px);
  border-color: var(--cyan-border);
  box-shadow: var(--glow-cyan-sm);
}

.persona-emoji {
  font-size: 2.5rem;
  margin-bottom: 16px;
  line-height: 1;
}

.persona-role {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 8px;
}

.persona-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ── TESTIMONIALS SECTION ──────────────────────────────── */
.section-testimonials {
  padding: var(--section-padding) 0;
  position: relative;
}

.testimonials-label {
  text-align: center;
  margin-bottom: 16px;
}

.testimonials-title {
  text-align: center;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 48px;
  color: var(--text-primary);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.testimonial-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-stars {
  color: var(--amber);
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-style: normal;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--cyan-dim);
  border: 1px solid var(--cyan-border);
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-mono);
}

.testimonial-meta {
  display: flex;
  flex-direction: column;
}

.testimonial-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-bright);
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── PROBLEM SECTION ────────────────────────────────────── */
.section-problem {
  padding: var(--section-padding) 0;
  text-align: center;
  position: relative;
}

.problem-text {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  max-width: 800px;
  margin: 0 auto;
  color: var(--text-primary);
}

.problem-scattered {
  position: relative;
  display: inline-block;
}

.problem-scattered .word {
  display: inline-block;
  transition: all 0.6s var(--ease-out-expo);
}

.problem-scattered.animate .word:nth-child(1) { transform: translate(-15px, -8px) rotate(-5deg); opacity: 0.4; color: var(--magenta); }
.problem-scattered.animate .word:nth-child(2) { transform: translate(20px, 12px) rotate(3deg); opacity: 0.3; color: var(--cyan); }
.problem-scattered.animate .word:nth-child(3) { transform: translate(-10px, 5px) rotate(-2deg); opacity: 0.5; color: var(--magenta); }
.problem-scattered.animate .word:nth-child(4) { transform: translate(8px, -15px) rotate(4deg); opacity: 0.3; color: var(--cyan); }

.problem-sub {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-top: 24px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Section Label (reusable) ──────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  padding: 6px 16px;
  background: var(--cyan-faint);
  border: 1px solid var(--cyan-border);
  border-radius: 100px;
  font-family: var(--font-mono);
}

/* ── BENTO GRID ─────────────────────────────────────────── */
.section-bento {
  padding: 0 0 var(--section-padding);
  position: relative;
}

.bento-label {
  text-align: center;
  margin-bottom: 16px;
}

.bento-title {
  text-align: center;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 48px;
  color: var(--text-primary);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-medium), box-shadow var(--transition-medium), border-color var(--transition-medium);
  display: flex;
  flex-direction: column;
}

/* Glowing top-edge on hover */
.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--cyan) 50%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition-medium);
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: var(--cyan-border);
  box-shadow: var(--glow-cyan-md), 0 20px 60px rgba(0, 0, 0, 0.3);
}

.bento-card:hover::before {
  opacity: 1;
}

.bento-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: var(--cyan-faint);
  border: 1px solid var(--cyan-border);
}

.bento-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--cyan);
  fill: none;
  stroke-width: 1.5;
  filter: drop-shadow(0 0 4px rgba(0, 229, 255, 0.4));
}

.bento-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: var(--text-bright);
}

.bento-card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}

/* Privacy card — row list */
.bento-privacy-visual {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
}

.privacy-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(0, 229, 255, 0.02);
  border-bottom: 1px solid var(--border);
}

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

.privacy-row-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.privacy-row-icon--visible {
  color: #10b981;
  filter: drop-shadow(0 0 3px rgba(16, 185, 129, 0.4));
}

.privacy-row-icon--hidden {
  color: var(--text-muted);
}

.privacy-field {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
}

.privacy-tier {
  margin-left: auto;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

.privacy-tier--public {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.privacy-tier--contact {
  background: rgba(0, 229, 255, 0.08);
  color: var(--cyan);
  border: 1px solid var(--cyan-border);
}

.privacy-tier--connected {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* AI card — terminal mockup */
.bento-ai-visual {
  margin-top: 24px;
  background: var(--bg-void);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.7;
  border: 1px solid var(--border);
}

.bento-ai-visual .ai-prompt {
  color: var(--cyan);
}

.bento-ai-visual .ai-response {
  color: var(--text-secondary);
  margin-top: 8px;
}

.bento-ai-visual .ai-highlight {
  color: var(--text-bright);
  font-weight: 600;
  text-shadow: 0 0 8px rgba(0, 229, 255, 0.3);
}

/* Contact actions — icon grid */
.bento-actions-visual {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
}

.action-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 8px;
  background: var(--bg-card);
}

.action-cell svg {
  width: 20px;
  height: 20px;
  color: var(--cyan);
  filter: drop-shadow(0 0 3px rgba(0, 229, 255, 0.3));
}

.action-cell span {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

/* CRM — dark contact list */
.bento-crm-visual {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
}

.crm-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(0, 229, 255, 0.02);
  border-bottom: 1px solid var(--border);
}

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

.crm-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--cyan-border);
  color: var(--cyan);
  font-size: 0.65rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.02em;
  font-family: var(--font-mono);
}

.crm-name {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-primary);
}

.crm-tag {
  margin-left: auto;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

.crm-tag--contact {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.crm-tag--connection {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

/* Availability indicator */
.bento-avail-visual {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
}

.avail-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(0, 229, 255, 0.02);
  border-bottom: 1px solid var(--border);
}

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

.avail-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.avail-dot--on {
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.5), 0 0 16px rgba(16, 185, 129, 0.2);
  animation: pulse-dot 2s ease-in-out infinite;
}

.avail-row-icon {
  width: 16px;
  height: 16px;
  color: var(--cyan);
  flex-shrink: 0;
  filter: drop-shadow(0 0 3px rgba(0, 229, 255, 0.3));
}

.avail-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.avail-row-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* Your Own URL — mini browser bars */
.bento-url-visual {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.url-bar {
  background: var(--bg-void);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.url-bar-dots {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
}

.url-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}

.url-bar-address {
  padding: 14px 18px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.url-domain {
  color: var(--text-muted);
}

.url-slash {
  color: var(--text-muted);
}

.url-slug {
  color: var(--cyan);
  font-weight: 600;
  text-shadow: 0 0 8px rgba(0, 229, 255, 0.4);
}

.url-cursor {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background: var(--cyan);
  margin-left: 1px;
  vertical-align: text-bottom;
  animation: url-blink 1s step-end infinite;
  box-shadow: 0 0 6px rgba(0, 229, 255, 0.6);
}

.url-dot-sep {
  color: var(--text-muted);
}

@keyframes url-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ── PIPELINE FLOW ──────────────────────────────────────── */
.section-pipeline {
  padding: var(--section-padding) 0;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

/* Horizontal neon line at top */
.section-pipeline::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  top: 0;
  left: 0;
  background: linear-gradient(90deg, transparent 0%, var(--cyan) 50%, transparent 100%);
  opacity: 0.4;
}

.section-pipeline::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  bottom: 0;
  left: 0;
  background: linear-gradient(90deg, transparent 0%, var(--cyan) 50%, transparent 100%);
  opacity: 0.4;
}

.pipeline-label {
  text-align: center;
  margin-bottom: 16px;
}

.pipeline-title {
  text-align: center;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 64px;
  color: var(--text-primary);
}

.pipeline-flow {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.pipeline-step {
  flex: 1;
  text-align: center;
  padding: 32px 16px;
}

.pipeline-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
  background: var(--cyan-faint);
  border: 1px solid var(--cyan-border);
  color: var(--cyan);
  font-family: var(--font-mono);
  text-shadow: 0 0 8px rgba(0, 229, 255, 0.4);
}

.pipeline-step-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.pipeline-step-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.pipeline-arrow {
  flex-shrink: 0;
  width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Align arrow with the step number circles (32px padding-top + 28px half-circle) */
  margin-top: 48px;
}

.pipeline-arrow svg {
  width: 24px;
  height: 24px;
  stroke: var(--cyan);
  opacity: 0.35;
  filter: drop-shadow(0 0 4px rgba(0, 229, 255, 0.3));
}

/* ── TEMPLATES SHOWCASE ─────────────────────────────────── */
.section-templates {
  padding: var(--section-padding) 0;
}

.templates-label {
  text-align: center;
  margin-bottom: 16px;
}

.templates-title {
  text-align: center;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.templates-sub {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 48px;
}

.templates-carousel {
  display: flex;
  gap: 24px;
  justify-content: center;
  padding: 0 var(--container-padding);
  flex-wrap: wrap;
}

.template-card {
  width: 260px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  flex-shrink: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.template-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Template screenshot image */
.tc-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.08);
  cursor: pointer;
}

/* ── Template Lightbox ──────────────────────────────────── */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}
.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  transform: scale(0.92);
  transition: transform 0.3s ease;
}
.lightbox-overlay.active .lightbox-content {
  transform: scale(1);
}
.lightbox-img {
  display: block;
  max-width: 100%;
  max-height: 85vh;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
}
.lightbox-close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--bg-card, #111827);
  color: var(--text-primary, #e8edf5);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  transition: background 0.2s ease, transform 0.2s ease;
}
.lightbox-close:hover {
  background: var(--cyan, #00e5ff);
  color: var(--bg-primary, #0a0e17);
  transform: scale(1.1);
}
.lightbox-label {
  text-align: center;
  margin-top: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary, #7a8ba8);
  font-family: var(--font-sans);
}

/* Template name label below image */
.tc-label {
  margin-top: auto;
  padding-top: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.5;
  font-family: var(--font-sans);
}

.templates-more {
  text-align: center;
  margin-top: 32px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ── DASHBOARD SECTION ──────────────────────────────────── */
.section-dashboard {
  padding: var(--section-padding) 0;
  background: var(--bg-secondary);
}

.dashboard-label {
  text-align: center;
  margin-bottom: 16px;
}

.dashboard-title {
  text-align: center;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.dashboard-sub {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.dashboard-browser {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.browser-frame {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--glow-cyan-md), 0 40px 100px rgba(0, 0, 0, 0.4);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.browser-frame:hover {
  transform: translateY(-4px);
  box-shadow: var(--glow-cyan-lg), 0 50px 120px rgba(0, 0, 0, 0.5);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}

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

.browser-dot:nth-child(1) { background: #ff5f57; }
.browser-dot:nth-child(2) { background: #ffbd2e; }
.browser-dot:nth-child(3) { background: #28c840; }

.browser-url {
  flex: 1;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.browser-frame img {
  width: 100%;
  display: block;
}

.dashboard-screens {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--container-padding);
}

.dash-thumb {
  flex: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  cursor: pointer;
}

.dash-thumb:hover {
  transform: translateY(-2px);
  border-color: var(--cyan-border);
  box-shadow: var(--glow-cyan-sm);
}

.dash-thumb img {
  width: 100%;
  display: block;
}

.dash-thumb-label {
  padding: 10px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-elevated);
}

/* ── INVOICING SECTION ──────────────────────────────────── */
.section-invoicing {
  padding: var(--section-padding) 0;
  position: relative;
  overflow: hidden;
}

/* Amber accent line top */
.section-invoicing::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  top: 0;
  left: 0;
  background: linear-gradient(90deg, transparent 0%, var(--amber) 50%, transparent 100%);
  opacity: 0.3;
}

.invoicing-label {
  text-align: center;
  margin-bottom: 16px;
}

.invoicing-label .section-label {
  color: var(--amber);
  background: rgba(245, 158, 11, 0.06);
  border-color: rgba(245, 158, 11, 0.25);
}

.invoicing-title {
  text-align: center;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.invoicing-title .gradient-text-amber {
  background: linear-gradient(135deg, var(--amber) 0%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(245, 158, 11, 0.3));
}

.invoicing-sub {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 56px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.invoicing-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ── Document flow visual ──────────────────────────────── */
.inv-doc-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

/* Animated flow: EST → QUO → INV */
.inv-flow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.inv-flow-step {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  transition: all 0.6s var(--ease-out-expo);
}

.inv-flow-step--active {
  border-color: rgba(245, 158, 11, 0.4);
  background: rgba(245, 158, 11, 0.08);
  color: var(--amber);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.15);
}

.inv-flow-step .inv-flow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

.inv-flow-arrow {
  color: var(--text-muted);
  opacity: 0.35;
  flex-shrink: 0;
}

.inv-flow-arrow svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

/* Mock invoice document */
.inv-document {
  width: 100%;
  max-width: 420px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 0 30px rgba(245, 158, 11, 0.08),
    0 40px 80px rgba(0, 0, 0, 0.3);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.inv-document:hover {
  transform: translateY(-4px);
  box-shadow:
    0 0 40px rgba(245, 158, 11, 0.12),
    0 50px 100px rgba(0, 0, 0, 0.4);
}

/* Document header bar */
.inv-doc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}

.inv-doc-type {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
}

.inv-doc-number {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* Document body */
.inv-doc-body {
  padding: 24px;
}

.inv-doc-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.inv-doc-meta-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.inv-doc-meta-label {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.inv-doc-meta-value {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-primary);
}

/* Line items table */
.inv-doc-table {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 16px;
}

.inv-doc-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  align-items: center;
}

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

.inv-doc-row--header {
  background: rgba(245, 158, 11, 0.04);
}

.inv-doc-row--header span {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.inv-doc-item {
  font-size: 0.82rem;
  color: var(--text-primary);
  font-weight: 500;
}

.inv-doc-qty,
.inv-doc-price {
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  text-align: right;
}

/* Total row */
.inv-doc-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 14px;
  border-top: 2px solid var(--amber);
}

.inv-doc-total-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

.inv-doc-total-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--amber);
  font-family: var(--font-mono);
  letter-spacing: -0.02em;
  text-shadow: 0 0 12px rgba(245, 158, 11, 0.3);
}

/* Document footer with status */
.inv-doc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
}

.inv-doc-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: var(--font-mono);
  color: #10b981;
}

.inv-doc-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
  animation: pulse-dot 2s ease-in-out infinite;
}

.inv-doc-actions {
  display: flex;
  gap: 6px;
}

.inv-doc-action-btn {
  padding: 5px 12px;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  cursor: default;
  transition: all var(--transition-fast);
}

.inv-doc-action-btn--primary {
  border-color: rgba(245, 158, 11, 0.3);
  color: var(--amber);
  background: rgba(245, 158, 11, 0.06);
}

/* ── Features column ───────────────────────────────────── */
.inv-features-col {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.inv-headline {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
  color: var(--text-bright);
}

.inv-headline .gradient-text-amber {
  background: linear-gradient(135deg, var(--amber) 0%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.inv-tagline {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 460px;
}

.inv-feature-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.inv-feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.inv-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(245, 158, 11, 0.06);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.inv-feature-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--amber);
  fill: none;
  stroke-width: 1.5;
  filter: drop-shadow(0 0 4px rgba(245, 158, 11, 0.3));
}

.inv-feature-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.inv-feature-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.inv-feature-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Trial banner */
.inv-trial-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(245, 158, 11, 0.03) 100%);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.inv-trial-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(245, 158, 11, 0.1);
  color: var(--amber);
  font-weight: 800;
  font-size: 1.1rem;
  font-family: var(--font-mono);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.2);
}

.inv-trial-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.inv-trial-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--amber);
}

.inv-trial-desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Day theme overrides for invoicing */
[data-theme="day"] .inv-document {
  box-shadow:
    0 0 20px rgba(245, 158, 11, 0.06),
    0 20px 60px rgba(0, 0, 0, 0.08);
}
[data-theme="day"] .inv-document:hover {
  box-shadow:
    0 0 30px rgba(245, 158, 11, 0.1),
    0 30px 80px rgba(0, 0, 0, 0.12);
}
[data-theme="day"] .inv-trial-banner {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.06) 0%, rgba(245, 158, 11, 0.02) 100%);
}

/* ── PRICING SECTION ────────────────────────────────────── */
.section-pricing {
  padding: var(--section-padding) 0;
  background: var(--bg-void);
  position: relative;
  overflow: hidden;
}

.pricing-label {
  text-align: center;
  margin-bottom: 16px;
}

.pricing-title {
  text-align: center;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.pricing-title .gradient-text {
  background: linear-gradient(135deg, var(--cyan) 0%, #00b4d8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(0, 229, 255, 0.3));
}

.pricing-sub {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.pricing-grid--three {
  grid-template-columns: repeat(3, 1fr);
  max-width: 1080px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: var(--cyan-border);
  box-shadow: var(--glow-cyan-sm), 0 10px 30px rgba(0, 0, 0, 0.2);
}

.pricing-card--highlight {
  border-color: var(--cyan);
  box-shadow: var(--glow-cyan-md);
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.08) 0%, rgba(0, 229, 255, 0.03) 100%);
}

.pricing-card--highlight:hover {
  border-color: var(--cyan);
  box-shadow: var(--glow-cyan-lg);
}


.tier-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 8px;
}

.tier-tagline {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.tier-price {
  display: flex;
  align-items: baseline;
  margin-bottom: 24px;
}

.price-value {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-bright);
  line-height: 1;
}

.price-period {
  font-size: 1rem;
  color: var(--text-muted);
  margin-left: 8px;
}

.tier-description {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 24px;
  flex-grow: 1; /* Pushes button to bottom */
}

.tier-features {
  list-style: none;
  margin-bottom: 32px;
  flex-grow: 1; /* Pushes button to bottom */
}

.tier-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.tier-features li:last-child {
  margin-bottom: 0;
}

.tier-features li svg {
  width: 18px;
  height: 18px;
  stroke: #10b981; /* Green checkmark */
  stroke-width: 2;
  flex-shrink: 0;
}

.btn-primary-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--bg-void);
  background: var(--cyan);
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-primary-small:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-cyan-md);
}

/* Outline button for Enterprise tier */
.btn-outline-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--cyan);
  background: transparent;
  border: 1px solid var(--cyan-border);
  border-radius: 100px;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast);
}

.btn-outline-small:hover {
  transform: translateY(-2px);
  border-color: var(--cyan);
  background: var(--cyan-faint);
  box-shadow: var(--glow-cyan-sm);
}

/* "Recommended" badge on highlighted pricing card */
.pricing-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  padding: 4px 12px;
  background: var(--cyan-faint);
  border: 1px solid var(--cyan-border);
  border-radius: 100px;
  margin-bottom: 16px;
  font-family: var(--font-mono);
}

/* "Coming soon" tag in feature lists */
.coming-soon {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 2px 8px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 100px;
  margin-left: 4px;
  font-family: var(--font-mono);
}

/* Day theme overrides for pricing section */
[data-theme="day"] .pricing-card--highlight {
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.08) 0%, rgba(8, 145, 178, 0.03) 100%);
  box-shadow: var(--glow-cyan-sm);
}
[data-theme="day"] .pricing-card--highlight:hover {
  box-shadow: var(--glow-cyan-md);
}


/* ── DIFFERENTIATION ────────────────────────────────────── */
.section-diff {
  padding: var(--section-padding) 0;
  text-align: center;
}

.diff-lines {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.diff-line {
  font-size: clamp(1.5rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-muted);
  transition: color var(--transition-medium);
}

.diff-line:hover {
  color: var(--text-primary);
}

.diff-line .diff-strike {
  text-decoration: line-through;
  text-decoration-color: var(--magenta);
  text-decoration-thickness: 3px;
}

.diff-then {
  font-size: clamp(1.5rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-top: 16px;
  color: var(--cyan);
  text-shadow: 0 0 30px rgba(0, 229, 255, 0.3);
}

/* ── SOCIAL PROOF ───────────────────────────────────────── */
.section-proof {
  padding: var(--section-padding) 0;
  background: var(--bg-secondary);
}

.proof-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 0 var(--container-padding);
}

.proof-quote {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 32px;
}

.proof-pills {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

.proof-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  transition: border-color var(--transition-fast), color var(--transition-fast);
}

.proof-pill:hover {
  border-color: var(--cyan-border);
  color: var(--cyan);
}

.proof-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 6px rgba(0, 229, 255, 0.4);
}

/* ── FINAL CTA ──────────────────────────────────────────── */
.section-cta {
  padding: var(--section-padding) 0;
  background: var(--bg-void);
  position: relative;
  overflow: hidden;
}

/* Top neon line */
.section-cta::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  top: 0;
  left: 0;
  background: linear-gradient(90deg, transparent 0%, var(--cyan) 50%, transparent 100%);
  opacity: 0.4;
}

/* Radial glow */
.section-cta::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.06) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: hero-breathe 12s ease-in-out infinite;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 0 var(--container-padding);
}

.cta-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--text-bright);
  margin-bottom: 24px;
}

.cta-title .gradient-text {
  color: var(--cyan);
  text-shadow: 0 0 40px rgba(0, 229, 255, 0.3);
  /* Use text-fill-color for the glow effect */
  background: linear-gradient(135deg, var(--cyan) 0%, #00b4d8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(0, 229, 255, 0.3));
}

.cta-sub {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-btn-glow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 42px;
  font-size: 1.1rem;
  font-weight: 700;
  font-family: var(--font-sans);
  color: var(--bg-void);
  background: var(--cyan);
  border: none;
  border-radius: 100px;
  cursor: pointer;
  position: relative;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 30px rgba(0, 229, 255, 0.3), 0 0 60px rgba(0, 229, 255, 0.1); }
  50% { box-shadow: 0 0 50px rgba(0, 229, 255, 0.5), 0 0 100px rgba(0, 229, 255, 0.2); }
}

.cta-btn-glow:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 60px rgba(0, 229, 255, 0.5), 0 0 120px rgba(0, 229, 255, 0.25);
}

.cta-login {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 24px;
}

.cta-login a {
  color: var(--cyan);
  font-weight: 500;
  transition: text-shadow var(--transition-fast);
}

.cta-login a:hover {
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.5);
}

/* ── FOOTER ─────────────────────────────────────────────── */
.footer {
  padding: 48px 0 32px;
  background: var(--bg-void);
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand svg {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 0 4px rgba(0, 229, 255, 0.2));
}

.footer-wordmark {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  font-family: 'Orbitron', monospace;
  text-transform: uppercase;
}

.footer-wordmark .accent {
  color: var(--cyan);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-link {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--cyan);
}

.footer-copy {
  width: 100%;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}


/* ═══════════════════════════════════════════════════════════
   DAY THEME — element overrides for hardcoded dark values
   ═══════════════════════════════════════════════════════════ */

/* Grid background — lighter lines */
[data-theme="day"] body::before {
  background-image:
    linear-gradient(rgba(8, 145, 178, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 145, 178, 0.06) 1px, transparent 1px);
}

/* No scanlines in day mode */
[data-theme="day"] body::after {
  background: none;
}

/* Nav scrolled — light frosted glass */
[data-theme="day"] .nav.scrolled {
  background: rgba(240, 244, 248, 0.88);
}

/* Mobile nav dropdown */
[data-theme="day"] .nav-links.open {
  background: rgba(240, 244, 248, 0.96);
}

/* SVG logo — nav and footer */
[data-theme="day"] .nav-logo svg rect { stroke: #0891b2; fill: rgba(8, 145, 178, 0.06); }
[data-theme="day"] .nav-logo svg path:first-of-type { fill: #0891b2; }
[data-theme="day"] .nav-logo svg path:last-of-type { fill: #1e293b; }
[data-theme="day"] .nav-logo svg { filter: drop-shadow(0 0 4px rgba(8, 145, 178, 0.2)); }

[data-theme="day"] .footer-brand svg rect { stroke: #0891b2; fill: rgba(8, 145, 178, 0.06); }
[data-theme="day"] .footer-brand svg path:first-of-type { fill: #0891b2; }
[data-theme="day"] .footer-brand svg path:last-of-type { fill: #1e293b; }
[data-theme="day"] .footer-brand svg { filter: drop-shadow(0 0 3px rgba(8, 145, 178, 0.15)); }

/* Hero radial glow — softer in day */
[data-theme="day"] .hero::before {
  background: radial-gradient(circle, rgba(8, 145, 178, 0.06) 0%, rgba(8, 145, 178, 0.02) 40%, transparent 70%);
}

[data-theme="day"] .hero-phone-frame {
  background: #1e293b;
  box-shadow:
    0 0 0 2px rgba(0,0,0,0.08),
    0 4px 20px rgba(8, 145, 178, 0.12),
    0 40px 80px rgba(0, 0, 0, 0.12);
}

[data-theme="day"] .hero-phone-frame:hover {
  box-shadow:
    0 0 0 2px rgba(0,0,0,0.1),
    0 8px 30px rgba(8, 145, 178, 0.18),
    0 50px 100px rgba(0, 0, 0, 0.15);
}

/* Privacy rows — lighter tint instead of dark tint */
[data-theme="day"] .privacy-row,
[data-theme="day"] .crm-row,
[data-theme="day"] .avail-row {
  background: rgba(8, 145, 178, 0.03);
}

/* Connected / Contact tags — use dark-safe opacity */
[data-theme="day"] .privacy-tier--connected,
[data-theme="day"] .crm-tag--contact {
  background: rgba(0, 0, 0, 0.04);
  color: var(--text-muted);
  border-color: rgba(0, 0, 0, 0.08);
}

/* Bento card hover shadow — softer in day */
[data-theme="day"] .bento-card:hover {
  box-shadow: var(--glow-cyan-md), 0 20px 60px rgba(0, 0, 0, 0.08);
}

/* Browser frame shadow — softer */
[data-theme="day"] .browser-frame {
  box-shadow: var(--glow-cyan-sm), 0 20px 60px rgba(0, 0, 0, 0.08);
}

[data-theme="day"] .browser-frame:hover {
  box-shadow: var(--glow-cyan-md), 0 30px 80px rgba(0, 0, 0, 0.1);
}

/* CTA radial glow — softer */
[data-theme="day"] .section-cta::after {
  background: radial-gradient(circle, rgba(8, 145, 178, 0.05) 0%, transparent 70%);
}

/* Glow pulse on CTA button — toned down */
[data-theme="day"] .cta-btn-glow {
  animation: glow-pulse-day 3s ease-in-out infinite;
}

@keyframes glow-pulse-day {
  0%, 100% { box-shadow: 0 4px 16px rgba(8, 145, 178, 0.2); }
  50% { box-shadow: 0 8px 30px rgba(8, 145, 178, 0.3); }
}

/* Nav logo — toggle cursor hint */
[data-theme] .nav-logo {
  cursor: pointer;
}

/* Smooth color transitions on key elements */
.bento-card,
.nav,
.footer,
.browser-frame,
.section-pipeline,
.section-dashboard,
.section-proof {
  transition-property: background-color, border-color, color, box-shadow, transform;
  transition-duration: 0.5s;
  transition-timing-function: ease;
}


/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
  }
}

@media (max-width: 768px) {
  /* Invoicing */
  .invoicing-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .inv-doc-col {
    order: -1; /* Show the visual document first on mobile */
  }

  .inv-document {
    max-width: 100%;
  }

  .inv-flow {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  .inv-headline {
    text-align: center;
  }

  .inv-tagline {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  /* Nav */
  .nav-links {
    display: none;
  }

  .nav-mobile-toggle {
    display: block;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(5, 8, 16, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open .nav-cta {
    width: 100%;
    justify-content: center;
  }

  /* Hero */
  .hero {
    padding: 100px 0 60px;
    min-height: auto;
  }

  .hero-split {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .hero-text-col {
    text-align: center;
  }

  .hero-card-col {
    order: 1;  /* Text first on mobile — visitors need to understand what it is before seeing the card */
  }

  /* On mobile, ditch the phone frame — showing a phone inside a phone is redundant */
  .hero-phone-frame {
    width: 100%;
    max-width: none;
    height: 520px;
    background: none;
    border-radius: 16px;
    padding: 0;
    margin: 0;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    overflow: hidden;
  }

  .hero-phone-frame:hover {
    transform: none;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  }

  .hero-phone-notch {
    display: none;
  }

  .hero-card-iframe {
    border-radius: 16px;
  }

  .hero-card-caption {
    font-size: 0.82rem;
  }

  .hero-title {
    font-size: clamp(2.25rem, 9vw, 3.5rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-text-col .hero-actions {
    justify-content: center;
  }

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

  .hero-value-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 16px;
    text-align: left;
    justify-items: start;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-reassurance {
    font-size: 0.8rem;
  }

  /* Social proof bar */
  .proof-bar-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    justify-items: center;
  }

  .proof-stat-value {
    font-size: 1.5rem;
  }

  .proof-stat-divider {
    display: none;
  }

  /* Personas */
  .personas-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Bento */
  .bento-grid {
    grid-template-columns: 1fr;
  }

  /* Pipeline */
  .pipeline-flow {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .pipeline-step {
    padding: 16px 16px;
  }

  .pipeline-arrow {
    width: auto;
    height: auto;
    margin-top: 0;
  }

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

  /* Templates */
  .templates-carousel {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 16px;
  }

  .template-card {
    scroll-snap-align: center;
    min-width: 240px;
  }

  /* Pricing */
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Dashboard thumbs */
  .dashboard-screens {
    flex-direction: column;
  }

  /* Diff */
  .diff-line, .diff-then {
    font-size: clamp(1.25rem, 6vw, 2rem);
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-badge {
    font-size: 0.7rem;
  }

  .template-card {
    width: 220px;
  }
}

/* ── Selection & Focus ──────────────────────────────────── */
::selection {
  background: rgba(0, 229, 255, 0.2);
  color: var(--text-bright);
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
  border-radius: 4px;
}

/* ── Reduced motion ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ── Sticky mobile CTA ────────────────────────────────── */
/* Hidden on desktop */
.sticky-mobile-cta {
  display: none;
}

@media (max-width: 768px) {
  .sticky-mobile-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 12px 20px;
    padding-bottom: max(12px, env(safe-area-inset-bottom));
    background: linear-gradient(to top, rgba(240, 244, 248, 0.97) 70%, rgba(240, 244, 248, 0) 100%);
    display: flex;
    justify-content: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .sticky-mobile-cta .btn-primary {
    width: 100%;
    max-width: 400px;
    justify-content: center;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  }

  .sticky-mobile-cta.hidden {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
  }
}