/* Scope box-sizing to pricing components to avoid global side effects */
.pricing-container,
.pricing-container * {
    box-sizing: border-box;
}

/* Specifically for the pricing container */
.pricing-container {
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
}

.pricing-header {
    margin-top: 20px;
    text-align: center;
}

.pricing-header .price-label {
    font-size: 16px;
    color: #000000;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 8px;
    opacity: 0.8;
}

.pricing-header .price-amount {
    font-size: 56px;
    font-weight: 700;
    color: #6B46C1;
    line-height: 1;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(107, 70, 193, 0.1);
}

.pricing-header .price-period {
    font-size: 18px;
    color: #6B46C1;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    align-items: start;
    width: 100%;
    overflow: visible;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: visible;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 0;
}

.pricing-card:hover,
.pricing-card:focus-within {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 24px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.card-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
}

.card-title {
    color: white;
    font-size: 22px;
    font-weight: 600;
    margin: 0;
    position: relative;
    z-index: 1;
    letter-spacing: -0.3px;
}

.card-body {
    padding: 25px 20px;
    overflow: visible;
}

.features-list {
    list-style: none;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.feature-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.feature-item:hover {
    background-color: #f8f9ff;
    padding-left: 10px;
    border-radius: 8px;
}

.feature-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6B46C1, #9333EA);
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon::after {
    content: '✓';
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.feature-text {
    color: #4a5568;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
    cursor: help;
    position: relative;
}

/* Tooltip styles - Now handled by JavaScript */
.feature-text {
    cursor: help;
}

/* Responsive design for tablets */
@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pricing-header .price-label {
        font-size: 14px;
    }
    
    .pricing-header .price-amount {
        font-size: 42px;
    }
    
    .pricing-header .price-period {
        font-size: 16px;
    }
    
    .card-header {
        padding: 24px 20px;
    }
    
    .card-title {
        font-size: 18px;
    }
    
    .card-body {
        padding: 20px 15px;
    }
    
    .feature-text {
        font-size: 13px;
    }
}

