/* ═══════════════════════════════════════════════
   RESULTS — Benchmark (hero, gauge, grid, evo chart, conclusion)
   ═══════════════════════════════════════════════ */

/* ═══ BENCHMARK TAB — IMMERSIVE HERO ═══ */
.bench-tab-hero {
    /* Inherits from .dark-hero-section */
    justify-content: center;
}
.bench-tab-hero-ambient {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0,191,179,0.06) 0%, transparent 60%);
    pointer-events: none;
}
/* bench-tab-hero-inner/tag/title/sub inherit from .dark-hero-* base classes
   Specific selectors kept only for overrides or responsive rules */

/* Benchmark P&L Evolution — Full Width Section */
.bench-evo-section {
    background: var(--white);
    padding-top: 100px;
    border-top: 1px solid var(--border);
}
.bench-evo-header {
    max-width: var(--content-max-w);
    margin: 0 auto;
    padding: 0 var(--section-px);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: end;
    margin-bottom: 32px;
}
.bench-evo-controls {
    display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
}
.bench-evo-legend {
    display: flex;
    gap: 20px;
    align-items: center;
}
.bench-evo-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--ink-4);
}
.bench-evo-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.bench-evo-dot.strat { background: var(--teal); box-shadow: 0 0 6px rgba(0,191,179,0.3); }
.bench-evo-dot.msci { background: var(--msci); }
.bench-evo-stats {
    max-width: var(--content-max-w);
    margin: 0 auto;
    padding: 0 var(--section-px);
    display: flex;
    gap: 48px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}
.bench-evo-stat-label {
    font-size: 11px;
    font-weight: 500;
    color: var(--ink-4);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}
.bench-evo-stat-val {
    font-size: 20px;
    font-weight: 700;
    color: var(--ink);
}
.bench-evo-stat-val.positive { color: var(--green); }
.bench-evo-stat-val.negative { color: var(--red); }
.bench-evo-chart {
    width: 100%;
    height: 420px;
    padding: 0 var(--section-px) var(--section-px);
}

/* Scroll Cue */
.bench-hero-scroll-cue {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255,255,255,0.55);
    animation: benchScrollPulse 2.5s ease-in-out infinite;
}
.bench-hero-scroll-cue svg {
    opacity: 0.5;
    animation: benchScrollBounce 2.5s ease-in-out infinite;
}
@keyframes benchScrollPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}
@keyframes benchScrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

/* ═══ BENCHMARK — CONCLUSION CALLOUT ═══ */
.bench-conclusion {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 32px 36px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(0,191,179,0.04) 0%, rgba(5,28,44,0.03) 100%);
    border: 1px solid rgba(0,191,179,0.12);
    box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}
.bench-conclusion-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0,191,179,0.08);
    color: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
}
.bench-conclusion-content { flex: 1; }
.bench-conclusion-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 6px;
}
.bench-conclusion-text {
    font-size: 14px;
    font-weight: 400;
    color: var(--ink-3);
    line-height: 1.7;
}
.bench-conclusion-cta {
    flex-shrink: 0;
    align-self: center;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border: 1px solid var(--teal);
    border-radius: 10px;
    background: transparent;
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 600;
    color: var(--teal);
    cursor: pointer;
    transition: background 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
    white-space: nowrap;
}
.bench-conclusion-cta:hover {
    background: var(--teal);
    color: var(--white);
}

/* Benchmark hero responsive */
@media (max-width: 1024px) {
    .bench-tab-hero { padding: calc(var(--header-h) + 28px) var(--section-px) 48px; }
    .bench-tab-hero-title { font-size: 38px; }
    .bp-h-legend { gap: 20px; }
}
@media (max-width: 768px) {
    .bench-tab-hero { padding: calc(var(--header-h) + 60px) var(--section-px) 60px; min-height: auto; }
    .bench-tab-hero-title { font-size: 30px; }
    .bench-evo-section { padding-top: 60px; }
    .bench-evo-header { grid-template-columns: 1fr; gap: 16px; }
    .bench-evo-chart { height: 300px; }
    .bp-h-legend { flex-wrap: wrap; gap: 12px; }
    .bp-h-track-label { width: 44px; font-size: 9px; }
    .bp-h-row { padding: 20px 0; }
    .bp-howto { margin: 20px auto 0; padding: 14px 16px 12px; }
    .bp-howto-diagram { padding: 0 12px; }
    .bench-conclusion { flex-direction: column; padding: 24px; }
    .bench-conclusion-cta { align-self: flex-start; }
}

/* ── Accessibility: reduced motion ── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
