/* ============================================
   Top10SitesReview.com — Global Stylesheet
   Based on February 2026 Wireframe
   ============================================ */

:root {
  --navy: #0B1D3A;
  --navy-light: #132D54;
  --gold: #D4A843;
  --gold-light: #F5E6C4;
  --white: #FFFFFF;
  --off-white: #F8F9FB;
  --light-gray: #F4F5F7;
  --mid-gray: #6B7280;
  --border: #E5E7EB;
  --dark-text: #1A1A2E;
  --success: #16A34A;
  --error: #DC2626;
  --serif: 'Sora', -apple-system, sans-serif;
  --sans: 'Outfit', -apple-system, sans-serif;
  --mono: 'Space Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--sans); color: var(--dark-text); background: var(--white); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

/* Accessibility: Hide visually but keep for screen readers */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== HEADER / NAV ===== */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 40px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 8px rgba(11,29,58,0.04);
}
.logo {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--navy);
  display: flex;
  align-items: baseline;
  gap: 0;
  text-decoration: none;
}
.logo .top { font-weight: 400; }
.logo .ten { color: var(--gold); font-weight: 400; }
.logo .rest { font-weight: 400; font-size: 16px; color: var(--mid-gray); letter-spacing: 0.5px; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark-text);
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: color 0.2s;
}
.nav a:hover, .nav a.active { color: var(--gold); }

/* Mobile menu */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--navy);
}

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 0;
  min-width: 260px;
  box-shadow: 0 8px 30px rgba(11,29,58,0.12);
  z-index: 1001;
}
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--dark-text);
  transition: all 0.15s;
}
.dropdown-menu a:hover {
  background: var(--light-gray);
  color: var(--gold);
}
.dropdown-menu .divider {
  height: 1px;
  background: var(--border);
  margin: 8px 0;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 60%, #1a3a6a 100%);
  padding: 80px 40px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212,168,67,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.hero h1 {
  font-family: var(--serif);
  font-size: 48px;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.15;
  position: relative;
}
.hero h1 span { color: var(--gold); }
.hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.6;
  position: relative;
}
.hero-sm { padding: 50px 40px 40px; }
.hero-sm h1 { font-size: 36px; margin-bottom: 12px; }
.hero-sm p { margin-bottom: 0; }

/* Category Quick-Nav */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}
.cat-chip {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 16px 14px;
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s;
  backdrop-filter: blur(4px);
  text-decoration: none;
  display: block;
}
.cat-chip:hover {
  background: rgba(212,168,67,0.15);
  border-color: var(--gold);
  transform: translateY(-2px);
}
.cat-chip .icon { font-size: 24px; display: block; margin-bottom: 8px; }

/* ===== SECTION WRAPPER ===== */
.section {
  padding: 60px 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.section-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.section-title {
  font-family: var(--serif);
  font-size: 32px;
  color: var(--navy);
  margin-bottom: 32px;
}

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--off-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}
.trust-item .num {
  font-family: var(--serif);
  font-size: 36px;
  color: var(--navy);
  margin-bottom: 4px;
}
.trust-item .label {
  font-size: 14px;
  color: var(--mid-gray);
  font-weight: 600;
}

/* ===== CARD GRID ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
a.card, .card {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s;
  background: var(--white);
  text-decoration: none;
  display: block;
  color: inherit;
}
a.card:hover, .card:hover {
  box-shadow: 0 8px 30px rgba(11,29,58,0.1);
  transform: translateY(-4px);
}
.card-badge {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.card-badge.gold { background: var(--gold); color: var(--navy); }
.card-badge.vs { background: var(--navy-light); }
.card-cat {
  display: inline-block;
  font-size: 13px;
  color: var(--mid-gray);
  margin-bottom: 10px;
}
.card-body { padding: 24px; }
.card-body h3 {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 8px;
}
.card-body .meta {
  font-size: 13px;
  color: var(--mid-gray);
  margin-bottom: 12px;
}
.card-stars { color: var(--gold); font-size: 14px; letter-spacing: 1px; }
.card-cta {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
  transition: color 0.2s;
}
a.card:hover .card-cta { color: var(--gold); }

/* ===== VERDICT BOX ===== */
.verdict-box {
  background: linear-gradient(135deg, #0d2240, #163564);
  border-radius: 12px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}
.verdict-left { display: flex; align-items: center; gap: 20px; }
.verdict-rank {
  width: 56px;
  height: 56px;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--serif);
  font-size: 28px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}
