/* =============================================================
   FOBULOUS.NET — Main Stylesheet
   Brand: Navy #1F5C99  |  Accent Orange #E8943A
   ============================================================= */

:root {
  --navy:       #1F5C99;
  --navy-dark:  #163f6d;
  --navy-light: #d6e8f7;
  --orange:     #E8943A;
  --orange-dark:#c97520;
  --white:      #ffffff;
  --off-white:  #f8f9fa;
  --gray-100:   #f1f3f5;
  --gray-200:   #e9ecef;
  --gray-400:   #ced4da;
  --gray-600:   #6c757d;
  --gray-800:   #343a40;
  --text:       #1a1a2e;
  --radius:     8px;
  --shadow:     0 2px 12px rgba(31,92,153,0.10);
  --shadow-lg:  0 8px 32px rgba(31,92,153,0.15);
  --font:       'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono:  'Courier New', Courier, monospace;
  --max-w:      1100px;
  --max-w-art:  780px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.7; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--orange); text-decoration: underline; }
ul, ol { padding-left: 1.5rem; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5 { line-height: 1.3; font-weight: 700; color: var(--navy); margin-bottom: .5rem; }
h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-top: 2rem; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); margin-top: 1.5rem; color: var(--navy-dark); }
h4 { font-size: 1.05rem; color: var(--gray-800); }
p  { margin-bottom: 1rem; }
li { margin-bottom: .4rem; }
strong { color: var(--navy-dark); }

/* ---- Layout ---- */
.container      { max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem; }
.container-art  { max-width: var(--max-w-art); margin: 0 auto; padding: 0 1.25rem; }
.section        { padding: 3rem 0; }
.section-alt    { padding: 3rem 0; background: var(--off-white); }
.section-navy   { padding: 3rem 0; background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }

/* ---- HEADER / NAV ---- */
#site-header {
  background: var(--navy);
  position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max-w); margin: 0 auto; padding: .75rem 1.25rem;
  gap: 1rem;
}
.site-logo {
  font-size: 1.6rem; font-weight: 800; color: var(--white) !important;
  text-decoration: none; letter-spacing: -.5px;
  display: flex; align-items: center; gap: .4rem;
}
.site-logo span { color: var(--orange); }
.site-tagline { font-size: .7rem; color: rgba(255,255,255,.7); display: block; font-weight: 400; letter-spacing: .03em; }

nav { display: flex; gap: .15rem; align-items: center; flex-wrap: wrap; }
nav a {
  color: rgba(255,255,255,.88); font-size: .875rem; font-weight: 600;
  padding: .45rem .7rem; border-radius: var(--radius);
  transition: background .2s, color .2s; text-decoration: none;
}
nav a:hover, nav a.active { background: rgba(255,255,255,.15); color: var(--white); }

.nav-cta {
  background: var(--orange) !important; color: var(--white) !important;
  padding: .45rem .9rem !important; border-radius: 20px !important;
}
.nav-cta:hover { background: var(--orange-dark) !important; }

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

/* ---- HERO ---- */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, #2a6fad 100%);
  color: var(--white); padding: 4rem 0 3.5rem; text-align: center;
}
.hero h1 { color: var(--white); font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: .75rem; }
.hero p { font-size: 1.15rem; opacity: .9; max-width: 600px; margin: 0 auto 1.75rem; }
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: .75rem 1.75rem; border-radius: 30px;
  font-weight: 700; font-size: .95rem; text-decoration: none; transition: .2s;
  cursor: pointer; border: 2px solid transparent;
}
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dark); color: var(--white); text-decoration: none; }
.btn-outline { border-color: rgba(255,255,255,.7); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,.15); color: var(--white); text-decoration: none; }
.btn-sm { padding: .5rem 1.1rem; font-size: .85rem; border-radius: 20px; }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-dark); color: var(--white); text-decoration: none; }

/* ---- BREADCRUMB ---- */
.breadcrumb {
  background: var(--gray-100); padding: .6rem 0; font-size: .82rem;
  border-bottom: 1px solid var(--gray-200);
}
.breadcrumb ol { list-style: none; padding: 0; display: flex; gap: .4rem; flex-wrap: wrap; }
.breadcrumb li::after { content: "›"; margin-left: .4rem; color: var(--gray-600); }
.breadcrumb li:last-child::after { display: none; }
.breadcrumb a { color: var(--navy); }

