/* Subscription Page Specific Styles */

.billing-section {
    padding: 40px 0;
    background: var(--bg-cream);
}

.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.billing-label {
    font-weight: 600;
    font-size: 16px;
    color: var(--primary-dark);
}

.save-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-emerald), #1e4d3c);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-left: 8px;
}

/* Toggle Switch */
.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: #ccc;
    transition: var(--transition-smooth);
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: var(--transition-smooth);
    border-radius: 50%;
}

input:checked + .slider {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-bronze));
}

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

/* Pricing Section */
.pricing-section {
    padding: 60px 0 100px;
}

.pricing-card {
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    transition: var(--transition-smooth);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px var(--shadow-soft);
    border-color: var(--accent-gold);
}

.pricing-card.featured-plan {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05), rgba(205, 127, 50, 0.05));
    border: 3px solid var(--accent-gold);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
}

.popular-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-bronze));
    color: var(--primary-dark);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.plan-header {
    margin-bottom: 30px;
}

.plan-name {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.plan-description {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.6;
}

.plan-price {
    display: flex;
    align-items: baseline;
    margin-bottom: 10px;
}

.currency {
    font-size: 28px;
    font-weight: 700;
    color: var(--accent-gold);
    margin-right: 5px;
}

.amount {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 900;
    color: var(--primary-dark);
    line-height: 1;
}

.period {
    font-size: 18px;
    color: var(--text-gray);
    margin-left: 5px;
}

.yearly-note {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.plan-features {
    list-style: none;
    padding: 30px 0;
    margin: 0;
    flex-grow: 1;
    border-top: 2px solid var(--border-color);
    border-bottom: 2px solid var(--border-color);
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 15px;
    color: var(--primary-dark);
}

.plan-features li:last-child {
    margin-bottom: 0;
}

.plan-features li i {
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.plan-features li .bi-check-circle-fill {
    color: var(--accent-emerald);
}

.plan-features li .bi-x-circle {
    color: #ccc;
}

.plan-features li.disabled {
    color: var(--text-gray);
    opacity: 0.5;
}

.btn-plan {
    background: var(--primary-dark);
    color: var(--text-light);
    padding: 16px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.5px;
    text-align: center;
    border: 2px solid var(--primary-dark);
    transition: var(--transition-smooth);
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-plan:hover {
    background: transparent;
    color: var(--primary-dark);
}

.btn-plan-featured {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-bronze));
    color: var(--primary-dark);
    border-color: var(--accent-gold);
}

.btn-plan-featured:hover {
    background: transparent;
    color: var(--accent-gold);
}

/* Comparison Table */
.comparison-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.comparison-table {
    width: 100%;
    background: var(--bg-light);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px var(--shadow-soft);
}

.comparison-table thead {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-navy));
}

.comparison-table th {
    padding: 25px 20px;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-light);
    text-align: center;
    border: none;
}

.comparison-table th.feature-column {
    text-align: left;
    width: 40%;
}

.comparison-table th.featured-column {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-bronze));
    color: var(--primary-dark);
    position: relative;
}

.comparison-table tbody tr {
    border-bottom: 1px solid var(--border-color);
}

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

.comparison-table td {
    padding: 20px;
    text-align: center;
    font-size: 15px;
    color: var(--primary-dark);
}

.comparison-table td.feature-name {
    font-weight: 600;
    text-align: left;
}

.comparison-table td i {
    font-size: 24px;
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
}

.accordion-item {
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
}

.accordion-item:last-child {
    margin-bottom: 0;
}

.accordion-button {
    background: transparent;
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 17px;
    padding: 25px 30px;
    border: none;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(205, 127, 50, 0.1));
    color: var(--primary-dark);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23D4AF37'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 0 30px 25px;
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.8;
}

/* Responsive Design */
@media (max-width: 991px) {
    .plan-price .amount {
        font-size: 48px;
    }
    
    .comparison-table {
        font-size: 14px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 15px 10px;
    }
}

@media (max-width: 767px) {
    .pricing-card {
        padding: 30px 25px;
    }
    
    .popular-badge {
        position: static;
        margin-bottom: 20px;
        display: inline-flex;
    }
    
    .plan-name {
        font-size: 28px;
    }
    
    .plan-price .amount {
        font-size: 42px;
    }
    
    .comparison-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}