/* =============================================
   CITED DIGITAL — UHD PREMIUM DESIGN SYSTEM
   Blue/Purple Palette + Inter Font
   ============================================= */

/* Screen-reader-only labels — visually hidden, keyboard-focusable */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

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

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

html {
  scroll-behavior: smooth;
}

:root {
  --bg: #0c0b0a;
  --bg-deep: #0c0b0a;
  --bg-surface: #13120f;
  --bg-card: rgba(19, 18, 15, 0.8);
  --surface: rgba(19, 18, 15, 0.9);
  --surface-solid: #13120f;
  --surface2: rgba(28, 26, 22, 0.8);
  --glass: rgba(17, 17, 19, 0.9);
  --glass-border: rgba(255, 255, 255, 0.06);
  --text: #efe9e0;
  --text-muted: #9a948b;
  --text-secondary: #c4bbb0;
  --accent: #4f7df7;
  --accent-glow: rgba(79, 125, 247, 0.25);
  --good: #27ae60;
  --warn: #f39c12;
  --bad: #e74c3c;
  --border: rgba(255, 248, 235, 0.07);
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Cosmos canvas — full page behind content */
#cosmos-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* All content above the background layers */
.top-bar,
.lp-hero,
.lp-section,
.lp-footer,
.page-content,
footer,
.chat-toggle,
.chat-panel,
.modal-overlay,
.admin-trigger {
  position: relative;
  z-index: 2;
}

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
}

/* =============================================
   GLASSMORPHISM SYSTEM
   ============================================= */
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

/* =============================================
   TOP BAR
   ============================================= */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 11, 0.6);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
  padding: 0;
}
.top-bar.scrolled {
  background: rgba(10, 10, 11, 0.92);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}
.top-bar.scrolled .top-bar-inner {
  padding-top: 10px;
  padding-bottom: 10px;
}
.top-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: padding 0.3s ease;
}
.top-bar-brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
  text-decoration: none;
  transition: text-shadow 0.3s;
}
.top-bar-brand:hover {
  text-shadow: none;
}
.top-bar-accent {
  /* Keep inline for backwards compat but style is now in gradient */
}
.top-bar-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.top-bar-link {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
  letter-spacing: 0.2px;
}
.top-bar-link:hover {
  color: var(--text);
}

/* Magnetic CTA button wrapper */
.magnetic-wrap {
  display: inline-block;
  position: relative;
}
.top-bar-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: white;
  text-decoration: none;
  background: var(--accent);
  padding: 10px 24px;
  border-radius: 8px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: none;
  position: relative;
  overflow: hidden;
}
.top-bar-cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: none;
}
.top-bar-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.top-bar-cta:hover::after { opacity: 1; }

/* Mobile hamburger */
.top-bar-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.top-bar-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  border-radius: 2px;
  transition: all 0.3s;
}

@media (max-width: 700px) {
  .top-bar-toggle { display: block; }
  .top-bar-nav {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 11, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.35s, opacity 0.3s;
    pointer-events: none;
  }
  .top-bar-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .top-bar-link { font-size: 1rem; }
}

@media (max-width: 480px) {
  .top-bar-inner { padding: 12px 16px; }
}

/* =============================================
   SHARED LAYOUT
   ============================================= */
.lp-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.lp-section {
  padding: 96px 0;
}
.lp-section-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 2.6rem);
  font-weight: 700;
  color: var(--text);
  text-align: center;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
  line-height: 1.2;
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}
.lp-section-sub {
  font-family: var(--font-body);
  color: var(--text-secondary);
  font-size: 1.05rem;
  text-align: center;
  margin-bottom: 56px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

/* =============================================
   CTA BUTTON
   ============================================= */
.lp-cta-btn {
  display: inline-block;
  padding: 18px 44px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  background: var(--accent);
  color: #f5efe6;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: none;
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
}
.lp-cta-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.lp-cta-btn:hover::after { opacity: 1; }
.lp-cta-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 32px rgba(79, 125, 247, 0.35), 0 0 0 1px rgba(79, 125, 247, 0.4);
}
.lp-cta-btn:active {
  transform: translateY(-1px);
}
.lp-cta-btn--sm {
  padding: 13px 30px;
  font-size: 0.95rem;
}

.lp-cta-note {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* =============================================
   HERO SECTION
   ============================================= */
.lp-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 160px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.lp-hero .lp-container {
  position: relative;
  z-index: 1;
}

/* Character-split hero headline */
.lp-hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  font-weight: 700;
  color: #f5efe6;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 32px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.lp-hero-sub {
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.75;
  font-weight: 400;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}
.lp-hero-sub strong {
  color: var(--text);
  font-weight: 600;
}