/* ---- PILLAR CARDS (homepage) ---- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.pillar-card {
  background: var(--white); border-radius: 12px; padding: 2rem 1.5rem;
  box-shadow: var(--shadow); text-align: center; transition: transform .2s, box-shadow .2s;
  border-top: 4px solid var(--navy);
}
.pillar-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pillar-card:nth-child(2) { border-top-color: var(--orange); }
.pillar-card:nth-child(3) { border-top-color: #2a8a4a; }
.pillar-icon { font-size: 2.5rem; margin-bottom: .75rem; }
.pillar-card h3 { font-size: 1.2rem; margin: 0 0 .6rem; }
.pillar-card p { font-size: .9rem; color: var(--gray-600); margin-bottom: 1.2rem; }

/* ---- ANSWER BOX (AEO direct answer) ---- */
.answer-box {
  background: var(--navy-light); border-left: 5px solid var(--navy);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.5rem; margin: 1.5rem 0 2rem;
}
.answer-box .answer-label {
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--navy); margin-bottom: .4rem;
}
.answer-box p { margin: 0; font-size: 1.02rem; line-height: 1.65; }

/* ---- PRODUCT CARDS ---- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; margin: 1.5rem 0; }
.product-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: 10px; overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column; transition: box-shadow .2s;
}
.product-card:hover { box-shadow: var(--shadow-lg); }
.product-card-img {
  background: var(--gray-100); padding: 1.5rem; text-align: center;
  font-size: 3rem; line-height: 1; min-height: 120px;
  display: flex; align-items: center; justify-content: center;
}
.product-card-body { padding: 1rem; flex: 1; display: flex; flex-direction: column; }
.product-card-title { font-size: .95rem; font-weight: 700; color: var(--navy); margin-bottom: .35rem; }
.product-card-price { font-size: 1.1rem; font-weight: 800; color: var(--orange); margin-bottom: .5rem; }
.product-card-desc { font-size: .85rem; color: var(--gray-600); flex: 1; margin-bottom: .75rem; }
.product-card-badge {
  display: inline-block; background: var(--orange); color: var(--white);
  font-size: .7rem; font-weight: 700; padding: .2rem .5rem; border-radius: 4px;
  margin-bottom: .5rem; text-transform: uppercase; letter-spacing: .04em;
}

/* ---- COMPARISON TABLE ---- */
.compare-table-wrap { overflow-x: auto; margin: 1.5rem 0; }
.compare-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.compare-table th {
  background: var(--navy); color: var(--white);
  padding: .75rem 1rem; text-align: left; white-space: nowrap;
}
.compare-table td { padding: .65rem 1rem; border-bottom: 1px solid var(--gray-200); vertical-align: top; }
.compare-table tr:nth-child(even) td { background: var(--off-white); }
.compare-table tr:hover td { background: var(--navy-light); }
.compare-table .check { color: #2a8a4a; font-weight: 700; }
.compare-table .cross { color: #c0392b; }
.tag-best {
  background: var(--orange); color: var(--white); font-size: .7rem;
  font-weight: 700; padding: .15rem .45rem; border-radius: 4px;
  vertical-align: middle; margin-left: .4rem; text-transform: uppercase;
}

/* ---- FAQ ---- */
.faq-section { margin: 2.5rem 0; }
.faq-section h2 { color: var(--navy); }
.faq-item { border-bottom: 1px solid var(--gray-200); }
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 0; cursor: pointer; font-weight: 600; font-size: 1rem;
  color: var(--navy); list-style: none; gap: 1rem;
}
.faq-question::after { content: "+"; font-size: 1.3rem; color: var(--orange); flex-shrink: 0; }
.faq-item.open .faq-question::after { content: "−"; }
.faq-answer { display: none; padding-bottom: 1rem; color: var(--gray-800); font-size: .95rem; line-height: 1.7; }
.faq-item.open .faq-answer { display: block; }

/* ---- AFFILIATE DISCLOSURE ---- */
.affiliate-note {
  font-size: .8rem; color: var(--gray-600); background: var(--gray-100);
  border: 1px solid var(--gray-200); border-radius: var(--radius);
  padding: .75rem 1rem; margin: 1.5rem 0;
}

/* ---- TOP PICKS BOX ---- */
.top-picks {
  background: var(--white); border: 2px solid var(--navy);
  border-radius: 10px; padding: 1.5rem; margin: 2rem 0;
}
.top-picks h3 { margin-top: 0; color: var(--navy); font-size: 1.1rem; margin-bottom: 1rem; }
.top-picks ol { margin: 0; }
.top-picks li { margin-bottom: .5rem; font-size: .95rem; }

/* ---- STAT BOXES ---- */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.stat-box {
  background: var(--white); border-radius: 10px; padding: 1.25rem;
  text-align: center; box-shadow: var(--shadow); border-top: 3px solid var(--orange);
}
.stat-number { font-size: 2rem; font-weight: 800; color: var(--navy); display: block; }
.stat-label { font-size: .82rem; color: var(--gray-600); }

/* ---- ARTICLE LAYOUT ---- */
.article-header { padding: 2.5rem 0 1.5rem; border-bottom: 1px solid var(--gray-200); margin-bottom: 2rem; }
.article-meta { font-size: .82rem; color: var(--gray-600); margin-bottom: .5rem; }
.article-meta span { margin-right: 1rem; }
.article-body h2 { padding-top: .5rem; border-bottom: 2px solid var(--navy-light); padding-bottom: .4rem; }
.article-body ul, .article-body ol { margin-bottom: 1rem; }
.article-body li { margin-bottom: .35rem; }

/* ---- STEP BOX ---- */
.step-box {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--off-white); border-radius: var(--radius); padding: 1rem 1.25rem; margin-bottom: 1rem;
}
.step-num {
  background: var(--navy); color: var(--white); width: 32px; height: 32px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .9rem; flex-shrink: 0; margin-top: 2px;
}
.step-content h4 { margin: 0 0 .25rem; color: var(--navy); }
.step-content p  { margin: 0; font-size: .93rem; }

