.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col-md-4 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 768px) {
    .col-md-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

.plan-card {
    border: 1px solid rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.plan-features {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.pro-plan {
    border: 2px solid #778AAB;
    z-index: 2;
    transform: scale(1.02);
}

.pro-plan:hover {
    transform: scale(1.02) translateY(-5px);
}

.enterprise-plan {
    border: 2px solid #ffd700;
}

.current-plan {
    background-color: rgba(119, 138, 171, 0.1);
}

.plan-header {
    text-align: center;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.plan-title {
    font-size: 1.25rem;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.plan-price .currency {
    font-size: 1.25rem;
    color: var(--color-gray);
}

.plan-price .amount {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-dark);
}

.plan-price .period {
    font-size: 1rem;
    color: var(--color-gray);
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.plan-features li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--color-dark);
    font-size: 0.9rem;
}

.plan-features li i {
    width: 20px;
    margin-right: 0.75rem;
}

.btn-upgrade {
    padding: 0.75rem 2rem;
    font-weight: 500;
    width: 100%;
}

.text-center.mt-4 {
    margin-top: auto !important;
}

/* Responsive styles */
@media (max-width: 991.98px) {
    .plan-card {
        margin-bottom: 2rem;
    }
    
    .pro-plan {
        transform: none;
    }
    
    .pro-plan:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 767.98px) {
    .col-md-4 {
        padding: 0 1rem;
    }
    
    .plan-card {
        margin-bottom: 1.5rem;
    }
} 