/* Pricing Page Specific Styles */

.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.toggle-label {
    font-weight: 600;
    color: var(--text-primary);
}

.save-badge {
    background: var(--accent-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

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

.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);
    border-radius: 30px;
}

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

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

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

.pricing-section {
    padding: 80px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.pricing-card.featured {
    border: 3px solid var(--primary-color);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent-color) 0%, #F97316 100%);
    color: white;
    padding: 0.5rem 2rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: var(--shadow-md);
}

.card-header {
    text-align: center;
    margin-bottom: 2rem;
}

.card-header h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.card-header p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    margin: 0;
}

.card-price {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.card-price .currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
    vertical-align: top;
}

.card-price .amount {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.card-price .period {
    color: var(--text-secondary);
    font-size: 1rem;
}

.price-per-credit {
    text-align: center;
    padding: 1rem;
    margin-top: 1rem;
    background: var(--bg-secondary);
    border-radius: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9375rem;
}

.card-features {
    flex-grow: 1;
    margin-bottom: 2rem;
}

.card-features h4 {
    font-size: 0.875rem;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.card-features ul {
    list-style: none;
}

.card-features li {
    padding: 0.625rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.card-features i.fa-check {
    color: var(--secondary-color);
    font-size: 1.125rem;
}

.card-features i.fa-times {
    color: #D1D5DB;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Custom Package Section */
.custom-package {
    margin-top: 3rem;
    padding: 3rem;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

.custom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    color: white;
}

.custom-icon {
    font-size: 4rem;
    opacity: 0.9;
}

.custom-text {
    flex: 1;
}

.custom-text h3 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.75rem;
}

.custom-text p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 1.125rem;
}

.custom-content .btn {
    background: white;
    color: var(--primary-color);
    white-space: nowrap;
}

.custom-content .btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

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

.comparison-table-wrapper {
    overflow-x: auto;
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table thead {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

.comparison-table th {
    padding: 1.5rem 1rem;
    text-align: left;
    font-weight: 600;
}

.comparison-table th:first-child {
    border-top-left-radius: 1rem;
}

.comparison-table th:last-child {
    border-top-right-radius: 1rem;
}

.comparison-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

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

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

.category-row {
    background: var(--bg-secondary);
}

.category-row td {
    padding: 1.25rem 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.comparison-table i.fa-check {
    color: var(--secondary-color);
    font-size: 1.25rem;
}

.comparison-table i.fa-times {
    color: #D1D5DB;
    font-size: 1.25rem;
}

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

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.faq-item h3 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .billing-toggle {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-table {
        font-size: 0.875rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem 0.5rem;
    }
    
    .card-price .amount {
        font-size: 3rem;
    }
    
    .custom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .custom-package {
        padding: 2rem 1.5rem;
    }
    
    .custom-icon {
        font-size: 3rem;
    }
}

