/* ToolRankHQ - Professional AI Tools Review Site CSS */
/* Brand: Primary #1e3a5f | Accent #f59e0b | CTA #ea580c | BG #f8fafc | Text #1e293b */

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  background: #f8fafc;
  color: #1e293b;
  line-height: 1.6;
}

a { color: #1e3a5f; text-decoration: none; }
a:hover { color: #f59e0b; }

img { max-width: 100%; height: auto; display: block; }

ul, ol { padding-left: 1.25rem; }

h1, h2, h3, h4, h5, h6 {
  color: #1e293b;
  font-weight: 700;
  line-height: 1.3;
}

p { margin-bottom: 1rem; }

/* ============================================
   READ PROGRESS BAR
   ============================================ */
#read-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: #1e3a5f;
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ============================================
   SITE HEADER
   ============================================ */
.site-header {
  background: #1e3a5f;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.site-logo .logo-icon {
  width: 32px;
  height: 32px;
}

.site-logo .logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.site-logo .logo-text span {
  color: #f59e0b;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.site-nav a {
  color: rgba(255,255,255,0.85);
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a.active {
  color: #f59e0b;
  background: rgba(255,255,255,0.08);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ============================================
   CATEGORY NAV
   ============================================ */
.cat-nav {
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 64px;
  z-index: 900;
}

.cat-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.cat-nav-inner::-webkit-scrollbar { display: none; }

.cat-nav-inner a {
  padding: 0.875rem 1.25rem;
  color: #64748b;
  font-size: 0.875rem;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: all 0.2s;
  text-decoration: none;
}

.cat-nav-inner a:hover,
.cat-nav-inner a.active {
  color: #1e3a5f;
  border-bottom-color: #f59e0b;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  background: linear-gradient(135deg, #1e3a5f 0%, #2d5a8e 60%, #1e4976 100%);
  padding: 5rem 0 4rem;
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245,158,11,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245,158,11,0.15);
  border: 1px solid rgba(245,158,11,0.3);
  color: #f59e0b;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.375rem 0.875rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-text h1 em {
  color: #f59e0b;
  font-style: normal;
}

.hero-text p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: 100%;
  max-width: 360px;
}

.hero-stat {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  backdrop-filter: blur(10px);
}

.hero-stat:first-child {
  grid-column: 1 / -1;
  background: rgba(245,158,11,0.15);
  border-color: rgba(245,158,11,0.3);
}

.hero-stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: #f59e0b;
  line-height: 1;
  margin-bottom: 0.375rem;
}

.hero-stat-label {
  display: block;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
  background: #1e293b;
  padding: 0.875rem 0;
}

.trust-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.trust-bar-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.85);
  font-size: 0.875rem;
  font-weight: 600;
}

.trust-bar-item .icon {
  font-size: 1rem;
  color: #f59e0b;
}

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.main-content {
  padding: 3rem 0;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.section-title span {
  color: #1e3a5f;
}

.section-subtitle {
  color: #64748b;
  font-size: 1rem;
  margin-bottom: 2rem;
}

.section-header {
  margin-bottom: 2rem;
}

.section-header .view-all {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e3a5f;
  text-decoration: none;
}

.section-header .view-all:hover { color: #f59e0b; }

/* ============================================
   FEATURED GRID
   ============================================ */
.featured-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.featured-main {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  border: 1px solid #e2e8f0;
  transition: box-shadow 0.2s;
}

.featured-main:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.featured-main-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.featured-main-body {
  padding: 1.75rem;
}

.featured-main-body .category-tag {
  margin-bottom: 0.75rem;
}

.featured-main-body h2 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.featured-main-body h2 a {
  color: #1e293b;
  text-decoration: none;
}

.featured-main-body h2 a:hover { color: #1e3a5f; }

.featured-main-body p {
  color: #64748b;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.featured-stats-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.featured-stat-pill {
  background: #f1f5f9;
  border-radius: 8px;
  padding: 0.5rem 0.875rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #1e3a5f;
}

.featured-side {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.featured-small {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  border: 1px solid #e2e8f0;
  transition: box-shadow 0.2s;
}

.featured-small:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

.featured-small-img {
  width: 100%;
  height: 130px;
  object-fit: cover;
}

.featured-small-body {
  padding: 1.25rem;
}

.featured-small-body .category-tag {
  margin-bottom: 0.5rem;
}

.featured-small-body h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.featured-small-body h3 a {
  color: #1e293b;
  text-decoration: none;
}

.featured-small-body h3 a:hover { color: #1e3a5f; }

.featured-small-body p {
  color: #64748b;
  font-size: 0.85rem;
  margin-bottom: 0.875rem;
}

/* ============================================
   ARTICLE LIST
   ============================================ */
.article-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.list-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid #f1f5f9;
  align-items: flex-start;
  transition: background 0.15s;
}

.list-item:hover {
  background: #fafafa;
}

.list-item:last-child { border-bottom: none; }

.list-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: #1e3a5f;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 2px;
}

.list-body {
  flex: 1;
}

.list-body .category-tag {
  margin-bottom: 0.375rem;
}

.list-body h3 {
  font-size: 1.05rem;
  margin-bottom: 0.375rem;
  line-height: 1.4;
}

.list-body h3 a {
  color: #1e293b;
  text-decoration: none;
}

.list-body h3 a:hover { color: #1e3a5f; }

.list-body p {
  color: #64748b;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.list-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: #94a3b8;
}

.list-meta .date { font-weight: 500; }

/* ============================================
   TOOL CARDS
   ============================================ */
.tool-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.75rem;
  margin-bottom: 2rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s;
}

.tool-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.09);
}

.tool-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  gap: 1rem;
}

