/* ════════════════════════════════════════════════════════════════
   Social Media Algorithm Blueprint 2026 – Styles
   ════════════════════════════════════════════════════════════════ */

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg:        #08090c;
  --bg-alt:    #0d0f14;
  --surface:   rgba(255,255,255,.04);
  --surface-h: rgba(255,255,255,.07);
  --border:    rgba(255,255,255,.08);
  --border-h:  rgba(255,255,255,.14);
  --text:      #e8e8ec;
  --text-dim:  #8b8fa3;
  --text-mute: #555870;

  --purple:    #8b5cf6;
  --purple-d:  #6d28d9;
  --cyan:      #22d3ee;
  --cyan-d:    #0891b2;
  --rose:      #f87171;
  --amber:     #fbbf24;
  --emerald:   #34d399;

  --radius:    12px;
  --radius-sm: 8px;
  --radius-xs: 6px;
  --font:      'Outfit', system-ui, -apple-system, sans-serif;
  --mono:      'JetBrains Mono', 'Fira Code', monospace;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.mt-24 { margin-top: 24px; }

/* gradient helpers */
.gradient-text {
  background: linear-gradient(135deg, var(--purple) 0%, var(--cyan) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.gradient-text-cyan {
  background: linear-gradient(135deg, var(--cyan) 0%, #67e8f9 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── Progress Bar ───────────────────────────────────────────── */
.progress-bar {
  position: fixed; top: 0; left: 0; height: 3px; z-index: 1000;
  background: linear-gradient(90deg, var(--purple), var(--cyan));
  width: 0; transition: width .15s;
}

/* ── Navigation ─────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  padding: 0 20px;
  background: rgba(8,9,12,.7);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background .3s, box-shadow .3s;
}
.nav.scrolled { background: rgba(8,9,12,.92); box-shadow: 0 4px 30px rgba(0,0,0,.4); }
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}
.nav-logo { font-weight: 700; font-size: 1.05rem; letter-spacing: -.02em; }
.nav-logo span { color: var(--cyan); }
.nav-links {
  display: flex; list-style: none; gap: 4px;
}
.nav-links a {
  padding: 6px 14px; border-radius: 99px; font-size: .82rem; font-weight: 500;
  color: var(--text-dim); transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--text); background: var(--surface-h);
}
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }

@media(max-width:900px){
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: 60px; left: 0; right: 0;
    flex-direction: column; background: rgba(8,9,12,.96);
    backdrop-filter: blur(24px); padding: 12px 20px 20px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%); opacity: 0;
    transition: transform .35s, opacity .35s;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; }
  .nav-links a { padding: 12px 16px; font-size: .95rem; }
}

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  justify-content: center; overflow: hidden; padding: 100px 20px 60px;
}
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(120px); pointer-events: none;
  animation: pulse-orb 6s ease-in-out infinite;
}
.hero-orb--1 { top: 18%; left: 20%; width: 400px; height: 400px; background: rgba(139,92,246,.15); }
.hero-orb--2 { bottom: 20%; right: 18%; width: 350px; height: 350px; background: rgba(34,211,238,.12); animation-delay: 3s; }
@keyframes pulse-orb { 0%,100%{opacity:.6;transform:scale(1)} 50%{opacity:1;transform:scale(1.12)} }

.hero-content { position: relative; z-index: 10; max-width: 800px; text-align: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px; border-radius: 99px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: .82rem; color: var(--text-dim); margin-bottom: 28px;
}
.hero-badge svg { color: var(--purple); }
.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800; line-height: 1.12; letter-spacing: -.03em;
  margin-bottom: 20px;
}
.hero-subtitle {
  font-size: 1.05rem; color: var(--text-dim); max-width: 600px; margin: 0 auto 36px;
  line-height: 1.65;
}

/* Stats */
.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  max-width: 560px; margin: 0 auto 48px;
}
.stat-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px 8px; text-align: center;
}
.stat-number { font-size: 1.8rem; font-weight: 800; display: block; line-height: 1.2; }
.stat-label { font-size: .72rem; color: var(--text-mute); margin-top: 4px; display: block; }

/* Podcast Wrapper */
.podcast-wrapper {
  max-width: 640px; margin: 0 auto 44px;
  background: rgba(255,255,255,.03); border: 1px solid var(--border);
  border-radius: 20px; padding: 28px 24px 24px; text-align: left;
}
.podcast-heading {
  font-size: 1rem; font-weight: 600; margin-bottom: 16px; text-align: center;
}

/* Quote Chips */
.podcast-quotes {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  margin-bottom: 20px;
}
.quote-chip {
  padding: 8px 14px; border-radius: 99px; font-size: .78rem; line-height: 1.35;
  background: rgba(139,92,246,.08); border: 1px solid rgba(139,92,246,.18);
  color: var(--text-dim); transition: all .4s; opacity: .65;
  max-width: 100%;
}
.quote-chip.active {
  background: rgba(139,92,246,.15); border-color: rgba(139,92,246,.35);
  color: var(--text); opacity: 1; box-shadow: 0 0 20px rgba(139,92,246,.1);
}

/* Audio Player */
.audio-player {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.05); border: 1px solid var(--border-h);
  border-radius: 14px; padding: 12px 16px;
}
.play-btn {
  width: 44px; height: 44px; min-width: 44px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  transition: transform .2s, box-shadow .2s;
}
.play-btn:hover { transform: scale(1.08); box-shadow: 0 0 24px rgba(139,92,246,.4); }
.play-btn svg { width: 18px; height: 18px; color: #fff; }
.icon-play { margin-left: 2px; }

.player-body { flex: 1; min-width: 0; }
.player-info { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.player-title { font-size: .82rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-time { font-size: .72rem; color: var(--text-mute); font-family: var(--mono); white-space: nowrap; margin-left: 12px; }

.progress-track {
  position: relative; height: 6px; background: rgba(255,255,255,.08);
  border-radius: 99px; cursor: pointer; overflow: visible;
}
.progress-fill {
  position: absolute; top: 0; left: 0; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--purple), var(--cyan));
  border-radius: 99px; transition: width .1s;
}
.progress-thumb {
  position: absolute; top: 50%; width: 14px; height: 14px;
  background: #fff; border-radius: 50%; transform: translate(-50%,-50%);
  left: 0; box-shadow: 0 0 8px rgba(0,0,0,.4); opacity: 0;
  transition: opacity .2s;
}
.progress-track:hover .progress-thumb,
.audio-player.playing .progress-thumb { opacity: 1; }

.speed-btn {
  font-size: .72rem; font-weight: 700; font-family: var(--mono);
  padding: 4px 8px; border-radius: var(--radius-xs);
  background: var(--surface-h); border: 1px solid var(--border);
  transition: background .2s;
}
.speed-btn:hover { background: rgba(255,255,255,.12); }

.volume-wrap { display: flex; align-items: center; gap: 4px; }
.vol-btn svg { width: 18px; height: 18px; }
.vol-slider {
  width: 60px; height: 4px; -webkit-appearance: none; appearance: none;
  background: rgba(255,255,255,.12); border-radius: 99px; outline: none;
}
.vol-slider::-webkit-slider-thumb {
  -webkit-appearance: none; width: 12px; height: 12px;
  background: var(--text); border-radius: 50%; cursor: pointer;
}
@media(max-width:600px){
  .volume-wrap { display: none; }
  .audio-player { gap: 8px; padding: 10px 12px; }
}

/* Hero CTA */
.hero-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 99px; font-weight: 600; font-size: .95rem;
  background: linear-gradient(135deg, var(--purple), var(--purple-d));
  color: #fff; transition: transform .2s, box-shadow .2s;
}
.hero-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(139,92,246,.35); }
.hero-fade {
  position: absolute; bottom: 0; left: 0; right: 0; height: 120px;
  background: linear-gradient(to top, var(--bg), transparent); pointer-events: none;
}

