/* 
 * Pricing Section - Modern Premium Design
 */

.pricing-section {
    position: relative;
    padding: 6rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    overflow: hidden;
}

/* Background Decoration */
.pricing-bg-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.pricing-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.pricing-blob-1 {
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: #e0f2fe;
    animation: float 20s infinite alternate;
}

.pricing-blob-2 {
    bottom: -10%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: #f0f9ff;
    animation: float 15s infinite alternate-reverse;
}

.pricing-container {
    position: relative;
    z-index: 2;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
}

/* Pricing Card */
.pricing-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 3rem 2rem;
    border: 1px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    /* overflow: hidden removed to allow badge to overflow */
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

/* Popular Card Style */
.pricing-card.popular {
    background: #ffffff;
    border: 2px solid #2563eb;
    transform: scale(1.05);
    box-shadow: 0 25px 50px rgba(37, 99, 235, 0.15);
    z-index: 1;
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 30px 60px rgba(37, 99, 235, 0.2);
}

/* Badge - Positioned on top border */
.pricing-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #eff6ff;
    color: #2563eb;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 99px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid #dbeafe;
}

/* Header */
.pricing-header {
    margin-bottom: 2.5rem;
    text-align: center;
}

.pricing-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-price-wrapper {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    color: #1e293b;
}

.pricing-currency {
    font-size: 1rem;
    font-weight: 500;
    color: #64748b;
    align-self: flex-start;
    margin-top: 0.5rem;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    color: #1e293b;
    line-height: 1;
    letter-spacing: -1px;
}

.pricing-period {
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Body / Features */
.pricing-body {
    flex: 1;
    margin-bottom: 2.5rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-bottom: 0;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    line-height: 1.5;
    color: #475569;
}

.pricing-features li:last-child {
    margin-bottom: 0;
}

/* Scoped Feature Icons for Pricing Section */
.pricing-features .feature-icon {
    width: 24px;
    height: 24px;
    background: #eff6ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    flex-shrink: 0;
    margin-top: 2px;
}

.pricing-features .feature-icon svg {
    width: 14px;
    height: 14px;
}

.pricing-card.popular .pricing-features .feature-icon {
    background: #2563eb;
    color: #ffffff;
}

/* Footer / CTA */
.pricing-footer {
    margin-top: auto;
}

.pricing-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
    padding: 0.875rem 1rem;
    font-size: 0.95rem;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: #2563eb;
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
    color: white;
}

.btn-outline {
    background: transparent;
    color: #334155;
    border: 2px solid #e2e8f0;
}

.btn-outline:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
    color: #1e293b;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns on tablet */
        max-width: 800px;
        gap: 2rem;
    }

    .pricing-card.popular {
        transform: scale(1);
        /* Reset scale on tablet */
    }

    .pricing-card.popular:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        /* 1 column on mobile */
        max-width: 400px;
    }

    .pricing-section {
        padding: 4rem 0;
    }

    .pricing-card {
        padding: 2.5rem 1.5rem;
    }

    .pricing-price {
        font-size: 3rem;
    }
}