/* ==========================================================================
   AgentReady Landing Page — Apple-Inspired Light Theme
   ========================================================================== */

/* --- Design Tokens --- */
:root {
  --bg: #f5f5f7;
  --bg-elevated: #ffffff;
  --text: #1a1a2e;
  --text-secondary: rgba(26, 26, 46, 0.72);
  --text-dim: rgba(26, 26, 46, 0.55);
  --text-faint: rgba(26, 26, 46, 0.35);
  --blue: #2563eb;
  --blue-glow: rgba(37, 99, 235, 0.12);
  --green: #059669;
  --purple: #7c3aed;
  --purple-glow: rgba(124, 58, 237, 0.12);
  --teal: #0891b2;
  --teal-glow: rgba(8, 145, 178, 0.12);
  --border: rgba(0, 0, 0, 0.06);
  --border-light: rgba(0, 0, 0, 0.12);
  --surface: rgba(255, 255, 255, 0.7);
  --surface-hover: rgba(255, 255, 255, 0.95);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --font: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'DM Mono', 'SF Mono', monospace;
}

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

html { scroll-behavior: smooth; }

/* Offset anchors for fixed header (80px height + 16px breathing room) */
section[id] { scroll-margin-top: 96px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  animation: pageFadeIn 0.4s ease;
}

@keyframes pageFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

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

.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

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

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* stagger children */
.reveal-stagger .reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger .reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger .reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger .reveal:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger .reveal:nth-child(6) { transition-delay: 0.40s; }

/* ==========================================================================
   1. STICKY HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 1px 24px rgba(0, 0, 0, 0.06);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.125rem;
}

.header-logo svg {
  width: 28px;
  height: 28px;
  color: var(--blue);
}

.header-tagline {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-weight: 400;
  margin-left: 8px;
  padding-left: 12px;
  border-left: 1px solid var(--border-light);
  white-space: nowrap;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-nav a {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.2s;
}

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

.header-cta {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 16px;
  white-space: nowrap;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: #fff;
  transition: transform 0.25s, box-shadow 0.25s;
}

.header-cta::after {
  content: ' \2192';
  display: inline-block;
  transition: transform 0.25s;
}

.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
}
.header-cta:hover::after { transform: translateX(4px); }

/* mobile menu toggle */
.menu-toggle {
  display: none;
  color: var(--text);
  padding: 4px;
}

.menu-toggle svg { width: 24px; height: 24px; }

/* ==========================================================================
   HEADER BACK BUTTON (sub-pages)
   ========================================================================== */
.header-back {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  color: var(--text-secondary);
  transition: color 0.2s, background 0.2s;
  margin-right: 8px;
}

.header-back:hover {
  color: var(--text);
  background: var(--surface-hover);
}

.header-back svg { width: 18px; height: 18px; }

/* ==========================================================================
   2. HERO + SCANNER
   ========================================================================== */
.hero {
  position: relative;
  padding: 160px 24px 100px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--blue-glow) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.6;
}

.hero-inner {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 48px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-copy {
  max-width: 540px;
}

.hero-headline {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.word-reveal {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  animation: wordReveal 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(0.15s + var(--i) * 0.1s);
}

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

/* Agentic Era emphasis — larger and bolder */
.agentic-pulse {
  font-size: 1.15em;
}

.hero-headline .gradient-text {
  background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-bullets {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.hero-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.hero-bullets li svg {
  width: 20px;
  height: 20px;
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.hero-bottom-line {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 32px;
  line-height: 1.5;
}

.hero-form-wrap {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 80px 32px;
  min-height: 520px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.04);
}

.hero-form-label {
  font-size: 1.05rem;
  font-weight: 400;
  margin-bottom: 20px;
  color: var(--text);
}

/* Scanner form */
.scanner-form {
  position: relative;
}

.scanner-input-wrap {
  display: flex;
  align-items: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  border-radius: 100px;
  padding: 6px 6px 6px 24px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.scanner-input-wrap:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px var(--blue-glow);
}

.scanner-input-wrap svg {
  width: 20px;
  height: 20px;
  color: var(--text-dim);
  flex-shrink: 0;
}

.scanner-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 1rem;
  padding: 12px 16px;
  font-family: var(--font);
}

.scanner-input::placeholder { color: var(--text-dim); }

.scanner-btn {
  flex-shrink: 0;
  padding: 12px 32px;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.25s, box-shadow 0.25s;
  white-space: nowrap;
}

.scanner-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
}
.scanner-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* Scanner extra fields (name, type, location, email) */
.scanner-fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 20px;
}

.scanner-fields-stacked .scanner-field {
  height: 52px;
  padding: 0 16px;
  font-size: 0.95rem;
  box-sizing: border-box;
}

.scanner-btn-field {
  height: 52px !important;
  background: linear-gradient(135deg, var(--blue), var(--teal)) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600;
  font-size: 1rem !important;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s;
}

.scanner-btn-field:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
}

