/* ═══════════════════════════════════════════════════════════════════════════
 * SHOWCASE v2 — Cinematic 4-Panel Horizontal Scroll
 * HUD-style dark interface, curated legal demonstrations
 * Commission-designed, 2026-03-22
 * ═══════════════════════════════════════════════════════════════════════════ */

.showcase {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 5rem 0 3rem;
}

.showcase-label {
    text-align: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    opacity: 0.4;
    color: #e8e4dc;
}

.showcase-heading {
    text-align: center;
    font-family: 'Instrument Serif', serif;
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    font-weight: 400;
    margin: 0 auto 2.5rem;
    max-width: 650px;
    line-height: 1.2;
    color: #e8e4dc;
}

.showcase-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.showcase-track::-webkit-scrollbar { display: none; }

/* ── Panel Base ──────────────────────────────────────────────────────────── */

.showcase-panel {
    flex: 0 0 100%;
    width: 100%;
    scroll-snap-align: start;
    padding: 0 clamp(1rem, 4vw, 3rem);
    box-sizing: border-box;
}

.sc-inner {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 12px;
    border: 1px solid rgba(212,175,55,0.08);
    background: rgba(255,255,255,0.015);
    overflow: hidden;
    position: relative;
}

/* Panel Header */
.sc-hdr {
    padding: 1.25rem 1.75rem 0.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.sc-hdr-tool {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #D4AF37;
    opacity: 0.7;
}

.sc-hdr-title {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: #e8e4dc;
    margin: 0.2rem 0 0;
}

.sc-hdr-badge {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.55rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    color: #D4AF37;
    border: 1px solid rgba(212,175,55,0.2);
    background: rgba(212,175,55,0.06);
}

/* Panel Body */
.sc-body {
    padding: 1.25rem 1.75rem 1rem;
}

/* Panel Callout */
.sc-callout {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    line-height: 1.5;
    padding: 0.9rem 1.75rem;
    color: #D4AF37;
    border-top: 1px solid rgba(255,255,255,0.04);
}

/* Panel Stats HUD */
.sc-hud {
    display: flex;
    border-top: 1px solid rgba(255,255,255,0.04);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6rem;
}

.sc-hud-item {
    flex: 1;
    padding: 0.65rem 0.75rem;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.04);
    color: rgba(232,228,220,0.6);
}

.sc-hud-item:last-child { border-right: none; }

.sc-hud-val {
    font-weight: 600;
    font-size: 0.8rem;
    color: #D4AF37;
    display: block;
    margin-bottom: 0.1rem;
}

.sc-hud-lbl {
    font-size: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.5;
}

/* ── Panel 1: Brief Analysis ────────────────────────────────────────────── */

.sc-brief {
    display: grid;
    grid-template-columns: 62% 38%;
    gap: 1rem;
    min-height: 260px;
}

.sc-doc {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    line-height: 1.9;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    background: rgba(0,0,0,0.25);
    color: rgba(232,228,220,0.7);
}

.sc-line {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.25rem 0;
}

.sc-marker {
    flex-shrink: 0;
    width: 3px;
    min-height: 1.2em;
    border-radius: 1px;
    margin-top: 0.15em;
}

