
.ic-progress-wrap {
  width: 100%;
  height: 7px;
  background: var(--border);
  border-radius: 99px;
  overflow: hidden;
}
.ic-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 99px;
}
.ic-loading-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin: 0;
  transition: opacity .3s;
}
.ic-loading-sub {
  font-size: 12px;
  color: var(--text-dim);
  margin: 0;
}
.ic-priority-upsell {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-dim);
  background: color-mix(in srgb, #ca8a04 6%, transparent);
  border: 1px solid color-mix(in srgb, #ca8a04 30%, transparent);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  margin-top: 4px;
  text-align: left;
  flex-wrap: wrap;
}
.ic-priority-upsell strong { color: var(--text); }
.ic-priority-upsell__btn {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 99px;
  background: #ca8a04;
  color: #fff;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s;
}
.ic-priority-upsell__btn:hover { background: #a16207; }

/* Result */
.ic-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}
.ic-result-img {
  max-width: 100%;
  max-height: 580px;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,.15);
  display: block;
}
.ic-result-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.ic-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
  transition: all .15s;
}
.ic-action-btn:hover { border-color: var(--accent); color: var(--accent); }
.ic-action-btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.ic-action-btn--primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; }

/* Error */
.ic-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  color: var(--text-dim);
}
.ic-error p { font-size: 14px; color: var(--text); margin: 0; }

/* Auth / Upgrade overlay */
.ic-auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 1100;
  pointer-events: none;
}
.ic-auth-overlay.is-open { pointer-events: all; }
.ic-auth-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
  opacity: 0;
  transition: opacity .25s;
}
.ic-auth-overlay.is-open .ic-auth-backdrop { opacity: 1; }
.ic-auth-drawer {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
  max-width: 420px;
  background: var(--bg);
  border-left: 1px solid var(--border);
  transform: translateX(100%);
  transition: transform .28s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
  padding: 36px 28px 40px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ic-auth-overlay.is-open .ic-auth-drawer { transform: translateX(0); }
.ic-auth-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: none;
  background: var(--bg-card);
  color: var(--text-dim);
  cursor: pointer;
  transition: background .15s;
}
.ic-auth-close:hover { background: var(--border); color: var(--text); }
.ic-auth-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
}
.ic-auth-title {
  font-size: 1.2rem;
  font-weight: 800;
  text-align: center;
  margin: 0;
  line-height: 1.35;
}
.ic-auth-sub {
  font-size: 13px;
  color: var(--text-dim);
  text-align: center;
  margin: 0;
  line-height: 1.6;
}
.ic-auth-perks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.ic-auth-perk {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text);
}
.ic-auth-signup-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  transition: background .15s;
  text-align: center;
}
.ic-auth-signup-btn:hover { background: var(--accent-hover); color: #fff; }
.ic-auth-login-btn {
  text-align: center;
  font-size: 13px;
  color: var(--text-dim);
  text-decoration: none;
  margin-top: -4px;
}
.ic-auth-login-btn:hover { color: var(--accent); }
.ic-auth-divider {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--text-dim);
  text-align: center;
  position: relative;
  margin: 4px 0;
}
.ic-auth-divider::before, .ic-auth-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: calc(50% - 80px);
  height: 1px;
  background: var(--border);
}
.ic-auth-divider::before { left: 0; }
.ic-auth-divider::after  { right: 0; }
.ic-auth-plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.ic-auth-plan {
  padding: 16px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}
