/* ===== COMPARISON PAGE SPECIFIC CSS ===== */

/* Profile color variables */
:root {
  --profil-a: #2563eb;
  --profil-b: #7c3aed;
}

/* Hero overrides */
.hero { padding: 56px 0 72px; }
.hero h1 { font-size: 2.3rem; }
.hero-sub { font-size: 1.05rem; }
.hero-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); border-radius: 20px; padding: 6px 16px; font-size: 0.85rem; color: var(--frost-300); }

/* Section overrides */
.section { padding: 56px 0; }
.section h2 { font-size: 1.7rem; }
.section-intro { font-size: 1.02rem; }

/* Comparison Table */
.comp-table { width: 100%; border-collapse: collapse; margin: 24px 0; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 8px rgba(0,0,0,0.06); }
.comp-table th, .comp-table td { padding: 16px 20px; text-align: center; border-bottom: 1px solid var(--slate-200); }
.comp-table thead th { background: var(--slate-900); color: #fff; font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 0.9rem; }
.comp-table thead th:first-child { text-align: left; }
.comp-table tbody td:first-child { text-align: left; font-weight: 600; color: var(--slate-800); }
.comp-table .val-a { color: var(--profil-a); font-weight: 700; font-family: 'Fraunces', serif; font-size: 1.1rem; }
.comp-table .val-b { color: var(--profil-b); font-weight: 700; font-family: 'Fraunces', serif; font-size: 1.1rem; }
.comp-table .diff { font-size: 0.85rem; color: var(--slate-500); }
.comp-table .diff .plus { color: var(--emerald-600); font-weight: 600; }
.comp-table .diff .minus { color: #dc2626; font-weight: 600; }

/* Bar Chart */
.chart-container { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin: 32px 0; }
.chart-profile { background: #fff; border-radius: 12px; padding: 24px; border: 1px solid var(--slate-200); }
.chart-profile h3 { font-size: 1.1rem; margin-bottom: 16px; }
.chart-profile.profile-a h3 { color: var(--profil-a); }
.chart-profile.profile-b h3 { color: var(--profil-b); }
.bar-group { margin-bottom: 16px; }
.bar-label { font-size: 0.85rem; color: var(--slate-600); margin-bottom: 4px; display: flex; justify-content: space-between; }
.bar-track { height: 28px; background: var(--slate-50); border-radius: 6px; overflow: hidden; position: relative; }
.bar-fill { height: 100%; border-radius: 6px; display: flex; align-items: center; justify-content: flex-end; padding-right: 10px; font-size: 0.8rem; font-weight: 700; color: #fff; transition: width 0.6s ease; }
.bar-fill-a { background: linear-gradient(90deg, #2563eb, #3b82f6); }
.bar-fill-b { background: linear-gradient(90deg, #7c3aed, #8b5cf6); }

/* Key Differences */
.diff-list { list-style: none; margin: 24px 0; }
.diff-list li { padding: 20px 24px; background: #fff; border: 1px solid var(--slate-200); border-radius: 12px; margin-bottom: 12px; font-size: 0.95rem; color: var(--slate-600); line-height: 1.7; }
.diff-list li::before { content: ''; display: inline-block; width: 8px; height: 8px; background: var(--frost-500); border-radius: 50%; margin-right: 12px; vertical-align: middle; }

/* Decision Helper */
.decision-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 32px 0; }
.decision-card { border-radius: 12px; padding: 28px; border: 2px solid; }
.decision-card.card-a { border-color: var(--profil-a); background: rgba(37,99,235,0.03); }
.decision-card.card-b { border-color: var(--profil-b); background: rgba(124,58,237,0.03); }
.decision-card h3 { font-size: 1.15rem; margin-bottom: 12px; }
.decision-card.card-a h3 { color: var(--profil-a); }
.decision-card.card-b h3 { color: var(--profil-b); }
.decision-card p { color: var(--slate-600); font-size: 0.95rem; line-height: 1.7; }
.decision-card .profile-link { display: inline-block; margin-top: 16px; font-weight: 600; font-size: 0.9rem; }
.decision-card.card-a .profile-link { color: var(--profil-a); }
.decision-card.card-b .profile-link { color: var(--profil-b); }

.decision-summary { background: linear-gradient(135deg, var(--slate-900) 0%, #0B1D3A 100%); color: #fff; border-radius: 12px; padding: 28px; margin: 24px 0; }
.decision-summary h3 { color: var(--frost-300); margin-bottom: 12px; font-size: 1.15rem; }
.decision-summary p { color: var(--slate-300); font-size: 0.95rem; line-height: 1.8; }

/* Other Comparisons */
.other-comparisons { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin: 24px 0; }
.other-comp-card { background: #fff; border: 1px solid var(--slate-200); border-radius: 10px; padding: 18px 20px; display: block; color: inherit; transition: all 0.2s; }
.other-comp-card:hover { border-color: var(--frost-500); box-shadow: 0 4px 12px rgba(37,99,235,0.1); text-decoration: none; transform: translateY(-2px); }
.other-comp-card h4 { font-size: 0.95rem; margin-bottom: 4px; }
.other-comp-card .comp-range { font-size: 0.85rem; color: var(--slate-500); }

/* CTA overrides for comparison */
.cta-section { padding: 56px 0; border-radius: 0; }
.cta-section p { max-width: 540px; }
.cta-btn { padding: 14px 36px; font-size: 1.05rem; }

/* Footer description text */
.footer-desc { font-size: 0.85rem; }

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 1.7rem; }
  .chart-container { grid-template-columns: 1fr; }
  .decision-grid { grid-template-columns: 1fr; }
  .comp-table { font-size: 0.85rem; }
  .comp-table th, .comp-table td { padding: 12px 10px; }
}