/* Hero Mockup Card */
.lp-hero-mockup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin: 44px auto 40px;
  max-width: 540px;
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px 36px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.lp-hero-mockup:hover {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}
.mockup-score-ring {
  position: relative;
  width: 120px;
  height: 120px;
  flex-shrink: 0;
}
.mockup-score-ring .score-ring {
  width: 100%;
  height: 100%;
}
.mockup-score-num {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--bad);
}
.mockup-bars {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mockup-bar {
  display: flex;
  align-items: center;
  gap: 10px;
}
.mockup-bar-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  width: 100px;
  flex-shrink: 0;
  font-weight: 500;
}
.mockup-bar-track {
  flex: 1;
  height: 5px;
  background: rgba(60, 58, 90, 0.4);
  border-radius: 3px;
  overflow: hidden;
}
.mockup-bar-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 1s ease;
}
.mockup-bar-num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  width: 24px;
  text-align: right;
}

@media (max-width: 700px) {
  .lp-hero { padding: 120px 0 70px; min-height: auto; }
  .lp-hero-headline { font-size: clamp(2rem, 6vw, 2.6rem); letter-spacing: -0.02em; line-height: 1.15; }
  .lp-hero-sub { font-size: 1rem; }
  .lp-hero-mockup {
    flex-direction: column;
    max-width: 320px;
    padding: 24px 20px;
    gap: 20px;
  }
  .mockup-score-ring { width: 100px; height: 100px; }
  .mockup-score-num { font-size: 2rem; }
  .mockup-bar-label { width: 80px; font-size: 0.65rem; }
}

/* =============================================
   SCROLL REVEAL
   ============================================= */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
/* Pre-reveal hidden state ONLY when JS has flagged the page for animation
   AND the element hasn't scrolled into view yet. Avoids invisible-content
   for crawlers, screenshot tools, and JS-disabled users. */
html.js-anim .reveal:not(.revealed) {
  opacity: 0;
  transform: translateY(40px);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger-1 { transition-delay: 0.06s; }
.reveal-stagger-2 { transition-delay: 0.14s; }
.reveal-stagger-3 { transition-delay: 0.22s; }
.reveal-stagger-4 { transition-delay: 0.30s; }

/* =============================================
   WHAT WE CHECK — Cards
   ============================================= */
.lp-checks {
  position: relative;
  overflow: hidden;
}
.lp-check-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.lp-check-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: none;
  position: relative;
  overflow: hidden;
}
.lp-check-card:hover {
  border-color: rgba(79, 125, 247, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}
.lp-check-icon {
  font-size: 1.6rem;
  color: var(--accent);
  margin-bottom: 16px;
  line-height: 1;
}
.lp-check-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.35;
}
.lp-check-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  letter-spacing: 0.01em;
}

@media (max-width: 900px) {
  .lp-check-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .lp-section { padding: 64px 0; }
  .lp-section-heading { font-size: clamp(1.6rem, 4vw, 2rem); line-height: 1.2; }
  .lp-check-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* =============================================
   STATS / PROBLEM SECTION
   ============================================= */
.lp-problem {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.lp-problem::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(79,125,247,0.06), transparent 70%);
  pointer-events: none;
}
.lp-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.lp-stat-card {
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: none;
}
.lp-stat-card:hover {
  border-color: rgba(79, 125, 247, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(79, 125, 247, 0.12);
}
.lp-stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1.1;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.lp-stat-label {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.lp-stat-source {
  font-size: 0.72rem;
  color: var(--text-muted);
  opacity: 0.5;
  margin-top: 12px;
}
.lp-problem-text {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.lp-problem-text p {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.8;
}

@media (max-width: 700px) {
  .lp-stat-grid { grid-template-columns: 1fr; gap: 16px; }
  .lp-stat-number { font-size: 2.4rem; }
}

/* =============================================
   AUDIT SECTION
   ============================================= */
.lp-audit-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.audit-tool-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 36px;
  position: relative;
  z-index: 1;
  box-shadow: 0 16px 64px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.input-group { display: flex; gap: 12px; }
#url-input {
  flex: 1; padding: 16px 20px; font-size: 1rem;
  font-family: var(--font-body);
  background: rgba(10, 10, 11, 0.7); border: 1px solid var(--border);
  border-radius: 12px; color: #f5efe6; outline: none; transition: all 0.3s;
}
#url-input:focus {
  border-color: var(--accent);
  box-shadow: none;
}
#submit-btn {
  padding: 16px 32px; font-size: 1rem; font-weight: 700;
  font-family: var(--font-display);
  background: var(--accent);
  color: #f5efe6; border: none;
  border-radius: 8px; cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); white-space: nowrap;
  box-shadow: none;
}
#submit-btn:hover {
  box-shadow: 0 0 20px rgba(79, 125, 247, 0.15);
  transform: translateY(-2px);
}
#submit-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

#input-section { margin-bottom: 0; }
.hint { color: var(--text-muted); font-size: 0.85rem; margin-top: 12px; text-align: center; }

