:root {
    --pricing-bg: #FFFFFF;
    --pricing-surface: #FFFFFF;
    --pricing-text-main: #0F172A;
    --pricing-text-secondary: #475569;
    --pricing-primary: #059669;
    --pricing-gradient-start: #6EE7B7; /* Light Green */
    --pricing-gradient-end: #059669;   /* Primary Green */
    --pricing-border: #E5E7EB;
    --pricing-shadow-soft: 0 10px 20px rgba(0, 0, 0, 0.05);
    
    /* Variables for Background Glow (Matching Canvas) */
    --canvas-bg: #F8FAFC;
    --canvas-gradient-start: rgba(134, 239, 172, 0.4); 
    --canvas-gradient-end: rgba(147, 197, 253, 0.3);
}

/* --- Keyframe Animation (Reused from Canvas) --- */
@keyframes floatBlob {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, 40px) scale(1.05); }
}

.pricing-section-enterprise {
    padding: 100px 0;
    /* Use the light canvas background */
    background-color: var(--canvas-bg);
    color: var(--pricing-text-main);
    position: relative; 
    overflow: hidden;
}

/* --- Ambient Glow from Canvas --- */
.pricing-section-enterprise::before,
.pricing-section-enterprise::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    z-index: 0;
    pointer-events: none;
    animation: floatBlob 15s infinite alternate ease-in-out;
}

/* Orb 1 (Greenish) */
.pricing-section-enterprise::before {
    width: 600px; height: 600px;
    background: radial-gradient(circle, var(--canvas-gradient-start) 0%, transparent 60%);
    top: -150px;
    left: -100px;
}

/* Orb 2 (Bluish) */
.pricing-section-enterprise::after {
    width: 500px; height: 500px;
    background: radial-gradient(circle, var(--canvas-gradient-end) 0%, transparent 60%);
    bottom: -150px;
    right: -100px;
    animation-delay: -7s;
}

/* --- Header --- */
.header-content {
    margin-bottom: 60px;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--pricing-text-main);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--pricing-text-secondary);
}

.text-primary-dark {
    color: var(--pricing-primary);
}

/* --- Pricing Card Grid --- */
.pricing-cards-grid {
    position: relative; /* Keep cards above the glow */
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    align-items: stretch; /* Stretch cards to match height */
}

.pricing-card {
    background: var(--pricing-surface); 
    border: 1px solid var(--pricing-border);
    border-radius: 16px;
    padding: 35px;
    transition: all 0.3s ease;
    box-shadow: var(--pricing-shadow-soft);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%; /* Important for equal height in grid */
}

/* --- Premium Card Highlight --- */
.card-premium {
    transform: scale(1.05); 
    border-color: var(--pricing-primary);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-premium .ribbon-popular {
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    overflow: hidden;
    pointer-events: none;
}
.card-premium .ribbon-popular span {
    position: absolute;
    display: block;
    width: 200px;
    padding: 8px 0;
    background: var(--pricing-primary);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    transform: rotate(45deg);
    right: -55px;
    top: 25px;
}

/* --- Card Content --- */
.card-header {
    margin-bottom: 25px;
}

.plan-name {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--pricing-text-main);
    margin-bottom: 8px;
}

.plan-description {
    font-size: 0.95rem;
    color: var(--pricing-text-secondary);
}

/* --- Features List --- */
.plan-features {
    margin-bottom: auto; /* Push price and button to bottom */
    padding-bottom: 30px;
}

.plan-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plan-features li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 1rem;
    color: var(--pricing-text-main);
}

.check-icon {
    color: var(--pricing-primary);
    margin-right: 10px;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* --- Price Area --- */
.plan-price {
    margin-bottom: 30px;
}

.price-amount {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--pricing-primary);
}

.price-term {
    font-size: 0.9rem;
    color: var(--pricing-text-secondary);
    margin-left: 5px;
}

/* --- Buttons --- */
.btn {
    display: block;
    width: 100%;
    padding: 12px 20px;
    text-align: center;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-top: auto; /* Ensure button sticks to the bottom */
}

.btn-primary-gradient {
    background: linear-gradient(90deg, var(--pricing-gradient-start) 0%, var(--pricing-gradient-end) 100%);
    color: #fff;
    border: none;
    box-shadow: 0 5px 15px rgba(5, 150, 105, 0.3);
}

.btn-primary-gradient:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(5, 150, 105, 0.4);
}

.btn-secondary-outline {
    background: transparent;
    color: var(--pricing-text-main);
    border: 2px solid var(--pricing-border);
}

.btn-secondary-outline:hover {
    border-color: var(--pricing-primary);
    color: var(--pricing-primary);
    background: var(--pricing-gradient-start);
    opacity: 0.6;
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .card-premium {
        transform: scale(1);
    }
}