/* =============================================================
   assets/css/components.css
   AdNeutral — UI Component Library
   Includes cookie banner styles per GA4 spec.
   Load order: variables.css → reset.css → components.css
   ============================================================= */


/* ─────────────────────────────────────────────────────────────
   BUTTONS
   ───────────────────────────────────────────────────────────── */

.btn-primary,
.btn-secondary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  min-height: var(--btn-height);
  padding: 12px 24px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  vertical-align: middle;
  user-select: none;
  transition:
    background-color 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease,
    transform 0.15s ease;
}

/* Focus ring consistent across all variants */
.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.btn-ghost:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--color-accent) 30%, transparent);
  outline-offset: 3px;
}

/* ── Primary ────────────────────────────────────────────────── */

.btn-primary {
  background: var(--color-accent);
  color: var(--color-accent-text);
  border-color: var(--color-accent);
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  color: var(--color-accent-text);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

/* ── Secondary ──────────────────────────────────────────────── */

.btn-secondary {
  background: transparent;
  color: var(--color-text-secondary);
  border: 1px solid var(--color-border);
  padding: 11px 24px;
}

.btn-secondary:hover {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--color-text-primary);
  transform: translateY(-1px);
}

.btn-secondary:active {
  transform: translateY(0) scale(0.98);
}

[data-theme="light"] .btn-secondary:hover {
  border-color: rgba(0, 0, 0, 0.22);
  color: var(--color-text-primary);
}


/* ── Ghost ──────────────────────────────────────────────────── */

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: transparent;
  padding: 0 var(--space-2);
}

.btn-ghost:hover {
  color: var(--accent);
  background: var(--accent-glow);
}

/* ── Small Variant ──────────────────────────────────────────── */

.btn-sm {
  min-height: var(--btn-height-sm);
  padding: 8px 16px;
  font-size: var(--text-sm);
  border-radius: 8px;
}

.nav-actions .btn-primary.btn-sm {
  padding: 8px 16px;
  font-weight: 600;
  color: var(--color-accent-text);
}

/* ── Icon-only Button ───────────────────────────────────────── */

.btn-icon {
  width: var(--btn-height);
  height: var(--btn-height);
  padding: 0;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn-icon.btn-sm {
  width: var(--btn-height-sm);
  height: var(--btn-height-sm);
}

/* ── Loading State ──────────────────────────────────────────── */

.btn-loading {
  pointer-events: none;
  opacity: 0.7;
  position: relative;
}

.btn-loading::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: var(--radius-full);
  animation: spin 0.6s linear infinite;
}

/* ── Disabled State ─────────────────────────────────────────── */

.btn-primary:disabled,
.btn-secondary:disabled,
.btn-ghost:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
  box-shadow: none;
}

/* ── Full Width ─────────────────────────────────────────────── */

.btn-block {
  width: 100%;
}


/* ─────────────────────────────────────────────────────────────
   CARDS
   ───────────────────────────────────────────────────────────── */

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: var(--space-3);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  border-color: color-mix(in srgb, var(--color-accent) 30%, transparent);
  transform: translateY(-3px);
  box-shadow: none;
}

.bento-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
}

.bento-card .card-title {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
}

.bento-card .card-body {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

@media (max-width: 479px) {
  .bento-card {
    padding: 20px 16px;
  }
}

/* ── Card Variants ──────────────────────────────────────────── */

.card-flat {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
}

.card-ghost {
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
}

.card-accent {
  background: var(--bg-secondary);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: none;
}

/* ── Card Header / Body / Footer ────────────────────────────── */

.card-header {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
  font-size: 1.25rem; /* scales svg.lucide 1em → 20px */
}

.card-icon svg.lucide {
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  shape-rendering: geometricPrecision;
}

/* Lucide SVG — crisp strokes; dimensions from parent font-size (see variables.css) */
svg.lucide {
  display: block;
  vertical-align: middle;
  shape-rendering: geometricPrecision;
  color: inherit;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  transform: translateZ(0);
  overflow: visible;
  flex-shrink: 0;
  width: 1em;
  height: 1em;
}

svg[data-lucide] {
  overflow: visible;
  flex-shrink: 0;
  width: 1em;
  height: 1em;
}

svg.lucide :where(path, line, circle, polyline, polygon, rect) {
  stroke: currentColor;
}

/* Icon scale via context (no width/height attrs on Lucide placeholders) */
.hero-ctas .btn-primary svg.lucide,
.final-cta-buttons .btn-primary svg.lucide,
.final-cta .btn-primary svg.lucide,
.how-it-works-grid + .text-center .btn-primary svg.lucide {
  font-size: 1.125rem;
}

.final-cta .btn-secondary svg.lucide {
  font-size: 1rem;
}

.hero-panel-toggle svg.lucide {
  font-size: 12px;
}

.demo-tracker svg.lucide {
  font-size: 10px;
}

.pricing-feature svg.lucide {
  font-size: 14px;
}

.footer-brand-badges .badge svg.lucide {
  font-size: 12px;
}

.theme-toggle svg.lucide {
  font-size: 16px;
}

.nav-actions .btn-primary.btn-sm svg.lucide,
.nav-actions .btn-sm svg.lucide {
  font-size: 14px;
}

.faq-chevron {
  font-size: 18px;
}

.card-title {
  font-family: var(--font-body);
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  line-height: var(--leading-relaxed);
  margin: 0;
}

.card-body {
  color: var(--text-secondary);
  font-size: var(--text-base);
  line-height: var(--leading-loose);
}

.card-footer {
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
}


/* ─────────────────────────────────────────────────────────────
   BADGES
   ───────────────────────────────────────────────────────────── */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
}

.badge-teal    { background: var(--color-accent-light); color: var(--color-accent); border: 1px solid color-mix(in srgb, var(--color-accent) 30%, transparent); }
.badge-plan-free {
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-text-muted);
  border: 1px solid transparent;
}
[data-theme="light"] .badge-plan-free {
  background: rgba(0, 0, 0, 0.06);
  color: var(--color-text-secondary);
}
.badge-amber   {
  background: var(--color-accent-light);
  color: var(--color-accent);
  border: 1px solid color-mix(in srgb, var(--color-accent) 30%, transparent);
}
.badge-green   { background: var(--success-bg);    color: var(--success);  }
.badge-success {
  background: var(--color-success-subtle);
  border: 1px solid var(--color-success-border);
  color: var(--color-success);
}
.badge-brand {
  background: var(--color-accent-light);
  border: 1px solid color-mix(in srgb, var(--color-accent) 30%, transparent);
  color: var(--color-accent);
}
.badge-red     { background: var(--error-bg);      color: var(--error);    }
.badge-blue    { background: var(--info-bg);       color: var(--info);     }
.badge-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

/* Dot indicator inside badge */
.badge-dot::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: currentColor;
  flex-shrink: 0;
}

/* Larger badge variant */
.badge-lg {
  font-size: var(--text-sm);
  padding: 6px 16px;
}


/* ─────────────────────────────────────────────────────────────
   INPUTS & FORM ELEMENTS
   ───────────────────────────────────────────────────────────── */

.input {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--text-base);
  height: var(--input-height);
  padding: 0 var(--space-2);
  width: 100%;
  transition: border-color var(--transition-fast),
              box-shadow var(--transition-fast);
}

.input:hover {
  border-color: var(--text-muted);
}

.input:focus {
  outline: 2px solid color-mix(in srgb, var(--color-accent) 30%, transparent);
  outline-offset: 0;
  border-color: transparent;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-accent) 30%, transparent);
}

.input::placeholder {
  color: var(--text-muted);
}

.input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: var(--bg-tertiary);
}

