/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: #1a1a2e;
  background: #f8f9fa;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ===== VARIABLES ===== */
:root {
  --navy: #1a1a2e;
  --blue: #16213e;
  --orange: #e94f1b;
  --orange-light: #ff6b35;
  --gold: #f5a623;
  --white: #ffffff;
  --light: #f8f9fa;
  --gray: #6b7280;
  --border: #e5e7eb;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --radius: 12px;
}

/* ===== TOPBAR ===== */
.topbar {
  background: var(--navy);
  color: #ccc;
  font-size: 0.78rem;
  text-align: center;
  padding: 6px 20px;
}
.topbar span { color: var(--gold); font-weight: 600; }

/* ===== HEADER ===== */
header {
  background: var(--white);
  border-bottom: 3px solid var(--orange);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--orange);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.logo-text strong {
  display: block;
  font-size: 1.15rem;
  color: var(--navy);
  line-height: 1.1;
}
.logo-text span {
  font-size: 0.72rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

nav { display: flex; align-items: center; gap: 4px; }
nav a {
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
nav a:hover { background: var(--light); color: var(--orange); }
nav a.active { color: var(--orange); }

.nav-cta {
  background: var(--orange) !important;
  color: var(--white) !important;
  padding: 8px 18px !important;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--orange-light) !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: 0.3s; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0f3460 60%, #162447 100%);
  color: var(--white);
  padding: 80px 20px 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(233,79,27,0.2);
  border: 1px solid rgba(233,79,27,0.4);
  color: #ff9f7a;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
}
.hero h1 span { color: var(--orange-light); }
.hero p {
  font-size: 1.05rem;
  color: #a8b4c8;
  margin-bottom: 32px;
  max-width: 480px;
}
.hero-stats {
  display: flex;
  gap: 28px;
  margin-bottom: 36px;
}
.stat { text-align: center; }
.stat strong { display: block; font-size: 1.6rem; font-weight: 800; color: var(--gold); }
.stat span { font-size: 0.78rem; color: #8899aa; text-transform: uppercase; letter-spacing: 0.05em; }
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.2s;
  cursor: pointer;
}
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-light); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(233,79,27,0.3); }
.btn-secondary { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.3); }
.btn-secondary:hover { background: rgba(255,255,255,0.1); }

