/* ============================================
   Maquininha Aqui - Professional Blog Stylesheet
   ============================================ */

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #0D47A1;
  --primary-light: #1565C0;
  --primary-dark: #0A3680;
  --accent: #00897B;
  --accent-light: #00A99D;
  --accent-dark: #006B60;
  --bg: #FAFBFC;
  --bg-white: #FFFFFF;
  --bg-light: #F0F2F5;
  --text: #1A1A2E;
  --text-secondary: #4A4A68;
  --text-muted: #7A7A92;
  --border: #E2E6EA;
  --border-light: #F0F2F5;
  --green: #2E7D32;
  --green-bg: #E8F5E9;
  --red: #C62828;
  --red-bg: #FFEBEE;
  --yellow: #F9A825;
  --yellow-bg: #FFF8E1;
  --star: #FFB300;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --radius: 8px;
  --radius-lg: 12px;
  --max-width: 1200px;
  --content-width: 750px;
  --transition: 0.2s ease;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--text);
  line-height: 1.3;
  font-weight: 700;
}

h1 { font-size: 2.2rem; margin-bottom: 1rem; }
h2 { font-size: 1.75rem; margin: 2.5rem 0 1rem; padding-top: 1rem; }
h3 { font-size: 1.35rem; margin: 2rem 0 0.75rem; }
h4 { font-size: 1.15rem; margin: 1.5rem 0 0.5rem; }

p {
  margin-bottom: 1.2rem;
  color: var(--text-secondary);
}

ul, ol {
  margin: 0 0 1.5rem 1.5rem;
  color: var(--text-secondary);
}

li {
  margin-bottom: 0.5rem;
}

strong {
  color: var(--text);
  font-weight: 600;
}

blockquote {
  border-left: 4px solid var(--accent);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--bg-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text-secondary);
}

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

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

.site-logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-logo .icon {
  font-size: 1.6rem;
}

.site-logo span {
  color: var(--accent);
}

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

.main-nav a {
  padding: 0.5rem 1rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: all var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary);
  background: var(--bg-light);
}

.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  font-weight: 600 !important;
  padding: 0.5rem 1.25rem !important;
}

.nav-cta:hover {
  background: var(--accent-dark) !important;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text);
  padding: 0.5rem;
}

/* ============ HERO ============ */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--accent-dark) 100%);
  color: #fff;
  padding: 4rem 1.5rem;
  text-align: center;
}

.hero h1 {
  color: #fff;
  font-size: 2.5rem;
  max-width: 700px;
  margin: 0 auto 1rem;
}

.hero p {
  color: rgba(255,255,255,0.85);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.hero-badges {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
}

.hero-badge .badge-icon {
  font-size: 1.3rem;
}

/* ============ BREADCRUMBS ============ */
.breadcrumbs {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumbs a {
  color: var(--text-muted);
}

.breadcrumbs a:hover {
  color: var(--primary);
}

.breadcrumbs span {
  margin: 0 0.4rem;
}

/* ============ MAIN LAYOUT ============ */
.main-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
}

.article-content {
  max-width: var(--content-width);
}

/* ============ ARTICLE CARDS (Homepage) ============ */
.section-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-title::after {
  content: '';
  flex: 1;
  height: 2px;
  background: var(--border);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.article-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--primary);
}

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--bg-light);
}

.card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.card-body h3 {
  font-size: 1.15rem;
  margin: 0 0 0.75rem;
  line-height: 1.4;
}

.card-body h3 a {
  color: var(--text);
}

.card-body h3 a:hover {
  color: var(--primary);
}

.card-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  flex: 1;
}

.card-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-light);
}

/* Featured card */
.article-card.featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.article-card.featured .card-image {
  height: 100%;
  min-height: 280px;
}

.article-card.featured .card-body h3 {
  font-size: 1.4rem;
}

/* ============ SIDEBAR ============ */
.sidebar {
  position: sticky;
  top: 80px;
  align-self: start;
}

.sidebar-widget {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.sidebar-widget h3 {
  font-size: 1rem;
  margin: 0 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--primary);
}

.sidebar-widget ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-widget li {
  margin-bottom: 0;
}

.sidebar-widget li a {
  display: block;
  padding: 0.6rem 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition);
}

.sidebar-widget li a:hover {
  color: var(--primary);
  padding-left: 0.5rem;
}

.sidebar-widget li:last-child a {
  border-bottom: none;
}

