/* Pricing Page Specific Styles (Neo-brutalist) */

.pricing-header {
    text-align: center;
    padding: 6rem 0 3rem 0;
}

.pricing-header h1 {
    font-size: 4rem;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.pricing-header p {
    font-size: 1.25rem;
    font-weight: 600;
    max-width: 550px;
    margin: 0 auto 3rem auto;
}

/* Billing Toggle Switch */
.billing-toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 1rem;
}

.billing-label {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.billing-label.active {
    color: #000000;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 32px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ffffff;
    border: var(--border-width) solid #000000;
    transition: .2s;
    border-radius: var(--radius-full);
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: #000000;
    transition: .2s;
    border-radius: 50%;
}

input:checked + .slider {
    background: var(--color-primary);
}

input:checked + .slider:before {
    transform: translateX(28px);
}

/* Plan Cards Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    align-items: stretch;
    margin-top: 3rem;
}

@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 3rem auto 0 auto;
    }
}

.pricing-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card.featured {
    border-color: #000000;
    box-shadow: var(--shadow-lg);
    background: #fffdf2;
}

.pricing-card.featured:hover {
    transform: translate(-4px, -4px);
    box-shadow: 12px 12px 0px 0px #000000;
}

.popular-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: var(--color-secondary);
}

.plan-name {
    font-size: 1.75rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.plan-desc {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
}

.plan-price-wrapper {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin: 2rem 0;
}

.plan-price {
    font-size: 3.5rem;
    font-weight: 900;
    font-family: var(--font-heading);
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.plan-period {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-muted);
}

.plan-divider {
    height: 3px;
    background: #000000;
    margin: 2rem 0;
}

.plan-features-title {
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #000000;
    margin-bottom: 1.25rem;
}

.plan-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex-grow: 1;
}

.plan-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.plan-feature-item.disabled {
    color: var(--text-muted);
    text-decoration: line-through;
}

.plan-feature-item svg {
    margin-top: 0.2rem;
    flex-shrink: 0;
    color: #000000;
}

.plan-feature-item.disabled svg {
    opacity: 0.3;
}

/* Comparison Table */
.comparison-section {
    padding: 6rem 0;
}

.comparison-table-wrapper {
    background: #ffffff;
    border: var(--border-width) solid #000000;
    border-radius: var(--radius-lg);
    overflow-x: auto;
    box-shadow: var(--shadow-md);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    min-width: 750px;
}

.comparison-table th, .comparison-table td {
    padding: 1.25rem 1.5rem;
    border-bottom: var(--border-width) solid #000000;
    font-size: 1rem;
    font-weight: 700;
}

.comparison-table th {
    background: var(--color-warning);
    font-weight: 900;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    color: #000000;
    border-bottom: var(--border-width) solid #000000;
}

.comparison-table th:not(:first-child) {
    text-align: center;
    border-left: var(--border-width) solid #000000;
}

.comparison-table tbody tr {
    transition: background var(--transition-fast);
}

.comparison-table tbody tr:hover {
    background: var(--bg-surface-hover);
}

.comparison-table td:first-child {
    font-weight: 800;
    color: var(--text-primary);
}

.comparison-table td:not(:first-child) {
    text-align: center;
    color: var(--text-primary);
    border-left: var(--border-width) solid #000000;
}

.check-icon {
    color: var(--color-success);
    font-weight: 900;
}

.cross-icon {
    color: var(--text-muted);
    font-weight: 900;
}
