/* ============================================================
   TOOLS PAGE — tools.css
   Extends shared style.css (loaded first)
   ============================================================ */

/* ============================================================
   PAGE BASE
   ============================================================ */
.tools-page { background: var(--bg-white); }

.active-link {
  color: var(--primary) !important;
  font-weight: 700 !important;
}

/* ============================================================
   ARTICLE HERO
   ============================================================ */
.article-hero {
  position: relative;
  overflow: hidden;
  background: #1e3a8a;
  padding: 16px 0 48px;
}
.article-hero-container { position: relative; z-index: 2; }

/* Decorative blobs */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}
.hero-blob-1 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(37,99,235,.08) 0%, transparent 70%);
  top: -120px; right: -80px;
}
.hero-blob-2 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(124,58,237,.07) 0%, transparent 70%);
  bottom: -80px; left: 10%;
}

/* Breadcrumb */
.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255,255,255,.65);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.article-breadcrumb a { color: rgba(255,255,255,.85); font-weight: 500; }
.article-breadcrumb a:hover { text-decoration: underline; color: #fff; }
.article-breadcrumb i { font-size: 0.6rem; color: rgba(255,255,255,.5); }
.article-breadcrumb span[aria-current] { color: #fff; font-weight: 600; }

/* Hero Badges */
.article-hero-badge {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.editor-pick-badge,
.tested-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.editor-pick-badge {
  background: var(--primary);
  color: #fff;
}
.tested-badge {
  background: rgba(255,255,255,.15);
  color: #6ee7b7;
  border: 1px solid rgba(110,231,183,.4);
}

/* Hero Title */
.article-hero-title {
  font-size: clamp(1.9rem, 4.5vw, 3.2rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}
.highlight-brand {
  color: #ffffff;
  position: relative;
}

.article-hero-sub {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: rgba(255,255,255,.8);
  max-width: 680px;
  line-height: 1.75;
  margin-bottom: 28px;
}
.article-hero-sub strong { color: #fff; }

/* Article Meta */
.article-meta {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  background: rgba(255,255,255,.88);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 10px 22px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.article-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-body);
  padding: 0 16px;
}
.article-meta-item i { color: var(--primary); font-size: 0.75rem; }
.article-meta-divider {
  width: 1px; height: 16px;
  background: var(--border);
  flex-shrink: 0;
}

/* Quick Jump Chips */
.quick-jump-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.chips-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  flex-shrink: 0;
}
.chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1.5px solid rgba(255,255,255,.25);
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
  background: rgba(255,255,255,.12);
  color: #fff;
}
.chip:hover { transform: translateY(-2px); background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.5); box-shadow: 0 4px 12px rgba(0,0,0,.2); }
.chip--blue   { background: rgba(96,165,250,.18);  color: #bfdbfe; border-color: rgba(96,165,250,.4); }
.chip--red    { background: rgba(239,68,68,.18);   color: #fca5a5; border-color: rgba(239,68,68,.4); }
.chip--orange { background: rgba(234,88,12,.18);   color: #fdba74; border-color: rgba(234,88,12,.4); }
.chip--purple { background: rgba(124,58,237,.18);  color: #c4b5fd; border-color: rgba(124,58,237,.4); }
.chip--green  { background: rgba(22,163,74,.18);   color: #86efac; border-color: rgba(22,163,74,.4); }
.chip--teal   { background: rgba(13,148,136,.18);  color: #99f6e4; border-color: rgba(13,148,136,.4); }
.chip--gold   { background: rgba(161,98,7,.18);    color: #fde68a; border-color: rgba(161,98,7,.4); }
.chip--blue:hover   { background: rgba(96,165,250,.35);  color: #fff; }
.chip--red:hover    { background: rgba(239,68,68,.35);   color: #fff; }
.chip--orange:hover { background: rgba(234,88,12,.4);   color: #fff; }
.chip--purple:hover { background: rgba(124,58,237,.4);  color: #fff; }
.chip--green:hover  { background: rgba(22,163,74,.4);   color: #fff; }
.chip--teal:hover   { background: rgba(13,148,136,.4);  color: #fff; }
.chip--gold:hover   { background: rgba(161,98,7,.4);    color: #fff; }

/* ============================================================
   INTRO SECTION
   ============================================================ */
.article-intro { padding: 44px 0; background: var(--bg-white); }

/* The grid lives on the inner container, not the <section> */
.article-intro-container {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 56px;
  align-items: start;
}

.intro-text-col h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.25;
}
.intro-text-col p {
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 16px;
  font-size: 0.97rem;
}
.intro-text-col strong { color: var(--text-dark); }
.intro-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
  align-items: center;
}

/* Checklist card */
.checklist-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 100px;
}
.checklist-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--primary);
}
.checklist-card h3 i { color: var(--primary); }
.checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-body);
}
.checklist li i { color: var(--green); flex-shrink: 0; margin-top: 3px; }

/* ============================================================
   OVERVIEW TABLE SECTION
   ============================================================ */
.tools-overview {
  padding: 44px 0;
  background: var(--bg-light);
}

/* Tool name cell */
.tool-name-cell {
  vertical-align: middle;
}
.tool-name-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.tool-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.tool-dot--blue   { background: var(--primary); }
.tool-dot--red    { background: #dc2626; }
.tool-dot--orange { background: #ea580c; }
.tool-dot--purple { background: #7c3aed; }
.tool-dot--green  { background: var(--green); }
.tool-dot--teal   { background: #0d9488; }

.our-pick-tag {
  background: var(--primary);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 100px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.rank-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
}
.rank-1 { color: #b45309; }
.rank-2 { color: var(--text-muted); }
.rank-3 { color: #92400e; }

/* Featured table row */
.row-featured td { background: #eff6ff !important; }

/* Table CTA buttons */
.btn-table-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-table-blue   { background: var(--primary); color: #fff; }
.btn-table-blue:hover   { background: var(--primary-dark); transform: translateY(-1px); }
.btn-table-orange { background: var(--orange); color: #fff; }
.btn-table-orange:hover { background: #c2410c; transform: translateY(-1px); }
.btn-table-grey   { background: var(--bg-muted); color: var(--text-body); border: 1px solid var(--border); }
.btn-table-grey:hover   { background: var(--border); transform: translateY(-1px); }

/* ============================================================
   TOOL REVIEWS WRAPPER
   ============================================================ */
.tools-reviews-wrapper { background: var(--bg-white); }

/* Individual tool review */
.tool-review {
  padding: 52px 0;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.tool-review:last-child { border-bottom: none; }
.tool-review--alt { background: var(--bg-light); }
.tool-review--featured {
  background: #eef2ff;
}

.tool-review-inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Number Badge */
.tool-number-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
}
.tool-number {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
}
.tool-number-badge--blue   .tool-number { color: var(--primary); }
.tool-number-badge--red    .tool-number { color: #dc2626; }
.tool-number-badge--orange .tool-number { color: var(--orange); }
.tool-number-badge--purple .tool-number { color: #7c3aed; }
.tool-number-badge--green  .tool-number { color: var(--green); }
.tool-number-badge--teal   .tool-number { color: #0d9488; }

.tool-editor-pick {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 100px;
}
.tool-number-badge--blue   .tool-editor-pick { background: var(--primary-light); color: var(--primary); }
.tool-number-badge--red    .tool-editor-pick { background: #fee2e2; color: #dc2626; }
.tool-number-badge--orange .tool-editor-pick { background: #fff7ed; color: var(--orange); }
.tool-number-badge--purple .tool-editor-pick { background: #f5f3ff; color: #7c3aed; }
.tool-number-badge--green  .tool-editor-pick { background: #f0fdf4; color: var(--green); }
.tool-number-badge--teal   .tool-editor-pick { background: #f0fdfa; color: #0d9488; }

/* Tool Header */
.tool-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.tool-header-text { flex: 1; min-width: 0; }
.tool-badges-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.tool-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.tool-badge--blue   { background: var(--primary-light); color: var(--primary);   border: 1px solid #bfdbfe; }
.tool-badge--red    { background: #fee2e2;              color: #dc2626;          border: 1px solid #fca5a5; }
.tool-badge--orange { background: #fff7ed;              color: var(--orange);    border: 1px solid #fed7aa; }
.tool-badge--purple { background: #f5f3ff;              color: #7c3aed;          border: 1px solid #ddd6fe; }
.tool-badge--green  { background: #f0fdf4;              color: var(--green);     border: 1px solid #bbf7d0; }
.tool-badge--teal   { background: #f0fdfa;              color: #0d9488;          border: 1px solid #99f6e4; }
.tool-badge--gold   { background: #fefce8;              color: #854d0e;          border: 1px solid #fde68a; }
.tool-badge--grey   { background: var(--bg-muted);      color: var(--text-muted);border: 1px solid var(--border); }

.tool-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.1;
}
.tool-tagline {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.6;
  margin: 0;
}

/* Rating Block */
.tool-rating-block {
  flex-shrink: 0;
  text-align: center;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 24px;
  box-shadow: var(--shadow-sm);
  min-width: 130px;
}
.star-rating {
  color: var(--accent);
  font-size: 1rem;
  display: flex;
  gap: 2px;
  justify-content: center;
  margin-bottom: 8px;
}
.rating-score { font-size: 1.8rem; font-weight: 900; color: var(--text-dark); line-height: 1; }
.rating-label { font-size: 0.72rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px; }

/* Screenshot */
.tool-screenshot-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  position: relative;
  background: var(--bg-muted);
}
.tool-screenshot {
  width: 100%;
  display: block;
  max-height: 420px;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.4s ease;
}
.tool-screenshot-wrap:hover .tool-screenshot { transform: scale(1.02); }
.tool-screenshot-wrap--inline {
  margin: 24px 0;
  box-shadow: var(--shadow-md);
}
.tool-screenshot--inline { max-height: 280px; }
.screenshot-caption {
  padding: 10px 16px;
  font-size: 0.78rem;
  color: var(--text-muted);
  background: var(--bg-muted);
  border-top: 1px solid var(--border);
  font-style: italic;
  line-height: 1.5;
}

/* Content Grid (description + sidebar) */
.tool-content-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 36px;
  align-items: start;
}
.tool-description-col p {
  font-size: 0.97rem;
  color: var(--text-body);
  line-height: 1.78;
  margin-bottom: 16px;
}
.tool-description-col p:last-child { margin-bottom: 0; }
.tool-description-col strong { color: var(--text-dark); }

/* Why Choose Box */
.why-choose-box {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-top: 20px;
}
.why-choose-box h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 6px; color: inherit; }
.why-choose-box p  { font-size: 0.85rem; line-height: 1.65; margin: 0; }
.why-choose-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.why-choose-box--blue   { background: var(--primary-light); color: var(--primary-dark); }
.why-choose-box--red    { background: #fee2e2;              color: #991b1b; }
.why-choose-box--orange { background: #fff7ed;              color: #9a3412; }
.why-choose-box--purple { background: #f5f3ff;              color: #4c1d95; }
.why-choose-box--green  { background: #f0fdf4;              color: #14532d; }
.why-choose-box--teal   { background: #f0fdfa;              color: #134e4a; }

/* ── Tool Sidebar ── */
.tool-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Pros / Cons Card */
.pros-cons-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.pros-section, .cons-section { padding: 18px 20px; }
.pros-section { border-bottom: 1px solid var(--border); }
.pros-section h4 {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--green);
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 12px;
}
.cons-section h4 {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--red);
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 12px;
}
.pros-section ul, .cons-section ul { display: flex; flex-direction: column; gap: 7px; }
.pros-section li, .cons-section li {
  font-size: 0.83rem;
  color: var(--text-body);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}
.pros-section li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; font-size: 0.78rem; }
.cons-section li::before { content: '✗'; position: absolute; left: 0; color: var(--red);   font-weight: 700; font-size: 0.78rem; }

/* Deal Card */
.tool-deal-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid transparent;
}
.tool-deal-card--blue   { border-color: var(--primary); }
.tool-deal-card--orange { border-color: var(--orange); }
.tool-deal-card--purple { border-color: #7c3aed; }
.tool-deal-card--green  { border-color: var(--green); }
.tool-deal-card--teal   { border-color: #0d9488; }

.tool-deal-header {
  padding: 12px 18px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  display: flex; align-items: center; gap: 8px;
}
.tool-deal-card--blue   .tool-deal-header { background: var(--primary); }
.tool-deal-card--orange .tool-deal-header { background: var(--orange); }
.tool-deal-card--purple .tool-deal-header { background: #7c3aed; }
.tool-deal-card--green  .tool-deal-header { background: var(--green); }
.tool-deal-card--teal   .tool-deal-header { background: #0d9488; }

.tool-deal-body {
  padding: 18px 18px 22px;
  background: var(--bg-white);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tool-deal-discount {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}
.tool-deal-body p { font-size: 0.83rem; color: var(--text-muted); margin: 0; }

.deal-code-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-muted);
  border: 1px dashed var(--border-dark);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
}
.deal-code {
  font-family: 'Courier New', monospace;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: 0.1em;
}
.deal-note {
  font-size: 0.75rem !important;
  color: var(--red) !important;
  font-weight: 600;
  display: flex; align-items: center; gap: 5px;
  justify-content: center; text-align: center;
}

/* Alt Recommendation Box */
.tool-alt-rec {
  background: #fef9c3;
  border: 1px solid #fde68a;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.alt-rec-header {
  padding: 12px 18px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #78350f;
  display: flex; align-items: center; gap: 8px;
  background: #fef3c7;
  border-bottom: 1px solid #fde68a;
}
.tool-alt-rec > p {
  font-size: 0.85rem;
  color: #78350f;
  padding: 14px 18px 0;
  margin: 0;
}
.tool-alt-rec .btn { margin: 12px 18px 18px; width: calc(100% - 36px); }

/* ============================================================
   KEY FEATURES SECTION
   ============================================================ */
.key-features-section {
  padding: 52px 0;
  background: var(--bg-light);
  text-align: center;
}
.key-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.key-feature-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: left;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.key-feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.key-feature-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 16px;
}
.key-feature-card h3 { font-size: 1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; }
.key-feature-card p  { font-size: 0.87rem; color: var(--text-muted); line-height: 1.65; margin: 0; }

/* ============================================================
   DETAILED COMPARISON TABLE
   ============================================================ */
.detailed-comparison {
  padding: 52px 0;
  background: var(--bg-white);
  text-align: center;
}
.detailed-table th, .detailed-table td { text-align: center; }
.detailed-table .feature-col { text-align: left; font-weight: 600; white-space: nowrap; }
.overview-table  { min-width: 600px; }
.detailed-table  { min-width: 600px; }
.detailed-table .pdfexpert-col  { background: #eff6ff; }
.detailed-table .highlight-cell { background: #eff6ff; }
.detailed-table  { font-size: 0.88rem; }

/* Ensure table wrappers always scroll horizontally (all screen sizes) */
.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-md);
}

/* Rating chips inside the table */
.rating-chip {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
}
.rating-excellent { background: #dcfce7; color: #15803d; }
.rating-good      { background: #eff6ff; color: var(--primary); }
.rating-complex   { background: #fef2f2; color: #991b1b; }

.yes-icon { color: var(--green);  }
.no-icon  { color: var(--red);    }
.green-text { color: var(--green); }

/* ============================================================
   VERDICT CTA BAND  — fixed pseudo-element placement
   ============================================================ */
.verdict-cta-band {
  background: #1e3a8a;
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}
/* Subtle dot pattern overlay */
.verdict-cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.verdict-cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: start;
  position: relative;
  z-index: 2;
}
.verdict-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fde68a;
  margin-bottom: 12px;
}
.verdict-cta-text h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.2;
}
.verdict-cta-text p {
  color: rgba(255,255,255,.8);
  font-size: 0.97rem;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 520px;
}
.verdict-points {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.verdict-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255,255,255,.9);
  line-height: 1.5;
}
.verdict-points li i { color: #86efac; flex-shrink: 0; margin-top: 2px; }

.verdict-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  flex-shrink: 0;
  min-width: 260px;
}
.verdict-note {
  font-size: 0.78rem;
  color: rgba(255,255,255,.65);
  display: flex; align-items: center; gap: 5px;
  text-align: center;
}

/* ============================================================
   RESPONSIVE — Tablet (≤1024px)
   ============================================================ */
@media (max-width: 1024px) {

  /* Intro: stack to single column */
  .article-intro-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .checklist-card { position: static; }  /* un-sticky on narrow */

  /* Tool review: description stacks above sidebar */
  .tool-content-grid {
    grid-template-columns: 1fr;
  }

  /* Sidebar goes 2-col when stacked below description */
  .tool-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  /* Verdict: single column, centred */
  .verdict-cta-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }
  .verdict-cta-text p    { margin: 0 auto 20px; }
  .verdict-points        { text-align: left; display: inline-flex; }
  .verdict-cta-actions   { width: 100%; }
  .verdict-cta-actions .btn { width: 100%; max-width: 400px; justify-content: center; }
}

/* ============================================================
   RESPONSIVE — Mobile (≤768px)
   ============================================================ */
@media (max-width: 768px) {

  /* --- Global safety --- */
  *, *::before, *::after { box-sizing: border-box; }
  img, video, iframe { max-width: 100%; height: auto; }

  /* Hero */
  .article-hero { padding: 12px 0 40px; }
  .article-hero-title { font-size: clamp(1.5rem, 5.5vw, 2rem); }
  .article-hero-sub   { font-size: 0.9rem; margin-bottom: 20px; }

  /* Article meta — stack vertically */
  .article-meta {
    border-radius: var(--radius-md);
    padding: 10px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    display: flex;
  }
  .article-meta-divider { display: none; }
  .article-meta-item    { padding: 0; }

  /* Quick jump chips — horizontal scroll */
  .quick-jump-chips {
    gap: 6px;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .quick-jump-chips::-webkit-scrollbar { display: none; }
  .chip { padding: 4px 11px; font-size: 0.73rem; flex-shrink: 0; }

  /* Intro */
  .article-intro { padding: 32px 0; }
  .article-intro-container { gap: 24px; }
  .intro-cta-row { flex-direction: column; }
  .intro-cta-row .btn { width: 100%; justify-content: center; }

  /* Overview table */
  .tools-overview { padding: 32px 0; }
  .table-wrapper  { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .overview-table { font-size: 0.78rem; min-width: 500px; }
  .overview-table th, .overview-table td { padding: 9px 10px; }
  .tool-name-inner { gap: 6px; }
  .btn-table-cta  { padding: 5px 10px; font-size: 0.74rem; white-space: nowrap; }

  /* Tool reviews */
  .tool-review        { padding: 36px 0; }
  .tool-review-inner  { gap: 20px; }
  .tool-header        { flex-direction: column; gap: 14px; }
  .tool-rating-block  { align-self: flex-start; padding: 12px 18px; }
  .rating-score       { font-size: 1.5rem; }
  .tool-number        { font-size: 2.6rem; }
  .tool-title         { font-size: clamp(1.3rem, 4.5vw, 1.8rem); }
  .tool-tagline       { font-size: 0.9rem; }
  .tool-screenshot    { width: 100%; max-height: 240px; object-fit: cover; border-radius: 10px; }
  .tool-screenshot--inline { max-height: 200px; }

  /* Screenshots container */
  .tool-screenshots { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .tool-screenshots img { max-width: 100%; height: auto; }

  /* Sidebar: back to single-column on mobile */
  .tool-sidebar { grid-template-columns: 1fr; }
  .tool-deal-body     { padding: 14px; }
  .tool-deal-discount { font-size: 1.8rem; }

  /* Why-choose box */
  .why-choose-box { padding: 16px; }

  /* Pros/cons */
  .pros-cons-card { padding: 16px; }
  .pros-cons-card h4 { font-size: 0.88rem; }
  .pros-list li, .cons-list li { font-size: 0.84rem; }

  /* Deal card */
  .tool-deal-card { margin-top: 0; }
  .deal-code-row  { flex-wrap: wrap; gap: 6px; }

  /* Key features */
  .key-features-section { padding: 36px 0; }
  .key-features-grid { grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
  .key-feature-card  { padding: 18px 14px; }
  .key-feature-icon  { width: 40px; height: 40px; font-size: 1rem; margin-bottom: 10px; }
  .key-feature-card h3 { font-size: 0.88rem; }
  .key-feature-card p  { font-size: 0.81rem; }

  /* Detailed comparison */
  .detailed-comparison { padding: 32px 0; }
  .detailed-table { font-size: 0.75rem; min-width: 520px; }
  .detailed-table th, .detailed-table td { padding: 8px 9px; }

  /* Verdict CTA */
  .verdict-cta-band { padding: 40px 0; }
  .verdict-cta-inner { gap: 24px; }
  .verdict-cta-text h2  { font-size: clamp(1.3rem, 4vw, 1.8rem); }
  .verdict-cta-text p   { font-size: 0.9rem; }
  .verdict-cta-actions .btn { font-size: 0.9rem; padding: 12px 20px; width: 100%; justify-content: center; }
  .verdict-note { font-size: 0.72rem; }
}

/* ============================================================
   RESPONSIVE — Small Mobile (≤480px)
   ============================================================ */
@media (max-width: 480px) {

  .article-hero { padding: 8px 0 32px; }
  .article-hero-title { font-size: 1.45rem; line-height: 1.2; }
  .article-hero-sub   { font-size: 0.86rem; }

  /* Hide chips label; chips still scroll */
  .chips-label { display: none; }

  .article-intro { padding: 24px 0; }

  /* Tool review */
  .tool-number  { font-size: 2rem; }
  .tool-title   { font-size: 1.25rem; }
  .tool-tagline { font-size: 0.86rem; }
  .tool-screenshot     { max-height: 200px; }
  .tool-screenshot--inline { max-height: 170px; }

  /* Pros/cons lists */
  .pros-list li, .cons-list li { font-size: 0.82rem; }

  /* Key features: single column */
  .key-features-section { padding: 28px 0; }
  .key-features-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 18px; }
  .key-feature-card  { padding: 16px 14px; }

  /* Tables */
  .overview-table  { min-width: 420px; }
  .detailed-table  { min-width: 440px; }
  .overview-table th, .overview-table td { padding: 7px 8px; font-size: 0.73rem; }
  .detailed-table th, .detailed-table td { padding: 7px 8px; font-size: 0.72rem; }

  /* Verdict */
  .verdict-cta-band { padding: 28px 0; }
  .verdict-cta-actions .btn { width: 100%; max-width: 100%; }
  .verdict-note { flex-direction: column; gap: 2px; }
}

/* ============================================================
   RESPONSIVE — Extra Small (≤360px)
   ============================================================ */
@media (max-width: 360px) {
  .article-hero-title { font-size: 1.25rem; }
  .overview-table  { min-width: 340px; }
  .detailed-table  { min-width: 340px; }
  .key-features-grid { grid-template-columns: 1fr; }
  .tool-deal-discount { font-size: 1.5rem; }
}
