/* ============================================================
   GrowthTools — Main Stylesheet
   Design: Professional editorial, blues/grays, green accents
   ============================================================ */

:root {
  --blue-900: #0f2744;
  --blue-800: #1a3a5c;
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-100: #dbeafe;
  --blue-50:  #eff6ff;
  --green-600: #16a34a;
  --green-500: #22c55e;
  --green-100: #dcfce7;
  --green-50:  #f0fdf4;
  --red-500:   #ef4444;
  --red-100:   #fee2e2;
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50:  #f9fafb;
  --white:    #ffffff;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 1px 3px rgba(0,0,0,0.10), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.10), 0 4px 6px rgba(0,0,0,0.05);
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --font: 'Inter', Arial, sans-serif;
  --container: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---- Layout ---- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  height: 60px;
  gap: 0;
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--blue-900);
  text-decoration: none;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: -0.02em;
  margin-right: 24px;
}
.nav-logo span { color: var(--green-600); }
.nav-logo:hover { text-decoration: none; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 14px;
  height: 60px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.nav-link:hover, .nav-link.active {
  color: var(--blue-700);
  text-decoration: none;
  border-bottom-color: var(--blue-600);
}

.nav-link .chevron {
  width: 14px; height: 14px;
  transition: transform 0.15s;
}
.nav-item:hover .chevron { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
  z-index: 100;
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 8px 16px;
  font-size: 0.875rem;
  color: var(--gray-700);
  text-decoration: none;
  transition: background 0.1s, color 0.1s;
}
.dropdown a:hover {
  background: var(--blue-50);
  color: var(--blue-700);
  text-decoration: none;
}

.dropdown-divider {
  border: none;
  border-top: 1px solid var(--gray-200);
  margin: 4px 0;
}
.dropdown-label {
  display: block;
  padding: 4px 16px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Nav right */
.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.nav-search-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--gray-500);
  border-radius: var(--radius);
  transition: background 0.1s, color 0.1s;
}
.nav-search-btn:hover { background: var(--gray-100); color: var(--gray-700); }

/* Mobile nav */
.nav-mobile { display: none; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--gray-700);
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .nav-menu, .nav-search-btn { display: none; }
  .nav-toggle { display: flex; align-items: center; }
  .nav-mobile {
    display: none;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    padding: 12px 0;
  }
  .nav-mobile.open { display: block; }
  .nav-mobile a {
    display: block;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
  }
  .nav-mobile a:hover { background: var(--blue-50); color: var(--blue-700); }
  .nav-mobile .mobile-category {
    padding: 8px 20px 4px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }
}

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumb {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  padding: 10px 0;
}
.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  flex-wrap: wrap;
}
.breadcrumb-list li {
  font-size: 0.8125rem;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  gap: 6px;
}
.breadcrumb-list a { color: var(--gray-500); }
.breadcrumb-list a:hover { color: var(--blue-600); }
.breadcrumb-list li:last-child { color: var(--gray-700); }
.breadcrumb-list .sep { color: var(--gray-300); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: var(--blue-900);
  color: var(--white);
  padding: 80px 0 72px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 25, 50, 0.72);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-badge {
  display: inline-block;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #86efac;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 18px;
  letter-spacing: 0.03em;
}