/* ---- INFO BOX ---- */
.info-box {
  background: #fff8e1; border-left: 4px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0; padding: 1rem 1.25rem; margin: 1.5rem 0;
}
.info-box.tip { background: #e8f5e9; border-left-color: #2a8a4a; }
.info-box strong { display: block; margin-bottom: .25rem; }

/* ---- HUB PAGE CATEGORY GRID ---- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; margin: 1.5rem 0; }
.cat-card {
  display: flex; align-items: flex-start; gap: 1rem;
  background: var(--white); border-radius: 10px; padding: 1.25rem;
  box-shadow: var(--shadow); border: 1px solid var(--gray-200);
  text-decoration: none; color: var(--text); transition: box-shadow .2s, transform .2s;
}
.cat-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); text-decoration: none; color: var(--text); }
.cat-card-icon { font-size: 2rem; flex-shrink: 0; }
.cat-card h3 { font-size: 1rem; margin: 0 0 .25rem; color: var(--navy); }
.cat-card p  { font-size: .85rem; color: var(--gray-600); margin: 0; }

/* ---- RELATED ARTICLES ---- */
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.related-card {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: 10px;
  padding: 1.1rem; text-decoration: none; color: var(--text);
  transition: box-shadow .2s; display: block;
}
.related-card:hover { box-shadow: var(--shadow); text-decoration: none; color: var(--text); }
.related-card .tag { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--orange); font-weight: 700; }
.related-card h4 { font-size: .95rem; color: var(--navy); margin: .3rem 0 .4rem; }
.related-card p  { font-size: .82rem; color: var(--gray-600); margin: 0; }

/* ---- FOOTER ---- */
#site-footer {
  background: var(--navy-dark); color: rgba(255,255,255,.85);
  padding: 3rem 0 1.5rem; margin-top: 4rem;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem;
  max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem;
}
.footer-brand { max-width: 260px; }
.footer-brand .logo-text { font-size: 1.5rem; font-weight: 800; color: var(--white); }
.footer-brand .logo-text span { color: var(--orange); }
.footer-brand p { font-size: .85rem; margin-top: .5rem; opacity: .75; }
.footer-col h4 { color: var(--white); font-size: .9rem; margin-bottom: .75rem; text-transform: uppercase; letter-spacing: .05em; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: .4rem; }
.footer-col a { color: rgba(255,255,255,.7); font-size: .88rem; text-decoration: none; }
.footer-col a:hover { color: var(--orange); }
.footer-bottom {
  max-width: var(--max-w); margin: 2rem auto 0; padding: 1.25rem 1.25rem 0;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: .75rem; font-size: .8rem; color: rgba(255,255,255,.5);
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--orange); }

/* ---- UTILITIES ---- */
.text-center { text-align: center; }
.text-orange { color: var(--orange); }
.text-navy   { color: var(--navy); }
.text-muted  { color: var(--gray-600); }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.divider { border: none; border-top: 2px solid var(--gray-200); margin: 2rem 0; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .pillars { grid-template-columns: 1fr; gap: 1rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  nav { display: none; }
  nav.open { display: flex; flex-direction: column; align-items: flex-start; gap: 0;
    position: absolute; top: 60px; left: 0; right: 0;
    background: var(--navy-dark); padding: 1rem; z-index: 999; }
  nav.open a { width: 100%; padding: .65rem 1rem; }
  .hamburger { display: flex; }
  .header-inner { flex-wrap: wrap; position: relative; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}
