/* Pricing Page Specific Styles */

.pricing-hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.pricing-hero-content h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
}

.pricing-hero-content p {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 40px;
}

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

.toggle-label {
    font-size: 18px;
    font-weight: 600;
}

.save-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    margin-left: 8px;
}

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

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

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.3);
    transition: 0.4s;
    border-radius: 34px;
}

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

input:checked + .slider {
    background-color: rgba(255, 255, 255, 0.5);
}

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

/* Pricing Section */
.pricing-section {
    padding: 80px 0;
    background: white;
}

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

.price-card {
    background: white;
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.price-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

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

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

.popular-ribbon {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 6px 24px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    letter-spacing: 0.5px;
}

.card-header {
    text-align: center;
    margin-bottom: 30px;
}

.card-header h3 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--dark);
}

.card-header p {
    color: var(--gray);
    font-size: 15px;
}

.card-price {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px 0;
}

.currency {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    vertical-align: super;
}

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

.period {
    font-size: 16px;
    color: var(--gray);
    font-weight: 500;
}

.features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    flex-grow: 1;
}

.features li {
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--dark);
    border-bottom: 1px solid #f5f5f5;
}

.features li:last-child {
    border-bottom: none;
}

.features li i {
    font-size: 16px;
    flex-shrink: 0;
}

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

.features li i.fa-times {
    color: #ddd;
}

.features li strong {
    font-weight: 700;
}

.btn-purchase {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-purchase:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.btn-purchase.primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
}

.btn-purchase.primary:hover {
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
}

/* Comparison Section */
.comparison-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.comparison-table-wrapper {
    overflow-x: auto;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.comparison-table {
    width: 100%;
    background: white;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 800px;
}

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

.comparison-table th {
    padding: 20px;
    font-weight: 700;
    text-align: left;
    font-size: 16px;
}

.comparison-table th:first-child {
    border-top-left-radius: 16px;
}

.comparison-table th:last-child {
    border-top-right-radius: 16px;
}

.comparison-table td {
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 15px;
}

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

.comparison-table tbody tr:nth-child(even) {
    background: #f9f9f9;
}

.comparison-table tbody tr:hover {
    background: #f0f0f5;
}

.comparison-table .text-success {
    color: var(--success-color);
    font-size: 20px;
}

.comparison-table .text-danger {
    color: #ddd;
    font-size: 20px;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: white;
}

.faq-grid {
    display: grid;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.faq-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.1);
}

.faq-item h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-item h4::after {
    content: '+';
    font-size: 24px;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active h4::after {
    transform: rotate(45deg);
}

.faq-item p {
    color: var(--gray);
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active p {
    max-height: 200px;
    margin-top: 12px;
}

/* Responsive */
@media (max-width: 768px) {
    .pricing-hero-content h1 {
        font-size: 32px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .price-card.featured {
        transform: scale(1);
    }

    .price-card.featured:hover {
        transform: translateY(-8px);
    }

    .billing-toggle {
        flex-direction: column;
        gap: 0.5rem;
    }

    .comparison-table-wrapper {
        border-radius: 8px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 12px;
        font-size: 14px;
    }
}