/* Loading */
.spinner {
  width: 48px; height: 48px; border: 3px solid var(--border);
  border-top-color: var(--accent); border-radius: 50%;
  animation: spin 0.8s linear infinite; margin: 0 auto 16px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.spinner--sm { width: 28px; height: 28px; border-width: 3px; margin: 0; }
.loading-row {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; margin-bottom: 20px;
}
.progress-bar-wrap {
  width: 100%; max-width: 400px; height: 4px;
  background: var(--border); border-radius: 4px;
  overflow: hidden; margin: 0 auto 12px;
}
.progress-bar-fill {
  height: 100%; width: 0%;
  background: var(--accent);
  border-radius: 4px; transition: width 0.4s ease;
}

#loading-section { text-align: center; padding: 60px 0; }
#loading-message { font-size: 1.1rem; color: #f5efe6; font-family: var(--font-display); }

.error-box {
  background: rgba(231, 76, 60, 0.08); border: 1px solid rgba(231, 76, 60, 0.3);
  border-radius: 12px; padding: 24px; text-align: center;
}
.error-box button {
  margin-top: 12px; padding: 12px 28px;
  background: var(--accent);
  color: #f5efe6; border: none; border-radius: 8px; cursor: pointer;
  font-family: var(--font-display); font-weight: 600;
}

/* Score display */
.score-hero { text-align: center; padding: 40px 0; }
.score-label { font-family: var(--font-display); font-size: 1.2rem; color: var(--text-muted); margin-top: 4px; }
.score-site { font-size: 0.9rem; color: var(--text-muted); margin-top: 4px; }

.score-ring-wrap { position: relative; width: 160px; height: 160px; margin: 0 auto; }
.score-ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.score-ring-bg { fill: none; stroke: var(--border); stroke-width: 8; }
.score-ring-fill {
  fill: none; stroke: var(--accent); stroke-width: 8;
  stroke-linecap: round; stroke-dasharray: 377; stroke-dashoffset: 377;
  transition: stroke-dashoffset 1.4s ease-out, stroke 0.3s;
}
.score-ring-text {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: 3.2rem; font-weight: 800; line-height: 1;
}

.category-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 30px; }
.category-card {
  background: var(--surface-solid);
  border: 1px solid var(--glass-border);
  border-radius: 14px; padding: 22px;
  transition: all 0.3s; box-shadow: none;
}
.category-card:hover {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}
.category-card h3 { font-family: var(--font-display); font-size: 0.88rem; color: var(--text-muted); margin-bottom: 10px; }
.score-bar { height: 6px; background: rgba(60, 58, 90, 0.4); border-radius: 4px; overflow: hidden; margin-bottom: 8px; }
.score-fill { height: 100%; border-radius: 4px; transition: width 0.8s ease; }
.score-num { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; }

