/* Custom Pricing Section Styles */

/* Base styles for the section */
#pricing {
    padding: 4rem 1rem;
    position: relative;
    overflow: hidden;
}

.pricing-card {
    position: relative;
    z-index: 1;
    border: 2px solid transparent;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    background: black;
    color: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}

/* Background Overlay */
#pricing::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1a1a1a, #1e1e1e);
    transform: skewY(-6deg);
    z-index: 0;
}

/* Animated background shapes */
#pricing .bg-shape {
    position: absolute;
    background: radial-gradient(circle, rgba(124, 77, 255, 0.5), transparent);
    z-index: 0;
    pointer-events: none;
    animation: float 6s ease-in-out infinite;
}

#pricing .bg-shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: -10%;
}

#pricing .bg-shape-2 {
    width: 500px;
    height: 500px;
    bottom: -20%;
    right: -15%;
}

/* Keyframes for floating animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Card hover effects */
.pricing-card {
    position: relative;
    z-index: 1;
    border: 2px solid transparent;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    background: white; /* Ensure contrast for the hover effect */
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: rgba(124, 77, 255, 0.8); /* Boundary color change */
    box-shadow: 0 10px 30px rgba(124, 77, 255, 0.3);
    background: rgba(124, 77, 255, 0.05); /* Light overlay effect */
}

/* Badge styling for popular cards */
.pricing-card.popular .badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(to right, #7C4DFF, #00B8D4);
    color: white;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    border-radius: 4px;
    animation: pulse 2s infinite;
}

/* Keyframes for pulsing badge animation */
@keyframes pulse {
    0%, 100% {
        transform: translateX(-50%) scale(1);
    }
    50% {
        transform: translateX(-50%) scale(1.1);
    }
}

/* Button hover animation */
.pricing-card button {
    position: relative;
    overflow: hidden;
    z-index: 1;
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    background-color: rgba(124, 77, 255, 0.1);
    color: rgba(124, 77, 255, 1);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.pricing-card button:hover {
    background-color: rgba(124, 77, 255, 0.8);
    color: white;
}

.pricing-card button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(124, 77, 255, 0.1);
    z-index: 0;
    transition: left 0.3s ease-in-out;
}

.pricing-card button:hover::before {
    left: 0;
}
