/* ============================================================
   compare.css — Compare cluster shared styles
   Used by: /compare/*.html (individual comparison pages)
   NOT for /compare/index.html (hub page keeps inline CSS)
   ============================================================ */

/* Compare pages use a narrower content column */
.container {
    max-width: 1000px;
}

/* But nav and footer always use full width */
.nav-content,
.footer .container,
.footer-inner {
    max-width: 1200px;
}

/* ============ HERO ============ */
.hero {
    padding: 7rem 0 3rem;
    text-align: center;
}

.comparison-badge {
    display: inline-block;
    background: var(--muted);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-subtitle,
.hero-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* ============ TLDR BOX ============ */
.tldr {
    background: linear-gradient(135deg, rgba(184, 148, 28, 0.1), rgba(184, 148, 28, 0.05));
    border: 1px solid var(--gold);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.tldr-title {
    font-size: 1.25rem;
    color: var(--gold);
    margin-bottom: 1rem;
    font-weight: 600;
}

.tldr-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    text-align: center;
}

.tldr-item { padding: 1rem; }

.tldr-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--success);
    margin-bottom: 0.25rem;
    display: block;
}

.tldr-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ============ COMPARISON TABLE ============ */
.comparison-section {
    padding: 3rem 0;
}

.comparison-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card);
    border-radius: 12px;
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.comparison-table th {
    background: var(--muted);
    font-weight: 600;
    color: var(--cream);
}

/* Highlight Aurifan column */
.comparison-table th:nth-child(2) {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: var(--background);
    -webkit-text-fill-color: var(--background);
}

.comparison-table td:nth-child(2) {
    background: rgba(184, 148, 28, 0.05);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:hover td {
    background: rgba(255,255,255,0.02);
}

.comparison-table td:hover {
    background: inherit;
}

.feature-name {
    font-weight: 500;
}

/* ============ PRICING COMPARISON ============ */
.pricing-comparison {
    padding: 3rem 0;
}

.pricing-comparison h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.pricing-card {
    background: var(--card);
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.pricing-card.featured {
    border-color: var(--gold);
    position: relative;
}

.pricing-card.featured::before {
    content: 'RECOMMENDED';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--background);
    -webkit-text-fill-color: var(--background);
    padding: 0.25rem 1rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
}

.pricing-logo { font-size: 2rem; margin-bottom: 1rem; }

.pricing-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--cream);
    margin-bottom: 0.5rem;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin: 0.5rem 0;
}

.pricing-price span {
    font-size: 1rem;
    color: var(--text-muted);
}

.pricing-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin: 1.5rem 0;
}

.pricing-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.pricing-features li:last-child { border-bottom: none; }

/* ============ PROS / CONS ============ */
.pros-cons {
    padding: 3rem 0;
}

.pros-cons h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.pros-cons-card {
    background: var(--card);
    border-radius: 12px;
    padding: 2rem;
}

.pros-cons-card h3 {
    margin-bottom: 1rem;
    color: var(--cream);
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
}

.pros-cons-card ul { list-style: none; }

.pros-cons-card li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.pros-cons-card li:last-child { border-bottom: none; }

/* ============ WHO SHOULD USE ============ */
.who-section {
    padding: 3rem 0;
    background: var(--card);
    margin: 3rem 0;
}

.who-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.who-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.who-card h3 {
    color: var(--cream);
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
}

.who-card ul { list-style: none; }

.who-card li {
    padding: 0.5rem 0;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(255,255,255,0.04);
    font-size: 0.95rem;
}

.who-card li:last-child { border-bottom: none; }

/* ============ KEY DIFFERENCE BOX ============ */
.key-difference {
    background: linear-gradient(135deg, rgba(184, 148, 28, 0.1), rgba(184, 148, 28, 0.05));
    border: 1px solid var(--gold);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
}

.key-difference h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.key-difference p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* ============ FAQ ============ */
.faq {
    padding: 3rem 0;
}

.faq h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 0;
}

.faq-item:last-child { border-bottom: none; }

.faq-question {
    font-weight: 600;
    color: var(--cream);
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
    line-height: 1.4;
}

.faq-answer {
    color: var(--text-muted);
    line-height: 1.7;
}

/* ============ FINAL CTA ============ */
.final-cta {
    padding: 4rem 0;
    text-align: center;
    background: linear-gradient(180deg, transparent, rgba(184, 148, 28, 0.08));
}

.final-cta h2 { margin-bottom: 1rem; }
.final-cta p  { color: var(--text-muted); margin-bottom: 2rem; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
    .hero h1 { font-size: 1.75rem; }
    .tldr-content { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .pros-cons-grid { grid-template-columns: 1fr; }
    .who-grid { grid-template-columns: 1fr; }
    .comparison-table { font-size: 0.85rem; }
    .comparison-table th,
    .comparison-table td { padding: 0.75rem; }
}