.ic-auth-plan--plus {
  border-color: #ca8a04;
  background: color-mix(in srgb, #ca8a04 6%, transparent);
}
.ic-auth-plan-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  background: #ca8a04;
  color: #fff;
  padding: 2px 8px;
  border-radius: 99px;
}
.ic-auth-plan-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
}
.ic-auth-plan-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}
.ic-auth-plan-price span {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-dim);
}
.ic-auth-plan-feat {
  font-size: 11px;
  color: var(--text-dim);
  line-height: 1.4;
  flex: 1;
}
.ic-auth-plan-btn {
  display: block;
  text-align: center;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  transition: background .15s;
  margin-top: 4px;
}
.ic-auth-plan-btn:hover { background: var(--accent-hover); color: #fff; }
.ic-auth-plan-btn--plus { background: #ca8a04; }
.ic-auth-plan-btn--plus:hover { background: #a16207; color: #fff; }

/* Responsive */
@media (max-width: 768px) {
  .ic-wrap {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }
  .ic-panel {
    position: static;
    max-height: none;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .ic-canvas {
    min-height: 400px;
    padding: 20px 16px;
  }
  .ic-auth-drawer {
    max-width: 100%;
  }
}

/* Image Creator — upsell banner */
.ic-upsell-banner {
  border: 1.5px solid color-mix(in srgb, #ca8a04 35%, transparent);
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, #ca8a04 6%, transparent);
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ic-upsell-banner__top {
  display: flex;
  align-items: center;
  gap: 6px;
}
.ic-upsell-banner__title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
}
.ic-upsell-banner__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ic-upsell-banner__list li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text);
}
.ic-upsell-tier {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  background: color-mix(in srgb, var(--accent) 15%, transparent);
  color: var(--accent);
  padding: 1px 6px;
  border-radius: 99px;
  margin-left: 2px;
}
.ic-upsell-tier--plus {
  background: color-mix(in srgb, #ca8a04 15%, transparent);
  color: #ca8a04;
}
.ic-upsell-banner__btn {
  display: block;
  text-align: center;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 6px;
  background: #ca8a04;
  color: #fff;
  text-decoration: none;
  transition: background .15s;
  border: none;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.ic-upsell-banner__btn:hover { background: #a16207; color: #fff; }

/* Image Creator — next-tool upsell grid */
.ic-next-tools {
  width: 100%;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.ic-next-tools__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
  text-align: center;
}
.ic-next-tools__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.ic-next-tool {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 12px 6px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--bg);
  cursor: pointer;
  transition: border-color .15s, background .15s, transform .1s;
}
.ic-next-tool:hover {
  border-color: var(--accent);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}
.ic-next-tool:active { transform: translateY(0); }
.ic-next-tool__icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ic-next-tool span {
  font-size: 11px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

/* Image Creator — canvas upgrade button (top-right) */
.ic-canvas {
  position: relative; /* ensure button can be absolutely positioned */
}
.ic-canvas-upgrade-btn {
  position: absolute;
  top: 20px;
  right: 24px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: none;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  transition: background .15s, transform .1s;
  z-index: 10;
}
.ic-canvas-upgrade-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}
.ic-canvas-upgrade-btn:active { transform: translateY(0); }

/* Fix quota upgrade + upsell banner btn — were <a> tags, now <button> elements */
.ic-quota-upgrade,
.ic-upsell-banner__btn {
  appearance: none;
  -webkit-appearance: none;
  box-shadow: none;
  outline: none;
}
.ic-quota-upgrade {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

/* Image Creator — generation history */
.ic-history-section {
  padding: 32px 0 40px;
  border-top: 1px solid var(--border);
  margin-top: 8px;
}
.ic-history-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 12px;
}
.ic-history-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
}
.ic-history-viewall {
  font-size: 12px;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
}
.ic-history-viewall:hover { text-decoration: underline; }
.ic-history-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}
.ic-history-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  cursor: pointer;
}
.ic-history-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}
.ic-history-item:hover .ic-history-img { transform: scale(1.04); }
.ic-history-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.82) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 10px;
  opacity: 0;
  transition: opacity .2s ease;
}
.ic-history-item:hover .ic-history-overlay { opacity: 1; }
.ic-history-prompt {
  font-size: 11px;
  color: #fff;
  line-height: 1.4;
  margin: 0 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ic-history-meta {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.ic-history-tag {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  background: rgba(255,255,255,.18);
  color: #fff;
  padding: 2px 6px;
  border-radius: 99px;
}
.ic-history-actions {
  display: flex;
  gap: 6px;
}
.ic-history-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 99px;
  background: rgba(255,255,255,.18);
  color: #fff;
  border: 1px solid rgba(255,255,255,.3);
  text-decoration: none;
  cursor: pointer;
  transition: background .15s;
}
.ic-history-btn:hover { background: rgba(255,255,255,.32); color: #fff; }
.ic-history-tools {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.ic-history-tool-btn {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 99px;
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,.25);
  cursor: pointer;
  transition: background .15s;
  white-space: nowrap;
}
.ic-history-tool-btn:hover:not(:disabled) { background: rgba(255,255,255,.28); }
.ic-history-tool-btn:disabled { opacity: .5; cursor: default; }
.ic-history-reprompt { background: var(--accent); border-color: var(--accent); }
.ic-history-reprompt:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
@media (max-width: 600px) {
  .ic-history-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
}

/* Image Creator — redesigned contained card layout */
.ic-tool-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 56px;
  min-height: 500px;
}
.ic-controls {
  border-right: 1px solid var(--border);
  background: var(--bg);
  overflow-x: hidden;
  overflow-y: auto;
  min-width: 0;
}
.ic-controls-inner {
  padding: 20px 16px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-sizing: border-box;
  width: 100%;
}
.ic-output {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  padding: 28px;
  min-height: 460px;
  position: relative;
  min-width: 0;
}
@media (max-width: 768px) {
  .ic-tool-card {
    grid-template-columns: 1fr;
    min-height: unset;
  }
  .ic-controls {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .ic-output {
    min-height: 360px;
    padding: 20px 16px;
  }
}

/* ── Converter Feature Highlights ────────────────────────────────────────── */
.cv-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.cv-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}
.cv-feature-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}
@media (max-width: 900px) {
  .cv-features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .cv-features-grid { grid-template-columns: 1fr; }
}

