/* ============================================
   Compare Pages - Shared Styles
   ============================================ */

/* Gradient text for compare pages */
.compare-hero-title .gradient-text,
.section-compare-verdict .gradient-text,
.section-compare-details .gradient-text,
.section-compare-pricing .gradient-text,
.section-compare-related .gradient-text {
    background: linear-gradient(135deg, #6366f1 0%, #ec4899 50%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   Compare Hero
   ============================================ */
.compare-hero {
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #fafbfc 0%, #f0f4f8 100%);
}

.compare-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.compare-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
}

.compare-orb-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    top: -200px;
    right: -100px;
}

.compare-orb-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #ec4899, #f59e0b);
    bottom: -150px;
    left: -100px;
}

.compare-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #94a3b8;
    margin-bottom: 2rem;
    justify-content: center;
}

.compare-breadcrumb a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.compare-breadcrumb a:hover {
    color: #6366f1;
}

.compare-breadcrumb span {
    color: #cbd5e1;
}

.compare-hero-content {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.compare-hero-title {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.compare-hero-desc {
    font-size: 1.125rem;
    color: #475569;
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto;
}

/* ============================================
   Quick Verdict
   ============================================ */
.section-compare-verdict {
    padding: 6rem 0;
    background: #fff;
}

.verdict-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.verdict-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
}

.verdict-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.verdict-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.verdict-tagline {
    font-size: 0.9375rem;
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.verdict-score {
    padding-top: 1.25rem;
    border-top: 1px solid #f1f5f9;
}

.verdict-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    margin-bottom: 0.375rem;
}

.verdict-score span:last-child {
    font-size: 0.875rem;
    color: #475569;
    line-height: 1.5;
}

/* Cenmax highlighted card */
.verdict-card-highlight {
    border-color: rgba(99, 102, 241, 0.3);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.03), rgba(139, 92, 246, 0.03));
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.08);
}

.verdict-card-highlight:hover {
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.12);
}

.verdict-winner-badge {
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 100px;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

/* ============================================
   Detailed Breakdown
   ============================================ */
.section-compare-details {
    padding: 6rem 0;
    background: #f8fafc;
}

.compare-details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.compare-detail-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.compare-detail-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.compare-detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.compare-detail-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.compare-detail-tag {
    display: inline-block;
    padding: 3px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 100px;
    color: #64748b;
    background: #f1f5f9;
}

.compare-detail-tag-winner {
    color: #6366f1;
    background: rgba(99, 102, 241, 0.1);
}

.compare-detail-card h4 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #1e293b;
    margin: 1.25rem 0 0.5rem;
}

.compare-detail-card h4:first-of-type {
    margin-top: 0;
}

.compare-detail-card p {
    font-size: 0.875rem;
    color: #475569;
    line-height: 1.7;
    margin: 0;
}

/* Cenmax highlighted detail card */
.compare-detail-card-highlight {
    border-color: rgba(99, 102, 241, 0.25);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.02), rgba(139, 92, 246, 0.02));
}

/* ============================================
   Pricing Comparison
   ============================================ */
.section-compare-pricing {
    padding: 6rem 0;
    background: #fff;
}

.compare-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.compare-pricing-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.compare-pricing-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.compare-pricing-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1.5rem;
}

.compare-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.875rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.compare-price-row:last-of-type {
    border-bottom: none;
}

.compare-price-label {
    font-size: 0.875rem;
    color: #64748b;
}

.compare-price-value {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
}

.compare-price-bad .compare-price-value {
    color: #dc2626;
}

.compare-price-good .compare-price-value {
    color: #059669;
}

.compare-price-hike {
    margin-top: 1.25rem;
    padding: 0.625rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
}

.compare-price-hike-bad {
    background: rgba(239, 68, 68, 0.06);
    color: #dc2626;
}

.compare-price-hike-good {
    background: rgba(16, 185, 129, 0.08);
    color: #059669;
}

/* Cenmax highlighted pricing card */
.compare-pricing-card-highlight {
    border-color: rgba(99, 102, 241, 0.3);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.03), rgba(139, 92, 246, 0.03));
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.08);
}

.compare-pricing-card-highlight:hover {
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.12);
}

/* ============================================
   Related Comparisons
   ============================================ */
.section-compare-related {
    padding: 5rem 0;
    background: #f8fafc;
}

.section-compare-related .section-title {
    font-size: 1.75rem;
}

.compare-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.compare-related-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    text-decoration: none;
    color: #1e293b;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.compare-related-card:hover {
    border-color: #6366f1;
    color: #6366f1;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.08);
}

.compare-related-card i {
    font-size: 0.875rem;
    opacity: 0;
    transform: translateX(-4px);
    transition: all 0.2s ease;
}

.compare-related-card:hover i {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 991px) {
    .compare-hero {
        padding: 130px 0 60px;
    }

    .verdict-grid,
    .compare-details-grid,
    .compare-pricing-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }

    .compare-related-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .compare-hero {
        padding: 120px 0 50px;
    }

    .compare-hero-title {
        font-size: 2rem;
    }

    .compare-hero-desc {
        font-size: 1rem;
    }

    .compare-breadcrumb {
        font-size: 0.8125rem;
    }

    .verdict-card,
    .compare-detail-card,
    .compare-pricing-card {
        padding: 1.5rem;
    }

    .section-compare-verdict,
    .section-compare-details,
    .section-compare-pricing {
        padding: 4rem 0;
    }

    .section-compare-related {
        padding: 3rem 0;
    }
}