.sc-marker.v { background: #4caf50; box-shadow: 0 0 6px rgba(76,175,80,0.3); }
.sc-marker.r { background: #ef5350; box-shadow: 0 0 6px rgba(239,83,80,0.3); }
.sc-marker.b { background: #e8e4dc; border: 1px solid rgba(255,255,255,0.2); }
.sc-marker.y { background: #ffc107; box-shadow: 0 0 6px rgba(255,193,7,0.3); }

.sc-analysis {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sc-verdict-card {
    border-radius: 8px;
    padding: 0.9rem 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    line-height: 1.55;
    border-left: 3px solid #ef5350;
    background: rgba(239,83,80,0.05);
    color: rgba(232,228,220,0.85);
}

.sc-verdict-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ef5350;
    margin-bottom: 0.4rem;
    display: block;
}

.sc-fab-card {
    border-radius: 8px;
    padding: 0.75rem 1rem;
    border-left: 3px solid #e8e4dc;
    background: rgba(255,255,255,0.03);
    font-family: 'Inter', sans-serif;
    font-size: 0.68rem;
    color: rgba(232,228,220,0.7);
}

.sc-fab-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.55rem;
    font-weight: 600;
    color: #e8e4dc;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
    display: block;
}

/* ── Panel 2: Discovery ─────────────────────────────────────────────────── */

.sc-disco {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 1rem;
    min-height: 260px;
}

.sc-cases {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.sc-case {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.5rem;
    border-radius: 5px;
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    color: rgba(232,228,220,0.6);
}

.sc-case.active {
    background: rgba(212,175,55,0.05);
    border: 1px solid rgba(212,175,55,0.12);
    color: rgba(232,228,220,0.85);
}

.sc-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.sc-dot.g { background: #4caf50; }
.sc-dot.y { background: #ffc107; }
.sc-dot.r { background: #ef5350; }

.sc-disco-main {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sc-compliance {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.sc-comp-card {
    padding: 0.5rem 0.65rem;
    border-radius: 5px;
    font-family: 'Inter', sans-serif;
    font-size: 0.62rem;
    border: 1px solid rgba(255,255,255,0.04);
    background: rgba(255,255,255,0.015);
}

.sc-comp-lbl { opacity: 0.5; font-size: 0.55rem; margin-bottom: 0.2rem; }
.sc-comp-val { font-weight: 600; font-size: 0.68rem; }
.sc-comp-val.ok { color: #4caf50; }
.sc-comp-val.late { color: #ef5350; }
.sc-comp-val.soon { color: #ffc107; }

.sc-insight {
    padding: 0.75rem 1rem;
    border-radius: 6px;
    border-left: 3px solid #D4AF37;
    background: rgba(212,175,55,0.04);
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    line-height: 1.55;
    color: rgba(232,228,220,0.85);
    font-style: italic;
}

.sc-insight-tag {
    font-style: normal;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.55rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #D4AF37;
    margin-bottom: 0.35rem;
    display: block;
}

.sc-btn {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    padding: 0.45rem 0.85rem;
    border-radius: 5px;
    background: linear-gradient(135deg, #8B6914, #D4AF37);
    color: #0F0F11;
    margin-top: 0.5rem;
    cursor: default;
}

/* ── Panel 3: Strategy ──────────────────────────────────────────────────── */

.sc-strat {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 1.5rem;
}

.sc-gauge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 0.75rem;
}

.sc-gauge-ring {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 3px solid #D4AF37;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(212,175,55,0.08);
}

.sc-gauge-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.8rem;
    font-weight: 600;
    color: #D4AF37;
    line-height: 1;
}

.sc-gauge-max {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6rem;
    color: rgba(232,228,220,0.3);
}

.sc-gauge-status {
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #4caf50;
}

.sc-posture {
    display: flex;
    gap: 0.3rem;
    margin-top: 0.6rem;
}

.sc-posture-btn {
    font-family: 'Inter', sans-serif;
    font-size: 0.58rem;
    padding: 0.3rem 0.55rem;
    border-radius: 3px;
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(232,228,220,0.5);
    background: transparent;
    cursor: default;
}

.sc-posture-btn.on {
    color: #D4AF37;
    border-color: #D4AF37;
    background: rgba(212,175,55,0.08);
    font-weight: 600;
}

.sc-strat-main {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sc-rec {
    padding: 0.9rem 1.1rem;
    border-radius: 8px;
    background: rgba(255,255,255,0.02);
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    line-height: 1.6;
    color: rgba(232,228,220,0.85);
}

.sc-rec-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.55rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(232,228,220,0.4);
    margin-bottom: 0.4rem;
    display: block;
}

.sc-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.4rem;
}

.sc-action {
    padding: 0.5rem 0.65rem;
    border-radius: 5px;
    border: 1px solid rgba(255,255,255,0.04);
    background: rgba(255,255,255,0.015);
    font-family: 'Inter', sans-serif;
}

.sc-action-name { font-size: 0.68rem; font-weight: 600; color: rgba(232,228,220,0.85); margin-bottom: 0.15rem; }
.sc-action-meta { font-size: 0.55rem; color: rgba(232,228,220,0.4); display: flex; justify-content: space-between; }
.sc-pri-h { color: #ef5350; }
.sc-pri-m { color: #ffc107; }

/* ── Panel 4: Drafter ────────────────────────────────────────────────────── */

.sc-draft {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 1rem;
}

.sc-form {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 0.9rem;
    border-radius: 8px;
    background: rgba(255,255,255,0.02);
}

.sc-fg { display: flex; flex-direction: column; gap: 0.25rem; }

.sc-fl {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.55rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(232,228,220,0.4);
}

.sc-fv {
    font-family: 'Inter', sans-serif;
    font-size: 0.68rem;
    padding: 0.4rem 0.55rem;
    border-radius: 3px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.02);
    color: rgba(232,228,220,0.75);
}

.sc-gen-btn {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.55rem 0.85rem;
    border-radius: 5px;
    background: linear-gradient(135deg, #8B6914, #D4AF37);
    color: #0F0F11;
    text-align: center;
    margin-top: 0.4rem;
    cursor: default;
}

.sc-preview {
    padding: 1.1rem;
    border-radius: 8px;
    background: rgba(0,0,0,0.25);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.62rem;
    line-height: 1.7;
    color: rgba(232,228,220,0.7);
    max-height: 300px;
    overflow: hidden;
    position: relative;
}

.sc-preview::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 50px;
    background: linear-gradient(transparent, rgba(15,15,17,0.95));
    pointer-events: none;
}

.sc-caption { text-align: center; margin-bottom: 0.8rem; font-size: 0.58rem; line-height: 1.5; }
.sc-doc-title { text-align: center; font-weight: 700; font-size: 0.68rem; text-transform: uppercase; margin: 0.6rem 0; }
.sc-section { font-weight: 600; margin: 0.6rem 0 0.2rem; font-size: 0.64rem; }
.sc-cite { border-bottom: 1.5px solid #4caf50; padding-bottom: 0.5px; }

/* ── Navigation ──────────────────────────────────────────────────────────── */

.showcase-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    padding: 1.5rem 0 0;
}

.showcase-dots { display: flex; gap: 0.5rem; }

.showcase-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    border: 1.5px solid #D4AF37;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
}

.showcase-dot.active { background: #D4AF37; transform: scale(1.3); }

.showcase-arrow {
    width: 30px; height: 30px;
    border-radius: 50%;
    border: 1px solid rgba(212,175,55,0.15);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #D4AF37;
    font-size: 0.8rem;
    transition: all 0.15s;
    padding: 0;
}

.showcase-arrow:hover { background: rgba(212,175,55,0.06); border-color: rgba(212,175,55,0.25); }

/* ── BenchSlap Free Theme ────────────────────────────────────────────────── */

.basic-bench .sc-inner { border-color: rgba(168,181,194,0.08); }
.basic-bench .sc-hdr-tool { color: #A8B5C2; }
.basic-bench .sc-hdr-badge { color: #A8B5C2; border-color: rgba(168,181,194,0.2); background: rgba(168,181,194,0.06); }
.basic-bench .sc-callout { color: #A8B5C2; }
.basic-bench .sc-hud-val { color: #A8B5C2; }
.basic-bench .sc-case.active { background: rgba(168,181,194,0.05); border-color: rgba(168,181,194,0.12); }
.basic-bench .sc-insight { border-left-color: #A8B5C2; background: rgba(168,181,194,0.04); }
.basic-bench .sc-insight-tag { color: #A8B5C2; }
.basic-bench .sc-gauge-ring { border-color: #A8B5C2; }
.basic-bench .sc-gauge-num { color: #A8B5C2; }
.basic-bench .sc-posture-btn.on { color: #A8B5C2; border-color: #A8B5C2; background: rgba(168,181,194,0.08); }
.basic-bench .sc-btn, .basic-bench .sc-gen-btn { background: linear-gradient(135deg, #1e3a5f, #3a6b9f); color: #e8e4dc; }
.basic-bench .showcase-dot { border-color: #A8B5C2; }
.basic-bench .showcase-dot.active { background: #A8B5C2; }
.basic-bench .showcase-arrow { color: #A8B5C2; border-color: rgba(168,181,194,0.15); }

/* ── Responsive ──────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
    .showcase { padding: 3rem 0 2rem; }
    .showcase-panel { padding: 0 0.75rem; }
    .sc-body { padding: 0.9rem 1.1rem 0.75rem; }
    .sc-hdr { padding: 0.9rem 1.1rem 0.6rem; flex-direction: column; align-items: flex-start; gap: 0.3rem; }
    .sc-brief { grid-template-columns: 1fr; }
    .sc-disco { grid-template-columns: 1fr; }
    .sc-cases { flex-direction: row; overflow-x: auto; gap: 0.2rem; }
    .sc-case { white-space: nowrap; font-size: 0.58rem; }
    .sc-compliance { grid-template-columns: 1fr; }
    .sc-strat { grid-template-columns: 1fr; }
    .sc-gauge { flex-direction: row; gap: 1rem; padding: 0.5rem; }
    .sc-gauge-ring { width: 75px; height: 75px; }
    .sc-gauge-num { font-size: 1.3rem; }
    .sc-actions { grid-template-columns: 1fr; }
    .sc-draft { grid-template-columns: 1fr; }
    .sc-hud { flex-wrap: wrap; }
    .sc-hud-item { flex: 1 1 45%; }
    .showcase-arrow { display: none; }
    .sc-callout { font-size: 0.75rem; padding: 0.7rem 1.1rem; }
}

@media (max-width: 480px) {
    .sc-doc { font-size: 0.6rem; }
    .sc-hud-item { flex: 1 1 100%; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.03); text-align: left; display: flex; align-items: center; gap: 0.4rem; padding: 0.4rem 0.75rem; }
    .sc-hud-item:last-child { border-bottom: none; }
    .sc-hud-val { margin-bottom: 0; }
}
