/* Pricing Section */
.pricing-section {
    padding: 100px 0 80px;
    background: linear-gradient(180deg, var(--dark) 0%, #0b1a2b 100%);
    position: relative;
    z-index: 1;
}

.pricing-header {
    text-align: center;
    margin-bottom: 60px;
}

.pricing-header h2 {
    font-size: 3rem;
    background: linear-gradient(90deg, #fff, #a3e635);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.pricing-header p {
    color: #e2e8f0;
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.8;
}

/* Base Pricing Table (Standard/Flex) */
.pricing-table {
    display: flex;
    justify-content: center;
    gap: 0;
    /* Standard table has connected cards */
    margin-top: 30px;
    flex-wrap: wrap;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    border-radius: 15px;
    /* Rounded corners for the whole group */
    overflow: hidden;
}

.pricing-card {
    background: #fff;
    color: #333;
    width: 33.333%;
    min-width: 300px;
    border-right: 1px solid #eee;
    transition: transform 0.3s ease, z-index 0.3s;
    position: relative;
}

/* Premium Four Column Grid Layout */
.pricing-table.four-col {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    /* Spacing between cards */
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.pricing-table.four-col .pricing-card {
    width: 100%;
    border-right: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.98);
}

.pricing-card:last-child {
    border-right: none;
}

.pricing-card:hover {
    z-index: 10;
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* Card Headers & Gradients */
.card-header {
    background: #006096;
    color: #fff;
    padding: 25px 20px;
    text-align: center;
    position: relative;
}

/* Premium Card Styles */
.pricing-card.bronze .card-header {
    background: linear-gradient(135deg, #cd7f32, #b06500);
}

.pricing-card.silver .card-header {
    background: linear-gradient(135deg, #757f9a, #d7dde8);
    color: #333;
}

.pricing-card.silver .card-header h3 {
    color: #333;
    text-shadow: none;
}

.pricing-card.gold .card-header {
    background: linear-gradient(135deg, #FFD700, #FDB931);
    color: #333;
}

.pricing-card.gold .card-header h3 {
    color: #5a4a00;
    font-weight: 800;
    text-shadow: none;
}

.pricing-card.platinum .card-header {
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    color: #fff;
}

.card-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Price Box */
.price-box {
    text-align: center;
    padding: 30px 10px;
    border-bottom: 1px solid #eee;
    color: var(--dark);
    background: rgba(240, 244, 248, 0.5);
}

.price-box .currency {
    font-size: 1.2rem;
    vertical-align: top;
    font-weight: 600;
    color: #666;
}

.price-box .amount {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1;
    color: var(--dark);
}

/* Features List */
.features-list {
    list-style: none;
    padding: 20px 25px;
    text-align: left;
}

.features-list li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9rem;
    color: #555;
    display: flex;
    align-items: flex-start;
    line-height: 1.5;
}

.features-list li:last-child {
    border-bottom: none;
}

.features-list li i {
    color: #a3e635;
    /* Tick color */
    font-size: 0.8rem;
    margin-top: 5px;
    margin-right: 10px;
}

.pricing-card.platinum .features-list li i {
    color: #00F2FE;
}

.old-price {
    text-decoration: line-through;
    color: #aaa;
    font-size: 0.9em;
}

/* Recommended Badge */
.recommended-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #FF416C;
    /* Bright Pink/Red */
    color: white;
    padding: 5px 15px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    border-bottom-left-radius: 10px;
    box-shadow: -2px 2px 5px rgba(0, 0, 0, 0.2);
}

/* Scaling Effect for Recommended Card */
.pricing-card.gold {
    transform: scale(1.05);
    /* Slight default emphasis */
    border: 2px solid #FFD700;
    z-index: 5;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.pricing-card.gold:hover {
    transform: scale(1.08) translateY(-10px);
}

/* SEO Content */
.seo-content {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Responsiveness */
@media (max-width: 1100px) {
    .pricing-table.four-col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .pricing-table:not(.four-col) {
        flex-direction: column;
        align-items: center;
    }

    .pricing-table:not(.four-col) .pricing-card {
        width: 100%;
        max-width: 450px;
        border-right: none;
        border-bottom: 1px solid #eee;
    }

    .pricing-table:not(.four-col) {
        border-radius: 10px;
    }
}

@media (max-width: 600px) {
    .pricing-table.four-col {
        grid-template-columns: 1fr;
    }

    .pricing-header h2 {
        font-size: 2rem;
    }

    .pricing-card.gold {
        transform: none;
        /* Reset scale on mobile */
    }

    .pricing-card.gold:hover {
        transform: translateY(-5px);
    }
}