/* CTA Widget */
.sidebar-cta {
  background: linear-gradient(135deg, var(--primary), var(--accent-dark));
  color: #fff;
  text-align: center;
  border: none;
}

.sidebar-cta h3 {
  color: #fff;
  border-bottom-color: rgba(255,255,255,0.3);
}

.sidebar-cta p {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
}

.sidebar-cta .btn {
  background: #fff;
  color: var(--primary);
  width: 100%;
  margin-top: 0.5rem;
}

.sidebar-cta .btn:hover {
  background: var(--bg-light);
}

/* ============ TOC (Table of Contents) ============ */
.toc {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.toc h3 {
  font-size: 1rem;
  margin: 0 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}

.toc li {
  counter-increment: toc;
  margin-bottom: 0;
}

.toc li a {
  display: block;
  padding: 0.5rem 0 0.5rem 1.5rem;
  color: var(--text-secondary);
  font-size: 0.88rem;
  border-bottom: 1px solid var(--border-light);
  position: relative;
  transition: all var(--transition);
}

.toc li a::before {
  content: counter(toc) ".";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

.toc li a:hover {
  color: var(--primary);
  padding-left: 2rem;
}

.toc li:last-child a {
  border-bottom: none;
}

/* ============ ARTICLE PAGE ============ */
.article-header {
  max-width: var(--content-width);
  margin-bottom: 2rem;
}

.article-header .category-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.article-header h1 {
  font-size: 2.2rem;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.article-meta .author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.article-featured-image {
  width: 100%;
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
  max-height: 400px;
  object-fit: cover;
}

/* ============ COMPARISON TABLES ============ */
.table-wrapper {
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: var(--bg-white);
}

thead {
  background: var(--primary);
  color: #fff;
}

thead th {
  padding: 0.85rem 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

tbody td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-secondary);
}

tbody tr:hover {
  background: var(--bg-light);
}

tbody tr:last-child td {
  border-bottom: none;
}

.table-highlight {
  background: #E3F2FD !important;
  font-weight: 600;
}

.table-best {
  color: var(--green) !important;
  font-weight: 700;
}

.table-worst {
  color: var(--red) !important;
}

/* ============ PRO/CON BOXES ============ */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}

.pros-box, .cons-box {
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

.pros-box {
  background: var(--green-bg);
  border: 1px solid #C8E6C9;
}

.cons-box {
  background: var(--red-bg);
  border: 1px solid #FFCDD2;
}

.pros-box h4, .cons-box h4 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pros-box h4 { color: var(--green); }
.cons-box h4 { color: var(--red); }

.pros-box ul, .cons-box ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pros-box li, .cons-box li {
  padding: 0.35rem 0 0.35rem 1.5rem;
  position: relative;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.pros-box li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.cons-box li::before {
  content: "✗";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}

/* ============ STAR RATING ============ */
.star-rating {
  display: inline-flex;
  gap: 0.15rem;
  color: var(--star);
  font-size: 1.1rem;
}

.star-rating .empty {
  color: #E0E0E0;
}

.rating-box {
  background: var(--bg-white);
  border: 2px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin: 1.5rem 0;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.rating-score {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.rating-details h4 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
}

/* ============ INFO BOXES ============ */
.info-box {
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.info-box .icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.info-box p {
  margin: 0;
  font-size: 0.95rem;
}

.info-box.tip {
  background: #E3F2FD;
  border: 1px solid #90CAF9;
}

.info-box.warning {
  background: var(--yellow-bg);
  border: 1px solid #FFE082;
}

.info-box.important {
  background: var(--green-bg);
  border: 1px solid #A5D6A7;
}

/* ============ VERDICT BOX ============ */
.verdict-box {
  background: linear-gradient(135deg, var(--primary), var(--accent-dark));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 2rem 0;
}

.verdict-box h3 {
  color: #fff;
  margin: 0 0 1rem;
  font-size: 1.3rem;
}

.verdict-box p {
  color: rgba(255,255,255,0.9);
  margin-bottom: 0.75rem;
}

.verdict-box p:last-child {
  margin-bottom: 0;
}

/* ============ PRODUCT CARD ============ */
.product-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin: 1.5rem 0;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  transition: box-shadow var(--transition);
}

.product-card:hover {
  box-shadow: var(--shadow-md);
}

.product-card.recommended {
  border-color: var(--accent);
  border-width: 2px;
  position: relative;
}

.product-card.recommended::before {
  content: "Recomendado";
  position: absolute;
  top: -12px;
  left: 1.5rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.75rem;
  border-radius: 20px;
}

.product-image {
  width: 120px;
  height: 120px;
  object-fit: contain;
  flex-shrink: 0;
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 0.5rem;
}

.product-info {
  flex: 1;
}

.product-info h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.product-info .price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
}

.product-info .price small {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* ============ FAQ ACCORDION ============ */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: var(--bg-white);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.15rem 1.5rem;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: inherit;
  transition: background var(--transition);
}

.faq-question:hover {
  background: var(--bg-light);
}

.faq-question::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item.active .faq-question::after {
  content: "−";
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.25rem;
}

.faq-answer p {
  font-size: 0.95rem;
}

/* ============ CTA BOX ============ */
.cta-box {
  background: var(--bg-white);
  border: 2px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  margin: 2.5rem 0;
}

.cta-box h3 {
  margin: 0 0 0.75rem;
  color: var(--primary);
}

.cta-box p {
  margin-bottom: 1.25rem;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
}

.btn-accent {
  background: var(--accent);
  color: #fff;
}

.btn-accent:hover {
  background: var(--accent-dark);
  color: #fff;
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
}

.btn-whatsapp:hover {
  background: #1FAD55;
  color: #fff;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

/* ============ AUTHOR BOX ============ */
.author-box {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  margin: 2.5rem 0;
  align-items: center;
}

.author-box-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.author-box-info h4 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
}

.author-box-info p {
  font-size: 0.85rem;
  margin: 0;
  color: var(--text-muted);
}

/* ============ RELATED ARTICLES ============ */
.related-articles {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid var(--border);
}

.related-articles h3 {
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.related-card {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.related-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--primary);
}

.related-card h4 {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
}

.related-card h4 a {
  color: var(--text);
}

.related-card h4 a:hover {
  color: var(--primary);
}

.related-card .meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--text);
  color: rgba(255,255,255,0.7);
  margin-top: 4rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem 1.5rem;
}

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

.footer-brand h3 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

.footer-links h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

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

.footer-links li {
  margin-bottom: 0.4rem;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--accent-light);
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* ============ RANKING NUMBER ============ */
.ranking-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}