.scanner-field {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--text);
  font-size: 0.88rem;
  font-family: var(--font);
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.scanner-field::placeholder { color: var(--text-dim); }
.scanner-field:focus { border-color: var(--blue); }

select.scanner-field {
  color: var(--text-dim);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

select.scanner-field:has(option:checked:not([value=""])) {
  color: var(--text);
}

.scanner-error {
  color: #ef4444;
  font-size: 0.8rem;
  margin-top: 8px;
  min-height: 1.2em;
}

/* Scanner URL confirmation strip */
.scanner-confirm {
  margin-top: 14px;
  padding: 14px 20px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: var(--radius-sm);
  text-align: left;
}

.scanner-confirm-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.5;
}

.scanner-confirm-text strong {
  color: var(--text);
}

.scanner-confirm-text a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
  word-break: break-all;
}

.scanner-confirm-actions {
  display: flex;
  gap: 10px;
}

.scanner-confirm-yes {
  padding: 8px 24px;
  border-radius: 100px;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  transition: opacity 0.2s;
}

.scanner-confirm-yes:hover { opacity: 0.88; }

.scanner-confirm-no {
  padding: 8px 20px;
  border-radius: 100px;
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-size: 0.85rem;
  transition: background 0.2s;
}

.scanner-confirm-no:hover { background: var(--surface-hover); }

/* Scanner competitor question */
.scanner-competitor-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.scanner-competitor-prompt {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.scanner-toggle {
  display: flex;
  gap: 0;
  border-radius: 100px;
  border: 1px solid var(--border);
  overflow: hidden;
}

.scanner-toggle-btn {
  padding: 6px 18px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dim);
  background: transparent;
  transition: background 0.2s, color 0.2s;
}

.scanner-toggle-btn.active {
  background: var(--blue);
  color: #fff;
}

/* Scanner competitor section (shown when Yes) */
.scanner-competitor-section {
  margin-top: 10px;
  padding: 16px;
  background: rgba(59, 130, 246, 0.04);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: var(--radius-sm);
}

.scanner-competitor-options {
  display: flex;
  align-items: center;
  gap: 12px;
}

.scanner-competitor-options .scanner-competitor-url {
  flex: 1;
}

.scanner-competitor-or {
  font-size: 0.8rem;
  color: var(--text-dim);
  flex-shrink: 0;
}

.scanner-suggest-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 100px;
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  transition: border-color 0.2s, background 0.2s;
}

.scanner-suggest-btn:hover {
  border-color: var(--blue);
  background: var(--blue-glow);
}

.scanner-suggest-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.scanner-suggest-btn svg {
  width: 14px;
  height: 14px;
}

/* Competitor radio list */
.scanner-competitor-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.scanner-competitor-radio {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.scanner-competitor-radio:hover {
  border-color: var(--border-light);
  background: var(--surface-hover);
}

.scanner-competitor-radio.selected {
  border-color: var(--blue);
  background: rgba(59, 130, 246, 0.06);
}

.scanner-competitor-radio input[type="radio"] {
  margin-top: 3px;
  accent-color: var(--blue);
  flex-shrink: 0;
}

.scanner-competitor-radio-info {
  flex: 1;
  min-width: 0;
}

.scanner-competitor-radio-name {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text);
}

.scanner-competitor-radio-url {
  font-size: 0.75rem;
  color: var(--blue);
  word-break: break-all;
}