/* ── Textarea ────────────────────────────────────────────────── */

.textarea {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-loose);
  padding: var(--space-2);
  width: 100%;
  min-height: 120px;
  resize: vertical;
  transition: border-color var(--transition-fast),
              box-shadow var(--transition-fast);
}

.textarea:focus {
  outline: 2px solid color-mix(in srgb, var(--color-accent) 30%, transparent);
  outline-offset: 0;
  border-color: transparent;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-accent) 30%, transparent);
}

.textarea::placeholder {
  color: var(--text-muted);
}

/* Monospace textarea for code/ad snippets */
.textarea-mono {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  min-height: 200px;
  line-height: 1.7;
}

/* ── Select ──────────────────────────────────────────────────── */

.select {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--text-base);
  height: var(--input-height);
  padding: 0 var(--space-5) 0 var(--space-2);
  width: 100%;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238B92A5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-2) center;
  transition: border-color var(--transition-fast);
}

.select:focus {
  outline: 2px solid color-mix(in srgb, var(--color-accent) 30%, transparent);
  outline-offset: 0;
  border-color: transparent;
}

/* ── Form Group ──────────────────────────────────────────────── */

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--text-secondary);
}

.form-label.required::after {
  content: ' *';
  color: var(--error);
}

.form-helper {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.5;
}

.form-error {
  font-size: var(--text-sm);
  color: var(--error);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Input in error state */
.input-error {
  border-color: var(--error);
}

.input-error:focus {
  outline-color: var(--error);
  box-shadow: 0 0 0 4px var(--error-bg);
}

/* Input in success state */
.input-success {
  border-color: var(--success);
}

/* ── Character Counter ────────────────────────────────────────── */

.char-counter {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-align: right;
}

.char-counter.over-limit {
  color: var(--error);
  font-weight: var(--weight-semibold);
}

.char-counter.near-limit {
  color: var(--warning);
}

/* ── Toggle / Switch ─────────────────────────────────────────── */

.toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  cursor: pointer;
  user-select: none;
}

.toggle-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-track {
  width: 44px;
  height: 24px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  position: relative;
  flex-shrink: 0;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  background: var(--text-muted);
  border-radius: var(--radius-full);
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.toggle-input:checked + .toggle-track {
  background: var(--accent-muted);
  border-color: var(--border-accent);
}

.toggle-input:checked + .toggle-track .toggle-thumb {
  transform: translateX(20px);
  background: var(--accent);
}

.toggle-input:focus-visible + .toggle-track {
  outline: 2px solid color-mix(in srgb, var(--color-accent) 30%, transparent);
  outline-offset: 2px;
}

.toggle-label {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}


/* ─────────────────────────────────────────────────────────────
   NAVIGATION
   ───────────────────────────────────────────────────────────── */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  padding: 0 var(--space-3);
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease;
}

.nav.scrolled {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo:hover {
  color: var(--text-primary);
  opacity: 0.85;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  list-style: none;
}

.nav-link {
  font-size: 14px;
  font-weight: var(--weight-medium);
  color: var(--color-text-secondary);
  text-decoration: none;
  padding: 6px var(--space-2);
  border-radius: var(--radius-md);
  transition: color 0.15s ease;
}

.nav-link:hover {
  color: var(--color-text-primary);
  background: transparent;
}

.nav-link.active {
  color: var(--accent);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

/* GitHub star pill (nav) */
.github-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 500;
  font-family: var(--font-body);
  color: var(--text-secondary);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 4px 10px;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.github-badge__star {
  display: none;
}

.github-badge:hover {
  border-color: var(--border-accent);
  color: var(--text-primary);
}

/* ── Mobile Hamburger ────────────────────────────────────────── */

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  border-radius: var(--radius-md);
  background: transparent;
  border: none;
  padding: 0;
  transition: background var(--transition-fast);
}

.nav-hamburger:hover {
  background: var(--bg-hover);
}

.nav-hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text-secondary);
  border-radius: var(--radius-full);
  transition: transform var(--transition-base), opacity var(--transition-base);
  transform-origin: center;
}

.nav-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ── Mobile Menu Drawer ──────────────────────────────────────── */

.nav-mobile-menu {
  position: fixed;
  top: var(--nav-height);
  right: 0;
  bottom: 0;
  left: auto;
  width: min(320px, calc(100vw - var(--space-3)));
  background: var(--color-surface);
  border-left: 1px solid var(--color-border);
  border-bottom: none;
  padding: var(--space-4) var(--space-3);
  z-index: calc(var(--z-sticky) - 1);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  transform: translateX(100%);
  opacity: 1;
  pointer-events: none;
  transition: transform 0.2s ease;
  box-shadow: none;
  overflow-y: auto;
}

.nav-mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}

.nav-mobile-link {
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  color: var(--text-secondary);
  text-decoration: none;
  padding: var(--space-2) var(--space-2);
  border-radius: var(--radius-md);
  transition: color var(--transition-fast), background var(--transition-fast);
}

.nav-mobile-link:hover {
  color: var(--text-primary);
  background: var(--bg-hover);
}

@media (max-width: 1023px) {
  .nav-links,
  .github-badge {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }
}

@media (max-width: 767px) {
  .nav {
    padding: 0 var(--space-3);
  }

  .nav-mobile-menu {
    padding: var(--space-3);
  }
}


/* ─────────────────────────────────────────────────────────────
   READING PROGRESS BAR
   ───────────────────────────────────────────────────────────── */

#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: var(--progress-height);
  background: var(--accent);
  z-index: calc(var(--z-sticky) + 1);
  box-shadow: none;
  transition: width 0.1s linear;
}


/* ─────────────────────────────────────────────────────────────
   TOAST NOTIFICATIONS
   ───────────────────────────────────────────────────────────── */

.toast-container {
  position: fixed;
  top: calc(var(--nav-height) + var(--space-3));
  right: var(--space-4);
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  pointer-events: none;
  max-width: 360px;
  width: calc(100vw - var(--space-8));
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  pointer-events: auto;
  transform: translateX(calc(100% + var(--space-4)));
  opacity: 0;
  transition: transform 0.35s var(--transition-spring),
              opacity 0.35s ease;
}

.toast.toast--visible {
  transform: translateX(0);
  opacity: 1;
}

.toast.toast--hiding {
  transform: translateX(calc(100% + var(--space-4)));
  opacity: 0;
}

.toast-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}

.toast-body {
  flex: 1;
}

.toast-title {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  line-height: 1.4;
}

.toast-message {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.5;
  margin-top: 2px;
}

.toast-close {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  background: transparent;
  transition: color var(--transition-fast), background var(--transition-fast);
}

.toast-close:hover {
  color: var(--text-primary);
  background: var(--bg-hover);
}

/* Toast variants — left border accent */
.toast--success { border-left: 3px solid var(--success); }
.toast--warning { border-left: 3px solid var(--warning); }
.toast--error   { border-left: 3px solid var(--error);   }
.toast--info    { border-left: 3px solid var(--info);     }

.toast--success .toast-icon { color: var(--success); }
.toast--warning .toast-icon { color: var(--warning); }
.toast--error   .toast-icon { color: var(--error);   }
.toast--info    .toast-icon { color: var(--info);     }


/* ─────────────────────────────────────────────────────────────
   MODAL
   ───────────────────────────────────────────────────────────── */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: var(--z-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 560px;
  max-height: calc(100dvh - var(--space-8));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.95) translateY(8px);
  transition: transform 0.3s var(--transition-spring);
}

.modal-backdrop.open .modal {
  transform: scale(1) translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-4) 0;
  gap: var(--space-2);
  flex-shrink: 0;
}

