/* === SAMPLE REPORT PAGE === */
/* Owns: /sample page layout and components only. Does not override theme.css global vars. */

.sr-page { background: var(--bg); min-height: 100vh; }

/* Nav */
.sr-nav {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}
.sr-nav-logo { font-family: 'DM Serif Display', serif; font-size: 1.1rem; color: var(--fg); text-decoration: none; }
.sr-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: #000;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.sr-nav-cta:hover { opacity: 0.88; }

/* Banner */
.sr-banner { background: var(--accent-dim); border-bottom: 1px solid rgba(245,158,11,0.2); padding: 0.6rem 2rem; text-align: center; }
.sr-banner-text { font-size: 0.78rem; color: var(--accent); letter-spacing: 0.04em; }
.sr-banner-text strong { color: var(--fg); }

/* Container */
.sr-container { max-width: 820px; margin: 0 auto; padding: 3rem 2rem 6rem; }

/* Report header */
.sr-report-header { margin-bottom: 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid var(--border); }
.sr-meta-row { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.sr-badge { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; padding: 3px 10px; border-radius: 20px; }
.sr-badge-sample { background: rgba(245,158,11,0.15); color: var(--accent); border: 1px solid rgba(245,158,11,0.3); }
.sr-badge-niche { background: rgba(255,255,255,0.04); color: var(--fg-muted); border: 1px solid var(--border); }
.sr-date { font-size: 0.75rem; color: var(--fg-muted); margin-left: auto; }
.sr-title { font-family: 'DM Serif Display', serif; font-size: clamp(1.6rem,3.5vw,2.4rem); font-weight: 400; line-height: 1.2; color: var(--fg); margin-bottom: 0.75rem; }
.sr-subtitle { font-size: 0.95rem; color: var(--fg-muted); line-height: 1.65; max-width: 680px; }

/* Gap Score */
.sr-gap-score-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: center;
}
.sr-score-ring-wrap { position: relative; width: 100px; height: 100px; flex-shrink: 0; }
.sr-score-ring-wrap svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.sr-score-ring-track { fill: none; stroke: rgba(255,255,255,0.06); stroke-width: 8; }
.sr-score-ring-fill { fill: none; stroke: #22c55e; stroke-width: 8; stroke-linecap: round; stroke-dasharray: 207.8 238.8; }
.sr-score-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.sr-score-num { font-family: 'DM Serif Display', serif; font-size: 1.6rem; color: #22c55e; line-height: 1; }
.sr-score-denom { font-size: 0.65rem; color: var(--fg-muted); margin-top: 2px; }
.sr-score-label { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.16em; color: var(--accent); text-transform: uppercase; margin-bottom: 0.5rem; }
.sr-score-name { font-family: 'DM Serif Display', serif; font-size: 1.25rem; color: var(--fg); margin-bottom: 0.4rem; }
.sr-score-desc { font-size: 0.82rem; color: var(--fg-muted); line-height: 1.55; }

/* Signal bars */
.sr-signals { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-top: 1.25rem; }
.sr-signal-row { display: flex; align-items: center; gap: 0.6rem; }
.sr-signal-label { font-size: 0.72rem; color: var(--fg-muted); width: 90px; flex-shrink: 0; }
.sr-signal-bar { flex: 1; height: 5px; background: rgba(255,255,255,0.05); border-radius: 3px; overflow: hidden; }
.sr-signal-fill { height: 100%; border-radius: 3px; }
.sr-fill-green { background: #22c55e; }
.sr-fill-amber { background: #f59e0b; }
.sr-signal-val { font-size: 0.65rem; font-weight: 600; color: var(--fg-muted); width: 36px; text-align: right; }

/* Sections */
.sr-section { margin-bottom: 2rem; }
.sr-section-label {
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1rem; display: flex; align-items: center; gap: 0.75rem;
}
.sr-section-label::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.sr-section-heading { font-family: 'DM Serif Display', serif; font-size: 1.15rem; color: var(--fg); margin-bottom: 0.75rem; }
.sr-section-body { font-size: 0.9rem; color: var(--fg-muted); line-height: 1.7; }

/* Source cards */
.sr-sources { display: flex; flex-direction: column; gap: 1rem; margin-top: 1rem; }
.sr-source-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; padding: 1rem 1.25rem; }
.sr-source-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.6rem; }
.sr-source-icon { width: 26px; height: 26px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 700; flex-shrink: 0; }
.sr-source-icon-reddit { background: rgba(255,69,0,0.15); color: #ff4500; }
.sr-source-icon-hn { background: rgba(255,102,0,0.15); color: #ff6600; }
.sr-source-icon-g2 { background: rgba(255,0,102,0.15); color: #ff0066; }
.sr-source-icon-app { background: rgba(0,122,255,0.15); color: #007aff; }
.sr-source-name { font-size: 0.78rem; font-weight: 600; color: var(--fg); }
.sr-source-signal { margin-left: auto; font-size: 0.65rem; font-weight: 600; padding: 2px 8px; border-radius: 20px; }
.sr-source-signal-up { background: rgba(34,197,94,0.12); color: #22c55e; }
.sr-source-signal-hot { background: rgba(245,158,11,0.12); color: var(--accent); }
.sr-source-quote { font-size: 0.82rem; color: var(--fg-muted); line-height: 1.55; border-left: 2px solid var(--border); padding-left: 0.75rem; margin-bottom: 0.5rem; font-style: italic; }
.sr-source-url { font-size: 0.7rem; color: var(--fg-muted); opacity: 0.5; }

/* Saturation grid */
.sr-sat-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; margin-top: 1rem; }
.sr-sat-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; padding: 1rem; text-align: center; }
.sr-sat-val { font-family: 'DM Serif Display', serif; font-size: 1.5rem; color: var(--fg); margin-bottom: 0.25rem; }
.sr-sat-key { font-size: 0.7rem; color: var(--fg-muted); line-height: 1.4; }
.sr-sat-trend { font-size: 0.68rem; font-weight: 600; margin-top: 0.35rem; }
.sr-trend-up { color: #22c55e; }
.sr-trend-warn { color: var(--accent); }

/* Momentum */
.sr-momentum { margin-top: 1rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; padding: 1.25rem; }
.sr-momentum-label { font-size: 0.65rem; font-weight: 600; letter-spacing: 0.12em; color: var(--fg-muted); text-transform: uppercase; margin-bottom: 1rem; }
.sr-momentum-bars { display: flex; align-items: flex-end; gap: 4px; height: 60px; }
.sr-m-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; justify-content: flex-end; }
.sr-m-bar { width: 100%; border-radius: 3px 3px 0 0; background: rgba(245,158,11,0.3); }
.sr-m-bar.active { background: var(--accent); }
.sr-m-tick { font-size: 0.55rem; color: var(--fg-muted); white-space: nowrap; }
.sr-momentum-footer { display: flex; justify-content: space-between; margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px solid var(--border); }
.sr-momentum-stat { text-align: center; }
.sr-momentum-stat-val { font-size: 1rem; font-weight: 600; color: #22c55e; }
.sr-momentum-stat-key { font-size: 0.65rem; color: var(--fg-muted); }

/* Competitor table */
.sr-comp-table { width: 100%; border-collapse: collapse; margin-top: 1rem; font-size: 0.82rem; }
.sr-comp-table th { text-align: left; font-size: 0.65rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-muted); padding: 0.5rem 0.75rem; border-bottom: 1px solid var(--border); }
.sr-comp-table td { padding: 0.65rem 0.75rem; color: var(--fg-muted); border-bottom: 1px solid rgba(255,255,255,0.03); }
.sr-comp-table tr:last-child td { border-bottom: none; }
.sr-comp-name { color: var(--fg); font-weight: 500; }
.sr-comp-rating-low { color: #ef4444; }
.sr-comp-rating-mid { color: var(--accent); }
.sr-comp-gap { color: #22c55e; font-weight: 500; }

/* Verdict */
.sr-verdict { background: rgba(34,197,94,0.06); border: 1px solid rgba(34,197,94,0.2); border-radius: 14px; padding: 2rem; margin-bottom: 2rem; }
.sr-verdict-header { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 1.25rem; }
.sr-verdict-score { font-family: 'DM Serif Display', serif; font-size: 3.5rem; color: #22c55e; line-height: 1; flex-shrink: 0; }
.sr-verdict-label { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.18em; color: #22c55e; text-transform: uppercase; margin-bottom: 0.25rem; }
.sr-verdict-title { font-family: 'DM Serif Display', serif; font-size: 1.15rem; color: var(--fg); }
.sr-verdict-body { font-size: 0.9rem; color: var(--fg-muted); line-height: 1.7; margin-bottom: 1.25rem; }
.sr-action-list { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }
.sr-action-item { font-size: 0.85rem; color: var(--fg); display: flex; align-items: flex-start; gap: 0.6rem; }
.sr-action-item::before { content: '→'; color: #22c55e; flex-shrink: 0; font-size: 0.75rem; margin-top: 0.1rem; }

/* CTA blocks */
.sr-cta-block { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 2rem; text-align: center; margin-bottom: 2rem; }
.sr-cta-eyebrow { font-size: 0.65rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.75rem; }
.sr-cta-heading { font-family: 'DM Serif Display', serif; font-size: clamp(1.4rem,3vw,1.9rem); color: var(--fg); margin-bottom: 0.75rem; line-height: 1.25; }
.sr-cta-sub { font-size: 0.88rem; color: var(--fg-muted); margin-bottom: 1.75rem; max-width: 520px; margin-left: auto; margin-right: auto; line-height: 1.65; }
.sr-cta-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; max-width: 600px; margin: 0 auto 1rem; }
.sr-cta-card { border: 1px solid var(--border); border-radius: 12px; padding: 1.25rem; text-align: left; background: var(--bg); position: relative; }
.sr-cta-card-featured { border-color: var(--accent); }
.sr-cta-card-badge { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #000; font-size: 0.58rem; font-weight: 700; letter-spacing: 0.1em; padding: 2px 10px; border-radius: 20px; white-space: nowrap; }
.sr-cta-tier { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.15em; color: var(--fg-muted); margin-bottom: 0.4rem; }
.sr-cta-tier-featured { color: var(--accent); }
.sr-cta-price { font-family: 'DM Serif Display', serif; font-size: 1.8rem; color: var(--fg); line-height: 1; margin-bottom: 0.25rem; }
.sr-cta-period { font-size: 0.75rem; color: var(--fg-muted); }
.sr-cta-features { list-style: none; margin: 0.75rem 0; font-size: 0.75rem; color: var(--fg-muted); display: flex; flex-direction: column; gap: 0.3rem; }
.sr-cta-features li::before { content: '✓ '; color: #22c55e; }
.sr-cta-btn { display: block; width: 100%; background: var(--accent); color: #000; font-size: 0.82rem; font-weight: 600; padding: 0.65rem 1rem; border-radius: 8px; text-decoration: none; text-align: center; transition: opacity 0.2s; margin-top: 0.75rem; }
.sr-cta-btn:hover { opacity: 0.88; }
.sr-cta-btn-secondary { background: rgba(245,158,11,0.12); color: var(--accent); border: 1px solid rgba(245,158,11,0.3); }
.sr-cta-fine { font-size: 0.72rem; color: var(--fg-muted); opacity: 0.6; }

/* Locked preview */
.sr-locked { position: relative; margin-bottom: 2rem; user-select: none; }
.sr-locked-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 0%, var(--bg) 60%); display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding-bottom: 2rem; z-index: 5; }
.sr-locked-badge { background: var(--bg-card); border: 1px solid var(--border); border-radius: 30px; padding: 0.4rem 1.25rem; font-size: 0.75rem; color: var(--fg-muted); margin-bottom: 0.75rem; }
.sr-locked-cta { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--accent); color: #000; font-size: 0.82rem; font-weight: 600; padding: 0.6rem 1.5rem; border-radius: 8px; text-decoration: none; }
.sr-locked-content { filter: blur(5px); pointer-events: none; max-height: 200px; overflow: hidden; }

/* Footer */
.sr-footer { border-top: 1px solid var(--border); padding: 2rem; text-align: center; }
.sr-footer-text { font-size: 0.75rem; color: var(--fg-muted); opacity: 0.5; }

/* Responsive */
@media (max-width: 700px) {
  .sr-gap-score-block { grid-template-columns: 1fr; text-align: center; }
  .sr-score-ring-wrap { margin: 0 auto; }
  .sr-signals { grid-template-columns: 1fr; }
  .sr-sat-grid { grid-template-columns: 1fr 1fr; }
  .sr-cta-cards { grid-template-columns: 1fr; }
  .sr-nav { padding: 0.75rem 1rem; }
  .sr-container { padding: 2rem 1rem 5rem; }
}
@media (max-width: 480px) {
  .sr-sat-grid { grid-template-columns: 1fr; }
  .sr-comp-table { font-size: 0.75rem; }
}