.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.875rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--white);
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---- Article Hero ---- */
.article-hero {
  position: relative;
  background: #0a1929;
  color: var(--white);
  padding: 80px 0 72px;
  overflow: hidden;
}
.article-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/hero-bg.jpg');
  background-size: cover;
  background-position: center 30%;
  z-index: 0;
}
.article-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8,20,45,0.92) 0%, rgba(8,20,45,0.85) 50%, rgba(8,20,45,0.65) 100%);
  z-index: 1;
}
/* Category color overlays */
.article-hero--payments .article-hero-overlay {
  background: linear-gradient(135deg, rgba(10,22,50,0.94) 0%, rgba(15,30,65,0.87) 50%, rgba(20,40,80,0.65) 100%);
}
.article-hero--accounting .article-hero-overlay {
  background: linear-gradient(135deg, rgba(5,35,20,0.94) 0%, rgba(8,42,28,0.87) 50%, rgba(12,55,35,0.65) 100%);
}
.article-hero--pos .article-hero-overlay {
  background: linear-gradient(135deg, rgba(22,12,48,0.94) 0%, rgba(28,16,58,0.87) 50%, rgba(38,22,72,0.65) 100%);
}
.article-hero--banking .article-hero-overlay {
  background: linear-gradient(135deg, rgba(5,28,38,0.94) 0%, rgba(8,36,48,0.87) 50%, rgba(12,48,58,0.65) 100%);
}
.article-hero--builders .article-hero-overlay {
  background: linear-gradient(135deg, rgba(28,8,42,0.94) 0%, rgba(35,12,52,0.87) 50%, rgba(45,18,65,0.65) 100%);
}
.article-hero .container {
  position: relative;
  z-index: 2;
}
.article-hero .article-hero-crumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  margin-bottom: 28px;
  list-style: none;
}
.article-hero .article-hero-crumb a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.15s;
}
.article-hero .article-hero-crumb a:hover {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
}
.article-hero .article-hero-crumb .sep {
  color: rgba(255,255,255,0.2);
  font-size: 0.75rem;
}
.article-hero .article-hero-crumb .current {
  color: rgba(255,255,255,0.7);
}
.article-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
  letter-spacing: 0.04em;
}
/* Category eyebrow colors */
.article-hero--payments .article-hero-eyebrow {
  background: rgba(59,130,246,0.15);
  border: 1px solid rgba(59,130,246,0.3);
  color: #93c5fd;
}
.article-hero--accounting .article-hero-eyebrow {
  background: rgba(34,197,94,0.15);
  border: 1px solid rgba(34,197,94,0.3);
  color: #86efac;
}
.article-hero--pos .article-hero-eyebrow {
  background: rgba(168,85,247,0.15);
  border: 1px solid rgba(168,85,247,0.3);
  color: #d8b4fe;
}
.article-hero--banking .article-hero-eyebrow {
  background: rgba(20,184,166,0.15);
  border: 1px solid rgba(20,184,166,0.3);
  color: #5eead4;
}
.article-hero--builders .article-hero-eyebrow {
  background: rgba(192,132,252,0.15);
  border: 1px solid rgba(192,132,252,0.3);
  color: #e9d5ff;
}
.article-hero h1 {
  font-size: clamp(1.875rem, 4vw, 2.875rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--white);
  max-width: 720px;
  margin: 0 0 18px;
}
.article-hero-desc {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.72);
  max-width: 560px;
  line-height: 1.7;
  margin: 0;
}
@media (max-width: 768px) {
  .article-hero { padding: 56px 0 48px; }
}
@media (max-width: 640px) {
  .article-hero { padding: 40px 0 36px; }
  .article-hero .article-hero-crumb { margin-bottom: 20px; }
  .article-hero-eyebrow { margin-bottom: 18px; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.15s;
  text-decoration: none;
  line-height: 1.4;
}
.btn:hover { text-decoration: none; }

.btn-primary {
  background: var(--blue-600);
  color: var(--white);
  border-color: var(--blue-600);
}
.btn-primary:hover { background: var(--blue-700); border-color: var(--blue-700); color: var(--white); }

.btn-green {
  background: var(--green-600);
  color: var(--white);
  border-color: var(--green-600);
}
.btn-green:hover { background: #15803d; border-color: #15803d; color: var(--white); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7); color: var(--white); }

.btn-outline-blue {
  background: transparent;
  color: var(--blue-600);
  border-color: var(--blue-300, #93c5fd);
}
.btn-outline-blue:hover { background: var(--blue-50); border-color: var(--blue-600); color: var(--blue-700); }

.btn-sm { padding: 7px 14px; font-size: 0.875rem; }
.btn-lg { padding: 14px 28px; font-size: 1.0625rem; }

/* ============================================================
   VERDICT BOX
   ============================================================ */
.verdict-box {
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-left: 4px solid var(--blue-600);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin: 28px 0;
}
.verdict-box .verdict-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--blue-600);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.verdict-box p {
  font-size: 1.0625rem;
  color: var(--gray-800);
  font-weight: 500;
  line-height: 1.5;
  margin: 0;
}

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.comparison-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  margin: 28px 0;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  min-width: 600px;
}

.comparison-table th {
  background: var(--blue-900);
  color: var(--white);
  padding: 14px 18px;
  font-weight: 600;
  font-size: 0.875rem;
  text-align: left;
}
.comparison-table th:first-child { border-radius: var(--radius-lg) 0 0 0; }
.comparison-table th:last-child  { border-radius: 0 var(--radius-lg) 0 0; }

.comparison-table td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700);
  vertical-align: top;
}

.comparison-table tr:nth-child(even) td { background: var(--gray-50); }
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:hover td { background: var(--blue-50); }

.check { color: var(--green-600); font-weight: 700; }
.cross { color: var(--red-500); font-weight: 700; }
.neutral { color: var(--gray-500); }

