/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #ffffff;
}

/* Pricing Section */
.pricing-section {
    padding: 80px 20px;
    background-color: transparent; /* Removed background to show body gradient */
}

.pricing-container {
    max-width: 1280px;
    margin: 0 auto;
}

/* Pricing Card */
.pricing-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    background-color: #2a2a3e; /* Dark shade for card background */
    border-radius: 16px;
    padding: 40px 25px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3); /* Darker shadow for depth */
    transition: transform 0.3s ease;
    animation: fadeIn 1s cubic-bezier(0.33, 0, 0, 1) forwards;
}

.pricing-card:nth-child(1) { animation-delay: 0.15s; }
.pricing-card:nth-child(2) { animation-delay: 0.3s; }
.pricing-card:nth-child(3) { animation-delay: 0.45s; }

@keyframes fadeIn {
    from {
        opacity: 0.3;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pricing-card:hover {
    transform: scale(1.03);
}

/* Recommended Plan Styling */
.pricing-card.recommended {
    background: linear-gradient(135deg, #6b48ff 0%, #4a32cc 100%); /* Purple gradient for recommended */
    color: #fff;
}

.pricing-card.recommended .plan-title,
.pricing-card.recommended .price,
.pricing-card.recommended .payment-note,
.pricing-card.recommended .features li {
    color: #fff;
}

.recommended-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #4B0082; /* Dark purple badge */
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 10;
}

/* Plan Title */
.plan-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0;
}

/* Price Wrapper */
.price-wrapper {
    margin-bottom: 25px;
    position: relative;
}

.price {
    font-size: 3.5rem;
    font-weight: 700;
    color: #6b48ff; /* Purple for price */
    display: block;
}

.original-price {
    font-size: 1.4rem;
    color: #cccccc; /* Light gray for original price */
    margin-right: 10px;
    position: relative;
    display: inline-block;
}

.original-price::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background-color: #cccccc; /* Match the text color */
    transform: translateY(-50%);
}

.discount-tag {
    font-size: 1rem;
    color: #ffffff;
    background-color: #9370DB; /* Medium purple for discount tag */
    padding: 4px 8px;
    border-radius: 12px;
    margin-left: 10px;
    font-weight: 600;
    margin-top: 10px;
}

.payment-note {
    font-size: 0.95rem;
    color: #cccccc; /* Light gray for note */
    display: block;
    margin-top: 8px;
}

/* Features List */
.features {
    list-style: none;
    margin-bottom: 10px;
    text-align: left;
}

.features li {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    margin: 12px 0;
}

.features li i {
    margin-right: 12px;
    font-size: 1.2rem;
}

.features li.included i {
    color: #6b48ff; /* Purple for included features */
}

.pricing-card.recommended .features li.included i {
    color: #ffffff; /* White for recommended plan's included features */
}

.features li.not-included {
    color: #999999; /* Darker gray for not included */
}

.features li.not-included i {
    color: #666666; /* Medium gray for not included icon */
}

/* Call-to-Action Button */
.cta-button {
    display: block;
    width: 90%;
    margin: 20px auto 0;
    padding: 14px;
    background-color: #6b48ff; /* Purple button */
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
    background-color: #7c5aff; /* Lighter purple on hover */
    transform: translateY(-2px);
}

.pricing-card.recommended .cta-button {
    background-color: #2a2a3e; /* Matches the background color of other cards */
}

.pricing-card.recommended .cta-button:hover {
    background-color: #3a3a4e; /* Slightly lighter on hover */
}

/* Carousel Arrows */
.carousel-arrows {
    display: none;
    justify-content: center;
    gap: 40px;
    margin-top: 20px;
}

.carousel-arrow {
    background-color: #6b48ff; /* Purple */
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.carousel-arrow:hover {
    background-color: #7c5aff; /* Lighter purple hover effect */
    transform: scale(1.1);
}

.carousel-arrow:active {
    transform: scale(0.95);
}

/* Carousel Dots */
.carousel-dots {
    display: none;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    background-color: #666666; /* Gray for inactive */
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-dot.active {
    background-color: #6b48ff; /* Purple for active */
}

/* Responsive Design */
@media (min-width: 1024px) {
    .pricing-wrapper {
        display: flex;
        justify-content: center;
        gap: 20px;
    }

    .pricing-card {
        width: 33.33%;
        max-width: 400px;
        margin: 0;
    }
}

@media (max-width: 1023px) {
    .pricing-wrapper {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        gap: 20px;
        padding: 0 10px;
        scroll-padding: 0 10%;
    }

    .pricing-wrapper::after {
        content: '';
        display: block;
        width: 10px;
        height: 1px;
        flex-shrink: 0;
    }

    .pricing-card {
        flex: 0 0 320px;
        width: 320px;
        padding: 35px 20px;
        margin: 10px 0;
        animation: none; /* Disable fade-in animation */
    }

    .carousel-arrows {
        display: flex;
    }

    .carousel-dots {
        display: flex;
    }
}