.modal-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  margin: 0;
}

.modal-close {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  border: none;
  background: transparent;
  flex-shrink: 0;
  transition: color var(--transition-fast), background var(--transition-fast);
}

.modal-close:hover {
  color: var(--text-primary);
  background: var(--bg-hover);
}

.modal-body {
  padding: var(--space-3) var(--space-4) var(--space-4);
  overflow-y: auto;
  flex: 1;
}

.modal-footer {
  padding: var(--space-3) var(--space-4) var(--space-4);
  display: flex;
  justify-content: flex-end;
  gap: var(--space-2);
  flex-shrink: 0;
  border-top: 1px solid var(--border-subtle);
}

/* ── Modal — Wide (media library) ───────────────────────────── */

.modal-wide {
  max-width: 900px;
}


/* ─────────────────────────────────────────────────────────────
   DROPDOWN MENU
   ───────────────────────────────────────────────────────────── */

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: var(--z-dropdown);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-1);
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition:
    opacity var(--transition-fast),
    transform var(--transition-fast),
    visibility var(--transition-fast);
}

.dropdown:focus-within .dropdown-menu,
.dropdown-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  width: 100%;
  padding: 8px var(--space-2);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  text-decoration: none;
  cursor: pointer;
  background: transparent;
  border: none;
  text-align: left;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.dropdown-item:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.dropdown-item.danger:hover {
  background: var(--error-bg);
  color: var(--error);
}

.dropdown-separator {
  height: 1px;
  background: var(--border-subtle);
  margin: var(--space-1) 0;
}


/* ─────────────────────────────────────────────────────────────
   TOOLTIP
   ───────────────────────────────────────────────────────────── */

[data-tooltip] {
  position: relative;
}

[data-tooltip]::before,
[data-tooltip]::after {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  transform: translateX(-50%) translateY(4px);
}

[data-tooltip]::before {
  content: attr(data-tooltip);
  background: var(--bg-hover);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  padding: 5px 10px;
  border-radius: var(--radius-md);
  white-space: nowrap;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  z-index: var(--z-dropdown);
}

[data-tooltip]::after {
  content: '';
  border: 5px solid transparent;
  border-top-color: var(--border);
  bottom: calc(100% + 3px);
  z-index: var(--z-dropdown);
}

[data-tooltip]:hover::before,
[data-tooltip]:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}


/* ─────────────────────────────────────────────────────────────
   STAT CARDS (counter bar, dashboard)
   ───────────────────────────────────────────────────────────── */

.stat-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.stat-value {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  letter-spacing: var(--tracking-tight);
  line-height: 1;
}

.stat-value-accent {
  color: var(--accent);
}

.stat-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--text-muted);
}

.stat-delta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
}

.stat-delta--up   { color: var(--success); }
.stat-delta--down { color: var(--error);   }


/* ─────────────────────────────────────────────────────────────
   SECTION ANATOMY (shared across homepage sections)
   ───────────────────────────────────────────────────────────── */

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.section-eyebrow svg.lucide {
  font-size: 14px;
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0;
}

/* Ensure high contrast for the homepage testimonials headline in dark mode */
[data-theme="dark"] #testimonials-title {
  color: var(--color-text-primary) !important;
}

.section-subtitle {
  font-size: 16px;
  font-weight: 400;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-top: var(--space-2);
  max-width: 54ch;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-12);
}

.section-header .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}


/* ─────────────────────────────────────────────────────────────
   PRICING CARDS
   ───────────────────────────────────────────────────────────── */

.pricing-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.pricing-card:hover {
  border-color: color-mix(in srgb, var(--color-accent) 30%, transparent);
  transform: translateY(-3px);
}

.pricing-card.featured,
.pricing-card--featured {
  border: 2px solid var(--color-accent);
  box-shadow: none;
  background: color-mix(in srgb, var(--color-accent) 3%, transparent);
}

.pricing-card--featured::before {
  content: none;
  display: none;
}

.most-popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 600;
  background: var(--color-accent);
  color: var(--color-accent-text);
  border-radius: 20px;
  padding: 3px 14px;
  white-space: nowrap;
}

.pricing-plan-name {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--text-muted);
  display: inline-flex;
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid transparent;
}

.pricing-grid > .pricing-card:first-child .pricing-plan-name {
  background: var(--color-accent-light);
  color: var(--color-accent);
  border-color: color-mix(in srgb, var(--color-accent) 30%, transparent);
}

.pricing-grid > .pricing-card.pricing-card--featured .pricing-plan-name {
  background: var(--color-accent-light);
  color: var(--color-accent);
  border-color: color-mix(in srgb, var(--color-accent) 30%, transparent);
}

.pricing-grid > .pricing-card:last-child .pricing-plan-name {
  background: var(--color-accent-light);
  color: var(--color-accent);
  border-color: color-mix(in srgb, var(--color-accent) 30%, transparent);
}

[data-theme="light"] .pricing-grid > .pricing-card:first-child .pricing-plan-name {
  background: rgba(0, 0, 0, 0.06);
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.pricing-price-amount {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 600;
  color: var(--color-text-primary);
  letter-spacing: var(--tracking-tight);
  line-height: 1;
}

.pricing-price-currency {
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  color: var(--text-secondary);
  align-self: flex-start;
  margin-top: 8px;
}

.pricing-price-period {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-left: 4px;
}

.pricing-description {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-loose);
}

.pricing-divider {
  height: 1px;
  background: var(--border-subtle);
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  flex: 1;
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.pricing-feature-check {
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 1px;
  display: inline-flex;
}

.pricing-feature-check svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  shape-rendering: geometricPrecision;
}

.pricing-feature-cross {
  color: var(--text-muted);
  flex-shrink: 0;
  margin-top: 1px;
  display: inline-flex;
}

.pricing-feature-cross svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  shape-rendering: geometricPrecision;
}

/* ── /pricing/ — billing toggle, plan labels, CTAs ─────────── */
.pricing-page .billing-toggle-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: var(--space-6);
}

.pricing-page .billing-toggle-label {
  font-size: 14px;
  color: var(--color-text-muted);
}

.pricing-page .billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  font-size: 14px;
  color: var(--color-text-secondary);
}

.pricing-page .billing-toggle input {
  width: 44px;
  height: 24px;
  accent-color: var(--color-accent);
  cursor: pointer;
}

.pricing-page .pricing-card-header .pricing-card-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px;
}

[data-theme="light"] .pricing-cta-ghost:hover {
  border-color: var(--color-border);
}

.pricing-card .plan-name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.pricing-card.featured .plan-name,
.pricing-card--featured .plan-name {
  color: var(--color-accent);
}

.pricing-card .price-amount {
  font-size: 52px;
  font-weight: 600;
  color: var(--color-text-primary);
  line-height: 1;
  letter-spacing: -0.02em;
}

.pricing-card .price-period {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-top: 4px;
}

.pricing-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
  background: var(--color-accent);
  color: var(--color-accent-text);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  transition: background 0.15s;
  border: none;
  cursor: pointer;
}

.pricing-cta-primary:hover {
  background: var(--color-accent-hover);
}

.pricing-cta-ghost {
  display: block;
  width: 100%;
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  font-weight: 500;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
  cursor: pointer;
}

.pricing-cta-ghost:hover {
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--color-text-primary);
}