/* ============================================================
   PROS / CONS CARDS
   ============================================================ */
.pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 28px 0;
}
@media (max-width: 640px) {
  .pros-cons-grid { grid-template-columns: 1fr; }
}

.pros-card, .cons-card {
  border-radius: var(--radius-lg);
  padding: 20px;
}
.pros-card {
  background: var(--green-50);
  border: 1px solid var(--green-100);
}
.cons-card {
  background: var(--red-100);
  border: 1px solid #fecaca;
}

.pros-card h3, .cons-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pros-card h3 { color: var(--green-600); }
.cons-card h3 { color: #b91c1c; }

.pros-cons-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pros-cons-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--gray-700);
}
.pros-cons-list .icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 1px;
}
.pros-cons-list .icon-check {
  background: var(--green-100);
  color: var(--green-600);
}
.pros-cons-list .icon-x {
  background: #fecaca;
  color: #b91c1c;
}

/* ============================================================
   RECOMMENDATION BADGE / EDITOR PICK
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.badge-green {
  background: var(--green-100);
  color: var(--green-600);
}
.badge-blue {
  background: var(--blue-100);
  color: var(--blue-700);
}
.badge-gray {
  background: var(--gray-100);
  color: var(--gray-600);
}

/* Editor Pick */
.editor-pick {
  background: linear-gradient(135deg, #15803d, var(--green-600));
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.05em;
  display: inline-block;
  margin-bottom: 8px;
}

/* ============================================================
   PRODUCT CARDS (Category Hubs / Homepage)
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin: 28px 0;
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: box-shadow 0.15s, border-color 0.15s, transform 0.15s;
  cursor: pointer;
  text-decoration: none;
  display: block;
  color: inherit;
}
.card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-300, #93c5fd);
  transform: translateY(-2px);
  text-decoration: none;
  color: inherit;
}

.card-category {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue-600);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
  line-height: 1.3;
}

.card p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.5;
}

.card-vs {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.card-vs .logo-pair {
  display: flex;
  align-items: center;
  gap: 8px;
}
.product-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.75rem;
  flex-shrink: 0;
}
.card-vs-text {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gray-400);
}

/* Tool Card */
.tool-card {
  background: linear-gradient(135deg, var(--blue-900), var(--blue-800));
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 24px;
  transition: transform 0.15s, box-shadow 0.15s;
  text-decoration: none;
  display: block;
}
.tool-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  text-decoration: none;
  color: var(--white);
}
.tool-card .tool-icon {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 1.25rem;
}
.tool-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--white);
}
.tool-card p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}

/* ============================================================
   INTERACTIVE TOOLS
   ============================================================ */
.tool-widget {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 28px;
  margin: 28px 0;
  box-shadow: var(--shadow-md);
}
.tool-widget-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-100);
}
.tool-widget-icon {
  width: 42px;
  height: 42px;
  background: var(--blue-50);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-600);
  font-size: 1.125rem;
  flex-shrink: 0;
}
.tool-widget-header h2 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-900);
  margin: 0;
}
.tool-widget-header p {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin: 2px 0 0;
}

/* Form elements inside tools */
.form-group {
  margin-bottom: 20px;
}
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 8px;
}
.form-hint {
  font-size: 0.8125rem;
  color: var(--gray-500);
  margin-top: 4px;
}

.form-input, .form-select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none;
}
.form-input:focus, .form-select:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.form-input-prefix {
  position: relative;
}
.form-input-prefix .prefix {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-500);
  font-size: 0.9375rem;
  pointer-events: none;
}
.form-input-prefix .form-input {
  padding-left: 28px;
}

/* Slider */
.slider-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}
.slider-wrap input[type="range"] {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  accent-color: var(--blue-600);
  cursor: pointer;
}
.slider-value {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--blue-700);
  min-width: 52px;
  text-align: right;
}

/* Radio choice buttons */
.choice-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.choice-btn {
  padding: 8px 16px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  background: var(--white);
  color: var(--gray-700);
  transition: all 0.15s;
  font-family: var(--font);
}
.choice-btn:hover {
  border-color: var(--blue-400, #60a5fa);
  color: var(--blue-700);
  background: var(--blue-50);
}
.choice-btn.selected {
  border-color: var(--blue-600);
  background: var(--blue-50);
  color: var(--blue-700);
  font-weight: 600;
}

/* Tool results */
.results-section {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-top: 20px;
}
.results-section h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 16px;
}

