/* Inherit Global Vars from navbarStyle.css */
:root {
    --table-bg: #fff;
    --border-color: #e0e0e0;
    --highlight-bg: #f9f4ff; /* Light purple for the popular plan */
}

/* --- Page Layout --- */
.plans-page-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
}

.title-section {
    text-align: center;
    margin-bottom: 40px;
}

.page-title {
    font-size: 2.0rem; 
    color: white;
    margin-bottom: 10px;
    line-height: 1.4;
    font-family: var(--font-family); 
}

.page-subtitle {
    font-size: 1rem;
    color: #fff; 
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; 
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* --- CARD LAYOUT (MOBILE FIRST) --- */
.cards-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    margin: 0 auto;
    width: 100%;
}

@media (min-width: 1000px) {
    .cards-wrapper {
        flex-direction: row;
        justify-content: center;
        align-items: stretch;
    }
}

.plan-card {
    background: var(--table-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    width: 100%;
    max-width: 380px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: relative;
}

.plan-card.highlight-plan {
    background-color: var(--highlight-bg);
    border: 2px solid var(--primary-color, #6366f1); 
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* --- PLAN HEADER STYLING --- */
.plan-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.plan-name {
    font-size: 1.5rem; 
    font-weight: bold;
    color: #333;
    font-family: var(--font-family); 
    margin: 0;
}

.plan-price {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 800;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; 
}

.period {
    font-size: 1rem;
    font-weight: normal;
    color: #666;
}

.badge-popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-pink, #ff69b4);
    color: white;
    font-size: 0.75rem;
    padding: 6px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    font-weight: bold;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    white-space: nowrap;
}

/* --- PLAN BODY & FEATURES --- */
.plan-body {
    flex-grow: 1;
}

.section-title {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: #666;
    letter-spacing: 1px;
    margin: 15px 0 10px 0;
    border-bottom: 1px dashed #eaeaea;
    padding-bottom: 5px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.feature-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    color: #444;
    line-height: 1.4;
}

.feature-list li.disabled {
    color: #9ca3af;
}

/* --- BUTTONS --- */
.btn-plan {
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: bold;
    transition: all 0.3s;
    font-family: var(--font-family); 
    display: block;
    text-align: center;
    margin-top: auto;
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-disabled {
    background: #e0e0e0;
    color: #999;
    border: 2px solid #ccc;
    cursor: not-allowed;
}

/* --- ICONS --- */
.icon-yes { color: #2ecc71; width: 18px; flex-shrink: 0; margin-top: 2px; }
.icon-no { color: #e74c3c; width: 18px; opacity: 0.5; flex-shrink: 0; margin-top: 2px; }
.icon-info { color: #3498db; width: 18px; flex-shrink: 0; margin-top: 2px; }

/* --- BOTTOM ACTION SECTION --- */
.action-footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
}

.btn-large-action {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    font-family: var(--font-family);
    font-size: 1rem;
    padding: 20px 40px;
    text-decoration: none;
    border-radius: 8px;
    box-shadow: 4px 4px 0px rgba(0,0,0,0.2); 
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-large-action:hover {
    transform: translateY(-3px);
    box-shadow: 4px 7px 0px rgba(0,0,0,0.2);
    background-color: var(--color-pink);
}

.btn-large-action:active {
    transform: translateY(2px);
    box-shadow: 0px 0px 0px;
}

.text-highlight {
    color: var(--primary-color, #6366f1);
    font-weight: bold;
    font-size: 1.5rem;
}