.section-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 14px; padding: 28px; margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.section-card h2 { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 16px; color: #f5efe6; }
.section-card h3 { font-size: 1rem; margin: 16px 0 8px; }

.rec-heading { padding: 4px 0; }
.rec-quick { color: var(--good); }
.rec-medium { color: var(--warn); }
.rec-strategic { color: var(--accent); }
.rec-item { background: rgba(30, 28, 50, 0.5); border-radius: 8px; padding: 14px; margin-bottom: 8px; }
.rec-item .rec-action { font-size: 0.95rem; color: #f5efe6; }
.rec-item .rec-meta { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }

.page-item { border-bottom: 1px solid var(--border); padding: 14px 0; cursor: pointer; }
.page-item:last-child { border-bottom: none; }
.page-header { display: flex; justify-content: space-between; align-items: center; }
.page-title { font-size: 0.95rem; color: #f5efe6; }
.page-url { font-size: 0.8rem; color: var(--text-muted); }
.page-score { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.page-issues { display: none; margin-top: 8px; padding-left: 12px; }
.page-issues.open { display: block; }
.issue { font-size: 0.85rem; color: var(--bad); margin-bottom: 4px; }

.actions { display: flex; gap: 12px; justify-content: center; margin-top: 30px; }
.btn-primary {
  padding: 14px 32px; font-size: 1rem; font-weight: 600;
  font-family: var(--font-display);
  background: var(--accent);
  color: #f5efe6; border: none; border-radius: 10px; cursor: pointer;
}
.btn-secondary {
  padding: 14px 32px; font-size: 1rem;
  font-family: var(--font-display);
  background: var(--glass); color: var(--text);
  border: 1px solid var(--border); border-radius: 10px; cursor: pointer;
  transition: all 0.3s;
}
.btn-secondary:hover {
  border-color: var(--accent);
  box-shadow: none;
}

.hidden { display: none !important; }

@media (max-width: 600px) {
  .input-group { flex-direction: column; }
  .category-grid { grid-template-columns: 1fr; }
  .score-ring-text { font-size: 2.4rem; }
  .actions { flex-direction: column; }
  .audit-tool-wrapper { padding: 24px 16px; }
}

/* =============================================
   TOP ISSUES (Free Tier)
   ============================================= */
.top-issue-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid var(--border);
}
.top-issue-item:last-child { border-bottom: none; }
.top-issue-num {
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; min-width: 30px;
  background: var(--accent);
  color: #f5efe6; border-radius: 50%;
  font-family: var(--font-display); font-size: 0.8rem; font-weight: 700;
  box-shadow: none;
}
.top-issue-text {
  font-size: 0.95rem; color: var(--text);
  line-height: 1.55; padding-top: 4px;
}

/* =============================================
   LOCKED SECTION
   ============================================= */
.locked-section { position: relative; margin-top: 20px; }
.locked-overlay {
  position: relative; z-index: 2;
  background: var(--glass);
  border: 2px solid var(--accent); border-radius: 16px;
  padding: 40px 32px; text-align: center; margin-bottom: 20px;
  box-shadow: none;
}
.locked-icon { font-size: 2.5rem; margin-bottom: 14px; }
.locked-overlay h3 {
  font-family: var(--font-display);
  font-size: 1.4rem; color: #f5efe6; margin-bottom: 12px;
}
.locked-overlay > p {
  color: var(--text-muted); font-size: 0.95rem; margin-bottom: 20px;
  max-width: 480px; margin-left: auto; margin-right: auto; line-height: 1.55;
}
.locked-includes { list-style: none; text-align: left; max-width: 420px; margin: 0 auto 24px; }
.locked-includes li {
  color: var(--text); font-size: 0.9rem; padding: 7px 0; padding-left: 26px; position: relative;
}
.locked-includes li::before {
  content: "\2713"; position: absolute; left: 0; color: var(--good); font-weight: 700;
}
.locked-cta {
  display: inline-block; padding: 16px 40px; font-size: 1.05rem; font-weight: 700;
  font-family: var(--font-display);
  background: var(--accent);
  color: #f5efe6; border: none; border-radius: 10px; cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: none;
  text-decoration: none;
}
.locked-cta:hover {
  box-shadow: none;
  transform: translateY(-2px);
}
.locked-cta:disabled { opacity: 0.6; cursor: wait; }
.locked-cta-secondary {
  display: block; margin-top: 12px; padding: 10px 24px; font-size: 0.88rem;
  font-family: var(--font-display); background: transparent; color: var(--text-muted);
  border: 1px solid var(--border); border-radius: 8px; cursor: pointer;
  transition: all 0.2s; text-decoration: none;
}
.locked-cta-secondary:hover { color: #fff; border-color: var(--accent); }
.locked-note { font-size: 0.8rem; color: var(--text-muted); margin-top: 12px; }
.locked-blur { filter: blur(10px); opacity: 0.25; pointer-events: none; user-select: none; }
.blur-placeholder {
  background: rgba(30, 28, 50, 0.4); border-radius: 8px;
  padding: 14px; margin-bottom: 8px; color: var(--text-muted); font-size: 0.9rem;
}

/* =============================================
   STEPS / HOW IT WORKS
   ============================================= */
.lp-steps-section { position: relative; }
.lp-steps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  position: relative;
}
.lp-steps-grid::before {
  content: '';
  position: absolute;
  top: 52px;
  left: 16.5%;
  width: 67%;
  height: 2px;
  background: var(--accent);
  opacity: 0.3;
}
.lp-step {
  text-align: center; padding: 32px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.lp-step:hover {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}
.lp-step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  background: var(--accent);
  color: #f5efe6; border-radius: 50%;
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 700;
  margin-bottom: 24px;
  box-shadow: none;
  position: relative;
  z-index: 2;
}
.lp-step h3 {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 10px; line-height: 1.35;
}
.lp-step p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.7; letter-spacing: 0.01em; max-width: 280px; margin: 0 auto; }

@media (max-width: 700px) {
  .lp-steps-grid { grid-template-columns: 1fr; gap: 12px; }
  .lp-steps-grid::before { display: none; }
}

/* =============================================
   FAQ
   ============================================= */
.lp-faq {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.lp-faq-list { max-width: 720px; margin: 0 auto; }
.lp-faq-item {
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.lp-faq-item:hover { background: rgba(79, 125, 247, 0.02); }
.lp-faq-item:last-child { border-bottom: none; }
.lp-faq-item summary {
  padding: 22px 0; font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 600; color: #f5efe6;
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  user-select: none; transition: color 0.2s;
}
.lp-faq-item summary::-webkit-details-marker { display: none; }
.lp-faq-item summary::after {
  content: '+'; font-size: 1.4rem; color: var(--accent);
  font-weight: 300; transition: transform 0.3s; flex-shrink: 0; margin-left: 16px;
}
.lp-faq-item[open] summary::after { transform: rotate(45deg); }
.lp-faq-item summary:hover { color: var(--accent); }
.lp-faq-answer { padding: 0 0 22px; }
.lp-faq-answer p { font-size: 0.97rem; color: var(--text-muted); line-height: 1.8; }

/* =============================================
   FOOTER
   ============================================= */
.lp-footer {
  background: rgba(10, 10, 11, 0.6);
  border-top: 1px solid var(--border);
  padding: 72px 0 44px;
  text-align: center;
  position: relative; overflow: hidden;
}
.lp-footer-brand {
  font-family: var(--font-display);
  font-size: 0.85rem; font-weight: 700;
  color: var(--accent);
  letter-spacing: 2.5px;
  text-transform: uppercase; margin-bottom: 18px; opacity: 0.8;
}
.lp-footer-headline {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 700; color: #f5efe6;
  margin-bottom: 28px; letter-spacing: -0.03em;
}
.lp-footer .lp-cta-btn { margin-bottom: 36px; }
.lp-footer-links {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 22px; margin-bottom: 28px;
  padding: 0 14px;
}
.lp-footer-links a {
  font-size: 0.88rem; color: var(--text-muted); text-decoration: none;
  transition: color 0.2s;
}
.lp-footer-links a:hover { color: #f5efe6; }
.lp-footer-copy { font-size: 0.82rem; color: var(--text-muted); opacity: 0.5; }

.lp-scarcity-note {
  text-align: center; font-size: 0.85rem; color: var(--text-muted);
  margin-top: 24px; font-style: italic; opacity: 0.7;
}

/* =============================================
   CONTACT MODAL
   ============================================= */
.modal-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.75); backdrop-filter: blur(8px);
  z-index: 1000; display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.modal-overlay.hidden { display: none !important; }
.modal-box {
  background: var(--surface-solid); border: 1px solid var(--border);
  border-radius: 20px; padding: 40px 36px; max-width: 460px; width: 100%;
  position: relative; box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}
.modal-close {
  position: absolute; top: 14px; right: 18px;
  background: none; border: none; color: var(--text-muted);
  font-size: 1.8rem; cursor: pointer; line-height: 1;
  transition: color 0.2s;
}
.modal-close:hover { color: #f5efe6; }
.modal-box h3 { font-family: var(--font-display); font-size: 1.3rem; color: #f5efe6; margin-bottom: 10px; }
.modal-sub { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 22px; line-height: 1.55; }
#contact-form input,
#contact-form textarea {
  width: 100%; padding: 14px 16px; font-size: 0.95rem;
  font-family: var(--font-body);
  background: rgba(10, 10, 11, 0.8); border: 1px solid var(--border);
  border-radius: 10px; color: #f5efe6; outline: none; margin-bottom: 12px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
#contact-form input:focus,
#contact-form textarea:focus {
  border-color: var(--accent); box-shadow: none;
}
#contact-form input[readonly] { opacity: 0.6; }
.modal-submit {
  width: 100%; padding: 15px; font-size: 1rem; font-weight: 700;
  font-family: var(--font-display);
  background: var(--accent);
  color: #f5efe6; border: none; border-radius: 10px; cursor: pointer; margin-top: 4px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: none;
}
.modal-submit:hover { box-shadow: none; }
.cf-checkmark { font-size: 3rem; color: var(--good); text-align: center; margin-bottom: 12px; }
#cf-success { text-align: center; padding: 20px 0; }
#cf-success h3 { color: var(--good); margin-bottom: 8px; }
#cf-success p { color: var(--text-muted); font-size: 0.95rem; }

/* =============================================
   ADMIN TRIGGER
   ============================================= */
.admin-trigger {
  position: fixed; bottom: 0; left: 0;
  width: 20px; height: 20px; z-index: 9999; opacity: 0; cursor: default;
}

/* =============================================
   CHAT WIDGET
   ============================================= */
@keyframes chatDotBounce {
  0%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-6px); }
}
.chat-toggle {
  position: fixed; bottom: 1.5rem; right: 1.5rem;
  width: 58px; height: 58px;
  background: var(--accent);
  border: none; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: none;
  transition: all 0.35s; z-index: 1001;
}
.chat-toggle:hover {
  transform: scale(1.1);
  box-shadow: none;
}
.chat-toggle .icon-chat,
.chat-toggle .icon-close {
  width: 24px; height: 24px; fill: #fff;
  position: absolute; transition: opacity 0.25s, transform 0.3s;
}
.chat-toggle .icon-close { opacity: 0; transform: rotate(-90deg); }
.chat-toggle.active .icon-chat { opacity: 0; transform: rotate(90deg); }
.chat-toggle.active .icon-close { opacity: 1; transform: rotate(0deg); }
.chat-toggle .notif-dot {
  position: absolute; top: -2px; right: -2px;
  width: 14px; height: 14px; background: var(--good);
  border-radius: 50%; border: 2.5px solid var(--bg);
  transition: transform 0.3s, opacity 0.3s;
}
.chat-toggle.active .notif-dot,
.chat-toggle.seen .notif-dot { transform: scale(0); opacity: 0; }

.chat-panel {
  position: fixed; bottom: 5.5rem; right: 1.5rem;
  width: 390px; max-height: 520px;
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: 20px;
  display: flex; flex-direction: column; overflow: hidden;
  z-index: 1000;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  opacity: 0; transform: translateY(16px) scale(0.96);
  pointer-events: none; transition: opacity 0.35s, transform 0.35s;
}
.chat-panel.open {
  opacity: 1; transform: translateY(0) scale(1); pointer-events: auto;
}
.chat-header {
  padding: 16px 18px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 12px;
  background: linear-gradient(180deg, rgba(79, 125, 247, 0.04), transparent);
}
.chat-header-dot {
  width: 9px; height: 9px; background: var(--good);
  border-radius: 50%; box-shadow: 0 0 8px var(--good); flex-shrink: 0;
}
.chat-header-text h3 {
  font-family: var(--font-display); font-size: 0.9rem; color: #f5efe6; font-weight: 600;
}
.chat-header-text p { font-size: 0.72rem; color: var(--text-muted); }
.chat-header-close {
  background: var(--surface2); border: 1px solid var(--border);
  color: var(--text); cursor: pointer; padding: 7px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; margin-left: auto;
}
.chat-header-close:hover { color: #f5efe6; background: var(--accent); border-color: var(--accent); }

.chat-messages {
  flex: 1; overflow-y: auto; padding: 16px;
  display: flex; flex-direction: column; gap: 10px;
  min-height: 280px; max-height: 350px; scroll-behavior: smooth;
}
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

.msg {
  max-width: 85%; padding: 11px 16px; border-radius: 16px;
  font-size: 0.86rem; line-height: 1.6; word-wrap: break-word;
}
.msg-bot {
  align-self: flex-start; background: var(--surface2);
  color: var(--text); border-bottom-left-radius: 4px;
}
.msg-user {
  align-self: flex-end;
  background: var(--accent);
  color: #f5efe6; font-weight: 500; border-bottom-right-radius: 4px;
}
.typing-indicator {
  align-self: flex-start; display: flex; gap: 5px;
  padding: 14px 16px; background: var(--surface2);
  border-radius: 16px; border-bottom-left-radius: 4px;
}
.typing-dot {
  width: 6px; height: 6px; background: var(--text-muted);
  border-radius: 50%; animation: chatDotBounce 1.2s ease-in-out infinite;
}
.typing-dot:nth-child(2) { animation-delay: 0.15s; }
.typing-dot:nth-child(3) { animation-delay: 0.3s; }

.chat-input-area {
  padding: 12px; border-top: 1px solid var(--border);
  display: flex; gap: 8px; background: rgba(10, 10, 11, 0.5);
}
.chat-input-area input {
  flex: 1; font-family: var(--font-body); font-size: 0.86rem;
  background: rgba(10, 10, 11, 0.8); border: 1px solid var(--border);
  color: #f5efe6; padding: 11px 16px; border-radius: 12px; outline: none;
  transition: border-color 0.2s;
}
.chat-input-area input:focus { border-color: var(--accent); }
.chat-input-area input::placeholder { color: var(--text-muted); }
.chat-send {
  background: var(--accent);
  border: none; width: 40px; height: 40px; border-radius: 10px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; flex-shrink: 0;
}
.chat-send:hover { box-shadow: none; }
.chat-send:active { transform: scale(0.92); }
.chat-send:disabled { opacity: 0.4; cursor: not-allowed; }
.chat-powered {
  text-align: center; padding: 7px;
  font-size: 0.65rem; color: var(--text-muted);
  opacity: 0.4; border-top: 1px solid var(--border);
}

@media (max-width: 640px) {
  .chat-panel {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; max-height: 100%; border-radius: 0; border: none;
  }
  .chat-messages { min-height: 0; max-height: none; flex: 1; }
  .chat-toggle { bottom: 1rem; right: 1rem; width: 52px; height: 52px; }
  .chat-toggle.active { display: none; }
  .chat-input-area input { font-size: 16px; }
}

/* =============================================
   PAGE LAYOUTS (About, Blog, Pricing, Results)
   ============================================= */
.page-content { padding-top: 80px; min-height: 100vh; }
.page-header {
  padding: 72px 0 48px; text-align: center;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.page-header::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 20%, rgba(79, 125, 247, 0.06) 0%, transparent 60%);
  pointer-events: none;
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: 2.4rem; font-weight: 700; color: #f5efe6;
  letter-spacing: -0.03em; margin-bottom: 14px;
  position: relative;
}
.page-header p {
  color: var(--text-muted); font-size: 1.1rem;
  max-width: 600px; margin: 0 auto; position: relative;
  line-height: 1.65;
}

/* Prose */
.prose { max-width: 720px; margin: 0 auto; padding: 64px 24px; }
.prose h2 {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 700; color: #f5efe6;
  margin: 52px 0 18px;
}
.prose h2:first-child { margin-top: 0; }
.prose p { font-size: 1.02rem; color: var(--text); line-height: 1.85; margin-bottom: 22px; }
.prose .lead { font-size: 1.15rem; color: #f5efe6; line-height: 1.8; }
.prose .post-meta { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 32px; }
.prose .post-cta {
  margin-top: 52px; padding: 32px 28px;
  background: var(--glass);
  border: 1px solid var(--glass-border); border-radius: 16px;
  text-align: center;
}
.prose .post-cta p { margin-bottom: 16px; }

/* Pricing Cards */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  max-width: 1000px; margin: 0 auto; padding: 0 28px;
}
.pricing-card {
  background: var(--surface-solid);
  border: 1px solid var(--glass-border); border-radius: 20px;
  padding: 36px 28px; text-align: center;
  transition: all 0.35s;
  box-shadow: none;
}
.pricing-card:hover {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}
.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: none;
  position: relative;
}
.pricing-card.featured:hover {
  box-shadow: none;
}
.pricing-card.featured::before {
  content: 'Most Popular'; position: absolute; top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #f5efe6; font-family: var(--font-display);
  font-size: 0.72rem; font-weight: 700;
  padding: 5px 16px; border-radius: 14px;
  text-transform: uppercase; letter-spacing: 0.5px;
  box-shadow: none;
}
.pricing-tier {
  font-family: var(--font-display);
  font-size: 0.8rem; font-weight: 700; color: var(--accent);
  text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 10px;
}
.pricing-outcome {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 700; color: #f5efe6; margin-bottom: 16px;
}
.pricing-price {
  font-family: var(--font-display);
  font-size: 2.6rem; font-weight: 800; color: #f5efe6; margin-bottom: 4px;
}
.pricing-price span { font-size: 0.9rem; font-weight: 400; color: var(--text-muted); }
.pricing-features { list-style: none; margin: 22px 0; text-align: left; }
.pricing-features li {
  font-size: 0.9rem; color: var(--text); padding: 9px 0;
  border-bottom: 1px solid rgba(60, 58, 90, 0.3);
  padding-left: 24px; position: relative;
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li::before {
  content: "\2713"; position: absolute; left: 0; color: var(--good); font-weight: 700;
}
.pricing-cta {
  display: inline-block; width: 100%; padding: 14px;
  font-family: var(--font-display);
  font-size: 0.95rem; font-weight: 700; border-radius: 10px;
  border: none; cursor: pointer; text-decoration: none; text-align: center;
  transition: all 0.3s;
}
.pricing-cta:hover { transform: translateY(-2px); }
.pricing-cta-primary {
  background: var(--accent);
  color: #f5efe6; box-shadow: none;
}
.pricing-cta-primary:hover { box-shadow: none; }
.pricing-cta-secondary {
  background: var(--glass); color: var(--text);
  border: 1px solid var(--border);
}
.pricing-cta-secondary:hover { border-color: var(--accent); box-shadow: none; }

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

/* Blog Cards */
.blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  max-width: 1000px; margin: 0 auto; padding: 64px 28px;
}
.blog-card {
  background: var(--surface-solid);
  border: 1px solid var(--glass-border); border-radius: 16px;
  padding: 30px 26px; transition: all 0.35s;
  text-decoration: none; display: block;
  box-shadow: none;
}
.blog-card:hover {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}
.blog-card-date { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 12px; }
.blog-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 700; color: #f5efe6;
  margin-bottom: 12px; line-height: 1.45;
}
.blog-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; }

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

