:root {
  --gold: #f7e28d;
  --gold-dark: #e8c84a;
  --gold-light: #fdf3c0;
  --navy: #0d1b2a;
  --navy-mid: #1a2f47;
  --slate: #2e4057;
  --text: #1a1a2e;
  --muted: #5a6a7a;
  --bg: #ffffff;
  --bg-soft: #f9f9f7;
  --border: #e5e7eb;
  --radius: 8px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
}

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

/* ── TOP BAR ── */
.topbar {
  background: var(--navy);
  color: var(--gold);
  font-size: 12px;
  text-align: center;
  padding: 6px 16px;
  letter-spacing: 0.04em;
}

/* ── HEADER ── */
header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
  overflow: visible;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  overflow: visible;
}
.logo { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-family: var(--font-display); font-size: 26px; font-weight: 900; color: var(--gold); letter-spacing: -0.5px; }
.logo-tagline { font-size: 10px; color: rgba(247,226,141,0.65); letter-spacing: 0.12em; text-transform: uppercase; margin-top: 2px; }

nav { display: flex; align-items: center; gap: 2px; overflow: visible; position: relative; }
nav a { color: rgba(255,255,255,0.85); font-size: 13.5px; font-weight: 500; padding: 8px 11px; border-radius: var(--radius); transition: background 0.2s, color 0.2s; white-space: nowrap; }
nav a:hover, nav a.active { background: rgba(247,226,141,0.12); color: var(--gold); }

.nav-more { position: relative; }
.nav-more > a::after { content: ' ▾'; font-size: 10px; }
.nav-more:hover .dropdown { display: block; }
.dropdown { display: none; position: absolute; top: 100%; left: 0; background: var(--navy-mid); border: 1px solid rgba(247,226,141,0.15); border-radius: var(--radius); min-width: 200px; overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,0.3); z-index: 999; }
.dropdown a { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 0; font-size: 13px; border-bottom: 1px solid rgba(255,255,255,0.05); color: rgba(255,255,255,0.85); text-decoration: none; }
.dropdown a:last-child { border-bottom: none; }
.dropdown a:hover { background: rgba(247,226,141,0.1); color: var(--gold); }

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

/* ── BUTTONS ── */
.btn-primary { background: var(--gold); color: var(--navy); font-weight: 700; font-size: 14px; padding: 12px 28px; border-radius: var(--radius); border: none; cursor: pointer; transition: background 0.2s, transform 0.15s; letter-spacing: 0.02em; display: inline-block; }
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--gold); border: 1.5px solid rgba(247,226,141,0.45); font-size: 14px; font-weight: 600; padding: 12px 28px; border-radius: var(--radius); cursor: pointer; transition: border-color 0.2s, background 0.2s; display: inline-block; }
.btn-outline:hover { background: rgba(247,226,141,0.08); border-color: var(--gold); }
.btn-sm { padding: 8px 18px; font-size: 13px; }

/* ── PAGE HERO ── */
.page-hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, var(--slate) 100%); padding: 48px 20px 40px; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(247,226,141,0.10) 0%, transparent 70%); pointer-events: none; }
.page-hero-inner { max-width: 1200px; margin: 0 auto; position: relative; }
.page-hero-badge { display: inline-block; background: rgba(247,226,141,0.15); border: 1px solid rgba(247,226,141,0.35); color: var(--gold); font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 12px; border-radius: 20px; margin-bottom: 14px; }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(28px, 4vw, 44px); font-weight: 900; color: #fff; line-height: 1.2; margin-bottom: 12px; }
.page-hero h1 em { color: var(--gold); font-style: normal; }
.page-hero p { color: rgba(255,255,255,0.72); font-size: 16px; max-width: 580px; }

/* ── BREADCRUMB ── */
.breadcrumb { background: var(--bg-soft); border-bottom: 1px solid var(--border); padding: 10px 20px; font-size: 12px; color: var(--muted); }
.breadcrumb a { color: var(--navy-mid); }
.breadcrumb a:hover { color: var(--gold-dark); }
.breadcrumb span { margin: 0 6px; }

/* ── MAIN LAYOUT ── */
.main-wrap { max-width: 1200px; margin: 0 auto; padding: 40px 20px; display: grid; grid-template-columns: 1fr 300px; gap: 40px; }
.main-wrap.full { grid-template-columns: 1fr; }

/* ── SECTION HEADERS ── */
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid var(--gold); }
.section-title { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--navy); }
.section-link { font-size: 13px; font-weight: 600; color: var(--navy-mid); border-bottom: 1px solid var(--gold-dark); padding-bottom: 1px; transition: color 0.2s; }
.section-link:hover { color: var(--gold-dark); }