.pricing-page .pricing-features li .check {
  color: var(--color-accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-page .pricing-features li.unavailable {
  display: none;
}

.upgrade-hint {
  font-size: 12px;
  color: var(--color-text-muted);
  text-align: center;
  margin-top: 8px;
}

.upgrade-hint a {
  color: var(--color-accent);
  text-decoration: none;
}

.testimonials-section .section-heading {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 500;
  color: var(--color-text-primary);
  margin: 0 0 48px;
  letter-spacing: -0.01em;
}

.pricing-page .faq-section .faq-list {
  gap: 2px;
  margin-top: 40px;
  border: none;
  border-radius: 0;
}

.pricing-page .faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  overflow: hidden;
}

.pricing-page .faq-item + .faq-item {
  margin-top: 0;
}

.pricing-page .faq-item summary,
.pricing-page .faq-question {
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-primary);
}

.pricing-page .faq-answer {
  padding: 0 20px 18px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-secondary);
}


/* ─────────────────────────────────────────────────────────────
   TESTIMONIAL CARDS
   ───────────────────────────────────────────────────────────── */

.testimonial-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.testimonial-card:hover {
  border-color: color-mix(in srgb, var(--color-accent) 30%, transparent);
  transform: translateY(-3px);
  box-shadow: none;
}

.testimonial-stars {
  display: block;
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--color-accent);
}

.testimonial-quote {
  font-size: 15px;
  color: #000000;
  font-style: italic;
  line-height: 1.7;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.testimonial-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-primary);
}

.testimonial-meta {
  font-size: 13px;
  color: var(--color-text-muted);
}


/* ─────────────────────────────────────────────────────────────
   COMPARISON TABLE
   ───────────────────────────────────────────────────────────── */

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}

.comparison-table th {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-secondary);
  padding: 14px 20px;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
  letter-spacing: 0;
  text-transform: none;
  background: var(--color-surface-2);
}

.comparison-table th:first-child {
  text-align: left;
}

/* Highlighted column (AdNeutral) */
.comparison-table th.col-adneutral {
  color: var(--color-accent);
  background: var(--color-accent-light);
  border-bottom-color: color-mix(in srgb, var(--color-accent) 30%, transparent);
  border-left: 1px solid color-mix(in srgb, var(--color-accent) 30%, transparent);
  border-right: 1px solid color-mix(in srgb, var(--color-accent) 30%, transparent);
}

.comparison-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--color-border-subtle);
  font-size: var(--text-sm);
  color: var(--color-text-primary);
  text-align: center;
  vertical-align: middle;
}

.comparison-table td:first-child {
  text-align: left;
  font-weight: var(--weight-medium);
  color: var(--text-primary);
}

.comparison-table td.col-adneutral {
  background: var(--color-accent-light);
  font-weight: var(--weight-semibold);
  color: var(--color-accent);
  border-left: 1px solid color-mix(in srgb, var(--color-accent) 30%, transparent);
  border-right: 1px solid color-mix(in srgb, var(--color-accent) 30%, transparent);
}

.comparison-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.015);
}

.comparison-table tbody tr:hover td.col-adneutral {
  background: var(--color-accent-light);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table .check,
.comparison-table .cross,
.comparison-table .partial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  min-width: 0;
  border-radius: 0;
  font-size: 16px;
  background: transparent;
  border: none;
}

.comparison-table .check {
  color: var(--color-accent);
  font-weight: 600;
}

.comparison-table .cross {
  color: var(--color-text-muted);
  font-weight: 600;
}

.comparison-table .partial {
  color: var(--warning);
  background: var(--warning-bg);
  border: 1px solid rgba(245, 158, 11, 0.28);
}

.comparison-table .check svg,
.comparison-table .cross svg,
.comparison-table .partial svg {
  stroke-width: 2.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  shape-rendering: geometricPrecision;
}

[data-theme="light"] .comparison-table .cross {
  background: transparent;
  border: none;
  color: var(--color-text-muted);
}

/* Scrollable wrapper on mobile */
.comparison-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
}

.comparison-wrap .comparison-table-wrapper {
  border: none;
  border-radius: 0;
}


/* ─────────────────────────────────────────────────────────────
   PLATFORM BADGE (Platform Wall section)
   ───────────────────────────────────────────────────────────── */

.platform-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-surface);
  transition: transform 0.2s ease, border-color 0.15s ease;
}

.platform-item:hover {
  border-color: color-mix(in srgb, var(--color-accent) 30%, transparent);
  box-shadow: none;
}

.platform-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.platform-name {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--text-secondary);
}

.platform-protected {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wider);
  text-transform: none;
  color: var(--color-success);
  background: var(--color-success-subtle);
  border: 1px solid var(--color-success-border);
  border-radius: 20px;
  padding: 2px 8px;
}

.platform-protected::before {
  content: '✓';
  font-size: 10px;
}


/* ─────────────────────────────────────────────────────────────
   HOW IT WORKS — STEPS
   ───────────────────────────────────────────────────────────── */

.step-connector {
  flex: 1;
  height: 1px;
  border-top: 2px dashed var(--border);
  margin: 0 var(--space-2);
  align-self: center;
  margin-top: -var(--space-6);
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--color-accent-light);
  border: 1px solid color-mix(in srgb, var(--color-accent) 30%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-accent);
  flex-shrink: 0;
  margin: 0 auto var(--space-3);
}

.how-step .step-number {
  width: auto;
  height: auto;
  margin: 0 auto 12px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-accent);
}


/* ─────────────────────────────────────────────────────────────
   ARTICLE — QUICK ANSWER BOX
   ───────────────────────────────────────────────────────────── */

.quick-answer {
  border-left: 3px solid var(--accent);
  background: var(--accent-glow);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: var(--space-3) var(--space-4);
  margin: var(--space-4) 0;
}

.quick-answer-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-1);
}

.quick-answer p {
  color: var(--text-primary);
  font-size: var(--text-base);
  line-height: var(--leading-prose);
  margin: 0;
  max-width: none;
}


/* ─────────────────────────────────────────────────────────────
   ARTICLE — TABLE OF CONTENTS
   ───────────────────────────────────────────────────────────── */

.toc {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  margin-bottom: var(--space-4);
}

.toc-title {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-2);
}

.toc-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  list-style: none;
}

.toc-link {
  display: block;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  text-decoration: none;
  padding: 4px var(--space-2);
  border-radius: var(--radius-md);
  border-left: 2px solid transparent;
  transition: color var(--transition-fast), border-color var(--transition-fast),
              background var(--transition-fast);
  line-height: 1.4;
}

.toc-link:hover {
  color: var(--text-primary);
  background: var(--bg-hover);
}

.toc-link.active {
  color: var(--accent);
  border-left-color: var(--accent);
  background: var(--accent-glow);
}

.toc-link--h3 {
  padding-left: calc(var(--space-2) + var(--space-2));
  font-size: var(--text-xs);
}


/* ─────────────────────────────────────────────────────────────
   ARTICLE — SHARE BUTTONS
   ───────────────────────────────────────────────────────────── */

.share-buttons {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: var(--btn-height-sm);
  padding: 0 var(--space-2);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  background: var(--bg-secondary);
  cursor: pointer;
  text-decoration: none;
  transition: color var(--transition-fast), border-color var(--transition-fast),
              background var(--transition-fast);
}

.share-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-accent);
  background: var(--accent-glow);
}

.share-btn--copied {
  color: var(--success);
  border-color: var(--success);
  background: var(--success-bg);
}


/* ─────────────────────────────────────────────────────────────
   NEWSLETTER SIGNUP
   ───────────────────────────────────────────────────────────── */

.newsletter-widget {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
}

.newsletter-title {
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  margin-bottom: 4px;
}

