/* ─────────────────────────────────────────────
   GolfLaunchLab — Shared Stylesheet
   ───────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,300&display=swap');

:root {
  --green-deep:  #0f2419;
  --green-mid:   #1a3d2b;
  --green-light: #2d6a4f;
  --green-pale:  #e8f0eb;
  --gold:        #c9a84c;
  --gold-light:  #e8d08a;
  --cream:       #fafaf5;
  --white:       #ffffff;
  --ink:         #1a1a18;
  --ink-mid:     #3a3a36;
  --ink-light:   #6b6b64;
  --border:      #dcdcd5;
  --red:         #c0392b;
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   14px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  font-size: 17px;
}

/* ── SITE HEADER ── */
.site-header {
  background: var(--green-deep);
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid var(--gold);
}
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.logo span { color: var(--gold); }
.logo-icon {
  height: 30px;
  width: auto;
  vertical-align: middle;
  margin-right: 9px;
  /* Invert the dark-green icon to white so it reads on the dark header */
  filter: brightness(0) invert(1);
  opacity: 0.92;
}
.site-nav { display: flex; gap: 28px; list-style: none; }
.site-nav a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.site-nav a:hover { color: var(--gold); }

/* ── BREADCRUMB ── */
.breadcrumb {
  background: var(--green-mid);
  padding: 10px 60px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.03em;
}
.breadcrumb a { color: rgba(255,255,255,0.6); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb span { color: rgba(255,255,255,0.35); margin: 0 6px; }

/* ── HERO ── */
.hero {
  background: linear-gradient(160deg, var(--green-deep) 0%, var(--green-mid) 60%, #1e5c3a 100%);
  padding: 72px 60px 64px;
  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%3Ccircle cx='30' cy='30' r='1.5' fill='%23ffffff08'/%3E%3C/svg%3E");
}
.hero-inner { max-width: 820px; position: relative; }
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.4);
  color: var(--gold-light);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.72);
  max-width: 600px;
  margin-bottom: 32px;
  font-weight: 300;
  line-height: 1.65;
}
.hero-meta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.hero-meta-item { display: flex; align-items: center; gap: 7px; color: rgba(255,255,255,0.6); font-size: 0.84rem; }
.hero-meta-divider { width: 1px; height: 16px; background: rgba(255,255,255,0.2); }

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 14px 60px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.trust-bar-label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-light); white-space: nowrap; }
.trust-items { display: flex; gap: 22px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 7px; font-size: 0.84rem; color: var(--ink-mid); font-weight: 500; }
.trust-icon { width: 18px; height: 18px; background: var(--green-pale); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--green-light); font-size: 11px; }

/* ── LAYOUT ── */
.layout {
  max-width: 1160px;
  margin: 0 auto;
  padding: 48px 40px;
  display: grid;
  grid-template-columns: 1fr 292px;
  gap: 48px;
  align-items: start;
}

/* ── SIDEBAR ── */
.sidebar { position: sticky; top: 84px; }
.toc-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; margin-bottom: 20px; }
.toc-header { background: var(--green-deep); padding: 14px 20px; font-family: 'Playfair Display', serif; font-size: 0.95rem; font-weight: 600; color: var(--white); }
.toc-list { list-style: none; padding: 14px 0; }
.toc-list li a { display: flex; align-items: center; gap: 10px; padding: 7px 20px; text-decoration: none; color: var(--ink-mid); font-size: 0.84rem; font-weight: 500; transition: all 0.15s; border-left: 3px solid transparent; }
.toc-list li a:hover { color: var(--green-light); background: var(--green-pale); border-left-color: var(--green-light); }
.toc-num { font-size: 0.72rem; font-weight: 700; color: var(--green-light); min-width: 18px; }

.sidebar-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 20px; margin-bottom: 20px; }
.sidebar-card h4 { font-family: 'Playfair Display', serif; font-size: 0.95rem; color: var(--green-deep); margin-bottom: 10px; }
.sidebar-card p { font-size: 0.82rem; color: var(--ink-light); line-height: 1.55; margin-bottom: 14px; }

.dark-card { background: var(--green-deep); border-radius: var(--radius-md); padding: 22px; margin-bottom: 20px; color: var(--white); }
.dark-card h4 { font-family: 'Playfair Display', serif; font-size: 1rem; margin-bottom: 10px; color: var(--gold-light); }
.dark-card p { font-size: 0.82rem; color: rgba(255,255,255,0.65); line-height: 1.55; margin-bottom: 16px; }

