/* Pricing Page Styles */

/* Hero Section */
.pricing-hero {
    padding: 5rem 0 3rem;
    background: radial-gradient(ellipse at center, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    position: relative;
    overflow: hidden;
}

.pricing-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.pricing-hero .hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.pricing-hero .hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    line-height: 1.1;
}

.pricing-hero .hero-description {
    font-size: 1.1rem;
    color: #5a6c7d;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.billing-label {
    font-weight: 500;
    color: #2c3e50;
}

.discount-badge {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: #ffffff;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.billing-buttons {
    display: flex;
    gap: 0.5rem;
    background: rgba(60, 184, 230, 0.1);
    padding: 0.25rem;
    border-radius: 25px;
    border: 1px solid rgba(60, 184, 230, 0.2);
}

.billing-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 20px;
    background: transparent;
    color: #5a6c7d;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.billing-btn:hover {
    background: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
}

.billing-btn.active {
    background: #0d6efd;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.3);
}

.billing-btn .discount-badge {
    background: rgba(255, 255, 255, 0.2);
    color: inherit;
    padding: 0.2rem 0.4rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.billing-btn.active .discount-badge {
    background: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.trial-offer {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.trial-btn {
    padding: 0.85rem 1.75rem;
    border-radius: 999px;
    border: 1px solid #3CB8E6;
    background: transparent;
    color: #3CB8E6;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.15);
    transition: all 0.2s ease;
}

.trial-btn:hover {
    transform: translateY(-1px);
    background: rgba(60, 184, 230, 0.08);
    box-shadow: 0 4px 12px rgba(60, 184, 230, 0.25);
}

.trial-btn.active {
    background: #3CB8E6;
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(60, 184, 230, 0.4);
}

.trial-text {
    font-size: 0.9rem;
    color: #047857;
}

.trial-badge {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #047857;
    background: rgba(16, 185, 129, 0.08);
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* Pricing Plans */
.pricing-plans {
    padding: 4rem 0;
}

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

.plan-card {
    background: #ffffff;
    border: 1px solid #e1e8ed;
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    padding-bottom: 5.5rem;
    box-shadow: 0 4px 20px rgba(44, 62, 80, 0.08);
}

.plan-card:hover {
    transform: translateY(-5px);
    border-color: #3CB8E6;
    box-shadow: 0 12px 40px rgba(60, 184, 230, 0.15);
}

.plan-card.featured {
    border: 2px solid #3CB8E6;
    background: #ffffff;
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(60, 184, 230, 0.2);
}

.plan-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 15px 45px rgba(60, 184, 230, 0.25);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #3CB8E6, #2a9fd6);
    color: #ffffff;
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(60, 184, 230, 0.3);
}

.plan-header {
    text-align: center;
    margin-bottom: 2rem;
    margin-top: 1.5rem;
}

.plan-card.featured .plan-header {
    margin-top: 2rem;
}

.plan-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.plan-card.premium .plan-name {
    background: linear-gradient(135deg, #3CB8E6, #2a9fd6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.plan-subtitle {
    color: #5a6c7d;
    font-size: 1rem;
}

.plan-pricing {
    text-align: center;
    margin-bottom: 2rem;
}

.price-container {
    margin-bottom: 0.5rem;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
}

.plan-card.premium .price {
    background: linear-gradient(135deg, #3CB8E6, #2a9fd6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.currency {
    font-size: 1.5rem;
    font-weight: 500;
}

.original-price {
    display: block;
    text-decoration: line-through;
    color: #7a8a9a;
    font-size: 1rem;
    margin-top: 0.25rem;
}

.billing-period {
    color: #5a6c7d;
    font-size: 1.1rem;
    margin-left: 0.5rem;
}

.savings {
    margin-top: 0.75rem;
    display: flex;
    justify-content: center;
}

.savings-text {
    background: rgba(0, 200, 120, 0.08);
    color: #1f8a5c;
    padding: 0.35rem 0.75rem;
    border: 1px solid rgba(0, 200, 120, 0.25);
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    letter-spacing: 0.2px;
    box-shadow: none;
}

.hidden {
    display: none !important;
}

.plan-features {
    margin-bottom: 2rem;
}

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

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    line-height: 1.5;
}

.plan-features li i {
    color: #3CB8E6;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.plan-features li i.fa-info-circle {
    color: #5a6c7d;
}

.plan-btn {
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: absolute;
    left: 2rem;
    right: 2rem;
    bottom: 2rem;
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.plan-btn:hover {
    border-color: #3CB8E6;
    background: rgba(60, 184, 230, 0.1);
    transform: translateY(-2px);
}

.btn-primary.plan-btn {
    background: linear-gradient(135deg, #3CB8E6, #2a9fd6);
    border-color: #3CB8E6;
    color: #ffffff;
}

.btn-primary.plan-btn:hover {
    background: linear-gradient(135deg, #2a9fd6, #1e8bb8);
    transform: translateY(-2px);
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
    background: #f8fafc;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #2c3e50;
}

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

.faq-item {
    background: #ffffff;
    border: 1px solid #e1e8ed;
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(44, 62, 80, 0.05);
}

.faq-item:hover {
    border-color: #3CB8E6;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(60, 184, 230, 0.1);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.faq-question i {
    color: #00d4ff;
}

.faq-answer {
    color: #5a6c7d;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: radial-gradient(ellipse at center, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.cta-description {
    font-size: 1.1rem;
    color: #5a6c7d;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .pricing-hero .hero-title {
        font-size: 2.2rem;
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .plan-card.featured {
        transform: none;
    }
    
    .plan-card.featured:hover {
        transform: translateY(-5px);
    }
    
    .plan-card {
        padding-bottom: 2rem;
    }
    
    .plan-btn {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        width: 100%;
        margin-top: 0.5rem;
    }
    
    .billing-toggle {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .price {
        font-size: 2.5rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .pricing-hero {
        padding: 3rem 0 2rem;
    }
    
    .pricing-hero .hero-title {
        font-size: 1.8rem;
    }
    
    .plan-card {
        padding: 1.5rem;
    }
    
    .price {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}