/* ── FEATURED CARD ── */
.featured-card { background: var(--navy); border-radius: 12px; overflow: hidden; margin-bottom: 32px; display: grid; grid-template-columns: 1fr 1fr; min-height: 260px; }
.featured-card-img { background: linear-gradient(135deg, var(--navy-mid), var(--slate)); display: flex; align-items: center; justify-content: center; font-size: 72px; padding: 32px; }
.featured-card-body { padding: 32px 28px; display: flex; flex-direction: column; justify-content: center; }
.featured-label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.featured-card-body h2 { font-family: var(--font-display); font-size: 21px; color: #fff; line-height: 1.3; margin-bottom: 12px; }
.featured-card-body p { font-size: 14px; color: rgba(255,255,255,0.65); margin-bottom: 20px; line-height: 1.6; }
.card-meta { font-size: 12px; color: rgba(255,255,255,0.45); }

/* ── ARTICLE GRID ── */
.article-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 32px; }
.article-grid-3 { grid-template-columns: repeat(3, 1fr); }
.article-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: box-shadow 0.2s, transform 0.15s; cursor: pointer; }
.article-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.09); transform: translateY(-2px); }
.article-card-img { background: linear-gradient(135deg, var(--gold-light), var(--gold)); height: 120px; display: flex; align-items: center; justify-content: center; font-size: 40px; }
.article-card-body { padding: 16px; }
.article-tag { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy-mid); background: var(--gold-light); padding: 2px 8px; border-radius: 4px; display: inline-block; margin-bottom: 8px; }
.article-card h3 { font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--text); margin-bottom: 8px; }
.article-card-meta { font-size: 11px; color: var(--muted); }

/* ── COMPARISON TABLE ── */
.compare-table { width: 100%; border-collapse: collapse; margin-bottom: 32px; font-size: 14px; }
.compare-table th { background: var(--navy); color: var(--gold); padding: 12px 16px; text-align: left; font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; }
.compare-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
.compare-table tr:nth-child(even) td { background: var(--bg-soft); }
.compare-table tr:hover td { background: var(--gold-light); }
.compare-table .best-badge { background: var(--gold); color: var(--navy); font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 4px; text-transform: uppercase; letter-spacing: 0.05em; }
.compare-table .rating { color: var(--gold-dark); font-weight: 700; }
.compare-table .apply-btn { background: var(--navy); color: var(--gold); font-size: 12px; font-weight: 600; padding: 6px 14px; border-radius: 6px; display: inline-block; transition: background 0.2s; }
.compare-table .apply-btn:hover { background: var(--navy-mid); }

