/* ===== COMPARE RE-IMAGINED (APPLE STYLE) ===== */
body.compare-page {
    background-color: #fbfbfd;
}

/* ===== APPLE STYLE SPEC TABLE ===== */
/* ===== COMPACT OVERRIDES FOR COMPARE ===== */
.compare-hero-compact {
    padding-top: 20px;
    padding-bottom: 0px;
}
.compare-hero-compact h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    margin-bottom: 8px;
}
.compare-hero-compact .hero-subtitle {
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.compare-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.compare-table-wrapper {
    overflow-x: auto;
    margin: 10px 0 40px 0;
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch;
}

.apple-spec-table {
    width: 100%;
    min-width: 800px;
    border-collapse: collapse;
}

.apple-spec-table th {
    position: sticky;
    top: var(--header-height);
    background: rgba(251, 251, 253, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 50;
    padding: 16px 12px;
    font-size: 1rem;
    font-weight: 700;
    color: #1d1d1f;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    text-align: center;
}

.apple-spec-table th:first-child {
    text-align: left;
    width: 28%;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #86868b;
}

.apple-spec-table td {
    padding: 16px 12px;
    text-align: center;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    color: #1d1d1f;
    font-weight: 500;
    font-size: 0.9rem;
    vertical-align: middle;
}

.apple-spec-table td:first-child {
    text-align: left;
    color: #1d1d1f;
    font-weight: 600;
}

/* The "Hero" Column */
.apple-spec-table .col-splitterup {
    background: #ffffff;
    box-shadow: 0 0 40px rgba(0,0,0,0.02);
}

.apple-spec-table th.col-splitterup {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
}

.apple-spec-table td.col-splitterup {
    font-weight: 700;
    border-right: 1px solid rgba(0,0,0,0.02);
    border-left: 1px solid rgba(0,0,0,0.02);
}

.val-text {
    display: block;
    margin-top: 6px;
    font-size: 0.75rem;
    color: #86868b;
    font-weight: 400;
    line-height: 1.3;
}

.svg-check { color: #10b981; width: 22px; height: 22px; display: block; margin: 0 auto; }
.svg-cross { color: #d1d5db; width: 20px; height: 20px; display: block; margin: 0 auto; }
.svg-partial { color: #f59e0b; width: 22px; height: 22px; display: block; margin: 0 auto; }

/* ===== DO THE MATH ===== */
.do-the-math-dark {
    background: #000;
    color: #fff;
    padding: 40px var(--space-md);
    text-align: center;
    margin: 20px 0;
}

.math-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    max-width: 900px;
    margin: 30px auto 0;
    gap: 40px;
}

.math-metric { 
    font-size: clamp(2.5rem, 6vw, 5rem); 
    font-weight: 800; 
    line-height: 1; 
    letter-spacing: -0.05em; 
}

.text-gradient-silver {
    background: linear-gradient(135deg, #ffffff 0%, #a1a1a6 100%); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent;
}

.text-gradient-primary {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent;
}

.math-label { 
    font-size: 1.25rem; 
    font-weight: 600; 
    color: #f5f5f7; 
    margin-top: 12px; 
}
.math-sub {
    color: #86868b;
    font-size: 0.95rem;
    margin-top: 4px;
}
.math-vs {
    font-size: 1.5rem;
    color: #434345;
    font-weight: 700;
    font-style: italic;
}

/* Pricing Overrides for Bento Context */
.bento-pricing-bullets {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(0,0,0,0.05);
}
.bento-dark-bg .bento-pricing-bullets {
    border-top: 1px solid rgba(255,255,255,0.1);
}
.bento-pricing-bullets li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: #86868b;
    font-size: 0.95rem;
}
.bento-dark-bg .bento-pricing-bullets li {
    color: #a1a1a6;
}
.bullet-icon {
    width: 16px;
    height: 16px;
    color: var(--primary);
    flex-shrink: 0;
}

/* Responsive Math */
@media (max-width: 768px) {
    .math-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}