.newsletter-description {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: var(--space-3);
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.newsletter-form .input {
  font-size: var(--text-sm);
  height: 40px;
}

.newsletter-legal {
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.4;
  text-align: center;
}


/* ─────────────────────────────────────────────────────────────
   AD SLOTS
   ───────────────────────────────────────────────────────────── */

.ad-slot {
  position: relative;
  text-align: center;
  overflow: hidden;
}

.ad-label {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--ad-label-size);
  font-weight: var(--weight-medium);
  letter-spacing: var(--ad-label-tracking);
  text-transform: uppercase;
  color: var(--ad-label-color);
  margin-bottom: 6px;
  text-align: center;
}

/* Horizontal banner slots */
.ad-slot--article_top,
.ad-slot--article_end {
  margin: var(--space-6) 0;
  min-height: 90px;
}

/* Medium rectangle slots */
.ad-slot--article_mid_top,
.ad-slot--article_mid,
.ad-slot--sidebar_top,
.ad-slot--sidebar_mid {
  margin: var(--space-4) 0;
  min-height: 250px;
}

/* Desktop: float right for mid-top */
@media (min-width: 1024px) {
  .ad-slot--article_mid_top {
    float: right;
    margin-left: var(--space-4);
    margin-right: 0;
    max-width: 300px;
  }

  /* Clear float after mid-top slot context */
  .ad-slot--article_mid {
    clear: both;
  }
}

/* Native/in-feed post slot */
.ad-slot--article_post {
  margin: var(--space-8) 0;
}

/* Blog listing between-rows slot */
.ad-slot--blog_between {
  margin: var(--space-4) 0;
  min-height: 90px;
}


/* ─────────────────────────────────────────────────────────────
   BREADCRUMB
   ───────────────────────────────────────────────────────────── */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  flex-wrap: wrap;
}

.breadcrumb-item {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.breadcrumb-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.breadcrumb-link:hover {
  color: var(--accent);
}

.breadcrumb-sep {
  color: var(--text-muted);
  opacity: 0.4;
  font-size: var(--text-xs);
}

.breadcrumb-item:last-child .breadcrumb-link {
  color: var(--text-secondary);
  pointer-events: none;
}


/* ─────────────────────────────────────────────────────────────
   PAGINATION
   ───────────────────────────────────────────────────────────── */

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  flex-wrap: wrap;
}

.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--text-secondary);
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition-fast), color var(--transition-fast),
              border-color var(--transition-fast);
}

.page-btn:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.page-btn.active {
  background: var(--accent-glow);
  border-color: var(--border-accent);
  color: var(--accent);
  font-weight: var(--weight-semibold);
}

.page-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

.page-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: var(--text-sm);
  color: var(--text-muted);
}


/* ─────────────────────────────────────────────────────────────
   EMPTY STATE
   ───────────────────────────────────────────────────────────── */

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-16) var(--space-4);
  gap: var(--space-3);
}

.empty-state-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-xl);
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.empty-state-title {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  margin: 0;
}

.empty-state-description {
  font-size: var(--text-base);
  color: var(--text-secondary);
  max-width: 38ch;
  line-height: var(--leading-loose);
  margin: 0;
}


/* ─────────────────────────────────────────────────────────────
   SKELETON LOADING
   ───────────────────────────────────────────────────────────── */

.skeleton {
  background: linear-gradient(
    90deg,
    var(--bg-tertiary) 25%,
    var(--bg-hover) 50%,
    var(--bg-tertiary) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-md);
}

@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.skeleton-text {
  height: 1em;
  margin-bottom: 0.5em;
  border-radius: var(--radius-sm);
}

.skeleton-text:last-child {
  width: 75%;
}

.skeleton-title {
  height: 1.5em;
  margin-bottom: var(--space-2);
  border-radius: var(--radius-sm);
}

.skeleton-img {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  width: 100%;
}


/* ─────────────────────────────────────────────────────────────
   AVATAR / AUTHOR META
   ───────────────────────────────────────────────────────────── */

.author-meta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.author-avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--accent);
}

.author-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px var(--space-2);
}

.author-name {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
}

.author-sep {
  color: var(--text-muted);
  font-size: var(--text-xs);
}

.author-date,
.author-readtime {
  font-size: var(--text-sm);
  color: var(--text-muted);
}


/* ─────────────────────────────────────────────────────────────
   TAG / PILL
   ───────────────────────────────────────────────────────────── */

.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  color: var(--text-secondary);
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: border-color var(--transition-fast), color var(--transition-fast);
  white-space: nowrap;
}

.tag:hover {
  border-color: var(--border-accent);
  color: var(--accent);
}


/* ─────────────────────────────────────────────────────────────
   BLOG ARTICLE CARD
   ───────────────────────────────────────────────────────────── */

.article-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: border-color var(--transition-base), box-shadow var(--transition-base),
              transform var(--transition-base);
}

.article-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-glow);
  transform: translateY(-3px);
}

.article-card-image {
  aspect-ratio: 16 / 9;
  width: 100%;
  object-fit: cover;
  background: var(--bg-tertiary);
}

.article-card-body {
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  flex: 1;
}

.article-card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.article-card-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  line-height: var(--leading-relaxed);
  margin: 0;
}

.article-card-excerpt {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-loose);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: none;
}

.article-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--text-xs);
  color: var(--text-muted);
  padding-top: var(--space-2);
  border-top: 1px solid var(--border-subtle);
}


/* ─────────────────────────────────────────────────────────────
   STATUS INDICATOR
   ───────────────────────────────────────────────────────────── */

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.status--online  .status-dot { background: var(--success); box-shadow: 0 0 0 2px var(--success-bg); }
.status--warning .status-dot { background: var(--warning); box-shadow: 0 0 0 2px var(--warning-bg); }
.status--error   .status-dot { background: var(--error);   box-shadow: 0 0 0 2px var(--error-bg);   }
.status--offline .status-dot { background: var(--text-muted); }

.status-dot--pulse {
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

/* Footer / site status pill */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--color-text-secondary);
  background: var(--color-success-subtle);
  border: 1px solid var(--color-success-border);
  border-radius: 20px;
  padding: 3px 10px;
}

.status-badge .status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-success);
  flex-shrink: 0;
  box-shadow: none;
}

/* Free plan upgrade hint (pricing) */
.upgrade-nudge {
  margin-top: var(--space-3);
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-align: center;
  line-height: var(--leading-relaxed);
}

.upgrade-nudge a {
  color: var(--accent);
  font-weight: var(--weight-medium);
  text-decoration: none;
}

.upgrade-nudge a:hover {
  text-decoration: underline;
}


/* ─────────────────────────────────────────────────────────────
   ACCORDION (admin ad slot edit panels)
   ───────────────────────────────────────────────────────────── */

.accordion-item {
  border-bottom: 1px solid var(--border-subtle);
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) 0;
  cursor: pointer;
  user-select: none;
  gap: var(--space-2);
}

.accordion-trigger {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex: 1;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  padding: 0;
  color: var(--text-primary);
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  font-family: var(--font-body);
}

.accordion-chevron {
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform var(--transition-base);
}

.accordion-item.open .accordion-chevron {
  transform: rotate(180deg);
}

.accordion-body {
  display: none;
  padding: 0 0 var(--space-4);
  color: var(--text-secondary);
  font-size: var(--text-base);
  line-height: var(--leading-loose);
}

.accordion-item.open .accordion-body {
  display: block;
}


/* ─────────────────────────────────────────────────────────────
   TABS
   ───────────────────────────────────────────────────────────── */

.tabs {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.tab-list {
  display: flex;
  gap: 2px;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
}

.tab-list::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  white-space: nowrap;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.tab-btn:hover {
  color: var(--text-primary);
}

.tab-btn.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}


/* ─────────────────────────────────────────────────────────────
   ALERT / INFO BOXES
   ───────────────────────────────────────────────────────────── */

