.comparison-page {
    color: var(--dark);
    background: var(--light);
}

.comparison-hero {
    padding: 6rem 0 4rem;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--border);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 800;
    font-size: 0.85rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.hero-subtitle {
    color: var(--gray);
    font-size: 1.1rem;
    margin: 1rem 0 2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.secondary-link {
    color: var(--dark);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.6rem 0.85rem;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.secondary-link::after {
    content: '→';
    transition: transform 0.2s ease;
}

.secondary-link:hover {
    background: rgba(99, 102, 241, 0.08);
    color: var(--primary);
}

.secondary-link:hover::after {
    transform: translateX(4px);
}

.plan-pills {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.plan-pill {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1.25rem 1.1rem;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border);
    background: var(--card-bg);
    text-decoration: none;
    color: var(--dark);
    box-shadow: 0 18px 36px var(--shadow);
    transition: var(--transition);
}

.plan-pill:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px var(--shadow);
}

.pill-name {
    font-weight: 800;
}

.pill-price {
    color: var(--primary);
    font-weight: 800;
    font-size: 1.1rem;
}

.pill-cta {
    color: var(--gray);
    font-size: 0.9rem;
}

.comparison-table {
    padding: 4rem 0 3rem;
}

.table-header,
.table-row {
    display: grid;
    grid-template-columns: minmax(200px, 1.2fr) repeat(3, minmax(140px, 1fr));
    gap: 1rem;
    align-items: stretch;
}

.table-header {
    background: rgba(99, 102, 241, 0.07);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.table-header .plan-col {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    align-items: center;
    text-align: center;
}

.table-header .plan-price {
    color: var(--primary);
    font-weight: 800;
}

.section-block {
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    overflow: hidden;
    background: var(--card-bg);
    margin-bottom: 1.25rem;
    box-shadow: 0 18px 36px var(--shadow);
}

.section-title {
    background: rgba(15, 23, 42, 0.04);
    padding: 1rem 1.25rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.table-row {
    padding: 1.1rem 1.25rem;
    border-top: 1px solid var(--border);
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
}

.table-row:nth-child(even) {
    background: rgba(99, 102, 241, 0.03);
}

.feature-col {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.feature-label {
    font-weight: 700;
    color: var(--dark);
}

.feature-note {
    margin: 0;
    color: var(--gray);
    font-size: 0.95rem;
}

.plan-col {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 600;
    color: var(--dark);
}

.compare-cta {
    width: auto;
    padding: 0.75rem 1.15rem;
    font-size: 0.95rem;
    box-shadow: 0 10px 24px var(--shadow);
}

.compare-cta.is-featured {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: 0 10px 24px var(--shadow);
}

.plan-col.is-featured {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 0.75rem;
}

.check-icon {
    color: var(--success);
    font-size: 1.2rem;
    font-weight: 800;
}

.dash {
    color: #cbd5e1;
    font-weight: 700;
}

.section-subtitle {
    max-width: 760px;
}

@media (max-width: 1024px) {
    .table-header,
    .table-row {
        grid-template-columns: minmax(180px, 1fr) repeat(3, minmax(120px, 1fr));
    }
}

@media (max-width: 768px) {
    .table-header,
    .table-row {
        grid-template-columns: 1fr;
    }

    .table-header .plan-col,
    .table-row .plan-col {
        align-items: flex-start;
    }

    .table-row {
        gap: 0.75rem;
    }
}
