.memberships-plans-wrapper {
    text-align: center;
    padding: 40px 0;
    background-color: #0d0d0d; /* Dark background */
    min-height: 100vh;
}

.memberships-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.memberships-plan-card {
    background-color: #1a1a1a; /* Darker card background */
    border: 1px solid #333; /* Subtle border */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 0 15px rgba(0, 255, 128, 0.1), 0 0 30px rgba(0, 255, 128, 0.05); /* Greenish glow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    color: #f0f0f0; /* Light text color */
    position: relative;
    overflow: hidden;
}

.memberships-plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 25px rgba(0, 255, 128, 0.3), 0 0 50px rgba(0, 255, 128, 0.15);
}

.memberships-plan-card h3 {
    font-size: 2.2em;
    color: #00ff80; /* Bright green for title */
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.plan-subtitle {
    font-size: 1.1em;
    color: #ccc;
    margin-bottom: 25px;
}

.plan-price-main {
    font-size: 3.5em;
    font-weight: bold;
    color: #00ff80;
    margin-bottom: 10px;
}

.plan-price-sub {
    font-size: 1.2em;
    color: #aaa;
    margin-bottom: 30px;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    text-align: left;
    flex-grow: 1;
}

.plan-features li {
    font-size: 1em;
    color: #e0e0e0;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.plan-features li:last-child {
    margin-bottom: 0;
}

.plan-features li::before {
    content: '\2713'; /* Checkmark icon */
    color: #00ff80;
    margin-right: 10px;
    font-weight: bold;
    font-size: 1.1em;
    line-height: 1;
}

.memberships-choose-plan-button {
    display: block;
    width: 90%;
    margin: 20px auto 0;
    background-color: #00ff80; /* Bright green button */
    color: #1a1a1a; /* Dark text on button */
    padding: 15px 30px;
    border-radius: 50px; /* Pill-shaped button */
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.memberships-choose-plan-button:hover {
    background-color: #00e673; /* Slightly darker green on hover */
    transform: translateY(-3px);
}

/* Ribbon for highlighting plans */
.memberships-plan-card.popular .ribbon,
.memberships-plan-card.active .ribbon {
    position: absolute;
    top: 20px;
    right: -30px;
    background-color: #00ff80;
    color: #1a1a1a;
    padding: 5px 30px;
    font-weight: bold;
    text-transform: uppercase;
    transform: rotate(45deg);
    transform-origin: 50% 50%;
    font-size: 0.8em;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.memberships-plan-card.active .ribbon {
    background-color: #007bff; /* Blue for active */
    color: #ffffff;
}