.alert {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  padding: var(--space-3);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  line-height: 1.6;
  border: 1px solid;
}

.alert-icon {
  flex-shrink: 0;
  margin-top: 1px;
}

.alert-body {
  flex: 1;
}

.alert-title {
  font-weight: var(--weight-semibold);
  margin-bottom: 3px;
}

.alert--info    { background: var(--info-bg);    border-color: var(--info);    color: var(--info);    }
.alert--success { background: var(--success-bg); border-color: var(--success); color: var(--success); }
.alert--warning { background: var(--warning-bg); border-color: var(--warning); color: var(--warning); }
.alert--error   { background: var(--error-bg);   border-color: var(--error);   color: var(--error);   }

.alert--info .alert-body,
.alert--success .alert-body,
.alert--warning .alert-body,
.alert--error .alert-body {
  color: var(--text-primary);
}

.alert--info .alert-title    { color: var(--info);    }
.alert--success .alert-title { color: var(--success); }
.alert--warning .alert-title { color: var(--warning); }
.alert--error .alert-title   { color: var(--error);   }


/* ─────────────────────────────────────────────────────────────
   SPINNER
   ───────────────────────────────────────────────────────────── */

.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: var(--radius-full);
  animation: spin 0.6s linear infinite;
  flex-shrink: 0;
}

.spinner-sm {
  width: 14px;
  height: 14px;
  border-width: 1.5px;
}

.spinner-lg {
  width: 32px;
  height: 32px;
  border-width: 3px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}


/* ─────────────────────────────────────────────────────────────
   COOKIE CONSENT BANNER (static HTML + main.js / cookie-consent-minimal.js)
   ───────────────────────────────────────────────────────────── */

#cookie-banner.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 640px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 20px 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: none;
}

#cookie-banner.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  flex-wrap: wrap;
}

.cookie-banner-text {
  flex: 1;
  min-width: 200px;
}

.cookie-banner-text strong {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-primary);
  display: block;
  margin-bottom: 4px;
}

.cookie-banner-text p {
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: 1.5;
  margin: 0;
}

.cookie-banner-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-btn {
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 7px;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.cookie-reject {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
}

.cookie-reject:hover {
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--color-text-primary);
}

.cookie-accept {
  background: var(--color-accent);
  color: var(--color-accent-text);
}

.cookie-accept:hover {
  background: var(--color-accent-hover);
}

@media (max-width: 480px) {
  #cookie-banner.cookie-banner {
    bottom: 12px;
    padding: 16px;
  }

  .cookie-banner-actions {
    width: 100%;
  }

  .cookie-btn {
    flex: 1;
    text-align: center;
  }
}

/* Legacy GA-injected banner (analytics.js) — keep animating variant */
#cookie-banner:not(.cookie-banner) {
  position: fixed;
  bottom: var(--space-4);
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: var(--z-toast);
  width: min(560px, calc(100vw - var(--space-4)));
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#cookie-banner:not(.cookie-banner).cookie-banner--visible {
  transform: translateX(-50%) translateY(0);
}

#cookie-banner:not(.cookie-banner).cookie-banner--hiding {
  transform: translateX(-50%) translateY(120%);
}

.cookie-banner__inner {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-3) var(--space-4);
}

.cookie-banner__text {
  flex: 1;
  min-width: 0;
}

.cookie-banner__text strong {
  display: block;
  color: var(--text-primary);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  margin-bottom: 4px;
}

.cookie-banner__text p {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: 1.5;
  margin: 0;
  max-width: none;
}

.cookie-banner__actions {
  display: flex;
  gap: var(--space-2);
  flex-shrink: 0;
  align-items: center;
}

@media (max-width: 600px) {
  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-3);
  }

  .cookie-banner__actions {
    justify-content: flex-end;
  }
}


/* ─────────────────────────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────────────────────────── */

.footer-logo {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  text-decoration: none;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  list-style: none;
}

.footer-link {
  font-size: 14px;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
  padding: 2px 0;
}

.footer-link:hover {
  color: var(--color-accent);
}

.footer-copyright {
  font-size: 13px;
  color: var(--color-text-muted);
}


/* ─────────────────────────────────────────────────────────────
   THEME TOGGLE BUTTON
   ───────────────────────────────────────────────────────────── */

.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-secondary);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color var(--transition-fast), color var(--transition-fast),
              background var(--transition-fast);
}

.theme-toggle:hover {
  border-color: var(--border-accent);
  color: var(--accent);
  background: var(--accent-glow);
}

/* Hide the sun icon in dark mode, moon icon in light mode */
.theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon { display: block; }

[data-theme="light"] .theme-toggle .icon-sun  { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none;  }

/* ─────────────────────────────────────────────────────────────
   PRICING — TESTIMONIALS & COMPARISON TABLE
   ───────────────────────────────────────────────────────────── */

.testimonials-section {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 80px 0;
}

.testimonials-section .section-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.testimonials-section .section-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 500;
  color: var(--color-text-primary);
  margin-bottom: 48px;
  letter-spacing: -0.01em;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

.testimonial-card {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial-stars {
  color: var(--color-accent);
  font-size: 14px;
  letter-spacing: 2px;
}

.testimonial-quote {
  font-size: 14px;
  line-height: 1.7;
  color: #000000;
  font-style: italic;
  flex: 1;
}

/* Dark mode: black quote text on light cards so copy stays readable */
[data-theme="dark"] .testimonial-card {
  background: #f5f3f0;
  border-color: rgba(0, 0, 0, 0.12);
}

[data-theme="dark"] .testimonial-quote {
  color: #000000;
}

[data-theme="dark"] .testimonial-card .testimonial-name,
[data-theme="dark"] .testimonial-card cite.testimonial-name {
  color: #0a0a0a;
}

[data-theme="dark"] .testimonial-card .testimonial-meta,
[data-theme="dark"] .testimonial-card .testimonial-role {
  color: rgba(10, 10, 10, 0.55);
}

[data-theme="dark"] .testimonial-card .testimonial-author {
  border-top-color: rgba(0, 0, 0, 0.1);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border-subtle);
}

.testimonial-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-accent-light);
  border: 1px solid color-mix(in srgb, var(--color-accent) 30%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-accent);
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-primary);
}

.testimonial-role {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: 1px;
}

.compare-table-wrap {
  border-radius: 12px;
  overflow: hidden;
  overflow-x: auto;
  border: 1px solid var(--color-border);
  margin-top: 48px;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 560px;
}