.verdict-box .verdict-info h3 { font-family: var(--serif); color: var(--white); font-size: 22px; margin-bottom: 4px; }
.verdict-box .verdict-info p { color: rgba(255,255,255,0.65); font-size: 14px; }
.verdict-box .verdict-info .verdict-stars { color: var(--gold); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 28px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--sans);
  transition: all 0.2s;
  text-decoration: none;
  text-align: center;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy);
}
.btn-gold:hover { background: #c49a38; transform: scale(1.03); }
.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy-light); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-sm { padding: 8px 20px; font-size: 13px; }

/* ===== COMPARISON TABLE ===== */
.comp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 32px;
}
.comp-table thead th {
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  padding: 14px 16px;
  text-align: left;
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.comp-table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.comp-table tbody tr:nth-child(even) { background: var(--light-gray); }
.comp-table tbody tr:hover { background: var(--gold-light); }
.comp-table .rank-cell {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--navy);
  font-weight: 700;
  text-align: center;
  width: 50px;
}
.comp-table .name-cell { font-weight: 700; color: var(--navy); }
.comp-table .price-cell { font-family: var(--mono); font-size: 13px; color: var(--dark-text); }
.comp-table .rating-cell { color: var(--gold); }
.comp-table .visit-btn {
  background: var(--navy);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s;
}
.comp-table .visit-btn:hover { background: var(--gold); color: var(--navy); }

/* ===== REVIEW ARTICLE STYLES ===== */
.article-content {
  max-width: 900px;
  margin: 0 auto;
}
.article-content h2 {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--navy);
  margin: 48px 0 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.article-content h2:first-child { border-top: none; margin-top: 0; }
.article-content h3 {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--navy);
  margin: 32px 0 12px;
}
.article-content h4 {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--navy);
  margin: 24px 0 8px;
}
.article-content p {
  font-size: 16px;
  color: var(--dark-text);
  margin-bottom: 16px;
  line-height: 1.7;
}
.article-content ul, .article-content ol {
  margin: 0 0 16px 24px;
  font-size: 16px;
  line-height: 1.7;
}
.article-content li { margin-bottom: 6px; }
.article-content strong { color: var(--navy); }

/* Review Item Card */
.review-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 32px;
  transition: box-shadow 0.3s;
}
.review-item:hover { box-shadow: 0 4px 20px rgba(11,29,58,0.08); }
.review-item-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.review-item-rank {
  width: 44px;
  height: 44px;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.review-item-rank.top { background: var(--gold); color: var(--navy); }
.review-item-title {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--navy);
}
.review-item-subtitle {
  font-size: 14px;
  color: var(--mid-gray);
}

/* Pros/Cons */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 20px 0;
}
.pros-cons h4 {
  font-family: var(--serif);
  font-size: 16px;
  margin-bottom: 8px;
}
.pros h4 { color: var(--success); }
.cons h4 { color: var(--error); }
.pros ul, .cons ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.pros li, .cons li {
  padding: 6px 0;
  font-size: 14px;
  padding-left: 22px;
  position: relative;
}
.pros li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}
.cons li::before {
  content: '✗';
  position: absolute;
  left: 0;
  color: var(--error);
  font-weight: 700;
}

/* Pricing Table (inline) */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 16px 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.pricing-table th {
  background: var(--light-gray);
  padding: 10px 14px;
  text-align: left;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--navy);
}
.pricing-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
}
.pricing-table tr:last-child td { border-bottom: none; }

/* Feature tag */
.tag {
  display: inline-block;
  background: var(--gold-light);
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
  margin: 2px 4px 2px 0;
}

/* Best For box */
.best-for {
  background: var(--light-gray);
  border-left: 3px solid var(--gold);
  padding: 16px 20px;
  margin: 16px 0;
  border-radius: 0 8px 8px 0;
  font-size: 15px;
}
.best-for strong { color: var(--navy); }

/* ===== FAQ SECTION ===== */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.faq-item h3 {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 8px;
}
.faq-item p {
  font-size: 15px;
  color: var(--dark-text);
  line-height: 1.7;
}