/* Results Cards */
.results-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px;
  max-width: 1000px; margin: 0 auto; padding: 64px 28px;
}
.result-card {
  background: var(--surface-solid);
  border: 1px solid var(--glass-border); border-radius: 16px;
  padding: 30px 26px; transition: all 0.35s;
  box-shadow: none;
}
.result-card:hover {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}
.result-card-header {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px;
}
.result-card-industry {
  font-family: var(--font-display);
  font-size: 0.8rem; font-weight: 700; color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.5px;
}
.result-card-time { font-size: 0.75rem; color: var(--text-muted); }
.result-scores {
  display: flex; align-items: center; justify-content: center; gap: 24px; margin-bottom: 22px;
}
.result-score { text-align: center; }
.result-score-num { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; }
.result-score-label {
  font-family: var(--font-display);
  font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase;
}
.result-arrow { font-size: 1.5rem; color: var(--good); }
.result-fixes { list-style: none; border-top: 1px solid var(--border); padding-top: 18px; }
.result-fixes li {
  font-size: 0.87rem; color: var(--text); padding: 5px 0;
  padding-left: 20px; position: relative;
}
.result-fixes li::before {
  content: "\2713"; position: absolute; left: 0; color: var(--good); font-size: 0.8rem;
}

/* =============================================
   SECTION DIVIDER
   ============================================= */
