/* aitoolreviews.co - Clean, professional, mobile-responsive */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --accent: #f59e0b;
  --text: #1f2937;
  --muted: #6b7280;
  --bg: #ffffff;
  --bg-alt: #f9fafb;
  --border: #e5e7eb;
  --radius: 8px;
  --max-w: 1100px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

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

/* Nav */
nav { background: var(--bg); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.nav-logo { font-size: 1.25rem; font-weight: 700; color: var(--primary); }
.nav-links { display: flex; gap: 24px; list-style: none; }
.nav-links a { color: var(--text); font-size: 0.9rem; font-weight: 500; }
.nav-links a:hover { color: var(--primary); text-decoration: none; }

/* Hero */
.hero { background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%); padding: 60px 0 50px; text-align: center; border-bottom: 1px solid var(--border); }
.hero h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 16px; line-height: 1.2; }
.hero p { font-size: 1.15rem; color: var(--muted); max-width: 600px; margin: 0 auto 28px; }
.btn { display: inline-block; background: var(--primary); color: #fff; padding: 12px 28px; border-radius: var(--radius); font-weight: 600; font-size: 0.95rem; transition: background 0.2s; }
.btn:hover { background: var(--primary-dark); text-decoration: none; }
.btn-outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }

/* Cards grid */
.section { padding: 48px 0; }
.section-title { font-size: 1.6rem; font-weight: 700; margin-bottom: 8px; }
.section-sub { color: var(--muted); margin-bottom: 32px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; transition: box-shadow 0.2s, transform 0.2s; }
.card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); transform: translateY(-2px); }
.card-badge { display: inline-block; background: #dbeafe; color: var(--primary); font-size: 0.75rem; font-weight: 600; padding: 3px 10px; border-radius: 20px; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.05em; }
.card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.card p { font-size: 0.9rem; color: var(--muted); margin-bottom: 16px; }
.card-meta { font-size: 0.8rem; color: var(--muted); display: flex; gap: 12px; }

/* Article */
.article-header { background: var(--bg-alt); padding: 48px 0 32px; border-bottom: 1px solid var(--border); }
.article-header .breadcrumb { font-size: 0.85rem; color: var(--muted); margin-bottom: 12px; }
.article-header h1 { font-size: 2rem; font-weight: 800; line-height: 1.25; max-width: 780px; }
.article-header .meta { margin-top: 16px; font-size: 0.85rem; color: var(--muted); }
.article-body { display: grid; grid-template-columns: 1fr 300px; gap: 48px; padding: 48px 0; align-items: start; }
.article-content { max-width: 700px; }
.article-content h2 { font-size: 1.4rem; font-weight: 700; margin: 32px 0 12px; }
.article-content h3 { font-size: 1.15rem; font-weight: 700; margin: 24px 0 8px; }
.article-content p { margin-bottom: 16px; }
.article-content ul, .article-content ol { margin: 0 0 16px 24px; }
.article-content li { margin-bottom: 6px; }
.article-content table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 0.9rem; }
.article-content th { background: var(--bg-alt); padding: 10px 14px; text-align: left; font-weight: 600; border: 1px solid var(--border); }
.article-content td { padding: 10px 14px; border: 1px solid var(--border); }
.article-content tr:hover td { background: var(--bg-alt); }

/* Affiliate box */
.affiliate-box { background: #fffbeb; border: 1px solid #fde68a; border-radius: var(--radius); padding: 20px; margin: 28px 0; }
.affiliate-box h4 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; color: #92400e; }
.affiliate-box ul { margin-left: 18px; }
.affiliate-box li { margin-bottom: 6px; font-size: 0.9rem; }
.affiliate-box .disclaimer { font-size: 0.78rem; color: var(--muted); margin-top: 10px; }

/* Sidebar */
.sidebar { position: sticky; top: 80px; }
.sidebar-box { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 20px; }
.sidebar-box h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 12px; }
.sidebar-box ul { list-style: none; }
.sidebar-box li { padding: 6px 0; border-bottom: 1px solid var(--border); font-size: 0.88rem; }
.sidebar-box li:last-child { border-bottom: none; }

/* Rating */
.rating { display: flex; align-items: center; gap: 8px; margin: 12px 0; }
.stars { color: var(--accent); font-size: 1.1rem; letter-spacing: -1px; }
.rating-score { font-size: 1.4rem; font-weight: 800; }
.rating-count { font-size: 0.85rem; color: var(--muted); }

/* Footer */
footer { background: #111827; color: #9ca3af; padding: 40px 0; margin-top: 60px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-brand { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
footer h4 { color: #fff; font-size: 0.9rem; font-weight: 600; margin-bottom: 12px; }
footer ul { list-style: none; }
footer li { margin-bottom: 8px; font-size: 0.85rem; }
footer a { color: #9ca3af; }
footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #374151; margin-top: 32px; padding-top: 24px; font-size: 0.8rem; text-align: center; }

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 1.75rem; }
  .article-body { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .nav-links { display: none; }
}
