/* css/pricing.css */
.pricing-header {
    padding: 60px 0 40px;
    text-align: center;
    background: linear-gradient(135deg, var(--secondary-lighter), var(--primary));
}

.pricing-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.pricing-header p {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 30px;
}

.currency-selector {
    margin-bottom: 20px;
}

.currency-select {
    padding: 8px 16px;
    background: var(--secondary-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
}

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

.billing-option {
    color: var(--text-secondary);
    font-size: 16px;
    transition: color 0.3s ease;
}

.billing-option.active {
    color: var(--text-primary);
    font-weight: 500;
}

.save-badge {
    background: var(--success);
    color: white;
    padding: 2px 8px;
    border-radius: 30px;
    font-size: 12px;
    margin-left: 8px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

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

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--border-color);
    transition: .4s;
    border-radius: 34px;
}

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

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

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

/* Detailed Pricing Cards */
.full-pricing {
    padding: 60px 0;
}

.pricing-grid-detailed {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.pricing-card-detailed {
    background: var(--secondary-light);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card-detailed:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.pricing-card-detailed.popular {
    border: 2px solid var(--primary-light);
    transform: scale(1.05);
}

.popular-ribbon {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(45deg, var(--primary), var(--primary-light));
    padding: 6px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.plan-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
}

.plan-header h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.plan-price {
    margin-bottom: 10px;
}

.currency-symbol {
    font-size: 24px;
    vertical-align: top;
}

.price-amount {
    font-size: 48px;
    font-weight: 700;
}

.price-period {
    font-size: 16px;
    color: var(--text-muted);
}

.plan-description {
    color: var(--text-secondary);
    font-size: 14px;
}

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

.plan-features h4 {
    font-size: 16px;
    margin-bottom: 15px;
}

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

.plan-features li {
    padding: 10px 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.plan-features li i {
    color: var(--success);
    font-size: 14px;
}

.plan-cta {
    text-align: center;
}

.no-commitment {
    margin-top: 12px;
    color: var(--text-muted);
    font-size: 12px;
}

/* Comparison Table */
.comparison-table {
    margin-top: 60px;
}

.comparison-table h3 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 30px;
}

.features-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--secondary-light);
    border-radius: 12px;
    overflow: hidden;
}

.features-table th,
.features-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.features-table th {
    background: var(--primary);
    color: white;
    font-weight: 600;
}

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

.features-table td:first-child {
    font-weight: 500;
}

.features-table td {
    color: var(--text-secondary);
}

.features-table .fa-check {
    color: var(--success);
}

.features-table .fa-times {
    color: var(--danger);
}

/* FAQ Section */
.faq-section {
    padding: 60px 0;
    background: var(--secondary-light);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--secondary);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.faq-item h4 {
    margin-bottom: 10px;
    color: var(--primary-light);
}

.faq-item p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
    .pricing-grid-detailed {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .pricing-header h1 {
        font-size: 32px;
    }
    
    .pricing-grid-detailed {
        grid-template-columns: 1fr;
    }
    
    .pricing-card-detailed.popular {
        transform: scale(1);
    }
    
    .table-responsive {
        overflow-x: auto;
    }
    
    .features-table {
        min-width: 600px;
    }
}

@media (max-width: 480px) {
    .pricing-header h1 {
        font-size: 28px;
    }
    
    .billing-toggle {
        flex-direction: column;
        gap: 10px;
    }
}