.tool-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 0.25rem;
}

.tool-category {
  display: inline-block;
  background: #eff6ff;
  color: #1e3a5f;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.625rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tool-score {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: #1e3a5f;
  color: #f59e0b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(30,58,95,0.3);
}

.rating-stars {
  color: #f59e0b;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 0.875rem;
}

.tool-description {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  background: #f8fafc;
  border-radius: 10px;
}

.pros-cons-grid strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.625rem;
  color: #1e293b;
}

.pros-list {
  list-style: none;
  padding-left: 0;
}

.pros-list li {
  padding: 0.3rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.875rem;
  color: #374151;
}

.pros-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #16a34a;
  font-weight: 700;
}

.cons-list {
  list-style: none;
  padding-left: 0;
}

.cons-list li {
  padding: 0.3rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.875rem;
  color: #374151;
}

.cons-list li::before {
  content: '✗';
  position: absolute;
  left: 0;
  color: #dc2626;
  font-weight: 700;
}

/* ============================================
   PRICING TABLE
   ============================================ */
.pricing-table {
  margin-bottom: 1.5rem;
  overflow-x: auto;
}

.pricing-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.pricing-table th {
  background: #1e3a5f;
  color: #fff;
  padding: 0.625rem 1rem;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pricing-table td {
  padding: 0.625rem 1rem;
  border-bottom: 1px solid #f1f5f9;
  color: #374151;
}

.pricing-table tr:nth-child(even) td {
  background: #f8fafc;
}

.pricing-table tr:hover td {
  background: #eff6ff;
}

/* ============================================
   VERDICT BOX
   ============================================ */
.verdict-box {
  background: #f0f7ff;
  border-left: 4px solid #1e3a5f;
  border-radius: 0 10px 10px 0;
  padding: 1.125rem 1.5rem;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  color: #1e293b;
  line-height: 1.6;
}

.verdict-box strong {
  color: #1e3a5f;
}

/* ============================================
   AFFILIATE DISCLOSURE
   ============================================ */
.affiliate-disclosure {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 10px;
  padding: 0.875rem 1.25rem;
  margin-bottom: 2rem;
  font-size: 0.85rem;
  color: #78350f;
  display: flex;
  gap: 0.625rem;
  align-items: flex-start;
}

.affiliate-disclosure .icon {
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ============================================
   CTA BLOCK
   ============================================ */
.cta-block {
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
  border-radius: 14px;
  padding: 1.75rem;
  color: #fff;
  text-align: center;
  margin-bottom: 1.5rem;
}

.cta-block h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.625rem;
}

.cta-block p {
  font-size: 0.875rem;
  opacity: 0.9;
  margin-bottom: 1.125rem;
}

/* ============================================
   SIDEBAR
   ============================================ */
.sidebar {
  position: sticky;
  top: 130px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* ============================================
   RELATED ARTICLES
   ============================================ */
.related-articles {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
}

.related-articles-header {
  background: #1e3a5f;
  padding: 0.875rem 1.25rem;
}

.related-articles-header h4 {
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.related-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.related-list li {
  border-bottom: 1px solid #f1f5f9;
}

.related-list li:last-child { border-bottom: none; }

.related-list a {
  display: flex;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  color: #1e293b;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
  transition: background 0.15s;
}

.related-list a:hover {
  background: #f8fafc;
  color: #1e3a5f;
}

.related-list .rel-num {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: #f1f5f9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  color: #1e3a5f;
}

/* ============================================
   FAQ
   ============================================ */
.faq-section {
  margin: 3rem 0;
}

.faq-section h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #1e293b;
}

.faq-item {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.125rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.975rem;
  font-weight: 700;
  color: #1e293b;
  text-align: left;
  transition: background 0.15s;
}

.faq-question:hover { background: #f8fafc; }

.faq-question .faq-icon {
  flex-shrink: 0;
  font-size: 1.25rem;
  color: #1e3a5f;
  transition: transform 0.3s;
  line-height: 1;
}

.faq-question.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  color: #475569;
  font-size: 0.925rem;
  line-height: 1.7;
}

.faq-answer.open { display: block; }

/* ============================================
   CONTENT GRID (Article Layout)
   ============================================ */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2.5rem;
  align-items: start;
}

/* ============================================
   ARTICLE STYLES
   ============================================ */
.article-header {
  margin-bottom: 2rem;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 0.875rem 0;
  font-size: 0.85rem;
  color: #64748b;
}

.article-meta .meta-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.article-meta .icon { font-size: 0.875rem; }

.article-hero-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 2rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.category-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.category-tag.contracts { background: #dbeafe; color: #1e40af; }
.category-tag.finance   { background: #d1fae5; color: #065f46; }
.category-tag.payroll   { background: #fce7f3; color: #9d174d; }
.category-tag.productivity { background: #ede9fe; color: #5b21b6; }
.category-tag.roundup   { background: #fff7ed; color: #c2410c; }
.category-tag.default   { background: #f1f5f9; color: #475569; }

/* ============================================
   AUTHOR BOX
   ============================================ */
.author-box {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 2rem;
}

.author-badge {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #1e3a5f, #2d5a8e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: #f59e0b;
}

.author-info {
  flex: 1;
}

.author-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #1e293b;
  margin-bottom: 0.125rem;
}

.author-title {
  font-size: 0.8rem;
  color: #64748b;
}

/* ============================================
   KEY TAKEAWAYS
   ============================================ */
.key-takeaways {
  background: linear-gradient(135deg, #f0f7ff 0%, #e8f2ff 100%);
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.key-takeaways h3 {
  font-size: 1rem;
  font-weight: 800;
  color: #1e3a5f;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.key-takeaways ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.key-takeaways ul li {
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.9rem;
  color: #1e293b;
  font-weight: 500;
}

.key-takeaways ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #1e3a5f;
  font-weight: 700;
}

/* ============================================
   TABLE OF CONTENTS
   ============================================ */
.toc {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.toc h3 {
  font-size: 0.9rem;
  font-weight: 800;
  color: #1e293b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.toc ol {
  padding-left: 1.25rem;
  margin: 0;
}

.toc li {
  margin-bottom: 0.5rem;
}

.toc a {
  color: #1e3a5f;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
}

.toc a:hover { color: #f59e0b; text-decoration: underline; }

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
  padding: 0.875rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #94a3b8;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: #64748b;
  text-decoration: none;
  font-weight: 500;
}

.breadcrumb a:hover { color: #1e3a5f; }

.breadcrumb .sep { color: #cbd5e1; }

.breadcrumb .current {
  color: #1e293b;
  font-weight: 600;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-orange {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: #ea580c;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.btn-orange:hover {
  background: #c2410c;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(234,88,12,0.35);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: #1e3a5f;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-primary:hover {
  background: #162d4a;
  color: #fff;
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: transparent;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.4);
  transition: all 0.2s;
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: #fff;
  color: #ea580c;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-white:hover {
  background: #fff7ed;
  color: #c2410c;
}

.read-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: #1e3a5f;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
}

.read-link:hover { color: #f59e0b; }

.card-read-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: #ea580c;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  padding: 0.5rem 0;
}

.card-read-link:hover { color: #c2410c; }

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 700;
  color: #1e3a5f;
  text-decoration: none;
  border: 1px solid #e2e8f0;
  background: #fff;
  transition: all 0.2s;
}

.page-link:hover,
.page-link.active {
  background: #1e3a5f;
  color: #fff;
  border-color: #1e3a5f;
}

/* ============================================
   WHY TRUST US
   ============================================ */
.why-trust {
  background: #fff;
  border-radius: 16px;
  padding: 3rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  border: 1px solid #e2e8f0;
  margin-bottom: 3rem;
}

.why-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.why-trust-item {
  text-align: center;
}

.why-trust-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #1e3a5f 0%, #2d5a8e 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}

.why-trust-item h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #1e293b;
}

.why-trust-item p {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
}

/* ============================================
   NEWSLETTER SECTION
   ============================================ */
.newsletter-section {
  background: linear-gradient(135deg, #1e3a5f 0%, #2d5a8e 100%);
  border-radius: 16px;
  padding: 3rem;
  text-align: center;
  color: #fff;
  margin-bottom: 3rem;
}

.newsletter-section h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
}

.newsletter-section p {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  margin-bottom: 1.75rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  max-width: 460px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.newsletter-form input {
  flex: 1;
  min-width: 240px;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: none;
  font-size: 0.9rem;
  color: #1e293b;
  background: rgba(255,255,255,0.95);
}

.newsletter-form input:focus {
  outline: 2px solid #f59e0b;
  background: #fff;
}

/* ============================================
   AD UNIT
   ============================================ */
.ad-unit {
  background: #f1f5f9;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

/* ============================================
   BACK TO TOP
   ============================================ */
#back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: #1e3a5f;
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.25rem;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(30,58,95,0.35);
  transition: all 0.2s;
  z-index: 800;
}

#back-to-top:hover {
  background: #f59e0b;
  transform: translateY(-2px);
}

#back-to-top.visible { display: flex; }

/* ============================================
   SITE FOOTER
   ============================================ */
.site-footer {
  background: #1e293b;
  color: rgba(255,255,255,0.75);
  padding: 3.5rem 0 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.875rem;
  display: block;
}

.footer-brand .logo-text span { color: #f59e0b; }

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.125rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 0.625rem;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: #f59e0b; }

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom-links a:hover { color: rgba(255,255,255,0.8); }

/* ============================================
   ARTICLE BODY TYPOGRAPHY
   ============================================ */
.article-body h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1e293b;
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #f1f5f9;
}

.article-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1e293b;
  margin: 2rem 0 0.875rem;
}

.article-body p {
  color: #374151;
  line-height: 1.75;
  margin-bottom: 1.125rem;
}

.article-body ul,
.article-body ol {
  color: #374151;
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.article-body li {
  margin-bottom: 0.375rem;
}

.article-body strong { color: #1e293b; }

.comparison-intro {
  background: #f8fafc;
  border-left: 3px solid #f59e0b;
  border-radius: 0 8px 8px 0;
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
  font-size: 0.95rem;
  color: #374151;
  font-style: italic;
}

/* ============================================
   CATEGORY SECTION HEADER
   ============================================ */
.category-section {
  margin-bottom: 3rem;
}

.category-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #e2e8f0;
}

.category-section-header h2 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.cat-badge {
  display: inline-flex;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================
   RESPONSIVE — TABLET (max 1024px)
   ============================================ */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text h1 { font-size: 2.5rem; }

  .hero-visual { display: none; }

  .featured-grid {
    grid-template-columns: 1fr;
  }

  .featured-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

/* ============================================
   RESPONSIVE — MOBILE (max 768px)
   ============================================ */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .site-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #1e3a5f;
    flex-direction: column;
    padding: 1rem;
    gap: 0.25rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  }

  .site-nav.open { display: flex; }

  .site-nav a {
    padding: 0.75rem 1rem;
    border-radius: 8px;
  }

  .header-inner { position: relative; }

  .hero { padding: 3rem 0 2.5rem; }
  .hero-text h1 { font-size: 2rem; }
  .hero-text p { font-size: 0.95rem; }

  .hero-cta-row { justify-content: center; }

  .section-title { font-size: 1.4rem; }

  .featured-side {
    grid-template-columns: 1fr;
  }

  .why-trust-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .pros-cons-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .content-grid { grid-template-columns: 1fr; }

  .sidebar {
    grid-template-columns: 1fr;
  }

  .article-hero-img { height: 220px; }

  .trust-bar-inner { gap: 1.5rem; }

  .cat-nav-inner a { padding: 0.75rem 0.875rem; font-size: 0.8rem; }

  .newsletter-section { padding: 2rem 1.5rem; }

  .why-trust { padding: 2rem 1.5rem; }

  .hero-stat-grid { display: none; }

  .list-item { gap: 0.875rem; }
  .list-num { width: 28px; height: 28px; font-size: 0.75rem; }
}

@media (max-width: 480px) {
  .hero-text h1 { font-size: 1.75rem; }
  .featured-stats-row { flex-wrap: wrap; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input { min-width: unset; width: 100%; }
  .article-meta { gap: 0.625rem; }
  .tool-card { padding: 1.25rem; }
  .tool-score { width: 50px; height: 50px; font-size: 1rem; }
}
