/* ============================================
   COMPARE PAGES — SharpWebP Gold Theme
   Comparison tables, verdict boxes, FAQ, CTA
   ============================================ */

/* --- Compare Hero --- */
.compare-hero {
    padding: 140px 0 60px;
    text-align: center;
}

.compare-hero h1 {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 16px;
    line-height: 1.15;
    color: var(--white-warm);
}

.compare-hero p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* --- Verdict Box --- */
.verdict-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin: 40px auto;
    max-width: 800px;
    text-align: center;
    box-shadow: var(--shadow-card);
}

.verdict-box h2 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--white-warm);
}

.verdict-box p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.verdict-box .verdict-tag {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 4px;
}

.verdict-tag--gold,
.verdict-tag--green {
    background: var(--gold-dim);
    color: var(--gold);
    border: 1px solid rgba(201, 169, 110, 0.2);
}

.verdict-tag--success,
.verdict-tag--purple {
    background: var(--bg-elevated);
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

/* --- Compare Table --- */
.compare-table-section {
    padding: 40px 0;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}

.compare-table thead th {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    padding: 20px 24px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.compare-table thead th:first-child {
    color: var(--text-secondary);
}

.compare-table thead th:nth-child(2) {
    color: var(--gold);
}

.compare-table thead th:nth-child(3) {
    color: var(--text-secondary);
}

.compare-table tbody td {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.95rem;
    color: var(--text-secondary);
}

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

.compare-table tbody td:first-child {
    font-weight: 600;
    color: var(--cream);
}

.compare-table .check {
    color: var(--gold);
    font-weight: 700;
}

.compare-table .cross {
    color: var(--error);
    font-weight: 700;
}

.compare-table .highlight {
    background: rgba(201, 169, 110, 0.04);
}

/* --- Content Section --- */
.content-section {
    padding: 40px 0;
    max-width: 800px;
    margin: 0 auto;
}

.content-section h2 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white-warm);
}

.content-section h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 28px 0 12px;
    color: var(--cream);
}

.content-section p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
}

.content-section ul {
    margin-bottom: 16px;
    padding-left: 0;
}

.content-section ul li {
    color: var(--text-secondary);
    padding: 6px 0 6px 24px;
    position: relative;
}

.content-section ul li::before {
    content: "\2713";
    color: var(--gold);
    position: absolute;
    left: 0;
    font-weight: 700;
}

/* --- Use Case Grid --- */
.use-case-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 24px 0;
}

.use-case-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}

.use-case-box h3 {
    margin-top: 0;
    font-size: 1.05rem;
}

.use-case-box.sharpwebp {
    border-color: rgba(201, 169, 110, 0.3);
}

.use-case-box.competitor {
    border-color: var(--border);
}

/* --- FAQ Section --- */
.faq-section {
    padding: 60px 0;
    max-width: 800px;
    margin: 0 auto;
}

.faq-section h2 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 28px;
    text-align: center;
    color: var(--white-warm);
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-q {
    padding: 20px 24px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
    color: var(--cream);
}

.faq-q:hover {
    background: var(--bg-card-hover);
}

.faq-q::after {
    content: "+";
    font-size: 1.4rem;
    color: var(--gold);
    transition: transform 0.3s;
}

.faq-item.open .faq-q::after {
    transform: rotate(45deg);
}

.faq-a {
    padding: 0 24px 20px;
    color: var(--text-secondary);
    line-height: 1.8;
    display: none;
}

.faq-item.open .faq-a {
    display: block;
}

/* --- CTA Section --- */
.cta-section {
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 16px;
    color: var(--white-warm);
}

.cta-section p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- See Also --- */
.see-also {
    padding: 20px 0 40px;
    text-align: center;
}

.see-also a {
    color: var(--gold);
    font-weight: 500;
    margin: 0 12px;
}

.see-also a:hover {
    text-decoration: underline;
}

/* --- Pricing Visual --- */
.pricing-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 24px auto;
    max-width: 600px;
}

.pricing-card-mini {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
}

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

.pricing-card-mini h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--white-warm);
}

.pricing-card-mini .price {
    font-size: 1.8rem;
    font-weight: 800;
    font-family: var(--font-display);
    color: var(--gold);
}

.pricing-card-mini .price-note {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 4px;
}

/* --- Compare Btn overrides --- */
.btn--primary {
    background: var(--gradient-gold);
    color: var(--bg-deep);
    font-weight: 700;
}

.btn--primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.btn--secondary {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--cream);
}

.btn--secondary:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.btn--lifetime {
    background: var(--gradient-gold);
    color: var(--bg-deep);
    font-weight: 700;
}

.btn--lifetime:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* === Compare Responsive === */
@media (max-width: 768px) {
    .compare-hero h1 { font-size: 2rem; }
    .compare-table { font-size: 0.85rem; }
    .compare-table thead th,
    .compare-table tbody td { padding: 12px 14px; }
    .use-case-grid { grid-template-columns: 1fr; }
    .pricing-visual { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .compare-hero h1 { font-size: 1.6rem; }
}
