/* ═══════════════════════════════════════════
   Listicle Page Styles (scoped under .listicle-page)
   ═══════════════════════════════════════════ */

/* Variables scoped to listicle pages */
.listicle-page {
  --bg-primary: #ffffff;
  --bg-alt: #f5f5f5;
  --bg-dark: #111111;
  --bg-dark-card: #1a1a1a;
  --bg-dark-elevated: #222222;
  --border: #e0e0e0;
  --border-light: #eeeeee;
  --border-hover: #cccccc;
  --text-primary: #111111;
  --text-secondary: #555555;
  --text-muted: #888888;
  --text-on-dark: #ffffff;
  --text-on-dark-muted: rgba(255,255,255,0.6);
  --accent: #e8720c;
  --accent-light: rgba(232,114,12,0.08);
  --accent-medium: rgba(232,114,12,0.15);
  --accent-hover: #d06008;
  --accent-glow: rgba(232,114,12,0.3);
  --silver: #666666;
  --bronze: #996633;
  --green: #2d8a4e;
  --green-light: rgba(45,138,78,0.08);
  --red: #c0392b;
  --red-light: rgba(192,57,43,0.08);
  --heading: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', 'SF Mono', monospace;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
}

/* Scoped global resets */
.listicle-page { font-family: var(--body); background: var(--bg-primary); color: var(--text-primary); line-height: 1.7; font-size: 16px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.listicle-page *, .listicle-page *::before, .listicle-page *::after { margin: 0; padding: 0; box-sizing: border-box; }
.listicle-page ::selection { background: var(--accent); color: #fff; }
.listicle-page a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
.listicle-page a:hover { color: var(--accent-hover); }

/* ─── FLOATING NAV ─── */
.float-nav { position: fixed; top: 50%; right: 24px; transform: translateY(-50%); z-index: 100; display: flex; flex-direction: column; gap: 12px; }
.float-nav a { width: 10px; height: 10px; border-radius: 50%; background: #ccc; transition: all 0.3s; position: relative; }
.float-nav a:hover, .float-nav a.active { background: var(--accent); box-shadow: 0 0 0 4px var(--accent-light); }
.float-nav a::after { content: attr(data-label); position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 11px; font-family: var(--mono); color: var(--text-muted); white-space: nowrap; opacity: 0; transition: opacity 0.2s; pointer-events: none; letter-spacing: 0.5px; text-transform: uppercase; background: var(--bg-primary); padding: 4px 10px; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
.float-nav a:hover::after { opacity: 1; }
@media (max-width: 1024px) { .float-nav { display: none; } }

/* ─── HERO (Dark photo overlay style) ─── */
.listicle-page .hero { min-height: 75vh; display: flex; align-items: center; justify-content: center; position: relative; padding: 100px 40px 80px; background: var(--bg-dark); overflow: hidden; }
.listicle-page .hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(135deg, rgba(17,17,17,0.95) 0%, rgba(17,17,17,0.8) 100%); z-index: 1; }
.listicle-page .hero::after { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h1v1H0z' fill='rgba(255,255,255,0.03)'/%3E%3C/svg%3E"); background-size: 40px 40px; z-index: 1; }
.hero-content { position: relative; z-index: 2; max-width: 800px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; background: rgba(232,114,12,0.15); border: 1px solid rgba(232,114,12,0.3); border-radius: var(--radius-sm); font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); margin-bottom: 28px; animation: fadeUp 0.8s ease-out; }
.hero-badge span { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.listicle-page .hero h1 { font-family: var(--heading); font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.15; font-weight: 800; letter-spacing: -0.03em; color: var(--text-on-dark); margin-bottom: 20px; animation: fadeUp 0.8s ease-out 0.1s both; }
.listicle-page .hero h1 em { font-style: normal; color: var(--accent); }
.hero-sub { font-size: 1.1rem; color: var(--text-on-dark-muted); max-width: 620px; line-height: 1.7; margin-bottom: 36px; animation: fadeUp 0.8s ease-out 0.2s both; }
.hero-meta { display: flex; gap: 24px; font-family: var(--mono); font-size: 12px; color: var(--text-on-dark-muted); letter-spacing: 0.3px; animation: fadeUp 0.8s ease-out 0.3s both; flex-wrap: wrap; }
.hero-meta span { display: flex; align-items: center; gap: 6px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ─── VERDICT BAR ─── */
.verdict-bar { background: var(--bg-alt); padding: 48px 40px; border-bottom: 1px solid var(--border); }
.verdict-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.verdict-card { background: var(--bg-primary); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 28px; transition: all 0.3s; position: relative; overflow: hidden; }
.verdict-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.verdict-card.featured { border-color: var(--accent); }
.verdict-card.featured::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--accent); }
.verdict-rank { font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 12px; font-weight: 500; }
.verdict-rank.gold { color: var(--accent); }
.verdict-rank.silver { color: var(--silver); }
.verdict-rank.bronze { color: var(--bronze); }
.verdict-name { font-family: var(--heading); font-size: 1.4rem; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.verdict-tagline { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 20px; line-height: 1.55; }
.verdict-stat { display: flex; align-items: baseline; gap: 8px; padding-top: 16px; border-top: 1px solid var(--border-light); }
.verdict-stat .num { font-family: var(--heading); font-size: 1.6rem; font-weight: 800; color: var(--accent); }
.verdict-stat .label { font-family: var(--mono); font-size: 10px; color: var(--text-muted); letter-spacing: 1px; text-transform: uppercase; }
@media (max-width: 768px) { .verdict-inner { grid-template-columns: 1fr; } .review-grid-3 { grid-template-columns: 1fr !important; } }

/* ─── SECTIONS ─── */
.listicle-page .section { max-width: 1100px; margin: 0 auto; padding: 72px 40px; }
.section-label { font-family: var(--mono); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; font-weight: 500; }
.listicle-page .section h2 { font-family: var(--heading); font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 800; line-height: 1.2; margin-bottom: 18px; color: var(--text-primary); position: relative; display: inline-block; }
.listicle-page .section h2::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 48px; height: 3px; background: var(--accent); border-radius: 2px; }
.section-prose { color: var(--text-secondary); font-size: 1.02rem; max-width: 720px; line-height: 1.8; }

/* ─── METHODOLOGY STRIPE ─── */
.method-stripe { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 32px; }
.method-cell { background: var(--bg-primary); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 20px 14px; text-align: center; transition: all 0.3s; }
.method-cell:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.method-cell .m-icon { font-size: 1.3rem; margin-bottom: 8px; }
.method-cell .m-label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.8px; text-transform: uppercase; color: var(--text-muted); line-height: 1.5; }
.method-cell .m-weight { font-family: var(--heading); font-size: 1.3rem; font-weight: 800; color: var(--accent); margin-top: 6px; }
@media (max-width: 768px) { .method-stripe { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .method-stripe { grid-template-columns: repeat(2, 1fr); } }

/* ─── COMPANY SECTIONS ─── */
.company-section { padding: 72px 40px; border-top: 1px solid var(--border); }
.company-section.alt-bg { background: var(--bg-alt); }
.company-inner { max-width: 1100px; margin: 0 auto; }
.company-header { display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 40px; margin-bottom: 36px; }
.company-rank-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px; border-radius: var(--radius-sm); font-family: var(--mono); font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 10px; font-weight: 500; }
.company-rank-badge.gold { background: var(--accent-light); color: var(--accent); border: 1px solid rgba(232,114,12,0.25); }
.company-rank-badge.silver { background: rgba(102,102,102,0.08); color: var(--silver); border: 1px solid rgba(102,102,102,0.15); }
.company-rank-badge.bronze { background: rgba(153,102,51,0.08); color: var(--bronze); border: 1px solid rgba(153,102,51,0.15); }
.company-name { font-family: var(--heading); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: var(--text-primary); margin-bottom: 4px; }
.company-oneliner { font-size: 1rem; color: var(--text-secondary); }
.company-logo { height: 36px; max-width: 220px; object-fit: contain; object-position: left; margin-bottom: 12px; filter: none; }
.company-logo.on-dark { filter: brightness(0) invert(1); }
.verdict-logo { height: 24px; max-width: 160px; object-fit: contain; object-position: left; margin-bottom: 10px; }

/* ─── CTA BUTTON ─── */
.company-cta { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; background: var(--accent); color: #fff; font-family: var(--heading); font-size: 13px; font-weight: 600; letter-spacing: 0.3px; text-transform: uppercase; border-radius: var(--radius-sm); transition: all 0.3s; cursor: pointer; white-space: nowrap; border: none; }
.company-cta:hover { background: var(--accent-hover); color: #fff; box-shadow: 0 4px 16px var(--accent-glow); transform: translateY(-1px); }

/* ─── SCORE GRID ─── */
.score-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 40px; }
.score-cell { background: var(--bg-primary); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 20px 16px; text-align: center; transition: all 0.3s; }
.score-cell:hover { border-color: var(--border-hover); box-shadow: var(--shadow-sm); }
.score-cell .score-label { font-family: var(--mono); font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 6px; }
.score-cell .score-value { font-family: var(--heading); font-size: 1.6rem; font-weight: 800; color: var(--text-primary); }
.score-cell .score-bar { width: 100%; height: 4px; background: var(--bg-alt); border-radius: 2px; margin-top: 10px; overflow: hidden; }
.score-bar-fill { height: 100%; border-radius: 2px; transition: width 1.5s ease-out; }
.score-bar-fill.high { background: var(--accent); }
.score-bar-fill.mid { background: #999; }
.score-bar-fill.low { background: #ccc; }
@media (max-width: 768px) { .score-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .score-grid { grid-template-columns: repeat(2, 1fr); } }

/* ─── COMPANY BODY (2-col) ─── */
.company-body { display: grid; grid-template-columns: 5fr 3fr; gap: 40px; }
.company-analysis { color: var(--text-secondary); font-size: 1rem; line-height: 1.85; }
.company-analysis p + p { margin-top: 18px; }

/* ─── SIDEBAR BLOCKS ─── */
.sidebar-block { background: var(--bg-primary); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 22px; margin-bottom: 14px; }
.sidebar-block h4 { font-family: var(--mono); font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border-light); }
.sidebar-item { display: flex; align-items: start; gap: 10px; padding: 6px 0; font-size: 0.9rem; color: var(--text-secondary); line-height: 1.55; }
.sidebar-item .icon-check { color: var(--green); font-weight: 700; flex-shrink: 0; width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; background: var(--green-light); border-radius: 50%; font-size: 10px; margin-top: 2px; }
.sidebar-item .icon-x { color: var(--red); font-weight: 700; flex-shrink: 0; width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; background: var(--red-light); border-radius: 50%; font-size: 10px; margin-top: 2px; }
.best-for-box { background: var(--accent-light); border: 1px solid rgba(232,114,12,0.2); border-radius: var(--radius-md); padding: 22px; margin-bottom: 14px; }
.best-for-box h4 { font-family: var(--mono); font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; padding-bottom: 0; border-bottom: none; }
.best-for-box p { font-size: 0.92rem; color: var(--text-primary); line-height: 1.6; }
@media (max-width: 768px) { .company-body { grid-template-columns: 1fr; } .company-header { grid-template-columns: 1fr; } }

/* ─── COMPARISON TABLE ─── */
.comparison-table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 36px 0; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.comparison-table th, .comparison-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border-light); }
.comparison-table th { background: var(--bg-dark); font-family: var(--mono); font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--text-on-dark-muted); font-weight: 500; }
.comparison-table th.highlight-col { color: var(--accent); }
.comparison-table td { background: var(--bg-primary); font-size: 0.92rem; color: var(--text-secondary); vertical-align: top; }
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:hover td { background: var(--bg-alt); }
.comparison-table td:first-child { font-family: var(--mono); font-size: 11px; letter-spacing: 0.5px; color: var(--text-muted); text-transform: uppercase; font-weight: 500; white-space: nowrap; background: #fafafa; }
.comparison-table tr:hover td:first-child { background: var(--bg-alt); }
.comparison-table .highlight-col { background: var(--accent-light); border-left: 2px solid var(--accent); }
.comparison-table tr:hover .highlight-col { background: rgba(232,114,12,0.1); }
.pill { display: inline-block; padding: 3px 10px; border-radius: 100px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.5px; font-weight: 500; }
.pill-yes { background: var(--green-light); color: var(--green); }
.pill-no { background: var(--red-light); color: var(--red); }

/* ─── DARK CALLOUT SECTIONS ─── */
.dark-section { background: var(--bg-dark); padding: 72px 40px; }
.dark-section .section-label { color: var(--accent); }
.dark-section h2 { color: var(--text-on-dark); }
.dark-section h2::after { background: var(--accent); }
.dark-section .section-prose { color: var(--text-on-dark-muted); }
.dark-section h3 { color: var(--text-on-dark); }

/* ─── FAQ ─── */
.faq-list { max-width: 800px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; cursor: pointer; font-size: 1rem; font-weight: 600; color: var(--text-primary); transition: color 0.2s; user-select: none; }
.faq-q:hover { color: var(--accent); }
.faq-toggle { width: 28px; height: 28px; border: 1px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; color: var(--text-muted); transition: all 0.3s; flex-shrink: 0; margin-left: 16px; background: var(--bg-primary); }
.faq-item.open .faq-toggle { transform: rotate(45deg); border-color: var(--accent); color: var(--accent); background: var(--accent-light); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s; }
.faq-item.open .faq-a { max-height: 600px; padding-bottom: 22px; }
.faq-a p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.8; }

/* ─── STATE GRID ─── */
.state-grid-section { background: var(--bg-dark); padding: 56px 40px; }
.state-grid-inner { max-width: 1100px; margin: 0 auto; }
.state-grid-inner .section-label { color: var(--accent); }
.state-grid { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.state-grid a { padding: 6px 12px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.5px; color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-sm); transition: all 0.2s; }
.state-grid a:hover { color: var(--accent); border-color: var(--accent); background: rgba(232,114,12,0.1); }
.state-grid .current { color: var(--accent); border-color: var(--accent); background: rgba(232,114,12,0.15); pointer-events: none; }

/* ─── LISTICLE FOOTER (renamed from .site-footer to avoid conflict) ─── */
.listicle-footer { background: var(--bg-dark-card); border-top: 1px solid rgba(255,255,255,0.08); padding: 36px 40px; text-align: center; font-size: 0.82rem; color: var(--text-on-dark-muted); }
.listicle-footer a { color: rgba(255,255,255,0.5); }
.listicle-footer a:hover { color: var(--accent); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease-out, transform 0.7s ease-out; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── STICKY MOBILE CTA ─── */
.sticky-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 200; background: var(--bg-dark); border-top: 2px solid var(--accent); padding: 12px 16px; }
.sticky-cta-inner { display: flex; gap: 10px; max-width: 600px; margin: 0 auto; }
.sticky-cta a { flex: 1; text-align: center; padding: 12px 8px; font-family: var(--heading); font-size: 12px; font-weight: 700; letter-spacing: 0.3px; text-transform: uppercase; border-radius: var(--radius-sm); text-decoration: none; transition: all 0.2s; }
.sticky-cta .cta-primary { background: var(--accent); color: #fff; }
.sticky-cta .cta-secondary { background: transparent; border: 2px solid rgba(232,114,12,0.5); color: var(--accent); }
@media (max-width: 768px) { .sticky-cta { display: block; } .listicle-page { padding-bottom: 70px; } }