.scanner-competitor-radio-why {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 2px;
  line-height: 1.4;
}

/* Scanner progress bar */
.scanner-progress {
  position: relative;
  margin-top: 16px;
  padding: 16px;
  border-radius: var(--radius-sm);
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.2);
  display: none;
}

.scanner-progress.active {
  display: block;
  animation: scannerProgressFadeIn 0.4s ease;
}

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

.scanner-progress-bar {
  height: 8px;
  width: 0;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.scanner-progress-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: scannerShimmer 1.5s infinite;
}

@keyframes scannerShimmer {
  from { transform: translateX(-100%); }
  to { transform: translateX(100%); }
}

.scanner-progress-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  font-size: 0.92rem;
  font-weight: 600;
}

.scanner-progress-step {
  color: var(--text);
}

.scanner-progress-percent {
  color: var(--teal);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.scanner-progress-detail {
  margin-top: 6px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Trust badges */
.trust-badges {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.trust-badge svg {
  width: 16px;
  height: 16px;
  color: var(--teal);
}

/* ==========================================================================
   3. STATS STRIP
   ========================================================================== */
.stats-strip {
  padding: 60px 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

/* Stats Carousel */
.stats-carousel {
  position: relative;
  overflow: hidden;
  max-width: 600px;
  margin: 0 auto;
}

.stats-carousel.stats-carousel-dual {
  max-width: 860px;
}

.stats-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.stat-slide {
  min-width: 100%;
  flex-shrink: 0;
  padding: 0 24px;
  opacity: 0.3;
  transform: scale(0.92);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.stat-slide-dual {
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: flex-start;
  padding: 0 16px;
  box-sizing: border-box;
}

.stat-slide-dual .stat-card {
  flex: 1;
  min-width: 0;
  max-width: 360px;
  text-align: center;
}

.stat-slide.active {
  opacity: 1;
  transform: scale(1);
}

.stat-number {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--blue) 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-top: 8px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.stats-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.stats-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  padding: 0;
}

.stats-dot.active {
  background: var(--blue);
  transform: scale(1.3);
}

.stats-context {
  font-size: 0.85rem;
  color: var(--text-dim);
  max-width: 600px;
  margin: 0 auto;
}

/* ==========================================================================
   4b. METHODOLOGY COMPARISON TABLE
   ========================================================================== */
.methodology-comparison {
  padding: 100px 24px 80px;
  position: relative;
  border-top: 1px solid var(--border);
}

.methodology-comparison-inner {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.comparison-table-wrapper {
  max-width: 960px;
  margin: 0 auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 2px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
}

.comparison-table thead tr {
  background: rgba(255, 255, 255, 0.06);
}

.comparison-table th {
  padding: 18px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: left;
  color: var(--text-secondary);
  border-bottom: 2px solid var(--border-light);
  border-right: 1px solid var(--border-light);
}

.comparison-table th:last-child { border-right: none; }

.comparison-feature-col { width: 26%; }
.comparison-others-col  { width: 37%; }
.comparison-ar-col      { width: 37%; }

.comparison-header-label {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.comparison-header-highlight {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(0, 194, 168, 0.2));
  color: var(--teal);
  border: 1px solid rgba(0, 194, 168, 0.25);
}

.comparison-table td {
  padding: 16px 20px;
  font-size: 0.92rem;
  line-height: 1.5;
  border-bottom: 1px solid var(--border-light);
  border-right: 1px solid var(--border-light);
  vertical-align: top;
}

.comparison-table td:last-child { border-right: none; }

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

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

.comparison-feature {
  font-weight: 600;
  color: var(--text);
}

.comparison-others {
  color: var(--text-dim);
}

.comparison-ar {
  color: var(--text);
}

.comparison-ar strong {
  color: var(--teal);
}

.comparison-ar em {
  color: var(--text-secondary);
  font-style: italic;
}

.comparison-footnote {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Responsive: stack on mobile */
@media (max-width: 640px) {
  .comparison-table th,
  .comparison-table td {
    padding: 12px 14px;
    font-size: 0.82rem;
  }
  .comparison-feature-col { width: 30%; }
  .comparison-others-col  { width: 35%; }
  .comparison-ar-col      { width: 35%; }
}

/* ==========================================================================
   5. WHAT IS AGENT READINESS? (Educational Section)
   ========================================================================== */
.agent-readiness-explainer {
  padding: 100px 24px 80px;
  position: relative;
}

.readiness-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 2rem;
}

.readiness-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 24px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  border-top: 3px solid var(--card-accent, var(--border));
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.readiness-card:hover {
  border-color: var(--border-light);
  transform: translateY(-6px);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.10), 0 0 20px var(--card-glow, rgba(59, 130, 246, 0.1));
}

.readiness-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--card-icon-bg, var(--blue-glow));
  margin-bottom: 16px;
}

.readiness-icon svg {
  width: 22px;
  height: 22px;
  color: var(--card-accent, var(--blue));
}

/* Per-card accent colors */
.readiness-card.accent-blue {
  --card-accent: #3b82f6;
  --card-icon-bg: rgba(59, 130, 246, 0.12);
  --card-glow: rgba(59, 130, 246, 0.1);
}
.readiness-card.accent-cyan {
  --card-accent: #06b6d4;
  --card-icon-bg: rgba(6, 182, 212, 0.12);
  --card-glow: rgba(6, 182, 212, 0.1);
}
.readiness-card.accent-emerald {
  --card-accent: #10b981;
  --card-icon-bg: rgba(16, 185, 129, 0.12);
  --card-glow: rgba(16, 185, 129, 0.1);
}
.readiness-card.accent-amber {
  --card-accent: #f59e0b;
  --card-icon-bg: rgba(245, 158, 11, 0.12);
  --card-glow: rgba(245, 158, 11, 0.1);
}
.readiness-card.accent-rose {
  --card-accent: #f43f5e;
  --card-icon-bg: rgba(244, 63, 94, 0.12);
  --card-glow: rgba(244, 63, 94, 0.1);
}

.readiness-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.readiness-weight {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--blue);
  margin-bottom: 12px;
}

.readiness-card p:not(.readiness-weight) {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.readiness-example {
  margin-top: auto;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.02);
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.5;
}

.readiness-example-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  margin-bottom: 4px;
}

