:root {
    --primary-color: #0ab39c;
    /* Medical/Trust Green/Teal */
    --primary-hover: #089d89;
    --text-primary: #1a1c21;
    --text-secondary: #64748b;
    --bg-color: #f7f9fc;
    --white: #ffffff;
    --border-color: #eff2f7;
    --popular-bg: #ecfdf3;
    --popular-text: #027a48;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    margin: 0;
    padding: 0;
    color: var(--text-primary);
}

/* Header (Minimal) */
.top-navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    /* Ensure background is opaque */
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.pricing-header {
    text-align: center;
    padding: 60px 24px 40px;
}

.pricing-header h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.pricing-header p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Pricing Grid */
.pricing-container {
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 24px;
    display: flex;
    justify-content: center;
    gap: 32px;
    align-items: flex-start;
    /* Align top so heights can vary naturally if needed */
    flex-wrap: wrap;
}

/* Plan Card */
.plan-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 32px;
    width: 320px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.plan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: #d0f5df;
    /* Subtle hint of green on hover */
}

/* Popular Card (Middle) */
.plan-card.popular {
    transform: scale(1.05);
    /* Make it bigger */
    border: 2px solid var(--primary-color);
    box-shadow: 0 20px 40px rgba(10, 179, 156, 0.15);
    z-index: 2;
}

.plan-card.popular:hover {
    transform: scale(1.08);
    /* Even bigger on hover */
    box-shadow: 0 25px 50px rgba(10, 179, 156, 0.2);
}

.popular-badge {
    background-color: var(--primary-color);
    color: white;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 20px;
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 10px rgba(10, 179, 156, 0.4);
}

/* Card Content */
.plan-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.plan-price {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
}

.currency-symbol {
    font-size: 24px;
    margin-top: 8px;
    font-weight: 600;
}

.plan-duration {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-weight: 500;
}

/* Features List */
.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 40px;
    text-align: left;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 15px;
    color: var(--text-primary);
}

.check-icon {
    width: 20px;
    height: 20px;
    background-color: #ecfdf3;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.check-icon svg {
    width: 12px;
    height: 12px;
    stroke-width: 3;
}

/* Button */
.select-plan-btn {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    background-color: var(--white);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.select-plan-btn:hover {
    background-color: #f0fdf9;
}

.plan-card.popular .select-plan-btn {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(10, 179, 156, 0.3);
}

.plan-card.popular .select-plan-btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(10, 179, 156, 0.4);
}

/* Disclaimer / T&C */
.pricing-disclaimer {
    text-align: center;
    color: #94a3b8;
    font-size: 13px;
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 0 24px;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 1024px) {
    .pricing-container {
        flex-direction: column;
        align-items: center;
        gap: 48px;
        /* More gap for stacked cards */
    }

    .plan-card {
        width: 100%;
        max-width: 360px;
    }

    .plan-card.popular {
        transform: scale(1);
        /* Reset scale on mobile */
    }

    .plan-card.popular:hover {
        transform: translateY(-5px);
        /* Only lift, don't scale */
    }
}

/* Status Pill Styles */
.plan-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.plan-status-pill.expired {
    background-color: #fef2f2;
    color: #ef4444;
    /* Red */
    border-color: #fecaca;
}

.plan-status-pill.expired svg {
    stroke: #ef4444;
}

.plan-status-pill.active {
    background-color: #ecfdf5;
    color: #10b981;
    /* Green */
    border-color: #d1fae5;
}

.plan-status-pill.active svg {
    stroke: #10b981;
}

.plan-status-pill.neutral {
    background-color: #f8fafc;
    color: #64748b;
    /* Slate */
    border-color: #e2e8f0;
}

.plan-status-pill svg {
    display: block;
}