.hero-visual {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 32px;
  backdrop-filter: blur(10px);
}
.featured-card-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 16px;
}
.featured-product {
  background: rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
}
.product-img-placeholder {
  height: 140px;
  background: linear-gradient(135deg, #2a3f5f, #1e2d4a);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  margin-bottom: 16px;
}
.featured-product h3 { font-size: 1.05rem; margin-bottom: 8px; }
.rating { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.stars { color: var(--gold); font-size: 0.9rem; }
.rating-num { font-size: 0.85rem; color: #a0aec0; }
.verdict-badge {
  background: rgba(245,166,35,0.15);
  color: var(--gold);
  border: 1px solid rgba(245,166,35,0.3);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.mini-list { display: flex; flex-direction: column; gap: 10px; }
.mini-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.88rem;
}
.mini-rank {
  background: var(--orange);
  color: var(--white);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}
.mini-item span:last-child { color: var(--gold); font-size: 0.8rem; margin-left: auto; }

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 20px;
}
.trust-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
}
.trust-icon { font-size: 1.3rem; }
.trust-item strong { font-size: 0.95rem; color: var(--navy); }
.trust-item span { color: var(--gray); font-size: 0.8rem; }

/* ===== SECTION BASE ===== */
.section { padding: 70px 20px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-header { margin-bottom: 40px; }
.section-header h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.section-header p { color: var(--gray); font-size: 0.95rem; }
.section-header .eyebrow {
  display: inline-block;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.section-flex { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; flex-wrap: wrap; gap: 12px; }
.see-all {
  color: var(--orange);
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}
.see-all:hover { gap: 8px; }

/* ===== CATEGORIES ===== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.category-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 2px solid transparent;
  box-shadow: var(--shadow);
  transition: all 0.25s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.category-card:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}
.cat-icon {
  width: 52px;
  height: 52px;
  background: rgba(233,79,27,0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}
.category-card h3 { font-size: 1rem; font-weight: 700; color: var(--navy); }
.category-card p { font-size: 0.82rem; color: var(--gray); line-height: 1.5; }
.cat-count {
  font-size: 0.78rem;
  color: var(--orange);
  font-weight: 600;
  margin-top: auto;
}

/* ===== REVIEW CARDS ===== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.review-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}
.review-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.12); }
.card-img {
  height: 180px;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
}
.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--orange);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.card-badge.best { background: var(--gold); color: var(--navy); }
.card-badge.new { background: #22c55e; }
.card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.card-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange);
  margin-bottom: 8px;
}
.card-body h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; line-height: 1.3; }
.card-body p { font-size: 0.85rem; color: var(--gray); margin-bottom: 16px; flex: 1; }
.card-meta { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--border); }
.card-rating { display: flex; align-items: center; gap: 6px; }
.card-rating .stars { font-size: 0.85rem; }
.card-rating span { font-size: 0.82rem; color: var(--gray); }
.read-more {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--orange);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}
.read-more:hover { gap: 8px; }

/* ===== FEATURED GUIDE ===== */
.featured-guide {
  background: linear-gradient(135deg, var(--navy), #0f3460);
  color: var(--white);
  border-radius: 20px;
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.guide-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(233,79,27,0.2);
  color: #ff9f7a;
  border: 1px solid rgba(233,79,27,0.3);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}
.featured-guide h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 16px; line-height: 1.2; }
.featured-guide h2 span { color: var(--orange-light); }
.featured-guide p { color: #a8b4c8; margin-bottom: 28px; font-size: 0.95rem; }
.guide-checklist { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.check-item { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; }
.check-item::before { content: '✓'; color: #22c55e; font-weight: 700; flex-shrink: 0; }
.guide-visual {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 32px;
}
.guide-visual-inner { display: flex; flex-direction: column; gap: 12px; }
.guide-metric {
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.metric-label { font-size: 0.85rem; color: #8899aa; }
.metric-value { font-size: 1.1rem; font-weight: 700; color: var(--gold); }
.guide-overall {
  background: rgba(233,79,27,0.1);
  border: 1px solid rgba(233,79,27,0.2);
  border-radius: 10px;
  padding: 16px 20px;
  text-align: center;
  margin-top: 8px;
}
.guide-overall .big-score { font-size: 2.5rem; font-weight: 900; color: var(--orange-light); }
.guide-overall p { font-size: 0.8rem; color: #a8b4c8; margin: 0; }

/* ===== HOW WE TEST ===== */
.how-we-test { background: var(--white); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.process-step {
  text-align: center;
  padding: 32px 24px;
  background: var(--light);
  border-radius: var(--radius);
  position: relative;
}
.step-num {
  width: 40px;
  height: 40px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  margin: 0 auto 16px;
}
.step-icon { font-size: 2rem; margin-bottom: 12px; }
.process-step h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.process-step p { font-size: 0.85rem; color: var(--gray); }

/* ===== COMPARISON TABLE ===== */
.comparison-wrap { overflow-x: auto; }
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  font-size: 0.88rem;
}
.comparison-table th {
  background: var(--navy);
  color: var(--white);
  padding: 16px 20px;
  text-align: left;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.comparison-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--navy);
}
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:hover td { background: rgba(233,79,27,0.03); }
.comparison-table tr.top-pick td:first-child { border-left: 3px solid var(--orange); }
.score-cell { font-weight: 700; color: var(--orange); }
.tag { display: inline-block; background: rgba(233,79,27,0.1); color: var(--orange); padding: 2px 8px; border-radius: 4px; font-size: 0.75rem; font-weight: 600; }
.tag.gold { background: rgba(245,166,35,0.1); color: var(--gold); }

/* ===== BUYING GUIDE TIPS ===== */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.tip-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--orange);
}
.tip-card h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.tip-card p { font-size: 0.85rem; color: var(--gray); line-height: 1.6; }

/* ===== NEWSLETTER ===== */
.newsletter {
  background: linear-gradient(135deg, var(--orange) 0%, #c73d0e 100%);
  padding: 60px 20px;
  text-align: center;
  color: var(--white);
}
.newsletter h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin-bottom: 10px; }
.newsletter p { opacity: 0.9; margin-bottom: 28px; font-size: 0.95rem; }
.newsletter-form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  gap: 0;
}
.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  border: none;
  border-radius: 8px 0 0 8px;
  font-size: 0.95rem;
  outline: none;
}
.newsletter-form button {
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 14px 24px;
  border-radius: 0 8px 8px 0;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s;
}
.newsletter-form button:hover { background: #0f2240; }

/* ===== FOOTER ===== */
footer {
  background: var(--navy);
  color: #a0aec0;
  padding: 60px 20px 30px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p { font-size: 0.88rem; margin: 14px 0 20px; line-height: 1.7; }
.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-logo .logo-icon { width: 38px; height: 38px; font-size: 1.2rem; }
.footer-logo .logo-text strong { color: var(--white); }
.footer-logo .logo-text span { color: #6b7280; }
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background 0.2s;
}
.social-link:hover { background: var(--orange); }
.footer-col h4 { color: var(--white); font-size: 0.9rem; font-weight: 700; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.06em; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a { font-size: 0.85rem; color: #6b7280; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
}
.footer-bottom a { color: #6b7280; }
.footer-bottom a:hover { color: var(--orange); }
.disclosure {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 0.78rem;
  line-height: 1.6;
  margin-bottom: 24px;
  color: #6b7280;
}
.disclosure strong { color: #a0aec0; }

/* ===== MOBILE NAV ===== */
.mobile-nav {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 16px;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav a {
  display: block;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 0.95rem;
  color: var(--navy);
  font-weight: 500;
}
.mobile-nav a:hover { background: var(--light); color: var(--orange); }
.mobile-nav.open { display: flex; }

/* ===== BREADCRUMB ===== */
.breadcrumb,
.breadcrumb-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 10px 20px;
  font-size: 0.8rem;
  color: var(--gray);
}
.breadcrumb-inner { max-width: 1200px; margin: 0 auto; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.breadcrumb a,
.breadcrumb-bar a { color: var(--orange); }
.breadcrumb span,
.breadcrumb-bar span { color: var(--gray); }
.breadcrumb-bar .sep { color: var(--border); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .featured-guide { grid-template-columns: 1fr; padding: 40px 28px; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  nav { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 600px) {
  .hero { padding: 50px 16px 40px; }
  .hero-stats { gap: 20px; }
  .section { padding: 50px 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; border-radius: 8px; }
  .newsletter-form input { border-radius: 8px; margin-bottom: 8px; }
  .newsletter-form button { border-radius: 8px; }
  .trust-bar-inner { gap: 24px; justify-content: flex-start; }
}
