.plans-section {
    background: var(--gradient-light); /* Use a softer gradient background */
    color: var(--text-color); /* Default text color */
    padding: 80px 0;
}

.plans-section h2 {
    color: #fff; /* White color for title on gradient background */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.plans-section .section-subtitle {
    font-size: 1.1em;
    margin-top: -20px;
    margin-bottom: 50px;
    color: rgba(255, 255, 255, 0.9); /* Slightly transparent white */
}

.plan-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Flexible grid */
    gap: 30px;
    align-items: stretch; /* Ensure cards have the same height */
}

.plan-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Space out content */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.plan-card .plan-header {
    margin-bottom: 20px;
}

.plan-card .plan-icon {
    font-size: 3em;
    margin-bottom: 15px;
    color: var(--primary-color); /* Default icon color */
}

.plan-card h3 {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: var(--primary-color); /* Default title color */
}

/* Specific plan colors */
.plan-card.basic .plan-icon,
.plan-card.basic h3 {
    color: #4CAF50; /* Green for Basic */
}

.plan-card.intermediate .plan-icon,
.plan-card.intermediate h3 {
    color: #FFC107; /* Amber for Intermediate */
}

.plan-card.advanced .plan-icon,
.plan-card.advanced h3 {
    color: #F44336; /* Red for Advanced */
}

.plan-card .plan-price {
    margin-bottom: 30px;
}

.plan-card .plan-price .price {
    font-size: 2.8em;
    font-weight: 700;
    color: var(--secondary-color); /* Default price color */
}

.plan-card .plan-price .duration {
    font-size: 1.2em;
    color: #666;
    margin-left: 5px;
}

/* Specific plan price colors */
.plan-card.basic .plan-price .price {
    color: #4CAF50; /* Green for Basic */
}
.plan-card.intermediate .plan-price .price {
    color: #FFC107; /* Amber for Intermediate */
}
.plan-card.advanced .plan-price .price {
    color: #F44336; /* Red for Advanced */
}

.plan-card .plan-features {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
    flex-grow: 1; /* Allow feature list to grow and push button down */
}

.plan-card .plan-features li {
    margin-bottom: 12px;
    font-size: 1em;
    color: #555;
    display: flex;
    align-items: center;
}

.plan-card .plan-features li i {
    margin-right: 10px;
    color: #4CAF50; /* Green for check icons */
}

.plan-card .plan-features li.unavailable {
    color: #999; /* Gray out unavailable features */
    text-decoration: line-through; /* Add line-through */
}
.plan-card .plan-features li.unavailable i {
    color: #F44336; /* Red for cross icons */
}

.plan-card .btn.tertiary-btn {
    display: block;
    width: 100%;
    padding: 15px 20px;
    font-size: 1.1em;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, opacity 0.3s ease;
    text-decoration: none; /* Ensure it looks like a button, even if it's an anchor */
    color: #fff; /* White text */
    background-color: var(--primary-color); /* Default button color */
}

.plan-card.basic .btn.tertiary-btn {
    background-color: #4CAF50; /* Green button for Basic */
}
.plan-card.intermediate .btn.tertiary-btn {
    background-color: #FFC107; /* Amber button for Intermediate */
}
.plan-card.advanced .btn.tertiary-btn {
    background-color: #F44336; /* Red button for Advanced */
}

.plan-card .btn.tertiary-btn:hover {
    opacity: 0.9;
}