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

:root {
  --primary: #f97316;
  --primary-dark: #ea580c;
  --primary-light: #fff7ed;
  --accent: #ec4899;
  --text: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-dark: #0f172a;
  --bg-dark2: #1e293b;
  --border: #e2e8f0;
  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 40px rgba(0,0,0,0.12);
  --max-width: 1200px;
}

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===== Container ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-dark);
  padding: 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
}

.site-header .container {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img { display: block; height: 40px; width: auto; }
.logo-icon { font-size: 1.6rem; }
.logo-text { font-size: 1.4rem; font-weight: 700; color: #fff; }
.logo-text strong { color: var(--primary); }

.main-nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.main-nav a {
  color: #94a3b8;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.main-nav a:hover {
  color: #fff;
  background: rgba(255,255,255,0.08);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #fff;
  margin-left: auto;
  padding: 8px;
}

/* ===== Hero ===== */
.hero {
  background: var(--bg-dark);
  padding: 80px 0 96px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(249,115,22,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  color: #fff;
  letter-spacing: -0.02em;
}

.hero h1 span {
  color: var(--primary);
  position: relative;
}

.hero p {
  font-size: 1.15rem;
  color: #94a3b8;
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-badges {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.badge {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: #cbd5e1;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 20px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(249,115,22,0.35);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.08);
}

/* ===== Featured Section ===== */
.featured {
  padding: 80px 0;
  background: var(--bg);
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-header a {
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 600;
}

.section-header a:hover { text-decoration: underline; }

/* ===== Bento Grid ===== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 20px;
}

.bento-grid .card:first-child {
  grid-column: span 2;
}

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

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

.card-img {
  background: linear-gradient(135deg, #fff7ed, #fed7aa);
  font-size: 3rem;
  text-align: center;
  padding: 36px;
}

.bento-grid .card:first-child .card-img {
  padding: 48px;
  font-size: 4rem;
}

.card-body {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.card-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.card-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}

.bento-grid .card:first-child .card-body h3 {
  font-size: 1.3rem;
}

.card-body p {
  color: var(--text-muted);
  font-size: 0.875rem;
  flex: 1;
  line-height: 1.6;
}

.card-cta {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ===== Stats Bar ===== */
.stats-bar {
  background: var(--bg-dark);
  padding: 40px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.85rem;
  color: #64748b;
}

/* ===== Why Us ===== */
.why-us {
  padding: 80px 0;
  background: var(--bg-alt);
}

.why-us h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 48px;
  text-align: center;
  letter-spacing: -0.02em;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all 0.2s;
}

.feature:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.feature-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 16px;
}

.feature h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature p {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.7;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--bg-dark);
  color: #94a3b8;
  padding: 64px 0 32px;
}

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

.footer-brand .logo-text {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  display: block;
  margin-bottom: 12px;
}

.footer-brand .logo-text strong { color: var(--primary); }
.footer-brand p { font-size: 0.875rem; line-height: 1.7; color: #64748b; }

.footer-links h4 {
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-links a {
  display: block;
  color: #64748b;
  font-size: 0.875rem;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-links a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p { font-size: 0.8rem; color: #475569; }
.footer-bottom .disclosure { font-size: 0.75rem; max-width: 500px; }
.footer-bottom a { color: #64748b; text-decoration: underline; }

/* ===== Page Hero ===== */
.page-hero {
  background: var(--bg-dark);
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -100%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(249,115,22,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero .breadcrumb {
  font-size: 0.8rem;
  color: #475569;
  margin-bottom: 16px;
}

.page-hero .breadcrumb a { color: var(--primary); }
.page-hero .breadcrumb a:hover { text-decoration: underline; }

.page-hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 16px;
  color: #fff;
  letter-spacing: -0.02em;
}

.page-hero .meta {
  display: flex;
  gap: 20px;
  font-size: 0.8rem;
  color: #475569;
  flex-wrap: wrap;
}

/* ===== Article ===== */
.article-body { padding: 56px 0; }

.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 56px;
  align-items: start;
}

.article-content h2 {
  font-size: 1.4rem;
  font-weight: 800;
  margin: 48px 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
  letter-spacing: -0.01em;
}

.article-content h2:first-child { margin-top: 0; }
.article-content p { margin-bottom: 16px; color: var(--text); line-height: 1.8; }

/* ===== Product Card ===== */
.product-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 24px;
  position: relative;
  transition: all 0.2s;
  background: var(--bg);
}

.product-card:hover {
  box-shadow: var(--shadow);
  border-color: #cbd5e1;
}

.product-card.top-pick {
  border-color: var(--primary);
  background: linear-gradient(to bottom right, #fff7ed, #ffffff);
}

.product-rank {
  position: absolute;
  top: -14px;
  left: 20px;
  background: var(--text);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 0.02em;
}

.product-card.top-pick .product-rank {
  background: var(--primary);
}

.product-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 12px;
}

.product-name {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.product-score {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 16px;
  text-align: center;
  white-space: nowrap;
  flex-shrink: 0;
}

.product-score .score-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
  line-height: 1;
}

.product-score .score-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-desc {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 0.925rem;
  line-height: 1.7;
}

.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.pros, .cons {
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}

.pros h4 {
  color: #16a34a;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cons h4 {
  color: #dc2626;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pros ul, .cons ul { list-style: none; font-size: 0.85rem; }
.pros li::before { content: "✓ "; color: #16a34a; font-weight: 700; }
.cons li::before { content: "✗ "; color: #dc2626; font-weight: 700; }
.pros li, .cons li { margin-bottom: 6px; line-height: 1.5; }

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.product-price {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
}

.btn-buy {
  background: var(--primary);
  color: #fff;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.875rem;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-buy:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(249,115,22,0.3);
}

/* ===== Sidebar ===== */
.sidebar { position: sticky; top: 80px; }

.sidebar-box {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
}

.sidebar-box h3 {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.toc-list { list-style: none; counter-reset: toc; }
.toc-list li { margin-bottom: 8px; counter-increment: toc; display: flex; align-items: center; gap: 8px; }
.toc-list li::before { content: counter(toc); background: var(--primary); color: #fff; font-size: 0.7rem; font-weight: 700; width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.toc-list a { color: var(--text); font-size: 0.875rem; transition: color 0.2s; }
.toc-list a:hover { color: var(--primary); }

/* ===== Static Pages ===== */
.static-page {
  padding: 72px 0;
  max-width: 760px;
  margin: 0 auto;
}

.static-page h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.static-page .updated {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.static-page h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 36px 0 12px;
  color: var(--text);
}

.static-page p { margin-bottom: 16px; line-height: 1.8; color: var(--text); }
.static-page ul { margin: 0 0 16px 24px; }
.static-page li { margin-bottom: 8px; line-height: 1.7; }
.static-page a { color: var(--primary); text-decoration: underline; }

/* ===== Disclosure box ===== */
.disclosure-box {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.8rem;
  color: #92400e;
  margin-bottom: 32px;
  line-height: 1.6;
}

.disclosure-box a { color: #c2410c; }

/* ===== Responsive — Tablet ===== */
@media (min-width: 769px) and (max-width: 1024px) {
  .container { padding: 0 32px; }
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-grid .card:first-child { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .article-layout { grid-template-columns: 1fr 260px; gap: 32px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .features-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ===== Responsive — Mobile ===== */
@media (max-width: 768px) {
  .site-header .container { height: 56px; }
  .logo img { height: 32px; }

  .main-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--bg-dark2);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 16px 24px;
    gap: 4px;
    z-index: 200;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 10px 12px; }
  .nav-toggle { display: block; }
  .site-header { position: relative; }

  .hero { padding: 48px 0 56px; }
  .hero h1 { font-size: 1.9rem; }
  .hero p { font-size: 1rem; }
  .hero-badges { gap: 8px; }

  .bento-grid { grid-template-columns: 1fr; }
  .bento-grid .card:first-child { grid-column: span 1; }

  .section-header { flex-direction: column; gap: 8px; }
  .featured, .why-us { padding: 56px 0; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }

  .features-grid { grid-template-columns: 1fr; gap: 16px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .article-layout { grid-template-columns: 1fr; gap: 32px; }
  .sidebar { position: static; }

  .product-header { flex-direction: column; }
  .product-score { align-self: flex-start; }
  .pros-cons { grid-template-columns: 1fr; }
  .product-footer { flex-direction: column; align-items: stretch; }
  .btn-buy { text-align: center; justify-content: center; }

  .page-hero { padding: 40px 0; }
  .page-hero .meta { flex-direction: column; gap: 4px; }

  .static-page { padding: 40px 0; }
  .static-page h1 { font-size: 1.7rem; }
}

/* ===== Responsive — Small Mobile ===== */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 1.6rem; }
  .btn { padding: 12px 20px; font-size: 0.9rem; }
  .product-card { padding: 20px 16px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-num { font-size: 1.6rem; }
}

/* ===== Responsive — Large Desktop ===== */
@media (min-width: 1400px) {
  :root { --max-width: 1320px; }
  .hero h1 { font-size: 4.2rem; }
  .bento-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ===== FAQ Section ===== */
.faq-section {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 2px solid var(--border);
}

.faq-section h2 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item h3 {
  font-size: 0.95rem;
  font-weight: 700;
  padding: 16px 20px;
  background: var(--bg-alt);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  border-bottom: none;
}

.faq-item h3::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--primary);
  font-weight: 400;
  flex-shrink: 0;
}

.faq-item p {
  padding: 16px 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
  border-top: 1px solid var(--border);
}

/* ===== Buy Guide ===== */
.buy-guide {
  margin-top: 40px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.buy-guide h2 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 20px;
  border-bottom: none;
  padding-bottom: 0;
  margin-top: 0;
}

.buy-guide ul {
  list-style: none;
  margin: 0;
}

.buy-guide li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  line-height: 1.6;
}

.buy-guide li:last-child { border-bottom: none; }
.buy-guide strong { color: var(--primary); }

/* ===== Author Bio ===== */
.author-bio {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-top: 48px;
  padding: 24px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
}

.author-info {
  flex: 1;
}

.author-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 2px;
}

.author-title {
  font-size: 0.8rem;
  color: var(--primary);
  margin-bottom: 8px;
  font-weight: 600;
}

.author-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}