/* ── Converter Tips ───────────────────────────────────────────────────────── */
.cv-tips-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cv-tip {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  padding: 12px 14px;
  background: rgba(255,255,255,0.02);
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
}

/* ── Legal / Cookie Policy page ── */
.legal-page h1 { margin-bottom: 4px; }
.legal-meta { font-size: 13px; color: var(--text-muted); margin-bottom: 28px; }
.legal-page h2 { margin-top: 36px; margin-bottom: 10px; font-size: 1.15rem; }
.legal-page h3 { margin-top: 22px; margin-bottom: 8px; font-size: 1rem; color: var(--text); }
.legal-page p, .legal-page li { font-size: 14px; line-height: 1.7; color: var(--text-muted); }
.legal-page a { color: var(--accent); text-decoration: none; }
.legal-page a:hover { text-decoration: underline; }
.cookie-table-wrap { overflow-x: auto; margin: 12px 0 18px; border-radius: 8px; border: 1px solid var(--border); }
.cookie-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.cookie-table thead th { background: var(--bg-elevated); padding: 10px 14px; text-align: left; font-weight: 600; color: var(--text); border-bottom: 1px solid var(--border); white-space: nowrap; }
.cookie-table tbody td { padding: 10px 14px; border-bottom: 1px solid var(--border); color: var(--text-muted); vertical-align: top; line-height: 1.5; }
.cookie-table tbody tr:last-child td { border-bottom: none; }
.cookie-table code { font-family: monospace; font-size: 12px; background: var(--bg-elevated); padding: 1px 5px; border-radius: 3px; color: var(--accent); }
.cookie-optout-box { margin: 14px 0 20px; border-radius: 8px; overflow: hidden; border: 1px solid var(--border); }
.legal-browser-list { margin: 10px 0 16px 20px; }
.legal-browser-list li { margin-bottom: 4px; }

/* ──────────────────────────────────────────────────────────────────────────
   2026-05-13 UX overhaul:
     - shadows-off (no surrounding box shadows on cards)
     - trusted-by marquee (replaces fake live counter)
     - cv-trust-row--center (badges centered in middle of converter card)
     - section-label--normal-case (no SHOUTING headings)
     - btn-upgrade (amber yellow CTA for upgrade buttons in nav)
     - full-width nav dropdowns (open below header, contained to 1200px)
   ────────────────────────────────────────────────────────────────────────── */

/* Shadows off — every card-shaped element loses its surrounding glow */
:root { --shadow: none; }
.hp-hub-card,
.ai-featured-card,
.hp-tool-card,
.hp-faq-card,
.step-card,
.cv-workspace,
.cv-action-bar,
.related-tool-card,
.related-guide-card,
.faq-item,
.btn-primary,
.btn-secondary,
.cv-convert-btn,
.cv-select-btn,
.footer-upgrade,
.auth-card,
.modal,
.dropdown-menu,
.card,
.cv-drop-icon,
.cv-file-icon { box-shadow: none !important; }