.readiness-card.accent-purple {
  --card-accent: #8b5cf6;
  --card-icon-bg: rgba(139, 92, 246, 0.12);
  --card-glow: rgba(139, 92, 246, 0.1);
}

.readiness-card .separate-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 100px;
  background: var(--purple-glow);
  color: var(--purple);
  margin-bottom: 8px;
}

.readiness-bottom-line {
  font-size: 0.95rem;
  color: var(--text-dim);
}

/* ==========================================================================
   5. SAMPLE RESULTS PREVIEW
   ========================================================================== */
.results-preview {
  padding: 160px 24px;
  position: relative;
  overflow: hidden;
}

.results-preview-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.results-text {}

.results-features {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.results-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.results-feature svg {
  width: 20px;
  height: 20px;
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.paid-badge {
  color: var(--blue);
  font-weight: 700;
  font-size: 1rem;
  margin-left: 2px;
}

.results-paid-note {
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--text-dim);
  font-style: italic;
}

/* Mock report card */
.report-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.report-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.report-business {
  font-weight: 600;
  font-size: 1rem;
}

.report-business span {
  font-size: 0.8rem;
  color: var(--text-dim);
  display: block;
  margin-top: 2px;
}

/* Score ring */
.score-ring-wrap {
  position: relative;
  width: 96px;
  height: 96px;
}

.score-ring {
  width: 96px;
  height: 96px;
  transform: rotate(-90deg);
}

.score-ring-bg {
  fill: none;
  stroke: var(--border);
  stroke-width: 6;
}

.score-ring-fill {
  fill: none;
  stroke: var(--blue);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 264;
  stroke-dashoffset: 264;
  transition: stroke-dashoffset 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.score-ring-wrap.visible .score-ring-fill {
  stroke-dashoffset: 79; /* ~70% fill: 264 - (264 * 0.70) */
}

.score-number {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1;
}

.score-number small {
  font-size: 0.55rem;
  font-weight: 500;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

/* Dimension bars */
.dimension-bars {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dimension-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dimension-label {
  font-size: 0.78rem;
  color: var(--text-secondary);
  width: 140px;
  flex-shrink: 0;
}

.dimension-track {
  flex: 1;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.dimension-fill {
  height: 100%;
  border-radius: 3px;
  width: 0;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.report-card.visible .dimension-fill { /* widths set inline */ }

.dimension-score {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  width: 28px;
  text-align: right;
}

.grade-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 8px 16px;
  border-radius: 100px;
  background: var(--blue-glow);
  font-size: 0.8rem;
  font-weight: 600;
}

.grade-badge .grade-letter {
  color: var(--blue);
  font-size: 1rem;
  font-weight: 800;
}

/* ==========================================================================
   5. WHAT WE ANALYZE
   ========================================================================== */
.analyze {
  padding: 140px 24px;
}

.analyze-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 48px;
}

.analyze-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.3s, background 0.3s;
}

.analyze-card:hover {
  border-color: var(--border-light);
  background: var(--surface-hover);
}

.analyze-card.accent-purple {
  border-color: rgba(139, 92, 246, 0.25);
}

.analyze-card.accent-purple:hover {
  border-color: rgba(139, 92, 246, 0.4);
}

.analyze-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.analyze-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--blue-glow);
  color: var(--blue);
}

.accent-purple .analyze-icon {
  background: var(--purple-glow);
  color: var(--purple);
}

.analyze-icon svg { width: 20px; height: 20px; }

.analyze-card-title {
  font-weight: 700;
  font-size: 1.05rem;
}

.weight-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--surface-hover);
  color: var(--text-dim);
  margin-left: auto;
  white-space: nowrap;
}