/* ── MAIN CONTENT ── */
.main-content { min-width: 0; }

/* ── SECTION HEADING ── */
.section-heading { display: flex; align-items: center; gap: 14px; margin: 44px 0 24px; }
.section-heading h2 { font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 700; color: var(--green-deep); letter-spacing: -0.01em; white-space: nowrap; }
.section-heading-line { flex: 1; height: 1px; background: var(--border); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}
.btn-primary { background: var(--green-deep); color: var(--white); }
.btn-primary:hover { background: var(--green-light); }
.btn-gold { background: var(--gold); color: var(--green-deep); }
.btn-gold:hover { background: var(--gold-light); }
.btn-outline { background: transparent; color: var(--green-light); border: 2px solid var(--green-light); }
.btn-outline:hover { background: var(--green-pale); }
.btn-block { display: flex; justify-content: center; width: 100%; }
.btn-link { color: var(--green-light); font-size: 0.85rem; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--green-light); padding-bottom: 1px; transition: color 0.2s; }
.btn-link:hover { color: var(--green-deep); border-color: var(--green-deep); }
.affiliate-note { font-size: 0.75rem; color: var(--ink-light); font-style: italic; }

/* ── PROS / CONS ── */
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0; }
.pros { background: #edfaf3; border: 1px solid #b7e5cc; border-radius: var(--radius-sm); padding: 14px 16px; font-size: 0.84rem; }
.cons { background: #fdf2f2; border: 1px solid #f5c6c6; border-radius: var(--radius-sm); padding: 14px 16px; font-size: 0.84rem; }
.pros-cons-title { font-weight: 700; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
.pros .pros-cons-title { color: #1e7d46; }
.cons .pros-cons-title { color: #c0392b; }
.pros ul, .cons ul { list-style: none; display: flex; flex-direction: column; gap: 5px; }
.pros li::before { content: '✓ '; color: #1e7d46; font-weight: 700; }
.cons li::before { content: '✗ '; color: #c0392b; font-weight: 700; }

/* ── SPEC GRID ── */
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 16px 0; }
.spec-item { background: var(--green-pale); border-radius: var(--radius-sm); padding: 10px 12px; }
.spec-label { font-size: 0.71rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-light); margin-bottom: 3px; }
.spec-value { font-size: 0.9rem; font-weight: 600; color: var(--green-deep); }

/* ── CALLOUT / VERDICT BOXES ── */
.verdict-box {
  background: var(--green-deep);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  margin: 28px 0;
  position: relative;
  overflow: hidden;
}
.verdict-box::before {
  content: '"';
  position: absolute;
  top: -10px; right: 20px;
  font-family: 'Playfair Display', serif;
  font-size: 8rem;
  color: rgba(255,255,255,0.06);
  line-height: 1;
}
.verdict-label { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 10px; }
.verdict-text { font-size: 1.05rem; line-height: 1.65; color: rgba(255,255,255,0.88); font-weight: 300; }
.verdict-text strong { color: var(--white); font-weight: 600; }

.callout {
  border-left: 4px solid var(--green-light);
  background: var(--white);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 22px;
  margin: 20px 0;
  font-size: 0.93rem;
  color: var(--ink-mid);
  line-height: 1.7;
}
.callout.gold-callout { border-left-color: var(--gold); background: #fffdf0; }
.callout strong { color: var(--green-deep); }

/* ── SCORE BADGE ── */
.score-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--green-deep);
  color: var(--white);
  font-weight: 700;
  font-family: 'Playfair Display', serif;
}
.score-badge .score-num { font-size: 1.5rem; line-height: 1; }
.score-badge .score-denom { font-size: 0.68rem; opacity: 0.6; }

.score-row { display: flex; align-items: center; gap: 18px; margin: 20px 0; flex-wrap: wrap; }
.score-breakdown { flex: 1; }
.score-bar-row { display: flex; align-items: center; gap: 10px; margin-bottom: 7px; font-size: 0.83rem; }
.score-bar-label { min-width: 110px; color: var(--ink-mid); }
.score-bar-track { flex: 1; height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; }
.score-bar-fill { height: 100%; background: var(--green-light); border-radius: 3px; }
.score-bar-val { min-width: 32px; text-align: right; font-weight: 600; font-size: 0.82rem; color: var(--green-deep); }

/* ── COMPARISON TABLE ── */
.comparison-table-wrap { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.comparison-table { width: 100%; border-collapse: collapse; font-size: 0.87rem; }
.comparison-table th { background: var(--green-deep); color: var(--white); padding: 13px 16px; text-align: left; font-weight: 600; font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; }
.comparison-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); color: var(--ink-mid); vertical-align: middle; }
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:nth-child(even) td { background: #fafaf7; }
.comparison-table .highlighted td { background: #f0f7f2 !important; }
.comparison-table .product-name-cell { font-weight: 600; color: var(--green-deep); }
.comparison-table .product-name-cell span { display: block; font-size: 0.76rem; font-weight: 400; color: var(--ink-light); margin-top: 2px; }
.score-chip { display: inline-block; padding: 3px 10px; border-radius: 20px; font-weight: 700; font-size: 0.8rem; }
.score-9 { background: #d4edda; color: #155724; }
.score-8 { background: #cce5ff; color: #004085; }
.score-7 { background: #fff3cd; color: #856404; }
.check { color: #1e7d46; font-weight: 700; }
.cross { color: #c0392b; }

/* ── BADGE ── */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 20px; font-size: 0.71rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.badge-gold { background: var(--gold); color: var(--green-deep); }
.badge-green { background: var(--green-light); color: var(--white); }
.badge-gray { background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.85); }
.badge-outline { background: transparent; border: 1px solid var(--border); color: var(--ink-light); }

/* ── LINK GRID ── */
.link-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.link-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 18px 20px; text-decoration: none; color: var(--ink); transition: all 0.2s; display: flex; align-items: center; gap: 12px; }
.link-card:hover { border-color: var(--green-light); background: var(--green-pale); transform: translateX(3px); }
.link-card-icon { font-size: 1.5rem; flex-shrink: 0; }
.link-card-text strong { display: block; font-size: 0.87rem; font-weight: 600; color: var(--green-deep); margin-bottom: 2px; }
.link-card-text span { font-size: 0.78rem; color: var(--ink-light); }

/* ── FAQ ── */
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 10px; overflow: hidden; background: var(--white); }
.faq-q { width: 100%; background: none; border: none; cursor: pointer; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; text-align: left; font-family: 'DM Sans', sans-serif; font-size: 0.93rem; font-weight: 600; color: var(--green-deep); gap: 14px; transition: background 0.15s; }
.faq-q:hover { background: var(--green-pale); }
.faq-q .chevron { font-size: 1.1rem; transition: transform 0.25s; flex-shrink: 0; color: var(--green-light); }
.faq-q.open .chevron { transform: rotate(180deg); }
.faq-a { display: none; padding: 16px 20px 18px; font-size: 0.9rem; color: var(--ink-mid); line-height: 1.7; border-top: 1px solid var(--border); }
.faq-a.open { display: block; }

/* ── EDITORIAL NOTE ── */
.editorial-note { background: var(--green-pale); border: 1px solid #c3dac9; border-radius: var(--radius-sm); padding: 18px 22px; margin: 32px 0; font-size: 0.84rem; color: var(--ink-mid); line-height: 1.65; }
.editorial-note strong { color: var(--green-deep); }

/* ── PROSE ── */
.prose p { color: var(--ink-mid); font-size: 0.97rem; line-height: 1.78; margin-bottom: 16px; }
.prose p:last-child { margin-bottom: 0; }
.prose h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; color: var(--green-deep); margin: 28px 0 12px; }
.prose strong { color: var(--ink); }

/* ── SITE FOOTER ── */
.site-footer { background: var(--green-deep); color: rgba(255,255,255,0.6); text-align: center; padding: 40px; margin-top: 60px; font-size: 0.82rem; line-height: 1.7; }
.site-footer a { color: var(--gold-light); text-decoration: none; }
.site-footer strong { color: var(--white); }

/* ── FADE-IN ANIMATION ── */
.fade-in { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; padding: 24px 20px; }
  .sidebar { position: static; }
  .site-nav { display: none; }
  .hero, .breadcrumb, .trust-bar { padding-left: 20px; padding-right: 20px; }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .pros-cons { grid-template-columns: 1fr; }
  .link-grid { grid-template-columns: 1fr; }
  .score-row { flex-direction: column; }
}