/* ── Sections ────────────────────────────────────────────────── */
.section { padding: 100px 20px; }
.section--alt { background: var(--bg-alt); }

.section-header { text-align: center; margin-bottom: 56px; }
.section-badge {
  display: inline-block; padding: 6px 16px; border-radius: 99px;
  background: rgba(139,92,246,.1); border: 1px solid rgba(139,92,246,.2);
  font-size: .78rem; font-weight: 600; color: var(--purple);
  letter-spacing: .04em; text-transform: uppercase; margin-bottom: 16px;
}
.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800; letter-spacing: -.02em; line-height: 1.2;
  margin-bottom: 12px;
}
.section-desc { font-size: 1rem; color: var(--text-dim); max-width: 620px; margin: 0 auto; }

/* ── Platform Grid ──────────────────────────────────────────── */
.platform-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 20px;
}
@media(max-width:400px){ .platform-grid { grid-template-columns: 1fr; } }

.platform-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px;
  transition: border-color .3s, box-shadow .3s;
}
.platform-card:hover { border-color: var(--border-h); box-shadow: 0 8px 40px rgba(0,0,0,.25); }
.platform-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 4px; }
.platform-sub { font-size: .85rem; color: var(--text-dim); margin-bottom: 20px; }

.platform-icon {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border-radius: 10px; margin-bottom: 14px;
}
.platform-icon svg { width: 24px; height: 24px; }
.platform-card--ig .platform-icon { background: rgba(225,48,108,.12); color: #e1306c; }
.platform-card--li .platform-icon { background: rgba(10,102,194,.12); color: #0a66c2; }
.platform-card--fb .platform-icon { background: rgba(24,119,242,.12); color: #1877f2; }

.platform-card--ig { border-top: 2px solid rgba(225,48,108,.35); }
.platform-card--li { border-top: 2px solid rgba(10,102,194,.35); }
.platform-card--fb { border-top: 2px solid rgba(24,119,242,.35); }

/* ── Data Table ─────────────────────────────────────────────── */
.data-table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.data-table th {
  text-align: left; padding: 10px 8px; font-size: .72rem; font-weight: 600;
  color: var(--text-mute); text-transform: uppercase; letter-spacing: .05em;
  border-bottom: 1px solid var(--border);
}
.data-table td { padding: 10px 8px; border-bottom: 1px solid rgba(255,255,255,.04); }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: rgba(255,255,255,.02); }

/* Badges */
.badge {
  display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: .72rem; font-weight: 600;
  white-space: nowrap;
}
.badge--high { background: rgba(52,211,153,.12); color: var(--emerald); }
.badge--mid  { background: rgba(251,191,36,.1); color: var(--amber); }
.badge--low  { background: rgba(255,255,255,.06); color: var(--text-dim); }

/* Insight Boxes */
.insight {
  padding: 14px 16px; border-radius: var(--radius-sm); font-size: .84rem; line-height: 1.55;
  border-left: 3px solid;
}
.insight--tip  { background: rgba(34,211,238,.06); border-color: var(--cyan); color: var(--text-dim); }
.insight--warn { background: rgba(251,191,36,.06); border-color: var(--amber); color: var(--text-dim); }
.insight--highlight {
  background: linear-gradient(135deg, rgba(139,92,246,.08), rgba(34,211,238,.06));
  border-color: var(--purple); color: var(--text); margin-top: 32px; text-align: center;
}
.insight strong { color: var(--text); }

/* ── Format Bars ─────────────────────────────────────────────── */
.format-list { display: flex; flex-direction: column; gap: 12px; }
.format-item { }
.format-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 14px; border-radius: var(--radius-xs);
  background: linear-gradient(90deg, rgba(139,92,246,.15) 0%, rgba(34,211,238,.08) var(--w, 50%));
  font-size: .84rem; width: var(--w, 80%); min-width: 180px;
  transition: width .6s cubic-bezier(.4,0,.2,1);
}
.format-bar--danger {
  background: linear-gradient(90deg, rgba(248,113,113,.15) 0%, rgba(248,113,113,.05) var(--w, 20%));
}
.format-label { font-weight: 600; }
.format-val { font-family: var(--mono); font-size: .75rem; color: var(--text-dim); }
.format-note { font-size: .78rem; color: var(--text-mute); margin-top: 4px; padding-left: 14px; }

/* ── Key Facts ──────────────────────────────────────────────── */
.key-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.fact { text-align: center; padding: 16px 8px; background: var(--surface-h); border-radius: var(--radius-sm); }
.fact-num { display: block; font-size: 1.6rem; font-weight: 800; color: var(--text); line-height: 1.2; }
.fact-label { display: block; font-size: .72rem; color: var(--text-mute); margin-top: 4px; }

/* ── Hashtag Scale ──────────────────────────────────────────── */
.hashtag-scale { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.hs-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px; border-radius: var(--radius-sm); font-size: .88rem;
}
.hs-row--ok   { background: rgba(52,211,153,.06); }
.hs-row--warn { background: rgba(251,191,36,.06); }
.hs-row--bad  { background: rgba(248,113,113,.06); }
.hs-tag { font-size: .78rem; font-weight: 600; white-space: nowrap; }
.hs-tag--ok   { color: var(--emerald); }
.hs-tag--warn { color: var(--amber); }
.hs-tag--bad  { color: var(--rose); }

/* ── Two Column Layout ──────────────────────────────────────── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 32px; }
@media(max-width:768px){ .two-col { grid-template-columns: 1fr; } }

.glass-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px;
}
.glass-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 16px; }
.glass-card h4 { font-size: .95rem; font-weight: 600; margin-bottom: 12px; color: var(--text); }
.card-desc { font-size: .88rem; color: var(--text-dim); margin-bottom: 16px; }

/* ── AI Section ─────────────────────────────────────────────── */
.detect-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }
.detect-item { padding: 14px 16px; background: var(--surface-h); border-radius: var(--radius-sm); }
.detect-platform { display: inline-block; font-size: .75rem; font-weight: 700; color: var(--cyan); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
.detect-item p { font-size: .84rem; color: var(--text-dim); line-height: 1.5; }
.detect-item strong { color: var(--text); }

.phrase-grid {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.phrase {
  padding: 6px 14px; border-radius: 99px; font-size: .78rem;
  background: rgba(248,113,113,.08); border: 1px solid rgba(248,113,113,.18);
  color: var(--rose); font-family: var(--mono);
}

.human-list { list-style: none; counter-reset: human; display: flex; flex-direction: column; gap: 14px; }
.human-list li { counter-increment: human; position: relative; padding-left: 36px; font-size: .88rem; }
.human-list li::before {
  content: counter(human); position: absolute; left: 0; top: 0;
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(139,92,246,.15); color: var(--purple);
  display: flex; align-items: center; justify-content: center;
  font-size: .72rem; font-weight: 700;
}
.human-list strong { color: var(--text); }
.example { font-size: .8rem; color: var(--text-mute); font-style: italic; }

/* Compare bars */
.compare-bars { display: flex; flex-direction: column; gap: 10px; }
.cbar { display: flex; align-items: center; gap: 10px; font-size: .82rem; }
.cbar-label { width: 110px; min-width: 110px; font-weight: 600; font-size: .78rem; }
.cbar-track { flex: 1; height: 10px; background: rgba(255,255,255,.06); border-radius: 99px; overflow: hidden; }
.cbar-fill { height: 100%; border-radius: 99px; transition: width 1s; }
.cbar-fill--best { background: linear-gradient(90deg, var(--emerald), #6ee7b7); }
.cbar-fill--good { background: linear-gradient(90deg, var(--purple), var(--cyan)); }
.cbar-fill--bad  { background: linear-gradient(90deg, var(--rose), #fca5a5); }
.cbar-val { font-size: .72rem; color: var(--text-mute); white-space: nowrap; }

/* ── Engagement Bait ────────────────────────────────────────── */
.bait-section {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px; margin-top: 32px;
}
.bait-section h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 20px; text-align: center; }
.bait-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media(max-width:600px){ .bait-grid { grid-template-columns: 1fr; } }
.bait-col h4 { font-size: .9rem; font-weight: 600; margin-bottom: 10px; }
.bait-col ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.bait-col li { font-size: .84rem; color: var(--text-dim); padding: 8px 12px; border-radius: var(--radius-xs); }
.bait-col--bad li { background: rgba(248,113,113,.06); border-left: 2px solid rgba(248,113,113,.3); }
.bait-col--good li { background: rgba(52,211,153,.06); border-left: 2px solid rgba(52,211,153,.3); }

/* ── Schedule Section ───────────────────────────────────────── */
.schedule-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }

.time-blocks { display: flex; flex-direction: column; gap: 10px; }
.time-block {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px; background: var(--surface-h); border-radius: var(--radius-sm);
  font-size: .88rem;
}
.time-platform { font-weight: 600; }
.time-val { font-size: .82rem; color: var(--text-dim); }

.lifespan-list { display: flex; flex-direction: column; gap: 14px; }
.lifespan-item { display: grid; grid-template-columns: 110px 1fr auto; gap: 12px; align-items: center; }
.lifespan-format { font-size: .82rem; font-weight: 600; }
.lifespan-bar {
  height: 8px; background: rgba(255,255,255,.06); border-radius: 99px; overflow: hidden; position: relative;
}
.lifespan-bar::after {
  content: ''; position: absolute; top: 0; left: 0; height: 100%; width: var(--w, 50%);
  background: linear-gradient(90deg, var(--purple), var(--cyan)); border-radius: 99px;
  transition: width 1s;
}
.lifespan-val { font-size: .75rem; color: var(--text-dim); white-space: nowrap; }

/* ── Caption List ───────────────────────────────────────────── */
.caption-list { display: flex; flex-direction: column; gap: 8px; }
.caption-item {
  display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: center;
  padding: 10px 14px; background: var(--surface-h); border-radius: var(--radius-sm); font-size: .84rem;
}
.caption-platform { font-weight: 600; }
.caption-val { font-family: var(--mono); font-size: .78rem; color: var(--cyan); }
.caption-boost { font-size: .72rem; color: var(--text-mute); }
@media(max-width:500px){
  .caption-item { grid-template-columns: 1fr; }
}

/* ── Formatting Tips ────────────────────────────────────────── */
.formatting-card { margin-top: 0; }
.format-tips-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.format-tip {
  padding: 16px; background: var(--surface-h); border-radius: var(--radius-sm);
  font-size: .84rem;
}
.format-tip .ft-icon { font-size: 1.3rem; display: block; margin-bottom: 8px; }
.format-tip strong { display: block; margin-bottom: 4px; }
.format-tip p { color: var(--text-dim); line-height: 1.45; }

/* ── Takeaways ──────────────────────────────────────────────── */
.takeaways-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px;
  margin-bottom: 40px;
}
.takeaway-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  position: relative; overflow: hidden; transition: border-color .3s, transform .2s;
}
.takeaway-card:hover { border-color: var(--border-h); transform: translateY(-2px); }
.ta-num {
  font-size: 3rem; font-weight: 900; line-height: 1;
  background: linear-gradient(135deg, rgba(139,92,246,.15), rgba(34,211,238,.08));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  position: absolute; top: 16px; right: 20px;
}
.takeaway-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; padding-right: 50px; }
.takeaway-card p { font-size: .88rem; color: var(--text-dim); line-height: 1.5; }

/* Cross-Post Summary */
.cross-post-summary {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px;
}
.cross-post-summary h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 16px; text-align: center; }
.cp-grid { display: flex; flex-direction: column; gap: 8px; max-width: 500px; margin: 0 auto; }
.cp-item {
  padding: 10px 16px; border-radius: var(--radius-sm); font-size: .88rem;
}
.cp-item--bad  { background: rgba(248,113,113,.06); color: var(--text-dim); }
.cp-item--good { background: rgba(52,211,153,.06); color: var(--text-dim); }

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  padding: 48px 20px; border-top: 1px solid var(--border); text-align: center;
}
.footer-title { font-size: .9rem; font-weight: 600; margin-bottom: 6px; }
.footer-sub { font-size: .78rem; color: var(--text-mute); margin-bottom: 12px; }
.footer-sources { font-size: .72rem; color: var(--text-mute); max-width: 700px; margin: 0 auto; line-height: 1.55; opacity: .6; }

/* ── Animations ─────────────────────────────────────────────── */
.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity .6s, transform .6s;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── Custom Scrollbar ───────────────────────────────────────── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--purple); }

/* ── Selection ──────────────────────────────────────────────── */
::selection { background: rgba(139,92,246,.3); color: #fff; }
