/* ===== USFans Spreadsheet — Shared Styles ===== */
/* Inspired by usfans.com brand: yellow/gold + dark + clean shopping aesthetic */

:root {
  --brand: #FFC629;          /* USFans yellow */
  --brand-dark: #E8AA00;
  --brand-soft: #FFF6D6;
  --ink: #0F0F0F;
  --ink-soft: #2A2A2A;
  --muted: #6B6B6B;
  --line: #E8E8E8;
  --bg: #FFFFFF;
  --bg-alt: #FAFAF7;
  --green: #1FB46A;          /* trust accent */
  --shadow: 0 4px 20px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.10);
}

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

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

/* ===== Header / Nav ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  font-family: 'Bricolage Grotesque', 'Inter', sans-serif;
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.04em;
  display: inline-flex;
  align-items: center;
  gap: 0;
  line-height: 1;
  text-decoration: none;
}
.logo-img {
  height: 22px !important;
  max-height: 22px;
  width: auto !important;
  display: block;
}
.logo-us {
  color: #FF5A1F;
}
.logo-fans {
  color: #1A2332;
}
.logo-sheet {
  font-size: 11px;
  font-weight: 700;
  background: var(--brand);
  color: var(--ink);
  padding: 4px 8px 3px;
  border-radius: 5px;
  margin-left: 10px;
  letter-spacing: 0.04em;
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  align-self: center;
}

/* Dark backgrounds (footer): flip Fans to white */
.site-footer .logo-fans { color: #fff; }

/* Hidden legacy classes */
.logo-svg, .logo-dot { display: none; }

.nav {
  display: flex;
  gap: 22px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
}
.nav a { transition: color 0.15s; }
.nav a:hover { color: var(--brand-dark); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  transition: transform 0.15s;
}
.nav-cta:hover { transform: translateY(-1px); }

@media (max-width: 768px) {
  .nav { display: none; }
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--brand-soft) 0%, #fff 80%);
  padding: 80px 24px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--brand) 0%, transparent 60%);
  opacity: 0.25;
  border-radius: 50%;
}

.hero-inner { max-width: 900px; margin: 0 auto; position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: var(--brand);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero h1 {
  font-family: 'Bricolage Grotesque', 'Inter', sans-serif;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin-bottom: 20px;
}
.hero h1 .hl {
  background: var(--brand);
  padding: 0 8px;
  border-radius: 6px;
  display: inline-block;
  transform: rotate(-1.5deg);
}

.hero p.lead {
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 32px;
}

.hero-cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--ink);
  color: var(--brand);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-secondary {
  background: var(--brand);
  color: var(--ink);
}
.btn-secondary:hover { background: var(--brand-dark); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--brand); }

/* ===== Stats Strip ===== */
.stats-strip {
  background: var(--ink);
  color: #fff;
  padding: 30px 24px;
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}
.stat {
  text-align: center;
}
.stat-num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
}
.stat-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.6);
  margin-top: 6px;
}

/* ===== Section base ===== */
.section {
  padding: 80px 24px;
  max-width: 1240px;
  margin: 0 auto;
}
.section-tight {
  padding: 60px 24px;
}
.section-alt {
  background: var(--bg-alt);
}

.section-head {
  text-align: center;
  margin-bottom: 50px;
}
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-dark);
  margin-bottom: 12px;
}
.section h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 800;
}
.section-head p {
  max-width: 580px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 17px;
}