.separate-badge {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--purple-glow);
  color: var(--purple);
  margin-left: auto;
  white-space: nowrap;
}

.analyze-card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.sub-var-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pill {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--text-dim);
}

/* ==========================================================================
   6. HOW IT WORKS
   ========================================================================== */
.how-it-works {
  padding: 140px 24px;
  text-align: center;
}

.steps {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-top: 56px;
  position: relative;
}

.step {
  flex: 1;
  max-width: 280px;
  position: relative;
  padding: 0 24px;
}

/* connecting line */
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 28px;
  right: -16px;
  width: calc(100% - 80px);
  height: 1px;
  background: linear-gradient(90deg, var(--border-light), var(--border));
  transform: translateX(50%);
}

.step-number {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: var(--surface);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--blue);
}

.step-title {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.how-image {
  margin-top: 64px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  max-height: 360px;
}

.how-image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  opacity: 0.35;
}

.how-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg) 0%, transparent 50%);
}

/* Network animation (how-it-works page) */
.how-visual {
  margin-top: 64px;
  position: relative;
  height: 200px;
}

.network-anim {
  position: relative;
  width: 100%;
  height: 100%;
}

.network-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.net-line {
  stroke: var(--border-light);
  stroke-width: 1;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: drawLine 1.5s ease forwards;
}

.net-line:nth-child(2) { animation-delay: 0.15s; }
.net-line:nth-child(3) { animation-delay: 0.30s; }
.net-line:nth-child(4) { animation-delay: 0.45s; }
.net-line:nth-child(5) { animation-delay: 0.60s; }
.net-line:nth-child(6) { animation-delay: 0.75s; }
.net-line:nth-child(7) { animation-delay: 0.90s; }

@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

.node {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 16px var(--blue-glow);
  opacity: 0;
  animation: nodeAppear 0.4s ease forwards;
}

.node-1 { left: calc(100% / 6 - 6px); top: calc(50% - 6px); animation-delay: 0.2s; }
.node-2 { left: calc(50% - 6px); top: calc(30% - 6px); animation-delay: 0.4s; background: var(--purple); box-shadow: 0 0 16px var(--purple-glow); }
.node-3 { left: calc(100% * 5 / 6 - 6px); top: calc(50% - 6px); animation-delay: 0.6s; }
.node-4 { left: calc(100% / 3 - 6px); top: calc(80% - 6px); animation-delay: 0.8s; }
.node-5 { left: calc(100% * 2 / 3 - 6px); top: calc(80% - 6px); animation-delay: 1.0s; background: var(--green); box-shadow: 0 0 16px rgba(16, 185, 129, 0.18); }

