/* Pricing Specific Styles - Optimized */

/* Hero Section */
.pricing-hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, rgba(15, 15, 30, 0.95), rgba(26, 26, 46, 0.95));
    position: relative;
    overflow: hidden;
}

.pricing-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(102, 126, 234, 0.1), transparent 70%);
    pointer-events: none;
}

.pricing-container {
    position: relative;
    z-index: 1;
}

/* Features List */
.features-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
}

.feature-item i {
    color: var(--primary-purple);
    font-size: 1.2rem;
}

/* Toggle Buttons - Shared Styles */
.currency-toggle,
.pricing-toggle {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.currency-btn,
.toggle-btn {
    padding: 0.75rem 2rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50px;
}

/* Currency Toggle Specific */
.currency-toggle {
    gap: 1rem;
}

.currency-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.currency-btn:hover {
    border-color: rgba(102, 126, 234, 0.5);
    background: rgba(102, 126, 234, 0.1);
}

.currency-btn.active {
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-purple));
    border-color: var(--primary-purple);
    color: white;
}

/* Billing Toggle Specific */
.pricing-toggle {
    position: relative;
    display: inline-flex;
    gap: 0;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem;
    margin-bottom: 3rem;
}

.toggle-slider {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    width: calc(50% - 0.5rem);
    height: calc(100% - 1rem);
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-purple));
    border-radius: 50px;
    transition: transform 0.3s ease;
    z-index: 0;
}

.toggle-slider.yearly {
    transform: translateX(100%);
}

.toggle-btn {
    position: relative;
    z-index: 1;
}

.toggle-btn.active {
    color: white;
}

/* Pricing Cards */
.pricing-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 0 auto;
    max-width: 1400px;
    padding: 0 1rem;
}

.pricing-card {
    background: linear-gradient(145deg, rgba(26, 26, 46, 0.95), rgba(20, 20, 35, 0.95));
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2.5rem;
    width: 100%;
    max-width: 380px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-purple), var(--secondary-purple));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
}

.pricing-card:hover::before {
    opacity: 1;
}

.pricing-card.popular {
    border-color: var(--primary-purple);
    background: linear-gradient(145deg, rgba(102, 126, 234, 0.1), rgba(20, 20, 35, 0.95));
    transform: scale(1.05);
}

.pricing-card.popular::before {
    opacity: 1;
    height: 6px;
}

.popular-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-pink));
    color: white;
    padding: 0.5rem 3rem;
    font-size: 0.75rem;
    font-weight: 700;
    transform: rotate(45deg);
    letter-spacing: 1px;
}

/* Price Section */
.plan-name {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.price-section {
    margin-bottom: 2rem;
}

.original-price {
    display: block;
    color: var(--text-secondary);
    text-decoration: line-through;
    margin-bottom: 0.5rem;
    opacity: 0.6;
}

.current-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-purple);
}

.price-value {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.billing-period {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* CTA Button */
.cta-button {
    display: block;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-purple));
    color: white;
    text-align: center;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    color: white;
}

.pricing-card.popular .cta-button {
    background: linear-gradient(135deg, var(--accent-pink), var(--primary-purple));
}

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    padding: 0.75rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li i {
    font-size: 1rem;
    flex-shrink: 0;
}

.feature-list li i.fa-check {
    color: var(--primary-purple);
}

.feature-list li i.fa-minus {
    color: rgba(255, 255, 255, 0.2);
}

/* Addons Section */
.addons {
    margin-top: 5rem;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.addons h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.addons-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.addon-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.addon-item:hover {
    background: rgba(102, 126, 234, 0.1);
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateY(-2px);
}

.addon-item span {
    font-weight: 600;
}

/* FAQ Section */
.faq-section {
    margin-top: 5rem;
    padding: 4rem 2rem;
}

.faq-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 3rem;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(102, 126, 234, 0.3);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--primary-purple);
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--primary-purple);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: var(--text-secondary);
    line-height: 1.8;
}

.faq-answer-content {
    padding: 0 1.5rem 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* CTA Section */
.pricing-cta {
    margin-top: 5rem;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-radius: 24px;
    text-align: center;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.pricing-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.pricing-cta p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.pricing-cta .btn-primary-custom {
    font-size: 1.1rem;
    padding: 1rem 3rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .pricing-hero {
        padding: 4rem 0 2rem;
    }

    .features-list {
        flex-direction: column;
        gap: 1rem;
    }

    .pricing-cards {
        flex-direction: column;
        align-items: center;
    }

    .pricing-card {
        max-width: 100%;
    }

    .pricing-card.popular {
        transform: scale(1);
    }

    .price-value {
        font-size: 2.5rem;
    }

    .addons-list {
        flex-direction: column;
    }

    .faq-title,
    .pricing-cta h2 {
        font-size: 2rem;
    }
}