/* ===== METHODOLOGY BOX ===== */
.methodology-box {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  margin: 32px 0;
}
.methodology-box h3 {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 16px;
}
.methodology-box ol {
  margin: 0 0 0 20px;
}
.methodology-box li {
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.6;
}

/* ===== NEWSLETTER CTA ===== */
.newsletter {
  background: var(--navy);
  padding: 60px 40px;
  text-align: center;
}
.newsletter h2 {
  font-family: var(--serif);
  color: var(--white);
  font-size: 30px;
  margin-bottom: 10px;
}
.newsletter p {
  color: rgba(255,255,255,0.6);
  font-size: 16px;
  margin-bottom: 28px;
}
.newsletter-form {
  display: flex;
  justify-content: center;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto;
}
.newsletter-form input {
  flex: 1;
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-size: 14px;
  font-family: var(--sans);
  outline: none;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form input:focus { border-color: var(--gold); }
.newsletter-form button {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
  padding: 14px 28px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--sans);
  transition: background 0.2s;
  white-space: nowrap;
}
.newsletter-form button:hover { background: #c49a38; }

/* ===== FOOTER ===== */
.footer {
  background: #070F1D;
  color: rgba(255,255,255,0.5);
  padding: 60px 40px 40px;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo { font-size: 20px; margin-bottom: 12px; display: inline-flex; }
.footer-brand p { font-size: 13px; line-height: 1.7; max-width: 280px; }
.footer-col h4 {
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 13px;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}
.affiliate-disc {
  background: rgba(212,168,67,0.08);
  border: 1px solid rgba(212,168,67,0.2);
  border-radius: 6px;
  padding: 10px 16px;
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  max-width: 1200px;
  margin: 0 auto 30px;
  text-align: center;
}
.affiliate-disc a { color: var(--gold); }

/* ===== CONTENT PAGES (About, Contact) ===== */
.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 40px;
}
.page-content h2 {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--navy);
  margin: 40px 0 16px;
}
.page-content p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--dark-text);
  margin-bottom: 16px;
}
.page-content ul {
  margin: 0 0 16px 24px;
  font-size: 16px;
  line-height: 1.7;
}
.page-content li { margin-bottom: 8px; }

/* Contact form */
.contact-box {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  margin-top: 32px;
}
.contact-box h3 {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 12px;
}
.contact-box a {
  color: var(--gold);
  font-weight: 700;
  font-size: 20px;
  display: inline-block;
  margin-top: 8px;
}
.contact-box a:hover { text-decoration: underline; }

/* ===== HEAD-TO-HEAD COMPARISON ===== */
.h2h-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 24px 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.h2h-table th {
  background: var(--navy);
  color: var(--white);
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
}
.h2h-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.h2h-table tbody tr:nth-child(even) { background: var(--light-gray); }
.h2h-table tbody tr:hover { background: var(--gold-light); }
.h2h-table .winner { color: var(--gold); font-weight: 700; }

/* Quick answer boxes */
.quick-pick {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 16px;
}
.quick-pick h4 {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 8px;
}
.quick-pick p { font-size: 15px; margin: 0; }

/* Affiliate disclosure banner */
.aff-banner {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 13px;
  color: var(--mid-gray);
  margin-bottom: 32px;
  text-align: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: 1fr; }
  .trust-inner { grid-template-columns: 1fr; gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .hero-sm h1 { font-size: 28px; }
  .verdict-box { flex-direction: column; gap: 16px; text-align: center; }
  .verdict-left { flex-direction: column; }
  .newsletter-form { flex-direction: column; }
  .header { padding: 0 20px; }
  .section { padding: 40px 20px; }
  .page-content { padding: 40px 20px; }
  .comp-table { font-size: 12px; }
  .comp-table thead th, .comp-table tbody td { padding: 10px 8px; }
  .pros-cons { grid-template-columns: 1fr; }
  .review-item { padding: 20px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .nav { display: none; }
  .mobile-toggle { display: block; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 30px rgba(11,29,58,0.1);
  }
  .h2h-table { font-size: 12px; }
  .h2h-table th, .h2h-table td { padding: 8px 10px; }
}