@keyframes nodeAppear {
  from { opacity: 0; transform: scale(0); }
  to { opacity: 1; transform: scale(1); }
}

.node::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid currentColor;
  opacity: 0.2;
  animation: nodePulse 2s ease-in-out infinite;
}

@keyframes nodePulse {
  0%, 100% { transform: scale(1); opacity: 0.2; }
  50% { transform: scale(1.8); opacity: 0; }
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials {
  padding: 100px 24px 80px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 2rem;
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.testimonial-quote {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
}

.testimonial-result {
  margin: 16px 0;
  padding: 10px 14px;
  background: rgba(16, 185, 129, 0.06);
  border-left: 3px solid #10b981;
  border-radius: 0 8px 8px 0;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.testimonial-metric {
  font-weight: 800;
  color: #10b981;
  font-size: 0.95rem;
}

.testimonial-author {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

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

/* ==========================================================================
   ABOUT US
   ========================================================================== */
.about-us {
  padding: 100px 24px 60px;
  border-top: 1px solid var(--border);
}

.about-lead strong {
  color: var(--blue);
}

.about-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1080px;
  margin: 0 auto;
}

.about-pillar {
  text-align: center;
  padding: 32px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.3s, transform 0.3s;
}

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

.about-pillar-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-glow);
  border-radius: 12px;
  color: var(--blue);
}

.about-pillar-icon svg {
  width: 24px;
  height: 24px;
}

.about-pillar h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.about-pillar p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
  padding: 120px 24px;
  border-top: 1px solid var(--border);
}

.contact-fields {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}

.contact-textarea {
  width: 100%;
  resize: vertical;
  min-height: 100px;
  margin-bottom: 16px;
}

.contact-submit-btn {
  display: block;
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-sm);
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  transition: opacity 0.2s;
}

.contact-submit-btn:hover { opacity: 0.85; }

.contact-status {
  text-align: center;
  margin-top: 12px;
  font-size: 0.875rem;
  color: var(--green);
}

/* ==========================================================================
   7. PRICING
   ========================================================================== */
.pricing {
  padding: 100px 24px 100px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
  max-width: 1080px;
}

.pricing-grid-4 {
  grid-template-columns: repeat(4, 1fr);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.10), 0 0 20px rgba(59, 130, 246, 0.08);
}

.pricing-card.featured {
  border-color: var(--teal);
  background: rgba(59, 130, 246, 0.04);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06), 0 0 24px var(--teal-glow);
}

.pricing-tier {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.pricing-price small {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-dim);
}

.pricing-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.6;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex: 1;
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.pricing-feature svg {
  width: 18px;
  height: 18px;
  color: var(--green);
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-btn {
  display: block;
  text-align: center;
  padding: 14px 24px;
  border-radius: 9999px;
  margin-top: auto;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.25s, box-shadow 0.25s;
  max-width: 220px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  white-space: nowrap;
}

.pricing-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.pricing-btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: #fff;
}

.pricing-btn-outline {
  border: 1px solid var(--border-light);
  color: var(--text);
}

