/* Pricing Section Styles */
.pricing-section {
    padding: 120px 0;
    background-color: #0A0C10;
    position: relative;
    overflow: hidden;
}

.pricing-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(125, 126, 255, 0.1), transparent 50%),
                radial-gradient(circle at bottom left, rgba(255, 95, 11, 0.08), transparent 50%);
    z-index: 0;
}

.pricing-section h2 {
    text-align: center;
    font-size: 3.5rem;
    font-weight: 500;
    color: white;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    font-family: var(--font-title);
}

.pricing-section .section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: #99A2B2;
    margin: 0 auto 30px;
    max-width: 700px;
    position: relative;
    z-index: 1;
}

/* Pricing Toggle */
.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.toggle-label {
    font-size: 1.1rem;
    color: #99A2B2;
    margin: 0 12px;
    cursor: pointer;
    transition: color 0.3s ease, font-weight 0.3s ease;
    padding: 5px 15px;
    border-radius: 20px;
}

.toggle-label.active {
    color: white;
    font-weight: 500;
    background: rgba(125, 126, 255, 0.1);
}

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

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

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

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

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

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

.save-badge {
    display: inline-block;
    padding: 4px 8px;
    background: linear-gradient(135deg, #7D80FF, #FF5F0B);
    color: white;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-left: 10px;
}

/* Pricing Cards */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
    transition: opacity 0.3s ease;
}

.monthly-pricing,
.custom-pricing {
    opacity: 1;
}

.monthly-pricing.active,
.custom-pricing.active {
    opacity: 1;
}

.pricing-card {
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.1);
}

.pricing-card.popular {
    background-color: rgba(125, 128, 255, 0.08);
    border-color: rgba(125, 128, 255, 0.2);
    transform: scale(1.05);
    z-index: 2;
}

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

.pricing-card.enterprise {
    background-color: rgba(255, 95, 11, 0.05);
    border-color: rgba(255, 95, 11, 0.15);
}

.popular-badge {
    position: absolute;
    top: -15px;
    right: 30px;
    background: linear-gradient(135deg, #7D80FF, #9945FF);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

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

.card-header h3 {
    font-size: 1.8rem;
    color: white;
    margin: 0 0 8px;
    font-family: var(--font-title);
    font-weight: 500;
}

.card-subtitle {
    font-size: 0.95rem;
    color: #99A2B2;
    margin: 0;
}

.card-price {
    margin-bottom: 30px;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
}

.currency {
    font-size: 1.5rem;
    color: white;
    font-weight: 300;
}

.amount {
    font-size: 3.5rem;
    color: white;
    font-weight: 700;
    line-height: 1;
    margin: 0 5px;
}

.period {
    font-size: 1rem;
    color: #99A2B2;
}

/* Custom animation for pricing toggle */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-20px); }
}

.card-features {
    flex-grow: 1;
    margin-bottom: 30px;
}

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

.card-features li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.feature-included {
    color: white;
}

.feature-excluded {
    color: #99A2B2;
    opacity: 0.6;
}

.feature-icon {
    display: inline-flex;
    margin-right: 10px;
    color: #7D80FF;
    min-width: 20px;
}

.feature-excluded .feature-icon {
    color: #FF5F0B;
}

.card-action {
    margin-top: auto;
}

.card-action .btn {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 12px;
}

.pricing-card.popular .btn-primary {
    background: linear-gradient(135deg, #7D80FF, #9945FF);
    border: none;
}

.pricing-card.enterprise .btn-outline {
    border-color: rgba(255, 95, 11, 0.5);
    color: white;
}

.pricing-card.enterprise .btn-outline:hover {
    background-color: rgba(255, 95, 11, 0.2);
}

/* FAQ Section */
.pricing-faq {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.pricing-faq h3 {
    text-align: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 40px;
    font-family: var(--font-title);
    font-weight: 500;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.faq-item {
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: rgba(255, 255, 255, 0.1);
}

.faq-item h4 {
    font-size: 1.1rem;
    color: white;
    margin: 0 0 12px;
    font-weight: 500;
}

.faq-item p {
    font-size: 0.95rem;
    color: #99A2B2;
    margin: 0;
    line-height: 1.5;
}

.pricing-note {
    text-align: center;
    font-size: 0.9rem;
    color: #99A2B2;
    opacity: 0.7;
}

/* Custom CTA */
.pricing-cta {
    background: rgba(125, 128, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    margin-top: 30px;
    border: 1px solid rgba(125, 128, 255, 0.1);
}

.pricing-cta h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: white;
    text-align: center;
}

.pricing-cta p {
    font-size: 1.1rem;
    color: #99A2B2;
    margin-bottom: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-cta .btn-primary {
    background: linear-gradient(135deg, #7D80FF, #9945FF);
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 500;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-cta .btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(125, 128, 255, 0.3);
}

/* Media Queries */
@media (max-width: 1200px) {
    .pricing-section h2 {
        font-size: 3rem;
    }
    
    .pricing-cards {
        gap: 20px;
    }
    
    .amount {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .pricing-section {
        padding: 100px 0;
    }
    
    .pricing-section h2 {
        font-size: 2.5rem;
    }
    
    .pricing-cards {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .pricing-card {
        transform: none !important;
    }
    
    .pricing-card.popular {
        transform: none;
        order: -1;
    }
    
    .pricing-card:hover, 
    .pricing-card.popular:hover {
        transform: translateY(-10px) !important;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-cta {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .pricing-section {
        padding: 80px 0;
    }
    
    .pricing-section h2 {
        font-size: 2.25rem;
    }
    
    .pricing-section .section-subtitle {
        font-size: 1.1rem;
    }
    
    .pricing-toggle {
        flex-direction: column;
    }
    
    .toggle-label {
        margin: 10px 0;
    }
    
    .pricing-card {
        padding: 30px 20px;
    }
    
    .card-header h3 {
        font-size: 1.5rem;
    }
    
    .amount {
        font-size: 2.5rem;
    }
} 