/* ══════════════════════════════════════════════
   algoequity — Performance Page Styles
   (load AFTER styles.css)
   ══════════════════════════════════════════════ */

:root {
  --green: #10b981;
  --red: #ef4444;
}

/* ── Page Header ─────────────────────────────── */
.page-header { padding-top: 120px; padding-bottom: 48px; text-align: center; }
.display-xl { font-size: 3.5rem; font-weight: 400; letter-spacing: -0.02em; margin-bottom: 16px; }

/* ── Metrics Grid ─────────────────────────────── */
.metrics-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-bottom: 48px; }
.metric-card { background: rgba(255,255,255,0.02); border: 1px solid var(--border); border-radius: 8px; padding: 24px 20px; text-align: center; }
.mval { font-size: 1.75rem; font-weight: 400; margin-bottom: 6px; letter-spacing: -0.02em; }
.mlabel { font-size: 0.8125rem; color: var(--muted); }

/* ── Charts ───────────────────────────────────── */
.chart-card { background: rgba(255,255,255,0.02); border: 1px solid var(--border); border-radius: 8px; padding: 32px; margin-bottom: 48px; }
.chart-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.ctitle { font-size: 1.1rem; font-weight: 500; color: var(--text-primary); }
.csub { font-size: 0.8125rem; color: var(--muted); margin-top: 2px; }
.chart-box canvas { width: 100% !important; height: 400px !important; display: block; }

/* ── Footer (performance variant) ─────────────── */
footer { border-top: 1px solid var(--border); padding: 32px 0; background: rgba(0,0,0,0.15); }
.foot-inner { display: flex; align-items: center; justify-content: space-between; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.foot-brand { font-size: 0.875rem; color: #62666d; }
.foot-links { display: flex; gap: 24px; list-style: none; }
.foot-links a { color: var(--muted); text-decoration: none; font-size: 0.8125rem; cursor: pointer; transition: color 0.15s ease; }
.foot-links a:hover { color: var(--text-secondary); }

/* ── Responsive ──────────────────────────────── */
@media (max-width: 768px) {
  .display-xl { font-size: 2.2rem; }
  .metrics-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
}