/* ===== Category Grid ===== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.cat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 24px;
  transition: all 0.25s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.cat-card::after {
  content: '→';
  position: absolute;
  top: 24px;
  right: 24px;
  width: 32px; height: 32px;
  background: var(--bg-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--muted);
  transition: all 0.25s;
}
.cat-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand);
  box-shadow: var(--shadow);
}
.cat-card:hover::after {
  background: var(--brand);
  color: var(--ink);
}
.cat-icon {
  width: 56px; height: 56px;
  background: var(--brand-soft);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 18px;
}
.cat-card h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.cat-card p {
  font-size: 14px;
  color: var(--muted);
}
.cat-count {
  display: inline-block;
  margin-top: 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-dark);
}

/* ===== Feature row ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}
.feature {
  text-align: left;
}
.feature-num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 12px;
  -webkit-text-stroke: 1.5px var(--ink);
}
.feature h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature p {
  color: var(--muted);
  font-size: 15px;
}

/* ===== Steps (how it works) ===== */
.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 24px;
  position: relative;
  counter-increment: step;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  display: inline-block;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--brand-dark);
  margin-bottom: 14px;
}
.step h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.step p {
  font-size: 14px;
  color: var(--muted);
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}
.faq-item summary {
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.faq-item summary::after {
  content: '+';
  font-size: 24px;
  font-weight: 400;
  color: var(--brand-dark);
  transition: transform 0.2s;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
}

/* ===== Coupon Strip ===== */
.coupon-strip {
  background: var(--brand);
  padding: 50px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.coupon-strip::before, .coupon-strip::after {
  content: '';
  position: absolute;
  width: 50px;
  height: 50px;
  background: var(--bg);
  border-radius: 50%;
}
.coupon-strip::before { left: -25px; top: 50%; transform: translateY(-50%); }
.coupon-strip::after { right: -25px; top: 50%; transform: translateY(-50%); }
.coupon-strip h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.coupon-strip p {
  font-size: 16px;
  margin-bottom: 24px;
  color: var(--ink-soft);
}

/* ===== Compare Table ===== */
.compare-wrap {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid var(--line);
}
.compare {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  min-width: 600px;
}
.compare th, .compare td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.compare thead th {
  background: var(--bg-alt);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.compare tbody tr:hover { background: var(--bg-alt); }
.compare .yes { color: var(--green); font-weight: 700; }
.compare .no { color: #d33; font-weight: 700; }

/* ===== Article (Guide page) ===== */
.article {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 24px;
}
.article h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 56px 0 20px;
  scroll-margin-top: 100px;
}
.article h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 32px 0 12px;
}
.article p {
  font-size: 17px;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.article ul, .article ol {
  margin: 16px 0 16px 24px;
  color: var(--ink-soft);
}
.article ul li, .article ol li {
  margin-bottom: 8px;
  font-size: 16px;
}
.article .callout {
  background: var(--brand-soft);
  border-left: 4px solid var(--brand);
  padding: 18px 24px;
  border-radius: 0 12px 12px 0;
  margin: 24px 0;
}
.toc {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  margin: 30px 0;
}
.toc h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 14px;
}
.toc a {
  display: block;
  padding: 6px 0;
  color: var(--ink-soft);
  font-size: 15px;
  border-bottom: 1px dashed var(--line);
}
.toc a:hover { color: var(--brand-dark); }
.toc a:last-child { border-bottom: none; }

/* ===== Trust badges ===== */
.trust-row {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  margin: 24px 0;
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
}
.trust-badge .dot { width: 8px; height: 8px; background: var(--green); border-radius: 50%; }

/* ===== Footer ===== */
.site-footer {
  background: var(--ink);
  color: #fff;
  padding: 60px 24px 30px;
}
.footer-wrap {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-wrap h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  color: var(--brand);
}
.footer-wrap ul { list-style: none; }
.footer-wrap li { margin-bottom: 10px; font-size: 14px; color: rgba(255,255,255,0.7); }
.footer-wrap a:hover { color: var(--brand); }
.footer-bottom {
  max-width: 1240px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  text-align: center;
  line-height: 1.7;
}
.footer-bottom p { margin-bottom: 10px; }

@media (max-width: 760px) {
  .footer-wrap { grid-template-columns: 1fr 1fr; }
  .stats-strip { gap: 30px; }
  .stat-num { font-size: 28px; }
  .hero { padding: 50px 20px 40px; }
  .section { padding: 50px 20px; }
}

/* ===== Page header (for sub-pages) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--bg-alt) 0%, #fff 100%);
  padding: 60px 24px 40px;
  text-align: center;
}
.page-hero .crumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
}
.page-hero .crumb a { color: var(--brand-dark); }
.page-hero h1 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 800;
  max-width: 800px;
  margin: 0 auto 12px;
}
.page-hero p.sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 24px;
}

/* category card with real product image background */
.cat-card-img {
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  position: relative;
  overflow: hidden;
}
.cat-card-img::after {
  background: rgba(255,255,255,0.9);
  color: var(--ink);
}
.cat-card-img:hover::after {
  background: var(--brand);
}
.cat-card-img .cat-icon {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(4px);
  align-self: flex-start;
  margin-bottom: auto;
}
.cat-card-img h3 {
  color: #fff;
  margin-top: 10px;
}

/* product placeholder card */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.prod {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.25s;
  cursor: pointer;
}
.prod:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--brand);
}
.prod-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--bg-alt) center/cover;
  position: relative;
}
.prod-img .qc {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--ink);
  color: var(--brand);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}
.prod-body { padding: 14px 16px; }
.prod h4 { font-size: 14px; font-weight: 600; margin-bottom: 4px; line-height: 1.3; }
.prod .price { font-size: 16px; font-weight: 700; color: var(--ink); }
.prod .price small { color: var(--muted); font-weight: 400; font-size: 12px; margin-left: 4px; }