.result-bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.result-bar-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
  width: 80px;
  flex-shrink: 0;
}
.result-bar-track {
  flex: 1;
  background: var(--gray-200);
  border-radius: 4px;
  height: 20px;
  overflow: hidden;
}
.result-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.6s ease;
  display: flex;
  align-items: center;
  padding-left: 8px;
}
.result-bar-fill.blue  { background: var(--blue-600); }
.result-bar-fill.green { background: var(--green-600); }
.result-bar-fill.gray  { background: var(--gray-400); }
.result-bar-fill.best  { background: var(--green-600); }

.result-bar-amount {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gray-800);
  min-width: 80px;
  text-align: right;
}
.result-winner-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  background: var(--green-100);
  color: var(--green-600);
  padding: 2px 8px;
  border-radius: 10px;
  white-space: nowrap;
}

/* Calculator grid */
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 640px) { .calc-grid { grid-template-columns: 1fr; } }

/* Progress bar for quiz */
.quiz-progress-bar {
  width: 100%;
  height: 6px;
  background: var(--gray-200);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 20px;
}
.quiz-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue-600), var(--green-500));
  border-radius: 3px;
  transition: width 0.4s ease;
}
.quiz-progress-text {
  font-size: 0.8125rem;
  color: var(--gray-500);
  margin-bottom: 8px;
}

.quiz-question {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 16px;
  line-height: 1.4;
}

.quiz-nav {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  align-items: center;
}

/* Quiz result */
.quiz-result-card {
  background: linear-gradient(135deg, var(--blue-900), #1e3a8a);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 28px;
  text-align: center;
}
.quiz-result-winner {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.quiz-result-label {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.quiz-result-reason {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}
.quiz-runner-up {
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 0.875rem;
  margin-bottom: 20px;
  text-align: left;
}
.quiz-runner-up strong { color: rgba(255,255,255,0.9); }

/* ============================================================
   ARTICLE / PAGE CONTENT
   ============================================================ */
.page-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  padding: 40px 0 60px;
  align-items: start;
}
@media (max-width: 960px) {
  .page-layout { grid-template-columns: 1fr; }
  .sidebar { order: 2; }
  .main-content { order: 1; }
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.article-meta .category-tag {
  background: var(--blue-50);
  color: var(--blue-700);
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
}
.article-meta .updated { color: var(--gray-400); }

.article-body h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin: 44px 0 16px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-100);
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.article-body h2:first-child {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}
.article-body h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-900);
  margin: 24px 0 10px;
  line-height: 1.35;
}
.article-body p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-700);
  margin-bottom: 16px;
}
.article-body ul, .article-body ol {
  margin: 12px 0 16px 24px;
  line-height: 1.7;
  color: var(--gray-700);
}
.article-body li { margin-bottom: 6px; font-size: 1rem; }

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq-section {
  margin: 36px 0;
}
.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 16px 20px;
  text-align: left;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--gray-800);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-family: var(--font);
  transition: background 0.1s;
}
.faq-question:hover { background: var(--gray-50); }
.faq-question.open { background: var(--blue-50); color: var(--blue-800); }
.faq-chevron { transition: transform 0.2s; flex-shrink: 0; }
.faq-question.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  display: none;
  padding: 0 20px 18px;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--gray-700);
}
.faq-answer.open { display: block; }

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar {
  position: sticky;
  top: 80px;
}
.sidebar-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 16px;
}
.sidebar-card h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 14px;
}
.sidebar-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sidebar-links a {
  font-size: 0.875rem;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  line-height: 1.4;
}
.sidebar-links a:hover { color: var(--blue-600); }

.cta-sidebar {
  background: linear-gradient(135deg, var(--blue-900), #1e3a8a);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 16px;
  text-align: center;
}
.cta-sidebar h3 { color: var(--white); font-size: 1rem; margin-bottom: 8px; }
.cta-sidebar p { color: rgba(255,255,255,0.75); font-size: 0.875rem; margin-bottom: 14px; }

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 20px 0;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}
.trust-stat {
  text-align: center;
}
.trust-stat .stat-num {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--blue-900);
  letter-spacing: -0.02em;
}
.trust-stat .stat-label {
  font-size: 0.8125rem;
  color: var(--gray-500);
}
.trust-divider {
  width: 1px;
  height: 36px;
  background: var(--gray-200);
}

.pub-logos {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.pub-logo {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gray-400);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-style: italic;
}

/* ============================================================
   SECTION HELPERS
   ============================================================ */
