/* Subscription Plans Styles */
.pricing-section {
    padding: 60px 20px;
    background: #18191a;
}

.pricing-header {
    text-align: center;
    margin-bottom: 50px;
}

.pricing-header h2 {
    font-size: 2.5rem;
    color: #e4e6eb;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.pricing-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #3b82f6;
    border-radius: 2px;
}

.pricing-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: #242526;
    border: 1px solid #3a3b3c;
    border-radius: 20px;
    padding: 40px 30px;
    width: 100%;
    max-width: 350px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: #3b82f6;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.pricing-card.featured {
    border-color: #ffd700;
    background: linear-gradient(145deg, #1c1d1e 0%, #000000 100%);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.15);
    transform: scale(1.05);
    /* Make it slightly larger */
    z-index: 2;
}

.pricing-card.featured:hover {
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.3);
    transform: translateY(-10px) scale(1.06);
}

.pricing-card.featured::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ffd700, #ff8c00, #ffd700, #ff8c00);
    background-size: 400%;
    z-index: -1;
    border-radius: 22px;
    opacity: 0.3;
    animation: premiumGlow 10s linear infinite;
}

@keyframes premiumGlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.best-value-badge {
    position: absolute;
    top: 20px;
    left: -35px;
    background: linear-gradient(45deg, #ffd700, #ff8c00);
    color: #000;
    padding: 8px 40px;
    font-size: 0.8rem;
    font-weight: 800;
    transform: rotate(-45deg);
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.4);
}

.card-header {
    text-align: center;
    margin-bottom: 30px;
}

.card-header h3 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 10px;
}

.card-description {
    color: #b0b3b8;
    font-size: 0.9rem;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    flex-grow: 1;
}

.features-list li {
    padding: 12px 0;
    color: #e4e6eb;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #3a3b3c;
}

.features-list li:last-child {
    border-bottom: none;
}

.features-list li.included i {
    color: #10b981;
}

.features-list li.excluded {
    color: #72767d;
}

.features-list li.excluded i {
    color: #ef4444;
}

.pricing-card.featured .card-header h3 {
    background: linear-gradient(to bottom, #fff, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2rem;
}

.pricing-card.featured .premium-btn {
    background: linear-gradient(45deg, #ffd700, #ff8c00);
    color: #000;
    border: none;
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);
}

.pricing-card.featured .premium-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 25px rgba(255, 215, 0, 0.5);
}

.pricing-card.featured .features-list li.included i {
    color: #ffd700;
}

.subscribe-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Cairo', sans-serif;
}

.free-btn {
    background: #3a3b3c;
    color: #fff;
}

.free-btn:hover {
    background: #4e4f50;
}

.premium-btn {
    background: #3b82f6;
    color: #fff;
}

.premium-btn:hover {
    background: #2563eb;
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

/* Subscription Popup Modal Styles */
.sub-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.sub-modal-content {
    background: #1c1d1e;
    border-radius: 25px;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid #3a3b3c;
}

.close-sub-modal {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: #3a3b3c;
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.close-sub-modal:hover {
    background: #ef4444;
    transform: rotate(90deg);
}

.sub-modal-body {
    padding: 50px 30px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .pricing-cards {
        gap: 20px;
    }

    .sub-modal-body {
        padding: 40px 15px;
    }
}