/* Trusted-by strip (replaces the fake live counter) */
.trusted-by {
  margin: 22px 0 28px;
  padding: 16px 0;
  text-align: center;
}
.trusted-by-label {
  font-family: Georgia, "Times New Roman", "Charter", serif;
  font-style: italic;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.005em;
  text-transform: none;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.trusted-by-track {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
}
.trusted-by-row {
  display: inline-flex;
  align-items: center;
  gap: 56px;
  white-space: nowrap;
  animation: trusted-marquee 60s linear infinite;
  will-change: transform;
}
.trusted-by-logo {
  height: 26px;
  width: auto;
  max-width: 110px;
  flex-shrink: 0;
  /* Greyscale + dim so all brands read as monochrome */
  filter: grayscale(1) brightness(0.95);
  opacity: 0.55;
  transition: opacity 0.2s, filter 0.2s;
}
.trusted-by-track:hover .trusted-by-logo { opacity: 0.45; }

/* ── Pending-payment file row + upgrade banner ── */
.cv-upgrade-banner {
  display: none;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  margin: 12px 0;
  background: #fef3c7;            /* amber-100 */
  border: 1px solid #fbbf24;       /* amber-400 */
  border-left: 4px solid #f59e0b;  /* amber-500 — same as upgrade button */
  border-radius: var(--radius);
  color: #78350f;                  /* amber-900 */
  font-size: 13.5px;
  line-height: 1.5;
}
.cv-upgrade-banner-icon { font-size: 18px; flex-shrink: 0; }
.cv-upgrade-banner-text { flex: 1; }
.cv-upgrade-banner-text strong { color: #1f2937; font-weight: 700; }
.cv-upgrade-banner-btn {
  flex-shrink: 0;
  background: #1f2937;
  color: #fef3c7;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s;
}
.cv-upgrade-banner-btn:hover { background: #111827; color: #fef3c7; }

.cv-file-row--pending-payment {
  background: #fffbeb;             /* amber-50 */
  border-color: #fde68a;            /* amber-200 */
}
.cv-file-row--pending-payment .cv-row-progress-fill {
  background: #f59e0b !important;
}
.cv-pending-cta {
  color: #b45309;                  /* amber-700 */
  font-weight: 700;
  text-decoration: underline;
}
.cv-pending-cta:hover { color: #92400e; }

/* Pre-convert preview: rows that are *going* to be gated (over quota)
   show a subtle amber outline + tag in the info row. */
.cv-file-row--will-gate {
  background: linear-gradient(180deg, #fffdf5 0%, #fffbeb 100%);
  border-color: #fde68a;
}
.cv-row-will-gate-text {
  color: #b45309;
  font-weight: 600;
  white-space: nowrap;
}

/* Disable hover-lift on all card-like elements — user requested no upward motion */
.ai-featured-card:hover,
.related-tool-card:hover,
.related-guide-card:hover,
.ic-next-tool:hover,
.hp-hub-card:hover,
.hp-tool-card:hover,
.hp-faq-card:hover,
.step-card:hover,
.ai-tool-card:hover,
.ntd-link:hover,
.cv-trust:hover {
  transform: none !important;
}
@keyframes trusted-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.trusted-by-track:hover .trusted-by-row { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .trusted-by-row { animation: none; }
}

/* ── Inbound articles surfaced on converter pages ────────────────────── */
.cv-inbound-articles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  margin-top: 4px;
}
.cv-inbound-article {
  display: block;
  padding: 16px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: transform .12s, box-shadow .12s, border-color .12s;
}
.cv-inbound-article:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(37, 99, 235, .08);
  transform: translateY(-1px);
}
.cv-inbound-cat {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 6px;
}
.cv-inbound-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 6px;
}
.cv-inbound-excerpt {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cv-inbound-meta {
  font-size: 11px;
  color: var(--text-dim);
}

/* ── New long-form content blocks on converter pages ─────────────────── */

/* Numbered workflow steps — indent so digits sit inside the content column */
.cv-workflow-steps {
  margin: 4px 0 0 0;
  padding-left: 28px;            /* push markers inside the section column */
  list-style-position: outside;
  counter-reset: cv-step;
}
.cv-workflow-steps > li {
  padding: 6px 0 6px 6px;
  line-height: 1.65;
  color: var(--text);
  font-size: 14px;
  margin-bottom: 2px;
}
.cv-workflow-steps > li::marker {
  color: var(--accent);
  font-weight: 700;
}

/* "Maybe you wanted something else?" decision-tree list */
.cv-alternatives-list {
  list-style: none;
  padding: 0;
  margin: 4px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cv-alternatives-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  flex-wrap: wrap;
}
.cv-alt-cond {
  font-size: 14px;
  color: var(--text);
  flex: 1 1 auto;
  min-width: 240px;
}
.cv-alt-link {
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
  font-size: 14px;
}
.cv-alt-link:hover { text-decoration: underline; }

/* Compatibility-matrix cell icons */
.cv-compat-matrix td.compat-cell {
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  width: 80px;
}
.cv-compat-matrix td.compat-yes     { color: #16a34a; }
.cv-compat-matrix td.compat-no      { color: #dc2626; }
.cv-compat-matrix td.compat-partial { color: #d97706; }

/* Compare table + settings table — make first column comfortable */
.cv-compare-table th:first-child,
.cv-compare-table td:first-child,
.cv-settings-table th:first-child,
.cv-settings-table td:first-child {
  min-width: 200px;
}

/* Mobile-only trust badges shown below the upload area. The in-zone trust row
   (.cv-upload-area .cv-trust-row) is hidden on mobile via the media query
   further down. */
.cv-trust-row--mobile-below {
  display: none;            /* hidden on desktop */
  background: transparent;  /* sits on the page bg, not the dropzone card */
  padding: 12px 4px 0;
  justify-content: center;
  gap: 18px;
}
@media (max-width: 640px) {
  /* Hide the trust row inside the upload card on mobile … */
  .cv-upload-area .cv-trust-row { display: none; }
  /* … and show the mobile-only row below the dropzone. */
  .cv-trust-row--mobile-below { display: flex; flex-wrap: wrap; }
}

/* Centered trust-row (middle of converter card) */
.cv-trust-row--center {
  justify-content: center;
  gap: 28px;
  margin: 0 auto 14px;
  flex-wrap: wrap;
}

/* Normal-case section label (overrides the uppercase default) */
.section-label--normal-case {
  text-transform: none !important;
  letter-spacing: -0.01em !important;
  font-size: clamp(20px, 2.2vw, 26px) !important;
  font-weight: 700 !important;
  color: var(--text) !important;
}
.section-label--normal-case svg { color: var(--accent) !important; width: 20px !important; height: 20px !important; }

/* Yellow Upgrade button — bright premium CTA with black-bordered crown */
.btn-upgrade {
  display: inline-flex;
  align-items: center;
  height: 32px;
  gap: 6px;
  background: #fbbf24;     /* amber-400 — brighter, more yellow */
  color: #111;             /* near-black text for max contrast */
  font-size: 12px;
  font-weight: 700;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: 2px solid #111; /* 2px black border around whole pill */
  transition: background 0.15s, transform 0.12s;
  white-space: nowrap;
  box-sizing: border-box;
}
.btn-upgrade:hover {
  background: #fde047;     /* amber-300 — lighter yellow on hover */
  color: #111;
}
.btn-upgrade-crown {
  flex-shrink: 0;
  color: #111;             /* black crown outline to match border */
  stroke: #111 !important;
  fill: none !important;
  margin-right: 1px;
}
.footer-upgrade-crown {
  flex-shrink: 0;
  color: #fef3c7;          /* amber-100 — crown sits on the dark inner pill */
  margin-right: 2px;
}
.footer-upgrade-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-upgrade:active { transform: translateY(1px); }

/* Full-width nav dropdowns: open below header, content contained to 1200px.
   Override the existing absolute-positioned bubbles on desktop only.        */
@media (min-width: 901px) {
  .site-header { position: relative; }
  .nav-tools-wrap { position: static !important; }

  .nav-tools-dropdown,
  .ai-tools-dropdown,
  .nav-converters-dropdown,
  .nav-compress-dropdown,
  .nav-free-dropdown {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: none !important;
    margin-top: 0 !important;
    border-radius: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-top: 1px solid var(--border) !important;
    border-bottom: 1px solid var(--border) !important;
    box-shadow: none !important;
    z-index: 500 !important;
    /* Pad horizontally so inner content lines up with the 1200px site grid */
    padding-left: max(20px, calc((100vw - 1200px) / 2)) !important;
    padding-right: max(20px, calc((100vw - 1200px) / 2)) !important;
    padding-top: 20px !important;
    padding-bottom: 20px !important;
    max-height: 70vh !important;
    overflow-y: auto !important;
  }

  /* Restore display rule per dropdown (some are grid, some block, some flex) */
  .nav-tools-dropdown.open       { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 24px !important; }
  .ai-tools-dropdown.open        { display: block !important; }
  .nav-converters-dropdown.open  { display: block !important; }
  .nav-compress-dropdown.open    { display: flex !important; gap: 20px !important; }
  .nav-free-dropdown.open        { display: block !important; }

  /* All Tools dropdown — each column free-scrolls; pillar row spans full width */
  .nav-tools-dropdown .ntd-col { max-height: none !important; overflow: visible !important; }
  .nav-tools-dropdown .ntd-pillar-row { grid-column: 1 / -1 !important; }

  /* Card grids inside dropdowns — denser auto-fill so 5–6 columns at 1200px */
  .nav-tools-dropdown .ai-tools-grid,
  .ai-tools-dropdown .ai-tools-grid,
  .nav-converters-dropdown .ai-tools-grid,
  .nav-free-dropdown .ai-tools-grid {
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)) !important;
    gap: 10px !important;
  }
  /* Tighter padding inside cards in the new dense layout */
  .nav-desktop .ai-tool-card { padding: 10px 12px !important; gap: 8px !important; }
  .nav-desktop .ai-tool-icon { width: 32px !important; height: 32px !important; }
  .nav-desktop .ai-tool-name { font-size: 12.5px !important; }
  .nav-desktop .ai-tool-desc { font-size: 11px !important; }
}

/* ── Unified upload area (trust badges + drop zone as one hover zone) ── */
.cv-upload-area {
  background: #f7f8fb;
  transition: background 0.15s;
  cursor: pointer;
}
.cv-upload-area:hover {
  background: rgba(229,57,53,0.05);
}
.cv-upload-area .cv-trust-row {
  background: transparent;
  margin-bottom: 0;
}
.cv-upload-area .cv-dropzone {
  background: transparent;
  transition: none;
}
.cv-upload-area:hover .cv-dropzone,
.cv-upload-area .cv-dropzone:hover,
.cv-upload-area .cv-dropzone.drag-over {
  background: transparent;
}

/* ── Convert button — always active, never greyed out ── */
.cv-convert-btn:disabled {
  opacity: 1 !important;
  cursor: pointer !important;
}

/* ── Toast notification (full-width banner) ── */
.cv-toast {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  transform: translateY(-100%);
  background: #1f2937;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 16px 24px;
  text-align: center;
  box-shadow: 0 4px 18px rgba(0,0,0,0.18);
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.25s, transform 0.25s;
  pointer-events: none;
  letter-spacing: 0.005em;
}
.cv-toast.cv-toast--visible {
  opacity: 1;
  transform: translateY(0);
}
.cv-toast--error { background: #dc2626; }

/* ── What is webp.now — two-column layout with hero image ── */
.hp-about-inner {
  display: flex;
  gap: 0;
  align-items: stretch;
}
.hp-about-body {
  flex: 1;
  min-width: 0;
  padding-right: 24px;
}
.hp-about-hero {
  flex-shrink: 0;
  width: 380px;
  align-self: stretch;
  min-height: 480px;
  /* Fade out the LEFT edge so the right side of the image flows into the body text */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%, #000 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 30%, #000 100%);
  overflow: hidden;
}
.hp-about-hero img {
  /* object-fit:cover + right-anchor crops the square image to show ONLY its right half */
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 100% 50%;
  display: block;
}
@media (max-width: 820px) {
  .hp-about-inner { flex-direction: column; gap: 24px; }
  .hp-about-body { padding-right: 0; }
  .hp-about-hero {
    width: 100%;
    max-width: 480px;
    height: 280px;
    margin: 0 auto;
    -webkit-mask-image: none;
            mask-image: none;
  }
  .hp-about-hero img { width: 100%; object-position: center; }
}

/* ──────────────────────────────────────────────────────────────────────
   2026-05-18: unified dropdown styling — single accent color for ALL
   icon squares across every dropdown (Compress / Converters / AI / Free
   Tools / All Tools). Overrides earlier multi-coloured icon variants.
   ────────────────────────────────────────────────────────────────────── */
.ai-tool-icon,
.ai-tool-icon--bg,
.ai-tool-icon--upscale,
.ai-tool-icon--ocr,
.ai-tool-icon--creator,
.ai-tool-icon--editor,
.conv-icon--convert,
.conv-icon--hub,
.conv-icon--from,
.conv-icon--to,
.conv-icon--raw,
.conv-icon--list {
  background: linear-gradient(135deg, #e53935 0%, #c62828 100%) !important;
  color: #fff !important;
}
.ai-tool-icon svg,
.conv-icon--convert svg,
.conv-icon--hub svg,
.conv-icon--from svg,
.conv-icon--to svg,
.conv-icon--raw svg,
.conv-icon--list svg {
  stroke: #fff !important;
}

/* Compress dropdown — let it inherit the same width as Converters/AI/Free dropdowns */
.nav-compress-dropdown {
  min-width: 420px;
}

/* ── Simple chevron connector between FROM and TO format boxes ── */
.fmx-connector--chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  padding: 0 8px;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}
.fmx-connector--chevron .fmx-connector-line,
.fmx-connector--chevron .fmx-connector-icon,
.fmx-connector--chevron .fmx-connector-label {
  display: none !important;
}
.fmx-connector-chevron {
  color: var(--text-muted);
  flex-shrink: 0;
}

/* ── Quota counter inside the homepage drop zone ── */
.cv-drop-quota {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--text-muted);
}
.cv-drop-quota strong {
  color: var(--text);
  font-weight: 700;
}

/* Hero image — round the OUTER (right) corners only so it sits flush
   against the body text on the left but has soft edges on the right. */
.hp-about-hero {
  border-top-right-radius: 14px;
  border-bottom-right-radius: 14px;
}
@media (max-width: 820px) {
  .hp-about-hero {
    border-radius: 14px;
  }
}

/* ──────────────────────────────────────────────────────────────────────
   2026-05-18: unify converter-page icon styles with the homepage.
   - .cv-feature-icon (Why Use This Converter) → red gradient square like .ai-featured-icon
   - .fi-icon--from / --to (Formats Involved) → red gradient square
   - h3 resets for fi-name / tool-name so they don't inherit browser defaults
   ────────────────────────────────────────────────────────────────────── */

.cv-feature-icon {
  width: 40px !important;
  height: 40px !important;
  border-radius: 10px !important;
  background: linear-gradient(135deg, #e53935 0%, #c62828 100%) !important;
  color: #fff !important;
}
.cv-feature-icon svg {
  width: 20px !important;
  height: 20px !important;
  stroke: #fff !important;
  color: #fff !important;
}

/* Formats Involved — keep the actual format SVG (JPG/PNG/etc.) on a soft
   neutral square so its built-in branding (red JPG banner etc.) reads. */
.fi-icon,
.fi-icon--from,
.fi-icon--to {
  width: 56px !important;
  height: 56px !important;
  background: #f7f8fb !important;
  border: 1px solid var(--border) !important;
  border-radius: 10px !important;
  color: var(--text-muted) !important;
}
.fi-icon img {
  width: 30px;
  height: auto;
  display: block;
  filter: none;
}

/* h3 resets — keep original visual weight, drop default margin/size */
h3.fi-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  line-height: 1.3;
}
h3.tool-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin: 0;
  line-height: 1.35;
}

/* ── H3 resets for FAQ + related guides (markup promoted from span/button) ── */
h3.faq-question-heading {
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}
h3.faq-question-heading .faq-question {
  width: 100%;
}
h3.related-guide-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  margin: 0;
  line-height: 1.4;
}

/* ──────────────────────────────────────────────────────────────────────
   2026-05-19: dropdown polish
     - light-grey panel background (so dropdown doesn't blend into page)
     - Compress dropdown spacing fix (extra flex/gap caused vertical gap)
     - .ai-tools-heading → proper H3 reset
     - .ai-tools-see-all → proper bottom button (not floating right-aligned text)
   ────────────────────────────────────────────────────────────────────── */

.ai-tools-dropdown,
.nav-compress-dropdown,
.nav-converters-dropdown,
.nav-free-dropdown,
.nav-tools-dropdown {
  background: #f7f8fb !important;
  border: 1px solid #e2e5eb !important;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.10), 0 2px 8px rgba(15, 23, 42, 0.06) !important;
}

/* Compress dropdown — flex-column + gap on parent + ai-tools-grid (also flex
   column with gap) was double-spacing. Switch to block layout. */
.nav-compress-dropdown {
  flex-direction: initial !important;
  gap: 0 !important;
  display: none;
}
.nav-compress-dropdown.open {
  display: block !important;
}

/* H3 heading inside dropdown — same small-caps look, no default margins */
h3.ai-tools-heading {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin: 0 0 8px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  line-height: 1.2;
}