.section-title {
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.section-subtitle {
  font-size: 1rem;
  color: var(--gray-500);
  margin-bottom: 28px;
}

.section-pad { padding: 56px 0; }
.section-pad-sm { padding: 36px 0; }

/* ============================================================
   FINAL VERDICT CTA
   ============================================================ */
.verdict-cta {
  background: var(--blue-900);
  border-radius: var(--radius-xl);
  padding: 32px;
  color: var(--white);
  margin: 40px 0;
}
.verdict-cta h2 {
  font-size: 1.375rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--white);
}
.verdict-cta p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 20px;
  line-height: 1.6;
}
.verdict-cta-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============================================================
   PRODUCT OVERVIEW CARD
   ============================================================ */
.product-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0;
}
@media (max-width: 640px) { .product-overview { grid-template-columns: 1fr; } }

.stat-box {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
}
.stat-box .stat-name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.stat-box .stat-val {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.02em;
}
.stat-box .stat-note {
  font-size: 0.8125rem;
  color: var(--gray-500);
  margin-top: 2px;
}
.stat-box.highlight {
  background: var(--green-50);
  border-color: var(--green-100);
}
.stat-box.highlight .stat-name { color: var(--green-600); }
.stat-box.highlight .stat-val  { color: var(--green-600); }

/* ============================================================
   MINI COMPARISON TABLE (results)
   ============================================================ */
.mini-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 12px 0;
}
.mini-table th {
  background: var(--gray-100);
  color: var(--gray-600);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 8px 12px;
  text-align: left;
}
.mini-table td {
  padding: 9px 12px;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700);
}
.mini-table tr:last-child td { border-bottom: none; }
.mini-table tr:nth-child(even) td { background: var(--gray-50); }

/* ============================================================
   CATEGORY HUB HEADER
   ============================================================ */
.hub-header {
  background: var(--blue-900);
  color: var(--white);
  padding: 48px 0 40px;
}
.hub-header h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: var(--white);
}
.hub-header p {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.8);
  max-width: 520px;
  line-height: 1.6;
}

/* ============================================================
   AFFILIATE REDIRECT PAGE
   ============================================================ */
.redirect-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}
.redirect-card {
  max-width: 420px;
  width: 100%;
}
.redirect-logo {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
}
.redirect-timer {
  font-size: 3rem;
  font-weight: 800;
  color: var(--blue-900);
  line-height: 1;
  margin-bottom: 8px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 48px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand .logo {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  text-decoration: none;
}
.footer-brand .logo span { color: var(--green-500); }
.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--gray-200);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a {
  font-size: 0.875rem;
  color: var(--gray-500);
  text-decoration: none;
  transition: color 0.1s;
}
.footer-col a:hover { color: var(--gray-200); text-decoration: none; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.ftc-disclosure {
  font-size: 0.8125rem;
  color: var(--gray-500);
  line-height: 1.6;
  max-width: 600px;
}
.footer-copy {
  font-size: 0.8125rem;
  color: var(--gray-600);
  text-align: right;
}

/* ============================================================
   UTILITY
   ============================================================ */
.text-green { color: var(--green-600); }
.text-blue  { color: var(--blue-600); }
.text-red   { color: var(--red-500); }
.text-gray  { color: var(--gray-500); }
.text-bold  { font-weight: 700; }
.text-sm    { font-size: 0.875rem; }
.text-xs    { font-size: 0.8125rem; }
.text-center { text-align: center; }

.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }

.divider {
  border: none;
  border-top: 1px solid var(--gray-200);
  margin: 32px 0;
}

/* inline alert */
.alert-info {
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-left: 4px solid var(--blue-500);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 0.9rem;
  color: var(--gray-700);
  margin: 16px 0;
  line-height: 1.5;
}
.alert-green {
  background: var(--green-50);
  border: 1px solid var(--green-100);
  border-left: 4px solid var(--green-500);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 0.9rem;
  color: var(--gray-700);
  margin: 16px 0;
  line-height: 1.5;
}

/* stars */
.stars {
  display: inline-flex;
  gap: 2px;
}
.star { color: #f59e0b; font-size: 0.875rem; }
.star-empty { color: var(--gray-300); font-size: 0.875rem; }

/* Responsive table stack */
@media (max-width: 600px) {
  .comparison-table-wrap { border: none; border-radius: 0; margin-left: -20px; margin-right: -20px; }
  .comparison-table { font-size: 0.8125rem; }
  .comparison-table td, .comparison-table th { padding: 10px 12px; }
}

/* Print */
@media print {
  .site-nav, .sidebar, .site-footer { display: none; }
  .page-layout { grid-template-columns: 1fr; }
}