.compare-table thead th {
  padding: 16px 20px;
  background: var(--color-surface-2);
  font-weight: 500;
  font-size: 13px;
  color: var(--color-text-secondary);
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

/* Pricing page: AdNeutral = 3rd column */
.pricing-page .compare-table thead th:nth-child(3),
.pricing-page .compare-table tbody td:nth-child(3) {
  border-left: 1px solid color-mix(in srgb, var(--color-accent) 30%, transparent);
  border-right: 1px solid color-mix(in srgb, var(--color-accent) 30%, transparent);
}

.pricing-page .compare-table thead th:nth-child(3) {
  background: var(--color-accent-light);
  color: var(--color-accent);
}

.pricing-page .compare-table tbody td:nth-child(3) {
  background: color-mix(in srgb, var(--color-accent) 2%, transparent);
}

.compare-table tbody td {
  padding: 13px 20px;
  color: var(--color-text-secondary);
  border-bottom: 1px solid var(--color-border-subtle);
  vertical-align: middle;
}

.compare-table tr.section-header td {
  background: var(--color-surface);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding: 10px 20px;
  border-bottom: 1px solid var(--color-border);
}

.compare-table tbody tr:not(.section-header):hover td {
  background: rgba(255, 255, 255, 0.015);
}

.pricing-page .compare-table tbody tr:not(.section-header):hover td:nth-child(3) {
  background: color-mix(in srgb, var(--color-accent) 4%, transparent);
}

.check-icon {
  color: var(--color-accent);
  font-weight: 700;
}

.cross-icon {
  color: var(--color-text-muted);
  opacity: 0.5;
}

.partial-badge {
  font-size: 11px;
  background: rgba(245, 158, 11, 0.12);
  color: #fbb040;
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 10px;
  padding: 2px 8px;
  white-space: nowrap;
}

.soon-badge {
  font-size: 11px;
  background: var(--color-border-subtle);
  color: var(--color-text-muted);
  border-radius: 10px;
  padding: 2px 8px;
}

@media (max-width: 768px) {
  .compare-table-wrap {
    overflow-x: auto;
  }

  .compare-table {
    min-width: 560px;
  }
}

/* ─────────────────────────────────────────────────────────────
   PLATFORM PAGES — STATS GRID
   ───────────────────────────────────────────────────────────── */

.platform-stats {
  display: flex;
  gap: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  margin: 32px 0;
}

.platform-stat {
  flex: 1;
  padding: 20px 24px;
  border-right: 1px solid var(--color-border);
  text-align: center;
}

.platform-stat:last-child {
  border-right: none;
}

.platform-stat-num {
  font-size: 28px;
  font-weight: 600;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 6px;
}

.platform-stat-free {
  font-size: 18px;
  color: var(--color-success);
}

.platform-stat-label {
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.3;
}

@media (max-width: 900px) {
  .platform-stats.platform-stats--5cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .platform-stats.platform-stats--5cols .platform-stat {
    border-right: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
  }

  .platform-stats.platform-stats--5cols .platform-stat:nth-child(3n) {
    border-right: none;
  }

  .platform-stats.platform-stats--5cols .platform-stat:nth-last-child(-n + 2) {
    border-bottom: none;
  }
}

@media (max-width: 600px) {
  .platform-stats:not(.platform-stats--5cols) {
    flex-wrap: wrap;
  }

  .platform-stats:not(.platform-stats--5cols) .platform-stat {
    flex: 1 1 50%;
    border-right: none;
    border-bottom: 1px solid var(--color-border);
  }

  .platform-stats:not(.platform-stats--5cols) .platform-stat:nth-child(odd) {
    border-right: 1px solid var(--color-border);
  }

  .platform-stats:not(.platform-stats--5cols) .platform-stat:last-child,
  .platform-stats:not(.platform-stats--5cols) .platform-stat:nth-last-child(2):nth-child(odd) {
    border-bottom: none;
  }

  .platform-stats.platform-stats--5cols {
    grid-template-columns: repeat(2, 1fr);
  }

  .platform-stats.platform-stats--5cols .platform-stat:nth-child(3n) {
    border-right: 1px solid var(--color-border);
  }

  .platform-stats.platform-stats--5cols .platform-stat:nth-child(2n) {
    border-right: none;
  }
}

.platform-stat-num.platform-stat-date {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-primary);
}

.platform-page-logo {
  margin-bottom: 20px;
}

.platform-page-logo img {
  display: block;
  border-radius: 12px;
}

/* ─────────────────────────────────────────────────────────────
   COMPARE VS UBLOCK — HERO & VERDICT
   ───────────────────────────────────────────────────────────── */

.vs-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 48px 0;
  flex-wrap: wrap;
}

.vs-card {
  flex: 1;
  min-width: 200px;
  max-width: 280px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 32px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.vs-card-winner {
  border-color: color-mix(in srgb, var(--color-accent) 30%, transparent);
  background: color-mix(in srgb, var(--color-accent) 4%, transparent);
}

.vs-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--color-accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.vs-logo-text {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-muted);
  background: var(--color-surface-2);
}

.vs-name {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text-primary);
}

.vs-rate {
  font-size: 56px;
  font-weight: 600;
  color: var(--color-accent);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 8px 0;
}

.vs-rate-low {
  color: var(--color-text-muted);
}

.vs-label {
  font-size: 13px;
  color: var(--color-text-muted);
}

.vs-winner-badge {
  margin-top: 12px;
  font-size: 11px;
  font-weight: 600;
  background: var(--color-accent-light);
  border: 1px solid color-mix(in srgb, var(--color-accent) 30%, transparent);
  color: var(--color-accent);
  border-radius: 20px;
  padding: 3px 12px;
}

.vs-good-badge {
  margin-top: 12px;
  font-size: 11px;
  font-weight: 500;
  background: var(--color-border-subtle);
  color: var(--color-text-muted);
  border-radius: 20px;
  padding: 3px 12px;
}

.vs-divider {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text-muted);
  flex-shrink: 0;
}

.verdict-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-accent);
  border-radius: 10px;
  padding: 20px 24px;
  margin: 32px 0;
}

.verdict-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.verdict-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin: 0;
}

/* vs-ublock page: AdNeutral = 2nd column */
.compare-vs-page .compare-table thead th:nth-child(2),
.compare-vs-page .compare-table tbody td:nth-child(2) {
  border-left: 1px solid color-mix(in srgb, var(--color-accent) 30%, transparent);
  border-right: 1px solid color-mix(in srgb, var(--color-accent) 30%, transparent);
}

.compare-vs-page .compare-table thead th:nth-child(2) {
  background: var(--color-accent-light);
  color: var(--color-accent);
}

.compare-vs-page .compare-table tbody td:nth-child(2) {
  background: color-mix(in srgb, var(--color-accent) 2%, transparent);
}

.compare-vs-page .compare-table tbody tr:not(.section-header):hover td:nth-child(2) {
  background: color-mix(in srgb, var(--color-accent) 4%, transparent);
}

/* ─────────────────────────────────────────────────────────────
   HOMEPAGE — PLATFORM CARDS (#platforms) & PILL ROW
   ───────────────────────────────────────────────────────────── */

#platforms,
.platforms-section {
  width: 100%;
  padding: 96px 0;
  background: var(--color-bg);
}

#platforms .container,
.platforms-section .container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.platforms-header {
  text-align: center;
  margin-bottom: 48px;
}

.platforms-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.platforms-heading {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 500;
  color: var(--color-text-primary);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 12px;
}

.platforms-subheading {
  font-size: 16px;
  color: var(--color-text-secondary);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  width: 100%;
}

@media (max-width: 1100px) {
  .platforms-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .platforms-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

@media (max-width: 420px) {
  .platforms-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

.platform-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.2s ease;
  cursor: pointer;
  min-width: 0;
}

.platform-card:hover {
  border-color: color-mix(in srgb, var(--color-accent) 30%, transparent);
  transform: translateY(-2px);
}

.platform-card-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.platform-savings {
  font-size: 11px;
  color: var(--color-success);
  line-height: 1.4;
  padding: 0 2px;
}

.platform-logo-wrap {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 9px;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px;
  flex-shrink: 0;
}

.platform-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.platform-info {
  flex: 1;
  min-width: 0;
}

.platform-card .platform-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.platform-card .platform-url {
  font-size: 11px;
  color: var(--color-text-muted);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.platform-badge {
  font-size: 10px;
  font-weight: 600;
  background: var(--color-success-subtle);
  border: 1px solid var(--color-success-border);
  color: var(--color-success);
  border-radius: 20px;
  padding: 2px 8px;
  white-space: nowrap;
  flex-shrink: 0;
  align-self: flex-start;
}

.platform-cta {
  padding-top: 10px;
  border-top: 1px solid var(--color-border-subtle);
  margin-top: auto;
}

.platform-visit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  padding: 7px 10px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 7px;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
  cursor: pointer;
  line-height: 1;
  box-sizing: border-box;
}

.platform-visit-btn:hover {
  border-color: color-mix(in srgb, var(--color-accent) 30%, transparent);
  color: var(--color-accent);
  background: var(--color-accent-light);
}

.platform-visit-btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.platform-visit-btn svg {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
}

[data-theme="light"] .platform-logo-wrap {
  background: var(--color-surface-2);
  border-color: var(--color-border);
}

[data-theme="light"] .platform-card:hover {
  background: var(--color-surface);
}

.platform-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  align-items: center;
  margin-bottom: 48px;
  padding: 0;
  list-style: none;
}