.lp-section-divider {
  height: 1px; border: none;
  background: rgba(255, 255, 255, 0.06);
  opacity: 0.2; margin: 0;
}

/* =============================================
   TESTIMONIALS (reusable)
   ============================================= */
.lp-social { position: relative; overflow: hidden; }
.lp-testimonial-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 20px;
}
.lp-testimonial-card {
  background: var(--surface-solid);
  border: 1px solid var(--glass-border); border-radius: 16px;
  padding: 30px 26px; transition: all 0.35s;
  box-shadow: none;
}
.lp-testimonial-card:hover {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}
.lp-testimonial-stars { color: #fbbf24; font-size: 1rem; letter-spacing: 2px; margin-bottom: 14px; }
.lp-testimonial-card blockquote {
  font-size: 0.95rem; color: var(--text); line-height: 1.7;
  font-style: italic; margin-bottom: 16px;
}

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

/* =============================================
   REDUCED MOTION
   ============================================= */
/* =============================================
   AI CITATION CHECK
   ============================================= */
.citation-status {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  padding: 16px 20px;
  border-radius: 12px;
}
.citation-cited {
  background: rgba(39, 174, 96, 0.1);
  color: var(--good);
  border: 1px solid rgba(39, 174, 96, 0.2);
}
.citation-not-cited {
  background: rgba(231, 76, 60, 0.1);
  color: var(--bad);
  border: 1px solid rgba(231, 76, 60, 0.2);
}
.citation-note {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-top: 10px;
  line-height: 1.5;
}

/* =============================================
   MICRO-PROOF BAR (homepage)
   ============================================= */
.micro-proof-bar {
  text-align: center;
  padding: 14px 0;
  font-family: var(--font-display);
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border);
  background: rgba(18, 18, 32, 0.3);
}
.micro-proof-sep {
  margin: 0 12px;
  opacity: 0.4;
}