.ranking-number.gold {
  background: linear-gradient(135deg, #FFB300, #FF8F00);
}

.ranking-number.silver {
  background: linear-gradient(135deg, #90A4AE, #607D8B);
}

.ranking-number.bronze {
  background: linear-gradient(135deg, #A1887F, #795548);
}

/* ============ UPDATE BADGE ============ */
.update-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--green-bg);
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
}

/* ============ MOBILE RESPONSIVE ============ */
@media (max-width: 968px) {
  .content-grid {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

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

@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-white);
    flex-direction: column;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }

  .main-nav.active {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero {
    padding: 3rem 1rem;
  }

  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.4rem; }

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

  .article-card.featured .card-image {
    height: 200px;
  }

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

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

  .product-card {
    flex-direction: column;
    text-align: center;
  }

  .rating-box {
    flex-direction: column;
    text-align: center;
  }

  .author-box {
    flex-direction: column;
    text-align: center;
  }

  .article-header h1 {
    font-size: 1.6rem;
  }
}

/* ============ PRINT ============ */
@media print {
  .site-header, .site-footer, .sidebar, .cta-box, .related-articles {
    display: none;
  }

  body {
    font-size: 12pt;
    color: #000;
  }
}

/* ============ FAQ PAGE GRID ============ */
.faq-categories {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.faq-category h2 {
  font-size: 1.35rem;
  margin: 0 0 1rem;
  padding: 0;
}

/* ============ SCROLL INDICATOR ============ */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  z-index: 900;
}

.scroll-to-top.visible {
  display: flex;
}

.scroll-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* ============ NUMBERED LIST ARTICLES ============ */
.numbered-item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

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

.numbered-item .number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.3;
  line-height: 1;
  flex-shrink: 0;
  width: 40px;
}

/* ============ COMPARISON HIGHLIGHT ============ */
.vs-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin: 0 0.5rem;
}

/* ============ CHECKLIST ============ */
.checklist {
  list-style: none;
  margin: 1rem 0;
  padding: 0;
}

.checklist li {
  padding: 0.4rem 0 0.4rem 2rem;
  position: relative;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  width: 22px;
  height: 22px;
  background: var(--green-bg);
  color: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  top: 0.45rem;
}