.platform-pills-row li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.platform-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 6px 14px 6px 9px;
  font-size: 13px;
  font-weight: 400;
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
  line-height: 1;
}

.platform-pill:hover {
  border-color: color-mix(in srgb, var(--color-accent) 30%, transparent);
  color: var(--color-text-primary);
}

.platform-pill img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

/* Counter bar — platform logos under “10 AI Platforms” */
.counter-item-platforms .counter-platform-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
  max-width: 220px;
}

.counter-platform-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  opacity: 0.75;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.counter-platform-logo-link:hover {
  opacity: 1;
  transform: scale(1.08);
}

/* ═══════════════════════════════════════════════════════════════
   Platforms directory (/platforms/), affiliate guide, homepage CTAs
   ═══════════════════════════════════════════════════════════════ */

.platforms-directory-hero {
  padding-bottom: var(--space-10);
}

.platforms-index-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto var(--space-8);
}

.platforms-index-header .section-eyebrow {
  justify-content: center;
}

.platforms-rich-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

@media (min-width: 720px) {
  .platforms-rich-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.platform-card-rich {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-5);
  height: 100%;
  text-align: left;
}

.platform-card-rich-header {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  position: relative;
  padding-right: 88px;
}

.platform-logo-box-40 {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 4px;
  box-sizing: border-box;
}

.platform-logo-box-40 img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.platform-card-rich-titles {
  flex: 1;
  min-width: 0;
}

.platform-card-rich-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-primary);
  line-height: 1.3;
}

.platform-card-rich-url {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin-top: 2px;
  line-height: 1.3;
  word-break: break-all;
}

.platform-badge--corner {
  position: absolute;
  top: 0;
  right: 0;
}

.platform-card-rich-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-text-secondary);
  margin: 0;
}

.platform-savings-badge {
  background: var(--color-success-subtle);
  border: 1px solid var(--color-success-border);
  color: var(--color-success);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.platform-savings-badge__icon {
  flex-shrink: 0;
}

.platform-card-rich-actions {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin-top: auto;
}

.platform-card-btn-guide {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
  box-sizing: border-box;
}

.platform-card-btn-guide:hover {
  border-color: color-mix(in srgb, var(--color-accent) 30%, transparent);
  color: var(--color-accent);
  background: var(--color-accent-light);
}

.platform-card-btn-open {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 8px;
  border: none;
  background: var(--color-accent);
  color: var(--color-accent-text);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease;
  box-sizing: border-box;
}

.platform-card-btn-open:hover {
  background: var(--color-accent-hover);
  color: var(--color-accent-text);
}

.platform-card-btn-open__icon {
  flex-shrink: 0;
}

.platforms-bottom-cta {
  margin-top: var(--space-10);
  padding: var(--space-6) var(--space-6);
  border-radius: var(--radius-lg, 12px);
  border: 1px solid var(--color-border);
  background: var(--color-surface-2);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
}

.platforms-cta-text {
  flex: 1;
  min-width: 220px;
}

.platforms-bottom-cta .cta-eyebrow {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-accent);
  margin-bottom: var(--space-2);
}

.platforms-bottom-cta .cta-headline {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1.25;
}

.platforms-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}

/* ── Homepage compact platform cards ───────────────────────── */

.platform-card-home-savings {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-text-secondary);
  margin: 0;
  padding-top: 2px;
}

.platform-card-actions-row {
  display: flex;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--color-border-subtle);
}

.platform-card-actions-row .platform-btn-guide,
.platform-card-actions-row .platform-btn-open {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  box-sizing: border-box;
  line-height: 1.2;
}

.platform-card-actions-row .platform-btn-guide {
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  background: transparent;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.platform-card-actions-row .platform-btn-guide:hover {
  border-color: color-mix(in srgb, var(--color-accent) 30%, transparent);
  color: var(--color-accent);
  background: var(--color-accent-light);
}

.platform-card-actions-row .platform-btn-open {
  border: none;
  background: var(--color-accent);
  color: var(--color-accent-text);
  transition: background 0.15s ease;
}

.platform-card-actions-row .platform-btn-open:hover {
  background: var(--color-accent-hover);
  color: var(--color-accent-text);
}

.platform-card-actions-row .platform-btn-open svg {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
}

/* ── Affiliate guide (platform pages) ──────────────────────── */

.platform-affiliate-main-title {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  margin: 0 0 var(--space-6);
  text-align: center;
  color: var(--color-text-primary);
}

.platform-pricing-guide-card {
  margin-bottom: var(--space-6);
  padding: var(--space-5);
}

.platform-pricing-guide-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 var(--space-4);
  color: var(--color-text-primary);
}

.platform-pricing-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.platform-pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.platform-pricing-table th,
.platform-pricing-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--color-border-subtle);
  vertical-align: top;
}

.platform-pricing-table th {
  font-weight: 600;
  color: var(--color-text-primary);
  background: var(--color-surface-2);
}

.platform-pricing-table td {
  color: var(--color-text-secondary);
}

.platform-verdict-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--color-success-subtle);
  border: 1px solid var(--color-success-border);
  color: var(--color-success);
  white-space: nowrap;
}

.platform-affiliate-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  align-items: start;
}

@media (min-width: 960px) {
  .platform-affiliate-columns {
    grid-template-columns: 1fr 1fr;
  }
}

.platform-affiliate-cta-card {
  padding: var(--space-5);
}

.platform-affiliate-cta-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 var(--space-3);
  color: var(--color-text-primary);
}

.platform-affiliate-cta-body {
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-text-secondary);
  margin: 0 0 var(--space-4);
}

.btn-affiliate-platform {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.platform-affiliate-disclosure {
  font-size: 12px;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.45;
}

.platform-how-card {
  padding: var(--space-5);
}

.platform-how-card-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 var(--space-4);
  color: var(--color-text-primary);
}

.platform-how-steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

@media (min-width: 900px) {
  .platform-how-steps {
    flex-direction: row;
    gap: var(--space-4);
  }

  .platform-how-step {
    flex: 1;
  }
}

.platform-how-step {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}

.platform-how-step-num {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--color-accent-light);
  color: var(--color-accent);
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.platform-how-step-title {
  font-weight: 600;
  font-size: 14px;
  color: var(--color-text-primary);
  margin-bottom: var(--space-2);
}

.platform-how-step-text {
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-text-secondary);
  margin: 0 0 var(--space-2);
}

.platform-how-step-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
}

.platform-how-step-link:hover {
  text-decoration: underline;
}

.platform-screenshot-placeholder {
  background: var(--color-surface-2);
  border: 1px dashed var(--color-border);
  border-radius: 10px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.platform-screenshot-placeholder .placeholder-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.platform-screenshot-placeholder .placeholder-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-secondary);
}

.platform-screenshot-placeholder .placeholder-sub {
  font-size: 11px;
  color: var(--color-text-muted);
}
