/* ============================================================
   seo-software-trial.com — Custom CSS
   Built on top of TailwindCSS CDN
   ============================================================ */

:root {
  --color-primary:     #4f46e5; /* indigo-600 */
  --color-primary-dk:  #3730a3; /* indigo-800 */
  --color-accent:      #06b6d4; /* cyan-500 */
  --color-success:     #10b981; /* emerald-500 */
  --color-warning:     #f59e0b; /* amber-500 */
  --color-gray-50:     #f9fafb;
  --color-gray-900:    #111827;
  --radius:            0.75rem;
  --shadow-card:       0 4px 24px rgba(0,0,0,.07);
  --shadow-hover:      0 8px 32px rgba(79,70,229,.15);
  --transition:        .2s cubic-bezier(.4,0,.2,1);
}

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--color-gray-900);
  background: #fff;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; }
a  { color: inherit; text-decoration: none; }

/* ── Typography ── */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.25; }
h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 2.5vw, 2.25rem); }
h3 { font-size: 1.25rem; }

/* ── Layout ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--color-primary-dk);
  transform: translateY(-1px);
  box-shadow: var(--shadow-hover);
}
.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
}
.btn-success {
  background: var(--color-success);
  color: #fff;
}
.btn-success:hover {
  background: #059669;
  transform: translateY(-1px);
}
.btn-sm {
  padding: .5rem 1.25rem;
  font-size: .875rem;
}
.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}

/* ── Badge ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .2rem .7rem;
  border-radius: 9999px;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.badge-green  { background: #d1fae5; color: #065f46; }
.badge-gray   { background: #f3f4f6; color: #6b7280; }
.badge-indigo { background: #e0e7ff; color: #3730a3; }
.badge-amber  { background: #fef3c7; color: #92400e; }

/* ── Header / Nav ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e5e7eb;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}
.nav-logo {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--color-primary);
  letter-spacing: -.02em;
}
.nav-logo span { color: var(--color-gray-900); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  font-size: .9rem;
  font-weight: 500;
  color: #374151;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--color-primary); }
.nav-cta { margin-left: 1rem; }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-btn {
  display: flex;
  align-items: center;
  gap: .35rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: .9rem;
  font-weight: 500;
  color: #374151;
  padding: 0;
  transition: color var(--transition);
}
.nav-dropdown-btn:hover { color: var(--color-primary); }
.nav-dropdown-btn svg { transition: transform .2s; }
.nav-dropdown.open .nav-dropdown-btn svg { transform: rotate(180deg); }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + .75rem);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: .75rem;
  box-shadow: 0 8px 30px rgba(0,0,0,.12);
  padding: .5rem;
  list-style: none;
  margin: 0;
  min-width: 220px;
  z-index: 200;
}
.nav-dropdown.open .nav-dropdown-menu { display: block; }
.nav-dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .5rem .75rem;
  border-radius: .5rem;
  font-size: .875rem;
  font-weight: 500;
  color: #374151;
  transition: background var(--transition);
  white-space: nowrap;
}
.nav-dropdown-menu li a:hover { background: #f3f4f6; color: var(--color-primary); }
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .25rem;
}
.lang-dropdown {
  position: relative;
}
.lang-dropdown-btn {
  display: flex;
  align-items: center;
  gap: .3rem;
  background: none;
  border: 1px solid #e5e7eb;
  border-radius: .4rem;
  padding: .25rem .5rem;
  font-size: .78rem;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.lang-dropdown-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.lang-flag { font-size: 1rem; line-height: 1; }
.lang-caret { transition: transform .2s; flex-shrink: 0; }
.lang-dropdown.open .lang-caret { transform: rotate(180deg); }
.lang-dropdown-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + .4rem);
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: .5rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
  list-style: none;
  margin: 0;
  padding: .25rem;
  z-index: 200;
  min-width: 7rem;
}
.lang-dropdown.open .lang-dropdown-menu { display: block; }
.lang-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .45rem .65rem;
  border-radius: .35rem;
  font-size: .82rem;
  font-weight: 600;
  color: #374151;
  transition: var(--transition);
  text-decoration: none;
}
.lang-dropdown-menu a:hover { background: #f3f4f6; }
.lang-dropdown-menu a.active {
  background: #eef2ff;
  color: var(--color-primary);
}

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, #eef2ff 0%, #f0fdf4 50%, #ecfeff 100%);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(79,70,229,.08) 0%, transparent 60%);
}
.hero-content { position: relative; max-width: 700px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: #e0e7ff;
  color: var(--color-primary);
  padding: .4rem 1rem;
  border-radius: 9999px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero h1 { margin-bottom: 1.25rem; }
.hero-sub {
  font-size: 1.15rem;
  color: #4b5563;
  margin-bottom: 2.25rem;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.hero-stat-num  { font-size: 1.75rem; font-weight: 800; color: var(--color-primary); }
.hero-stat-label{ font-size: .825rem; color: #6b7280; margin-top: .1rem; }

/* ── Cards ── */
.card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-hover);
  border-color: #c7d2fe;
  transform: translateY(-2px);
}
.card-featured {
  border-color: var(--color-primary);
  border-width: 2px;
  position: relative;
}
.card-featured-ribbon {
  position: absolute;
  top: -1px;
  right: 1.25rem;
  background: var(--color-primary);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  padding: .2rem .6rem .3rem;
  border-radius: 0 0 .4rem .4rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* Tool card */
.tool-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.tool-logo {
  width: 3rem;
  height: 3rem;
  border-radius: .5rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.tool-name { font-size: 1.1rem; font-weight: 700; }
.tool-cat  { font-size: .78rem; color: #6b7280; margin-top: .1rem; }
.tool-desc { font-size: .9rem; color: #4b5563; line-height: 1.6; margin-bottom: 1rem; }
.tool-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #f3f4f6;
}
.tool-rating {
  display: flex;
  align-items: center;
  gap: .25rem;
  font-weight: 700;
  font-size: .9rem;
}
.stars { color: var(--color-warning); }
.tool-price { font-size: .875rem; color: #374151; font-weight: 600; }
.tool-actions { display: flex; gap: .5rem; }

/* ── Grid ── */
.grid-tools {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* ── Comparison Table ── */
.compare-table-wrap { overflow-x: auto; }
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
.compare-table th {
  background: var(--color-primary);
  color: #fff;
  padding: .875rem 1rem;
  text-align: left;
  font-weight: 600;
  white-space: nowrap;
}
.compare-table th:first-child { border-radius: .5rem 0 0 0; }
.compare-table th:last-child  { border-radius: 0 .5rem 0 0; }
.compare-table td {
  padding: .875rem 1rem;
  border-bottom: 1px solid #f3f4f6;
  vertical-align: middle;
}
.compare-table tr:hover td { background: #f9fafb; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table .featured-row td { background: #eef2ff; }

/* ── Category chips ── */
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 2rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem 1rem;
  border-radius: 9999px;
  border: 1.5px solid #e5e7eb;
  font-size: .85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  background: #fff;
  color: #374151;
}
.chip:hover, .chip.active {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: #eef2ff;
}

/* ── Rating stars visual ── */
.star-rating { display: flex; gap: .1rem; }
.star-fill { color: #f59e0b; }
.star-empty{ color: #d1d5db; }

/* ── Section headers ── */
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 { margin-bottom: .75rem; }
.section-header p  { color: #4b5563; font-size: 1.05rem; max-width: 580px; margin: 0 auto; }
.section-tag {
  display: inline-block;
  background: #e0e7ff;
  color: var(--color-primary);
  font-size: .75rem;
  font-weight: 700;
  padding: .25rem .75rem;
  border-radius: 9999px;
  letter-spacing: .07em;
  text-transform: uppercase;
  margin-bottom: .75rem;
}

/* ── Trust pillars ── */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.trust-item { text-align: center; }
.trust-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #eef2ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--color-primary);
}
.trust-item h3 { font-size: 1rem; margin-bottom: .5rem; }
.trust-item p  { font-size: .875rem; color: #6b7280; }

/* ── FAQ accordion ── */
.faq-item {
  border-bottom: 1px solid #e5e7eb;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.25rem 0;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--color-gray-900);
}
.faq-question .icon {
  flex-shrink: 0;
  transition: transform .25s;
}
.faq-item.open .icon { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 0 1.25rem;
  font-size: .95rem;
  color: #4b5563;
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }

/* ── CTA Band ── */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), #7c3aed);
  color: #fff;
  text-align: center;
  padding: 5rem 1.25rem;
  border-radius: var(--radius);
  margin: 3rem 0;
}
.cta-band h2 { color: #fff; margin-bottom: 1rem; }
.cta-band p  { color: #c7d2fe; margin-bottom: 2rem; font-size: 1.05rem; }
.cta-band .btn-primary {
  background: #fff;
  color: var(--color-primary);
}
.cta-band .btn-primary:hover {
  background: #eef2ff;
}

/* ── Blog cards ── */
.blog-card { overflow: hidden; }
.blog-img {
  height: 180px;
  background: linear-gradient(135deg, #eef2ff, #ecfeff);
  border-radius: calc(var(--radius) - 4px) calc(var(--radius) - 4px) 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -1.5rem -1.5rem 1rem;
  color: var(--color-primary);
}
.blog-meta  { font-size: .8rem; color: #9ca3af; margin-bottom: .5rem; }
.blog-title { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; line-height: 1.4; }
.blog-excerpt{ font-size: .875rem; color: #6b7280; line-height: 1.6; }

/* ── Footer ── */
.site-footer {
  background: #111827;
  color: #9ca3af;
  padding: 4rem 0 2rem;
  margin-top: 5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid #1f2937;
}
.footer-brand .nav-logo { color: #fff; margin-bottom: .75rem; display: block; }
.footer-brand p { font-size: .875rem; line-height: 1.7; }
.footer-col h4 {
  color: #f9fafb;
  font-size: .875rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: .6rem; }
.footer-col a  { font-size: .875rem; color: #9ca3af; transition: color var(--transition); }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .8rem;
}
.footer-disclaimer {
  background: #1f2937;
  border-radius: .5rem;
  padding: .875rem 1.25rem;
  font-size: .8rem;
  margin-top: 2rem;
  line-height: 1.6;
}

/* ── Breadcrumb ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  color: #9ca3af;
  margin-bottom: 2rem;
}
.breadcrumb a { color: #6b7280; }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb .sep { color: #d1d5db; }

/* ── Review hero ── */
.review-hero {
  background: linear-gradient(160deg, #eef2ff 0%, #f8faff 50%, #f0fdf4 100%);
  padding: 2.5rem 0 0;
  border-bottom: 1px solid #e5e7eb;
}
.review-hero-inner {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding-bottom: 1.75rem;
}
.review-hero-stats {
  display: flex;
  gap: 0;
  border-top: 1px solid #e5e7eb;
  margin-top: .25rem;
  flex-wrap: wrap;
}
.review-hero-stat {
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .875rem 1.5rem .875rem 0;
  margin-right: 1.5rem;
  font-size: .85rem;
  color: #374151;
  border-right: 1px solid #e5e7eb;
}
.review-hero-stat:last-child { border-right: none; margin-right: 0; }
.review-hero-stat-icon { font-size: 1rem; }
.review-hero-stat strong { color: var(--color-gray-900); }

/* ── Review layout ── */
.review-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2.5rem;
  align-items: start;
}
.review-sidebar { position: sticky; top: 5rem; }
.review-sidebar .card { padding: 1.5rem; }

/* ── Sidebar rating display ── */
.sidebar-rating-big {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}
.sidebar-score-ring {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: conic-gradient(var(--color-primary) calc(var(--pct) * 1%), #e5e7eb 0);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto .5rem;
  position: relative;
}
.sidebar-score-ring::after {
  content: '';
  position: absolute;
  inset: 10px;
  background: #fff;
  border-radius: 50%;
}
.sidebar-score-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.sidebar-score-num {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}
.sidebar-score-label {
  font-size: .6rem;
  color: #9ca3af;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* ── Score bars in sidebar ── */
.score-bars { margin: 1.25rem 0; }
.score-bar-row {
  display: flex;
  align-items: center;
  gap: .625rem;
  margin-bottom: .6rem;
  font-size: .78rem;
}
.score-bar-name { width: 90px; flex-shrink: 0; color: #6b7280; font-weight: 500; }
.score-bar-track {
  flex: 1;
  height: .35rem;
  background: #e5e7eb;
  border-radius: 9999px;
  overflow: hidden;
}
.score-bar-fill {
  height: 100%;
  background: var(--color-primary);
  border-radius: 9999px;
  transition: width .6s cubic-bezier(.4,0,.2,1);
}
.score-bar-val { width: 2rem; text-align: right; font-weight: 700; color: #374151; }

/* ── Author bar ── */
.author-bar {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: .625rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}
.author-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .6rem;
  font-weight: 800;
  flex-shrink: 0;
  letter-spacing: .04em;
}
.author-verified {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  font-size: .7rem;
  color: var(--color-success);
  font-weight: 600;
  background: #d1fae5;
  padding: .1rem .4rem;
  border-radius: 9999px;
}

/* ── TOC box ── */
.toc-box {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-left: 3px solid var(--color-primary);
  border-radius: 0 .625rem .625rem 0;
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
}
.toc-box h4 {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--color-primary);
  margin: 0 0 .625rem;
}
.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: toc;
}
.toc-list li {
  counter-increment: toc;
  margin-bottom: .3rem;
}
.toc-list li::before {
  content: counter(toc) '. ';
  color: #9ca3af;
  font-size: .78rem;
  font-weight: 600;
}
.toc-list a {
  font-size: .82rem;
  color: #374151;
  text-decoration: none;
  transition: color var(--transition);
}
.toc-list a:hover { color: var(--color-primary); }

/* ── Review content typography ── */
.review-content h2 {
  font-size: 1.4rem;
  margin: 2.5rem 0 .875rem;
  padding-left: .875rem;
  border-left: 3px solid var(--color-primary);
  line-height: 1.3;
}
.review-content h3 {
  font-size: 1.1rem;
  margin: 1.75rem 0 .625rem;
  color: #1e1b4b;
}
.review-content p  { color: #374151; line-height: 1.85; margin-bottom: 1.1rem; }
.review-content ul { margin: 0 0 1.1rem 1.5rem; }
.review-content ol { margin: 0 0 1.1rem 1.5rem; }
.review-content li { margin-bottom: .5rem; color: #374151; line-height: 1.75; }
.review-content strong { color: #111827; }
.review-content a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 2px; }

/* ── Quick verdict box ── */
.verdict-box {
  background: linear-gradient(135deg, #eef2ff 0%, #f0fdf4 100%);
  border: 1.5px solid #c7d2fe;
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  margin-bottom: 2rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  flex-wrap: wrap;
}
/* Template-rendered verdict box (uses .verdict-score-col + .verdict-body) */
.verdict-score-col {
  text-align: center;
  flex-shrink: 0;
  min-width: 4rem;
}
/* Inline verdict box inside full_review HTML (uses .verdict-num directly) */
.verdict-box > .verdict-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  flex-shrink: 0;
  min-width: 4rem;
  text-align: center;
}
.verdict-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}
.verdict-stars { color: #f59e0b; font-size: 1rem; margin-top: .2rem; }
.verdict-label { font-size: .7rem; color: #9ca3af; margin-top: .15rem; text-transform: uppercase; letter-spacing: .06em; }
.verdict-body { flex: 1; min-width: 200px; }
.verdict-body p { color: #374151; margin: 0; font-size: .95rem; line-height: 1.7; }
/* Paragraphs that are direct children of verdict-box (inline HTML pattern) */
.verdict-box > p { flex: 1; min-width: 200px; color: #374151; margin: 0; font-size: .95rem; line-height: 1.7; }
.verdict-box > p + p { flex-basis: 100%; margin-top: .5rem; font-size: .8rem; color: #9ca3af; }

/* ── Pros / Cons ── */
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.pros-col { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: var(--radius); padding: 1.25rem; }
.cons-col { background: #fff5f5; border: 1px solid #fecaca; border-radius: var(--radius); padding: 1.25rem; }
.pros-col h3 { color: #065f46; font-size: .9rem; margin: 0 0 .875rem; }
.cons-col h3 { color: #991b1b; font-size: .9rem; margin: 0 0 .875rem; }
.pros-list, .cons-list { list-style: none; margin: 0; padding: 0; }
.pros-list li, .cons-list li { font-size: .875rem; margin-bottom: .5rem; color: #374151; padding-left: 1.4rem; position: relative; line-height: 1.5; }
.pros-list li::before { content: '✓'; color: var(--color-success); font-weight: 700; position: absolute; left: 0; }
.cons-list li::before { content: '✗'; color: #ef4444; font-weight: 700; position: absolute; left: 0; }

/* ── Review bottom CTA ── */
.review-bottom-cta {
  margin-top: 2.5rem;
  padding: 2.25rem 2rem;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  border-radius: var(--radius);
  text-align: center;
  color: #fff;
}
.review-bottom-cta p { color: rgba(255,255,255,.85); }
.review-bottom-cta .btn-success {
  background: #fff;
  color: var(--color-primary);
  font-weight: 700;
}
.review-bottom-cta .btn-success:hover { background: #eef2ff; }
.review-bottom-cta .btn-primary {
  background: rgba(255,255,255,.15);
  border: 2px solid rgba(255,255,255,.5);
  color: #fff;
}
.review-bottom-cta .btn-primary:hover { background: rgba(255,255,255,.25); }

/* ── Alert / Sponsored bar ── */
.sponsored-bar {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: .5rem;
  padding: .625rem 1rem;
  font-size: .8rem;
  color: #92400e;
  margin-bottom: .75rem;
  display: flex;
  align-items: center;
  gap: .4rem;
}

/* ── Search bar ── */
.search-bar {
  position: relative;
  max-width: 460px;
}
.search-bar input {
  width: 100%;
  padding: .75rem 1rem .75rem 3rem;
  border: 1.5px solid #e5e7eb;
  border-radius: 9999px;
  font-size: .95rem;
  outline: none;
  transition: border-color var(--transition);
}
.search-bar input:focus { border-color: var(--color-primary); }
.search-bar .icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
}

/* ── Money page verdict box ── */
.verdict-box {
  background: linear-gradient(135deg, #eef2ff, #f0fdf4);
  border: 1.5px solid #c7d2fe;
  border-radius: var(--radius);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}
.verdict-num {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: .25rem;
}

/* ── 404 ── */
.page-404 {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.25rem;
}
.page-404 .num { font-size: 6rem; font-weight: 900; color: #e5e7eb; line-height: 1; }

/* ── Admin ── */
.admin-layout {
  display: flex;
  min-height: 100vh;
}
.admin-sidebar {
  width: 240px;
  background: #111827;
  color: #d1d5db;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}
.admin-sidebar .logo {
  padding: 1.5rem;
  font-weight: 800;
  color: #fff;
  border-bottom: 1px solid #1f2937;
  font-size: .95rem;
}
.admin-nav { list-style: none; padding: 1rem 0; margin: 0; flex: 1; }
.admin-nav li a {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1.5rem;
  font-size: .875rem;
  color: #9ca3af;
  transition: var(--transition);
}
.admin-nav li a:hover,
.admin-nav li a.active {
  background: #1f2937;
  color: #fff;
}
.admin-main {
  flex: 1;
  background: #f9fafb;
  overflow: auto;
}
.admin-topbar {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  padding: .875rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.admin-content { padding: 2rem 1.75rem; }
.admin-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 1.5rem; }

/* Admin form */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  margin-bottom: .4rem;
  color: #374151;
}
.form-control {
  width: 100%;
  padding: .625rem .875rem;
  border: 1.5px solid #e5e7eb;
  border-radius: .5rem;
  font-size: .9rem;
  transition: border-color var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--color-primary); }
textarea.form-control { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-check { display: flex; align-items: center; gap: .5rem; cursor: pointer; }
.form-check input { width: 1rem; height: 1rem; accent-color: var(--color-primary); }

/* Admin table */
.admin-table-wrap { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); }
.admin-table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.admin-table th {
  background: #f9fafb;
  padding: .75rem 1rem;
  text-align: left;
  font-weight: 600;
  color: #374151;
  border-bottom: 1px solid #e5e7eb;
}
.admin-table td {
  padding: .75rem 1rem;
  border-bottom: 1px solid #f3f4f6;
  vertical-align: middle;
}
.admin-table tr:hover td { background: #fafafa; }

/* Stats cards */
.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-bottom: 2rem; }
.stat-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}
.stat-num  { font-size: 2rem; font-weight: 800; color: var(--color-primary); }
.stat-label{ font-size: .8rem; color: #9ca3af; margin-top: .25rem; }

/* Drag handle */
.drag-handle {
  cursor: grab;
  color: #9ca3af;
  padding: 0 .5rem;
}
.drag-handle:active { cursor: grabbing; }
.sortable-ghost { opacity: .4; }

/* Two-column prose grid — collapses on mobile */
.two-col-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

/* ── Mobile ── */
@media (max-width: 1024px) {
  .grid-4    { grid-template-columns: repeat(2, 1fr); }
  .trust-grid{ grid-template-columns: repeat(2, 1fr); }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .review-layout { grid-template-columns: 1fr; }
  .review-sidebar { position: static; }
  .stat-cards { grid-template-columns: repeat(2, 1fr); }
  .verdict-box { flex-direction: column; gap: .75rem; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 4rem 0 0 0;
    background: #fff;
    padding: 2rem;
    gap: 1.25rem;
    border-top: 1px solid #e5e7eb;
    z-index: 99;
  }
  .nav-hamburger { display: flex; }
  .nav-dropdown-btn { font-size: 1rem; }
  .nav-dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    border-top: 1px solid #e5e7eb;
    border-radius: 0;
    display: block;
    padding: .5rem 0 0;
    margin-top: .5rem;
  }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .two-col-text { grid-template-columns: 1fr; }
  .pros-cons { grid-template-columns: 1fr; }
  .review-hero-stat { padding-right: 1rem; margin-right: 1rem; }
  .score-bar-name { width: 70px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-stats { gap: 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
  /* Review hero CTA: stack full-width instead of right-floating */
  .review-hero-cta { margin-left: 0 !important; width: 100%; }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  .hero { padding: 3rem 0; }
  .btn-lg { padding: .875rem 1.75rem; font-size: .95rem; }
  /* Force single column before the minmax(300px) breaks layout */
  .grid-tools { grid-template-columns: 1fr; }
}