/* =============================================
   COMPACT HOW IT WORKS (homepage)
   ============================================= */
.how-compact {
  padding: 32px 0;
  position: relative;
  z-index: 1;
}
.how-compact-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.how-compact-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-muted);
}
.how-compact-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* =============================================
   PVA / MENTAL MOVIE SECTION (why-aeo)
   ============================================= */
.pva-section {
  max-width: 720px;
  margin: 0 auto;
}
.pva-block {
  padding: 28px 32px;
  border-radius: 16px;
  margin-bottom: 20px;
  border: 1px solid var(--glass-border);
}
.pva-negative {
  background: rgba(231, 76, 60, 0.04);
  border-color: rgba(231, 76, 60, 0.12);
}
.pva-positive {
  background: rgba(39, 174, 96, 0.04);
  border-color: rgba(39, 174, 96, 0.12);
}
.pva-lead {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.pva-block p {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.8;
}

/* =============================================
   AEO vs SEO (why-aeo)
   ============================================= */
.aeo-vs-seo {
  display: flex;
  align-items: stretch;
  gap: 0;
  max-width: 700px;
  margin: 0 auto;
}
.vs-card {
  flex: 1;
  padding: 28px 24px;
  background: var(--glass);
  backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
}
.vs-card:first-child { border-radius: 16px 0 0 16px; }
.vs-card:last-child { border-radius: 0 16px 16px 0; border-color: rgba(233, 69, 96, 0.2); }
.vs-divider {
  display: flex;
  align-items: center;
  padding: 0 16px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--glass);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}