/* ── PROS CONS ── */
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 24px; }
.pros, .cons { padding: 16px; border-radius: var(--radius); }
.pros { background: #f0fdf4; border: 1px solid #86efac; }
.cons { background: #fff7f7; border: 1px solid #fca5a5; }
.pros h4 { color: #166534; font-size: 13px; font-weight: 700; margin-bottom: 10px; }
.cons h4 { color: #991b1b; font-size: 13px; font-weight: 700; margin-bottom: 10px; }
.pros ul, .cons ul { list-style: none; }
.pros ul li, .cons ul li { font-size: 13px; padding: 4px 0; padding-left: 18px; position: relative; }
.pros ul li::before { content: '✓'; position: absolute; left: 0; color: #16a34a; font-weight: 700; }
.cons ul li::before { content: '✗'; position: absolute; left: 0; color: #dc2626; font-weight: 700; }

/* ── CALLOUT BOX ── */
.callout { background: var(--gold-light); border-left: 4px solid var(--gold-dark); border-radius: 0 var(--radius) var(--radius) 0; padding: 16px 20px; margin-bottom: 24px; font-size: 14px; }
.callout strong { color: var(--navy); }

/* ── SIDEBAR ── */
.sidebar-widget { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 24px; }
.widget-header { background: var(--navy); color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 10px 16px; }
.widget-body { padding: 16px; }
.sidebar-ad .ad-slot { height: 250px; border-radius: 0; border: none; }
.popular-list { list-style: none; }
.popular-list li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); align-items: flex-start; }
.popular-list li:last-child { border-bottom: none; }
.popular-num { font-family: var(--font-display); font-size: 20px; font-weight: 900; color: var(--gold-dark); min-width: 28px; line-height: 1; }
.popular-title { font-size: 13px; font-weight: 500; color: var(--text); line-height: 1.4; }
.newsletter-widget { background: var(--navy); border-radius: var(--radius); padding: 20px; margin-bottom: 24px; text-align: center; }
.newsletter-widget h4 { font-family: var(--font-display); color: var(--gold); font-size: 17px; margin-bottom: 8px; }
.newsletter-widget p { color: rgba(255,255,255,0.65); font-size: 13px; margin-bottom: 14px; }
.newsletter-input { width: 100%; padding: 9px 12px; border-radius: 6px; border: none; font-size: 13px; margin-bottom: 10px; }
.newsletter-btn { width: 100%; background: var(--gold); color: var(--navy); border: none; padding: 10px; border-radius: 6px; font-weight: 700; font-size: 13px; cursor: pointer; transition: background 0.2s; }
.newsletter-btn:hover { background: var(--gold-dark); }

/* ── AD SLOT ── */
.ad-slot { background: var(--bg-soft); border: 2px dashed var(--border); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--muted); font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; }

/* ── STATS BAR ── */
.stats-bar { background: var(--gold-light); border-top: 2px solid var(--gold); border-bottom: 2px solid var(--gold); }
.stats-inner { max-width: 1200px; margin: 0 auto; padding: 18px 20px; display: flex; justify-content: space-around; flex-wrap: wrap; gap: 16px; }
.stat { text-align: center; }
.stat-number { font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--navy); }
.stat-label { font-size: 12px; color: var(--muted); letter-spacing: 0.03em; margin-top: 2px; }

/* ── TOOLS SECTION ── */
.tools-section { background: var(--gold-light); border-top: 2px solid var(--gold); border-bottom: 2px solid var(--gold); padding: 48px 20px; }
.tools-inner { max-width: 1200px; margin: 0 auto; }
.tools-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; margin-top: 24px; }
.tool-card { background: #fff; border: 1px solid var(--gold); border-radius: var(--radius); padding: 20px 16px; text-align: center; cursor: pointer; transition: box-shadow 0.2s, transform 0.15s; }
.tool-card:hover { box-shadow: 0 6px 18px rgba(232,200,74,0.25); transform: translateY(-2px); }
.tool-icon { font-size: 32px; margin-bottom: 10px; }
.tool-name { font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.tool-desc { font-size: 12px; color: var(--muted); }

/* ── CATEGORY PILLS ── */
.category-section { padding: 40px 20px; max-width: 1200px; margin: 0 auto; }
.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; margin-top: 20px; }
.category-pill { background: var(--bg-soft); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 16px 12px; text-align: center; cursor: pointer; transition: border-color 0.2s, background 0.2s, transform 0.15s; }
.category-pill:hover { border-color: var(--gold-dark); background: var(--gold-light); transform: translateY(-2px); }
.cat-icon { font-size: 28px; margin-bottom: 6px; }
.cat-name { font-size: 13px; font-weight: 600; color: var(--navy); }

/* ── LEGAL PAGES ── */
.legal-wrap { max-width: 820px; margin: 48px auto; padding: 0 20px 60px; }
.legal-wrap h1 { font-family: var(--font-display); font-size: 36px; font-weight: 900; color: var(--navy); margin-bottom: 8px; }
.legal-wrap .updated { font-size: 13px; color: var(--muted); margin-bottom: 32px; }
.legal-wrap h2 { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--navy); margin: 32px 0 12px; }
.legal-wrap p { font-size: 15px; line-height: 1.8; color: #333; margin-bottom: 16px; }
.legal-wrap ul { padding-left: 20px; margin-bottom: 16px; }
.legal-wrap ul li { font-size: 15px; line-height: 1.8; color: #333; margin-bottom: 6px; }
.legal-wrap a { color: var(--navy-mid); border-bottom: 1px solid var(--gold-dark); }

/* ── CONTACT FORM ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 1000px; margin: 48px auto; padding: 0 20px 60px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 10px 14px; border: 1.5px solid var(--border); border-radius: var(--radius); font-size: 14px; font-family: var(--font-body); color: var(--text); background: var(--bg); transition: border-color 0.2s; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--gold-dark); }
.form-group textarea { height: 120px; resize: vertical; }
.contact-info-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 24px; }
.contact-info-icon { font-size: 24px; margin-top: 2px; }
.contact-info-item h4 { font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.contact-info-item p { font-size: 13px; color: var(--muted); }

/* ── FOOTER ── */
footer { background: var(--navy); color: rgba(255,255,255,0.7); margin-top: 60px; }
.footer-top { max-width: 1200px; margin: 0 auto; padding: 48px 20px 32px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand .logo-name { font-size: 22px; margin-bottom: 10px; display: block; }
.footer-brand p { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,0.55); max-width: 260px; }
.footer-col h5 { color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 13px; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 18px 20px; max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.4); }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a { font-size: 12px; color: rgba(255,255,255,0.4); transition: color 0.2s; }
.footer-legal a:hover { color: var(--gold); }

/* ── DISCLAIMER ── */
.disclaimer { background: #f1f3f5; border-top: 1px solid var(--border); padding: 16px 20px; text-align: center; font-size: 11px; color: #888; line-height: 1.6; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .main-wrap { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .article-grid-3 { grid-template-columns: repeat(2,1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  nav { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 640px) {
  .featured-card { grid-template-columns: 1fr; }
  .featured-card-img { height: 130px; }
  .article-grid { grid-template-columns: 1fr; }
  .article-grid-3 { grid-template-columns: 1fr; }
  .pros-cons { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .page-hero h1 { font-size: 26px; }
  .compare-table { font-size: 12px; }
}
