/* Section Pricing */
.pricing-section {
    background: #343a40;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.pricing-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(57, 173, 148, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(57, 173, 148, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(57, 173, 148, 0.1);
    border: 1px solid #39ad94;
    padding: 8px 16px;
    border-radius: 25px;
    color: #39ad94;
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 16px;
    font-weight: 700;
}

.section-header p {
    color: #adb5bd;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Category */
.pricing-category {
    margin-bottom: 60px;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(57, 173, 148, 0.2);
}

.category-icon {
    font-size: 2.5rem;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #39ad94, #2d8a73);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(57, 173, 148, 0.3);
}

.category-info h3 {
    color: #ffffff;
    font-size: 1.8rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.category-info p {
    color: #adb5bd;
    margin: 0;
}

/* Toggle */
.code-toggle {
    margin-bottom: 40px;
    text-align: center;
}

.toggle-question {
    display: block;
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.toggle-container {
    display: inline-block;
}

.toggle-wrapper {
    position: relative;
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 4px;
    border: 1px solid rgba(57, 173, 148, 0.3);
}

.toggle-wrapper input[type="radio"] {
    display: none;
}

.toggle-wrapper label {
    padding: 12px 24px;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #adb5bd;
    font-weight: 500;
    position: relative;
    z-index: 2;
}

.toggle-wrapper input[type="radio"]:checked + label {
    color: #ffffff;
    background: #39ad94;
    box-shadow: 0 4px 12px rgba(57, 173, 148, 0.4);
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Pricing Card */
.pricing-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 0;
    transition: all 0.4s ease;
    position: relative;
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(57, 173, 148, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pricing-card:hover::before {
    opacity: 1;
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: #39ad94;
    box-shadow: 0 16px 40px rgba(57, 173, 148, 0.2);
}

.pricing-card.popular {
    border-color: #39ad94;
    box-shadow: 0 8px 24px rgba(57, 173, 148, 0.2);
}

.popular-badge {
    position: absolute;
    top: -1px;
    right: -1px;
    background: linear-gradient(135deg, #39ad94, #2d8a73);
    color: white;
    padding: 8px 20px;
    border-radius: 0 20px 0 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 3;
}

/* Card Header */
.card-header {
    padding: 30px 30px 20px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.card-header h4 {
    color: #ffffff;
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.price-container {
    margin-bottom: 15px;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #39ad94;
}

.price-label {
    color: #adb5bd;
    font-size: 1rem;
    margin-left: 8px;
}

.age-badge {
    display: inline-block;
    background: rgba(57, 173, 148, 0.2);
    color: #39ad94;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(57, 173, 148, 0.3);
}

/* Card Body */
.card-body {
    padding: 0 30px 30px;
    position: relative;
    z-index: 2;
}

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

.features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #e9ecef;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.check-icon {
    width: 20px;
    height: 20px;
    background: #39ad94;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    flex-shrink: 0;
}

.payment-options {
    margin-bottom: 30px;
}

.payment-badge {
    display: inline-block;
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

/* CTA Button */
.cta-button {
    width: 100%;
    background: linear-gradient(135deg, #39ad94, #2d8a73);
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(57, 173, 148, 0.4);
}

.button-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.cta-button:hover .button-icon {
    transform: translateX(4px);
}

/* Section CTA */
.section-cta {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(57, 173, 148, 0.2);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    margin-top: 60px;
}

.cta-content {
    margin-bottom: 30px;
}

.cta-content h4 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.cta-content p {
    color: #adb5bd;
    margin-bottom: 24px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(57, 173, 148, 0.1);
    border: 2px solid #39ad94;
    color: #39ad94;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background: #39ad94;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(57, 173, 148, 0.3);
}

.download-icon {
    font-size: 1.2rem;
}

.payment-info {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    margin-top: 24px;
}

.payment-info p {
    color: #adb5bd;
    margin: 8px 0;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .pricing-section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .category-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .category-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pricing-card {
        margin: 0 10px;
    }
    
    .card-header,
    .card-body {
        padding: 20px;
    }
    
    .price {
        font-size: 2rem;
    }
    
    .section-cta {
        padding: 30px 20px;
        margin: 40px 10px 0;
    }
    
    .toggle-wrapper label {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .toggle-wrapper {
        flex-direction: column;
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }
    
    .toggle-wrapper label {
        width: 100%;
        text-align: center;
        border-radius: 8px;
    }
    
    .features-list li {
        font-size: 0.9rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pricing-card {
    animation: fadeInUp 0.6s ease forwards;
}

.pricing-card:nth-child(2) {
    animation-delay: 0.2s;
}

.pricing-card:nth-child(3) {
    animation-delay: 0.4s;
}