.pricing-btn-outline:hover {
  background: var(--surface-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.pricing-note {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-top: 24px;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   8. FAQ
   ========================================================================== */
.faq {
  padding: 80px 24px;
}

.faq-list {
  max-width: 720px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  transition: color 0.2s;
}

.faq-question:hover { color: var(--blue); }

.faq-question svg {
  width: 20px;
  height: 20px;
  color: var(--text-dim);
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer-inner {
  padding: 0 0 20px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==========================================================================
   9. FINAL CTA + FOOTER
   ========================================================================== */
.final-cta {
  padding: 140px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  bottom: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--purple-glow) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.5;
}

.final-cta-headline {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 640px;
  margin: 0 auto 16px;
}

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

.site-footer {
  padding: 40px 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-tagline {
  font-size: 0.75rem;
  color: var(--text-faint);
  margin-top: 4px;
}

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

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  color: var(--text-dim);
  transition: color 0.2s, background 0.2s;
}

.footer-social a:hover {
  color: var(--text);
  background: var(--surface-hover);
}

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

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

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

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

/* ==========================================================================
   9. ABOUT US
   ========================================================================== */
.about {
  padding: 140px 24px;
  text-align: center;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-top: 48px;
}

.about-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-align: left;
  transition: border-color 0.3s, background 0.3s;
}

.about-card:hover {
  border-color: var(--border-light);
  background: var(--surface-hover);
}

.about-card-title {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 12px;
}

.about-card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==========================================================================
   10. CONTACT FORM
   ========================================================================== */
.contact-form {
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-fields {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}

.contact-textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-submit-btn {
  align-self: center;
  padding: 14px 48px;
  border-radius: 100px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.contact-submit-btn:hover { opacity: 0.88; }
.contact-submit-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.contact-status {
  font-size: 0.85rem;
  text-align: center;
  min-height: 1.4em;
  color: var(--green);
}

.contact-status.error {
  color: #ef4444;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

/* Tablet (<=1024px) */
@media (max-width: 1024px) {
  .pricing-grid-4 { grid-template-columns: repeat(2, 1fr); }

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

  .hero-copy {
    max-width: 100%;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

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

  .hero-bullets li {
    text-align: left;
    max-width: 480px;
  }

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

  .hero-form-wrap {
    max-width: 580px;
    margin: 0 auto;
  }

  .hero-form-label {
    text-align: center;
  }

  .results-preview-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

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

  .pricing-grid,
  .pricing-grid-4 {
    grid-template-columns: 1fr;
    max-width: 440px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }

  .contact-fields {
    grid-template-columns: 1fr;
  }
}

/* Mobile (<=768px) */
@media (max-width: 768px) {
  .site-header { padding: 0 16px; }

  .header-nav { display: none; }
  .header-nav.open {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 999;
    gap: 28px;
  }

  .header-nav.open a {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
    opacity: 0;
    animation: menuFadeIn 0.3s ease forwards;
  }

  .header-nav.open a:nth-child(1) { animation-delay: 0.05s; }
  .header-nav.open a:nth-child(2) { animation-delay: 0.10s; }
  .header-nav.open a:nth-child(3) { animation-delay: 0.15s; }
  .header-nav.open a:nth-child(4) { animation-delay: 0.20s; }
  .header-nav.open a:nth-child(5) { animation-delay: 0.25s; }
  .header-nav.open a:nth-child(6) { animation-delay: 0.30s; }
  .header-nav.open a:nth-child(7) { animation-delay: 0.35s; }
  .header-nav.open a:nth-child(8) { animation-delay: 0.40s; }

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

  .header-nav.open .header-cta {
    margin-top: 8px;
  }

  .menu-toggle { display: block; z-index: 1001; }

  .hero { padding: 120px 16px 80px; }

  .hero-inner { gap: 32px; }

  .hero-headline {
    font-size: clamp(2rem, 8vw, 3rem);
  }

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

  .hero-form-wrap { padding: 24px; }

  .scanner-input-wrap {
    flex-direction: column;
    border-radius: var(--radius);
    padding: 4px;
    gap: 0;
  }

  .scanner-input-wrap > svg { display: none; }

  .scanner-input {
    width: 100%;
    padding: 14px 16px;
    text-align: center;
  }

  .scanner-btn {
    width: 100%;
    padding: 14px;
    border-radius: var(--radius-sm);
  }

  .scanner-fields { grid-template-columns: 1fr; }

  .scanner-competitor-question {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .scanner-competitor-options {
    flex-direction: column;
  }

  .scanner-competitor-or { display: none; }

  .scanner-suggest-btn { width: 100%; justify-content: center; }

  .trust-badges { gap: 20px; }

  /* stats carousel — no grid overrides needed */

  .steps {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .step:not(:last-child)::after { display: none; }

  .header-tagline { display: none; }

  .readiness-grid { grid-template-columns: 1fr; gap: 20px; }
  .testimonials-grid { grid-template-columns: 1fr; }

  .methodology-comparison { padding: 80px 16px; }
  .agent-readiness-explainer { padding: 80px 16px; }
  .testimonials { padding: 80px 16px; }

  .results-preview,
  .analyze,
  .how-it-works,
  .pricing,
  .faq,
  .about,
  .final-cta {
    padding: 80px 16px;
  }

  .analyze-card { padding: 24px; }
  .report-card { padding: 28px; }
  .pricing-card { padding: 28px; }

  .dimension-label { width: 100px; font-size: 0.72rem; }

  .about-pillars { grid-template-columns: 1fr; gap: 20px; }
  .contact-fields { grid-template-columns: 1fr; }

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

/* Small mobile (<=480px) */
@media (max-width: 480px) {
  .hero-headline { font-size: 2rem; }
  .trust-badges { flex-direction: column; align-items: center; gap: 12px; }
  /* stats carousel — no grid overrides needed */
}

/* --- Scan Limit Popup --- */
.scan-limit-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px; animation: fadeIn 0.25s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.scan-limit-popup {
  position: relative;
  background: var(--bg-elevated, #ffffff);
  border: 1px solid var(--border, rgba(255,255,255,0.08));
  border-radius: 20px;
  padding: 48px 36px 36px;
  max-width: 460px; width: 100%;
  text-align: center;
  animation: popUp 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes popUp { from { opacity: 0; transform: scale(0.92) translateY(12px); } to { opacity: 1; transform: scale(1) translateY(0); } }

.scan-limit-close {
  position: absolute; top: 16px; right: 16px;
  background: none; border: none; color: var(--text-dim, #888);
  font-size: 1.5rem; cursor: pointer; line-height: 1;
  transition: color 0.2s;
}
.scan-limit-close:hover { color: var(--text-primary, #fff); }

.scan-limit-icon { font-size: 2.5rem; margin-bottom: 16px; }

.scan-limit-popup h3 {
  font-size: 1.35rem; font-weight: 700;
  color: var(--text-primary, #fff); margin-bottom: 12px;
}
.scan-limit-popup p {
  font-size: 0.95rem; color: var(--text-secondary, #aaa);
  line-height: 1.6; margin-bottom: 28px;
}

.scan-limit-options { display: flex; flex-direction: column; gap: 12px; }

.scan-limit-btn {
  display: block; padding: 14px 24px;
  border-radius: 12px; font-weight: 600; font-size: 0.95rem;
  text-decoration: none; text-align: center;
  transition: transform 0.15s, box-shadow 0.15s;
}
.scan-limit-btn:hover { transform: translateY(-1px); }

.scan-limit-btn-primary {
  background: var(--blue, #3b82f6); color: #fff;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
}
.scan-limit-btn-primary:hover { box-shadow: 0 6px 24px rgba(59, 130, 246, 0.45); }

.scan-limit-btn-secondary {
  background: transparent;
  border: 1px solid var(--border, rgba(255,255,255,0.08));
  color: var(--text-primary, #fff);
}
.scan-limit-btn-secondary:hover { background: rgba(255,255,255,0.04); }

/* ==========================================================================
   HERO ROTATING PLATFORM TEXT (Enhancement 5)
   ========================================================================== */
.hero-platform-rotate {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.hero-platform-ticker {
  position: relative;
  display: inline-block;
  min-width: 120px;
  height: 1.4em;
  overflow: hidden;
  vertical-align: bottom;
}

.hero-platform-ticker .platform-name {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s, transform 0.5s;
  font-weight: 700;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}

.hero-platform-ticker .platform-name.active {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   AI PLATFORM LOGO STRIP (Enhancement 6)
   ========================================================================== */
.platform-strip {
  padding: 32px 24px;
}

.platform-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.platform-strip-label {
  font-size: 0.82rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.platform-logos {
  display: flex;
  align-items: center;
  gap: 32px;
}

.platform-logo {
  font-size: 1rem;
  font-weight: 700;
  color: var(--platform-color, var(--text-secondary));
  opacity: 0.55;
  transition: opacity 0.3s;
  letter-spacing: -0.01em;
}

.platform-logo:hover {
  opacity: 1;
}

.platform-strip-more {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dim);
  font-style: italic;
  align-self: center;
}

/* Star badge for premium features */
.star-badge {
  color: #f59e0b !important;
  font-size: 1rem;
}

/* ==========================================================================
   COUNT-UP ANIMATION HELPER (Enhancement 4)
   ========================================================================== */
.stat-number {
  transition: color 0.3s;
}
