@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800;900&display=swap');

/* =========================================
   1. GLOBAL STYLES
   ========================================= */
* {
    font-family: 'Montserrat', sans-serif;
    box-sizing: border-box;
}

body {
    background-color: #f3f4f6;
    margin: 0;
    padding: 0;
}

h2, .section-title {
    text-align: center;
    font-size: 2rem;
    color: #2D3748;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 800;
}

/* =========================================
   2. TOAST NOTIFICATION
   ========================================= */
#flash-toast {
    visibility: hidden;
    min-width: 320px;
    background-color: #fff;
    color: #333;
    text-align: center;
    border-radius: 8px;
    padding: 20px;
    position: fixed;
    z-index: 9999;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-left: 6px solid #ef4444;
    opacity: 0;
    transition: opacity 0.4s, bottom 0.4s;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
}

#flash-toast.show {
    visibility: visible;
    opacity: 1;
    bottom: 50px;
}

/* =========================================
   3. STATUS CARDS (Alerts)
   ========================================= */
.status-card-container { 
    max-width: 850px; 
    margin: 30px auto 40px auto; 
    padding: 0 20px; 
}

.info-card { 
    background: #fff; 
    border-radius: 12px; 
    box-shadow: 0 4px 20px rgba(0,0,0,0.05); 
    padding: 30px; 
    display: flex; 
    align-items: center; 
    gap: 25px;
    position: relative;
    margin-bottom: 20px;
    animation: fadeInDown 0.6s ease;
}

