/* ════════════════════════════════════════════════════════════════════
   showcase.css — Analysis Board showcase page
   Editorial chess aesthetic. Extends styles.css.
   ════════════════════════════════════════════════════════════════════ */

.showcase-main { padding-top: 8px; }

/* ─── Big screenshot window ─── */
.screenshot-window {
  margin-top: 18px;
  overflow: visible;
}

.screenshot-frame {
  background: var(--surface);
  padding: 14px;
  position: relative;
}

.screenshot-frame img {
  width: 100%;
  display: block;
  border-radius: 8px;
  box-shadow: var(--sh-lg);
  border: 1px solid var(--border);
}

/* ─── Numbered feature blocks ─── */
.feature-block {
  background: var(--surface);
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 22px;
  align-items: flex-start;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  margin-bottom: 14px;
  transition: all 0.25s var(--ease);
  position: relative;
  counter-increment: feat;
}
.feature-block:last-child { margin-bottom: 0; }
.feature-block:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
}

/* Numbers as algebraic-notation-style squares */
.feature-number {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 18px;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  border-radius: 12px;
  position: relative;
  letter-spacing: -0.02em;
}
.feature-block:nth-child(2n) .feature-number {
  background: var(--surface);
  color: var(--text);
  border-color: var(--text-soft);
}
.feature-number::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px dashed var(--accent);
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.25s;
}
.feature-block:hover .feature-number::after { opacity: 0.4; }

[data-theme="dark"] .feature-block:nth-child(2n) .feature-number {
  background: var(--surface-2);
  color: var(--text);
  border-color: var(--border);
}

.feature-content { flex: 1; min-width: 0; }

.feature-content h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  margin: 0 0 10px;
  color: var(--text);
  letter-spacing: -0.022em;
  line-height: 1.2;
  font-variation-settings: "opsz" 84, "SOFT" 50;
}

.feature-content p {
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 12px;
  color: var(--text-soft);
}

.feature-content ul {
  margin: 0;
  padding-left: 20px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-soft);
}
.feature-content ul li { margin-bottom: 4px; }
.feature-content ul li::marker { color: var(--accent); }
.feature-content strong { font-weight: 700; color: var(--text); }

/* ─── CTA block ─── */
.showcase-cta-body {
  text-align: center;
  padding: 56px 28px;
  position: relative;
  overflow: hidden;
}
.showcase-cta-body::before {
  /* big checkered ornament behind the CTA */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(45deg, var(--border-soft) 25%, transparent 25%, transparent 75%, var(--border-soft) 75%),
    linear-gradient(45deg, var(--border-soft) 25%, transparent 25%, transparent 75%, var(--border-soft) 75%);
  background-size: 40px 40px;
  background-position: 0 0, 20px 20px;
  opacity: 0.35;
  mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, black 0%, transparent 70%);
  pointer-events: none;
}
[data-theme="dark"] .showcase-cta-body::before { opacity: 0.5; }

.showcase-cta-body h3 {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 40px);
  margin: 0 0 12px;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--text);
  font-variation-settings: "opsz" 120, "SOFT" 70;
}
.showcase-cta-body p {
  position: relative;
  margin: 0 0 24px;
  font-size: 16px;
  color: var(--text-soft);
}
.showcase-cta-body .cta {
  position: relative;
  justify-content: center;
}

@media (max-width: 720px) {
  .feature-block {
    grid-template-columns: 48px 1fr;
    gap: 16px;
    padding: 20px;
  }
  .feature-number {
    width: 44px; height: 44px; font-size: 15px;
  }
  .feature-content h3 { font-size: 20px; }
}
