.showcase {
  background: var(--bg-secondary);
}

.showcase-header {
  text-align: center;
  margin-bottom: 4rem;
}

.showcase-header .label {
  margin-bottom: 1rem;
}

.showcase-sub {
  max-width: 540px;
  margin: 1.25rem auto 0;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

/* ── Report Preview Wrapper ── */
.report-preview-wrap {
  max-width: 900px;
  margin: 0 auto;
  perspective: 1200px;
}

/* ── Browser Frame ── */
.report-browser {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: #0d0d14;
  transform: rotateX(2deg) rotateY(-1deg);
  transition: transform 0.6s var(--ease-out);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(0, 240, 255, 0.03);
}

.report-browser:hover {
  transform: rotateX(0) rotateY(0);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(0, 240, 255, 0.06);
}

/* Scan line overlay */
.report-browser-body {
  position: relative;
}

.report-browser-body::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.015) 2px,
    rgba(0, 0, 0, 0.015) 4px
  );
  pointer-events: none;
  z-index: 2;
}

/* Shimmer sweep across report */
.report-mock-body {
  position: relative;
  overflow: hidden;
}

.report-mock-body::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.03), transparent);
  animation: report-shimmer 6s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes report-shimmer {
  0% { left: -100%; }
  50%, 100% { left: 200%; }
}

.report-browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--glass-border);
}

.report-browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.report-browser-dot:first-child { background: rgba(255, 80, 80, 0.5); }
.report-browser-dot:nth-child(2) { background: rgba(255, 190, 50, 0.5); }
.report-browser-dot:nth-child(3) { background: rgba(50, 215, 75, 0.5); }

.report-browser-url {
  margin-left: 12px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 0.03em;
}

.report-browser-body {
  padding: 0;
}

/* ── Report Mockup ── */
.report-mock {
  overflow: hidden;
}

.report-mock-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, #0d0d14 0%, #12101f 100%);
  border-bottom: 3px solid var(--accent-orange);
  position: relative;
}

.report-mock-header::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-orange);
  box-shadow: 0 0 12px rgba(247, 147, 26, 0.4);
  animation: header-glow 3s ease-in-out infinite;
}

@keyframes header-glow {
  0%, 100% { box-shadow: 0 0 8px rgba(247, 147, 26, 0.2); }
  50% { box-shadow: 0 0 20px rgba(247, 147, 26, 0.5); }
}

.report-mock-logo {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.report-mock-title-block {
  flex: 1;
}

.report-mock-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.report-mock-subtitle {
  font-size: 0.7rem;
  color: var(--accent-orange);
  font-weight: 600;
  margin-top: 2px;
}

.report-mock-live {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #00e676;
}

.report-mock-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00e676;
  animation: live-pulse 1.5s ease infinite;
}

@keyframes live-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 4px #00e676; }
  50% { opacity: 0.4; box-shadow: 0 0 8px #00e676; }
}

.report-mock-date {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.35);
}

/* Report body — light theme like the real dashboard */
.report-mock-body {
  padding: 1.5rem;
  background: #ffffff;
}

/* Stats row */
.report-mock-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.report-mock-stat {
  text-align: center;
  padding: 1rem;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.report-mock-stat-value {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-orange);
  line-height: 1;
  margin-bottom: 4px;
  text-shadow: 0 0 20px rgba(247, 147, 26, 0.3);
}

.report-mock-stat-label {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
}

/* Charts */
.report-mock-charts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.report-mock-chart {
  padding: 1rem;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.report-mock-chart-title {
  font-size: 0.7rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent-orange);
}

.report-mock-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 80px;
}

.report-mock-bar {
  flex: 1;
  height: var(--h);
  background: var(--accent-orange);
  border-radius: 3px 3px 0 0;
  opacity: 0.8;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.6s var(--ease-out);
}

.report-mock-bars--cyan .report-mock-bar {
  background: var(--accent-cyan);
}

.report-mock.is-visible .report-mock-bar {
  transform: scaleY(1);
}

/* Stagger bar animation */
.report-mock.is-visible .report-mock-bar:nth-child(1) { transition-delay: 0.1s; }
.report-mock.is-visible .report-mock-bar:nth-child(2) { transition-delay: 0.15s; }
.report-mock.is-visible .report-mock-bar:nth-child(3) { transition-delay: 0.2s; }
.report-mock.is-visible .report-mock-bar:nth-child(4) { transition-delay: 0.25s; }
.report-mock.is-visible .report-mock-bar:nth-child(5) { transition-delay: 0.3s; }
.report-mock.is-visible .report-mock-bar:nth-child(6) { transition-delay: 0.35s; }
.report-mock.is-visible .report-mock-bar:nth-child(7) { transition-delay: 0.4s; }

/* Bottom row: top posts + territories */
.report-mock-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Top Posts */
.report-mock-top-posts {
  padding: 1rem;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.report-mock-post {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid #f1f5f9;
}

.report-mock-post:last-child {
  border-bottom: none;
}

.report-mock-post-rank {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 800;
  color: #ffffff;
  background: var(--accent-orange);
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
}

.report-mock-post-name {
  font-size: 0.7rem;
  font-weight: 600;
  color: #1e293b;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.report-mock-post-icon {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

.report-mock-post-icon svg {
  width: 14px;
  height: 14px;
  display: block;
}

.report-mock-post-views {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: #059669;
  flex-shrink: 0;
}

/* Territories */
.report-mock-territories {
  padding: 1rem;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.report-mock-territory {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.report-mock-territory-name {
  width: 60px;
  font-size: 0.65rem;
  font-weight: 700;
  color: #1e293b;
  flex-shrink: 0;
}

.report-mock-territory-track {
  flex: 1;
  height: 16px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
}

.report-mock-territory-fill {
  height: 100%;
  width: var(--w);
  background: var(--accent-orange);
  border-radius: 4px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s var(--ease-out);
}

.report-mock-territory-fill--cyan {
  background: var(--accent-cyan);
}

.report-mock.is-visible .report-mock-territory-fill {
  transform: scaleX(1);
}

.report-mock.is-visible .report-mock-territory:nth-child(2) .report-mock-territory-fill { transition-delay: 0.1s; }
.report-mock.is-visible .report-mock-territory:nth-child(3) .report-mock-territory-fill { transition-delay: 0.2s; }
.report-mock.is-visible .report-mock-territory:nth-child(4) .report-mock-territory-fill { transition-delay: 0.3s; }
.report-mock.is-visible .report-mock-territory:nth-child(5) .report-mock-territory-fill { transition-delay: 0.4s; }

.report-mock-territory-pct {
  width: 32px;
  text-align: right;
  font-size: 0.7rem;
  font-weight: 800;
  color: #1e293b;
}

/* ── Feature Tags ── */
.report-features {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.report-feature {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--glass-border);
  border-radius: 3px;
  color: var(--text-secondary);
}

.report-feature:nth-child(odd) {
  border-color: rgba(0, 240, 255, 0.2);
  color: var(--accent-cyan);
}

.report-feature:nth-child(even) {
  border-color: rgba(247, 147, 26, 0.2);
  color: var(--accent-orange);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .report-mock-header {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .report-mock-date {
    width: 100%;
  }

  .report-mock-charts {
    grid-template-columns: 1fr;
  }

  .report-mock-stats {
    grid-template-columns: 1fr;
  }

  .report-mock-bottom {
    grid-template-columns: 1fr;
  }

  .report-mock-stat-value {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .report-mock-body {
    padding: 1rem;
  }

  .report-mock-bars {
    height: 50px;
  }
}