/* Status Card Variants */
.card-expired { border-left: 6px solid #ef4444; }
.icon-expired { color: #ef4444; background: #fee2e2; }
.title-expired { color: #b91c1c; }

.card-limit { border-left: 6px solid #f59e0b; }
.icon-limit { color: #d97706; background: #fef3c7; }
.title-limit { color: #92400e; }

.card-renewal { border-left: 6px solid #10b981; }
.icon-renewal { color: #10b981; background: #d1fae5; }
.title-renewal { color: #065f46; }

/* Status Icons & Text */
.status-icon { 
    font-size: 32px; 
    width: 70px; 
    height: 70px; 
    border-radius: 50%; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    flex-shrink: 0; 
    font-weight: bold;
}

.status-details { flex: 1; }

.status-title { 
    margin: 0 0 8px 0; 
    font-size: 1.4rem; 
    font-weight: 800; 
    text-transform: uppercase; 
    letter-spacing: 0.5px; 
}

.status-msg { 
    color: #4b5563; 
    font-size: 1rem; 
    margin-bottom: 20px; 
    line-height: 1.5; 
}

/* Data Grid inside Cards */
.data-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); 
    gap: 15px; 
    background: #f9fafb; 
    padding: 15px 20px; 
    border-radius: 8px; 
    border: 1px solid #e5e7eb; 
}

.data-box label { 
    display: block; 
    font-size: 0.75rem; 
    color: #6b7280; 
    text-transform: uppercase; 
    font-weight: 700; 
    margin-bottom: 4px; 
}

.data-box span { 
    display: block; 
    font-size: 1.05rem; 
    color: #1f2937; 
    font-weight: 700; 
}

/* Text Highlights */
.highlight-red { color: #ef4444 !important; }
.highlight-orange { color: #d97706 !important; }
.highlight-green { color: #10b981 !important; }

.close-card-btn {
    position: absolute; 
    top: 15px; 
    right: 15px; 
    background: none; 
    border: none; 
    font-size: 24px; 
    color: #9ca3af; 
    cursor: pointer; 
    line-height: 1; 
    transition: color 0.2s;
}
.close-card-btn:hover { color: #374151; }

/* =========================================
   4. PRICING SECTION
   ========================================= */
.pricing-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px 150px;
    gap: 40px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

/* --- Common Pricing Card --- */
.pricing-card {
    background: white;
    border-radius: 16px;
    padding: 0;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Card Header */
.card-header {
    background: #2E5A9D;
    color: white;
    text-align: center;
    padding: 25px 20px;
}

.card-header h3 {
    font-size: 1.1rem;
    font-weight: 900;
    margin: 0;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.premium-header { background: #1A3A5C; }

/* Card Body / Illustration */
.card-illustration {
    padding: 30px 20px 10px;
    text-align: center;
    background: white;
}

.card-image {
    width: 100%; 
    max-width: 250px; 
    height: auto;
    display: block; 
    margin: 0 auto;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

.card-badge {
    background: #2E5A9D; 
    color: white;
    padding: 8px 20px; 
    border-radius: 50px;
    font-size: 0.9rem; 
    font-weight: 700;
    display: inline-block; 
    margin-top: 15px;
    text-transform: uppercase; 
    letter-spacing: 1px;
}

.dark-badge { background: #1A3A5C; }

/* Benefits List */
.benefits-list {
    list-style: none;
    padding: 20px 30px;
    margin: 0;
    flex: 1; /* Pushes footer down */
    text-align: left;
    background: white;
}

.benefits-list li {
    padding: 12px 0;
    color: #475569;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.icon-check {
    color: #00CC66;
    font-size: 1.1rem;
    background: #E6F9F0;
    width: 24px; 
    height: 24px;
    border-radius: 50%;
    display: flex; 
    align-items: center; 
    justify-content: center;
    flex-shrink: 0; 
    font-weight: 900;
}

.icon-badge {
    color: #1A2B4A; 
    font-size: 1.2rem;
}

/* Card Footer */
.card-footer {
    padding: 20px 30px 30px;
    text-align: center;
    background: white;
}

/* Buttons */
.cta-button {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* -- Green Button (Paid) -- */
.premium-button {
    background: #f0fdf4; 
    color: #166534; 
    border: 2px solid #bbf7d0;
}
.premium-button:hover { 
    background: #dcfce7; 
    transform: translateY(-2px); 
}

/* -- Blue Button (Active / Book Now) -- */
/* .premium-button1 {
    background: #eff6ff; 
    color: #1e40af; 
    border: 2px solid #bfdbfe;
    font-size: 1rem; 
    padding: 12px; 
    line-height: 1.4;
}
.premium-button1:hover { 
    background: #dbeafe; 
    transform: translateY(-2px); 
}
.premium-button1 span {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 2px;
    opacity: 0.9;
}
.premium-button1 b {
    font-size: 1.2rem;
} */

/* -- Grey Button (Free) -- */
.free-button {
    background: #f8fafc; 
    color: #475569; 
    border: 2px solid #e2e8f0;
}
.free-button:hover { 
    background: #e2e8f0; 
    color: #1e293b; 
    transform: translateY(-2px); 
}


/* =========================================
   5. SPECIAL BLUE PLAN CARD (Featured)
   ========================================= */
/*.blue-plan-card {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: white;
    border: none;
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.3);
    transform: scale(1.02); /* Slightly larger 
    z-index: 2;
}

.blue-plan-card:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.4);
}

.blue-plan-card .card-badge {
    background: #fbbf24; 
    color: #1e3a8a;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    margin: 20px auto 0;
    display: table; // Centers the badge 
}

.blue-plan-card h3 {
    text-align: center; 
    margin: 15px 0 5px; 
    font-size: 2rem; 
    font-weight: 900; 
    letter-spacing: -0.5px;
}

.blue-plan-price {
    text-align: center; 
    font-size: 3.5rem; 
    font-weight: 800; 
    margin: 0 0 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.blue-plan-price span { 
    font-size: 1.2rem; 
    font-weight: 500; 
    opacity: 0.9; 
}

// Blue Card List Overrides 
.blue-plan-card .benefits-list {
    background: transparent; 
    color: white; 
    border-top: 1px solid rgba(255,255,255,0.2);
}

.blue-plan-card .benefits-list li {
    color: white; 
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.blue-plan-card .icon-check {
    background: white; 
    color: #2563eb;
}

.blue-plan-card .card-footer { 
    background: transparent; 
}

 //Blue Card Button 
.cta-button-blue {
    background: #ffffff;
    color: #2563eb;
    width: 80%; 
    padding: 18px; 
    border: none; 
    border-radius: 50px;
    font-size: 1rem; 
    font-weight: 900; 
    text-transform: uppercase;
    cursor: pointer; 
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.cta-button-blue:hover {
    background: #fbbf24; 
    color: #1e3a8a;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}*/

/* =========================================
   6. ANIMATIONS & RESPONSIVE
   ========================================= */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .pricing-section {
        grid-template-columns: 1fr;
        padding: 0 20px 80px;
        gap: 30px;
        margin-bottom: 125px;
    }

    .blue-plan-card {
        transform: none;
        margin-bottom: 20px;
    }

    .blue-plan-card:hover {
        transform: translateY(-5px);
    }

    .info-card {
        flex-direction: column;
        text-align: center;
    }

    .data-grid {
        text-align: left;
    }

    .card-header h3 { font-size: 1em; }
    .card-badge { font-size: 1.2em; padding: 12px 40px; }
    .cta-button { font-size: 2em; padding: 25px; }
}

@media (max-width: 480px) {
    .card-badge { font-size: 1em; padding: 10px 30px; }
    .benefits-list { padding: 30px 20px; }
    .cta-button { font-size: 1.8em; padding: 20px; }
}

/* =========================================
   BLUE PLAN CARD – FIXED & PREMIUM
   (Does NOT affect other cards)
========================================= */

.blue-plan-card {
    background: linear-gradient(85deg, #0042ffc2 0%, #000000 100%);
    color: #ffffff;
    border-radius: 18px;
    padding: 0 22px 28px;
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.35);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

/* Remove aggressive scaling */
.blue-plan-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 55px rgba(37, 99, 235, 0.45);
}

/* =====================
   HEADER
===================== */
.blue-plan-card .card-header {
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: #5328ad;
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: 1px;
    padding: 22px 0 10px;
    width: 60%;
    align-items: center;
}

/* =====================
   TOP BADGE (BEST VALUE)
===================== */
.blue-plan-card > .card-badge {
    background: #fbbf24;
    color: #1e3a8a;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 14px;
    text-transform: uppercase;
}

/* =====================
   IMAGE
===================== */
.blue-plan-card .card-image {
    max-width: 240px;
    margin: 10px auto 8px;
    display: block;
    filter: drop-shadow(0 10px 18px rgba(0,0,0,0.35));
}

/* =====================
   INNER BADGE (BLUE PLAN)
===================== */
.blue-plan-card .dark-badge {
    background: rgb(153 145 234);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin: 8px auto 18px;
    padding: 6px 16px;
    border-radius: 999px;
}

/* =====================
   BENEFITS LIST
===================== */
.blue-plan-card .benefits-list {
    background: transparent;
    padding: 0;
    margin: 10px 0 24px;
    width: 100%;
}

.blue-plan-card .benefits-list li {
    color: #e5edff;
    font-size: 0.95rem;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    text-align: left;
}

.blue-plan-card .benefits-list li:last-child {
    border-bottom: none;
}

/* =====================
   CTA BUTTON
===================== */
.blue-plan-card .cta-button-blue {
    background: #ffffff;
    color: #1e3a8a;
    border-radius: 999px;
    font-size: 1.1rem;
    font-weight: 900;
    padding: 16px;
    width: 100%;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 12px 25px rgba(0,0,0,0.35);
}

.blue-plan-card .cta-button-blue:hover {
    background: #fbbf24;
    color: #1e3a8a;
    transform: translateY(-2px);
    box-shadow: 0 18px 35px rgba(0,0,0,0.45);
}

/* =====================
   FOOTNOTE
===================== */
.blue-plan-card p {
    margin-top: 14px;
    font-size: 0.8rem;
    opacity: 0.9;
}

/* =====================
   MOBILE REFINEMENT
===================== */
@media (max-width: 768px) {
    .blue-plan-card {
        padding: 0 18px 26px;
    }

    .blue-plan-card .card-image {
        max-width: 200px;
    }
}