.vs-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.vs-card p {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.6;
}
@media (max-width: 600px) {
  .aeo-vs-seo { flex-direction: column; }
  .vs-card:first-child { border-radius: 16px 16px 0 0; }
  .vs-card:last-child { border-radius: 0 0 16px 16px; }
  .vs-divider { justify-content: center; padding: 8px 0; border-left: 1px solid var(--glass-border); border-right: 1px solid var(--glass-border); border-top: none; border-bottom: none; }
}

/* =============================================
   HIGHLIGHT BAR (results)
   ============================================= */
.highlight-bar {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  background: rgba(18, 18, 32, 0.3);
}
.highlight-bar-grid {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.highlight-item {
  text-align: center;
}
.highlight-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 4px;
}
.highlight-label {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* =============================================
   TESTIMONIAL QUOTES (results cards)
   ============================================= */
.testimonial-quote {
  font-style: italic;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.6;
  padding: 12px 0;
  margin-bottom: 8px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.result-metric {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--good);
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

/* =============================================
   COMMONALITY SECTION (results)
   ============================================= */
.commonality-section {
  text-align: center;
}
.commonality-list {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.commonality-item {
  background: rgba(231, 76, 60, 0.08);
  border: 1px solid rgba(231, 76, 60, 0.2);
  color: var(--bad);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 10px;
}

/* =============================================
   LOSS HOOK (pricing)
   ============================================= */
.loss-hook {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  background: rgba(231, 76, 60, 0.03);
}
.loss-hook-text {
  text-align: center;
  font-size: 1rem;
  color: var(--text);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}
.loss-hook-text strong {
  color: var(--accent);
}

/* =============================================
   CREDIBILITY CALLOUTS (about)
   ============================================= */
.credibility-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 36px 0;
}
.credibility-callout {
  background: var(--glass);
  backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 24px 20px;
  text-align: center;
}
.credibility-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 6px;
}
.credibility-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}
@media (max-width: 600px) {
  .credibility-grid { grid-template-columns: 1fr; }
}

/* =============================================
   BLOG CTA CARD
   ============================================= */
.blog-card-cta {
  border-color: rgba(233, 69, 96, 0.2) !important;
  background: rgba(233, 69, 96, 0.04) !important;
}
.blog-card-cta:hover {
  border-color: var(--accent) !important;
}

/* =============================================
   REDUCED MOTION
   ============================================= */
@media (prefers-reduced-motion: reduce) {
  body::before { animation: none !important; }
  .lp-hero::before { animation: none !important; }
  .score-ring-fill { transition: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  * { animation-duration: 0.01ms !important; }
}

/* =============================================
   MOBILE OVERFLOW DEFENSE
   Tables that are too wide on phones must scroll
   horizontally INSIDE the page, not pan the page.
   Long unbroken strings must wrap, not clip.
   ============================================= */
@media (max-width: 768px) {
  /* Marketing/data tables: scroll horizontally within their card */
  .lp-cat-table table,
  .lp-tier-table table,
  article.research table,
  .prose table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  /* Force text wrap on long unbroken tokens (URLs, concatenated identifiers) */
  body { overflow-wrap: break-word; }
  p, h1, h2, h3, h4, li, td, dd, blockquote { overflow-wrap: anywhere; }
}
