/* Hosting Pricing Tables Styles */
.hpt-pricing-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.hpt-pricing-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin: 0 auto;
}

/* Responsive grid adjustments */
@media (max-width: 1200px) {
    .hpt-pricing-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .hpt-pricing-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.hpt-pricing-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 25px 20px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-height: 500px;
    display: flex;
    flex-direction: column;
}

.hpt-pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
}

.hpt-pricing-card.hpt-popular {
    border-color: #673ab7;
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(103, 58, 183, 0.15);
    z-index: 2;
}

.hpt-popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #673ab7, #9c27b0);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hpt-plan-header {
    margin-bottom: 25px;
}

.hpt-plan-name {
    font-size: 22px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 15px 0;
    letter-spacing: -0.5px;
}

.hpt-plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
}

.hpt-price {
    font-size: 42px;
    font-weight: 800;
    color: #673ab7;
    line-height: 1;
}

.hpt-period {
    font-size: 14px;
    color: #7f8c8d;
    font-weight: 500;
}

.hpt-plan-features {
    margin: 25px 0;
    flex-grow: 1;
}

.hpt-plan-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hpt-plan-features li {
    padding: 10px 0;
    border-bottom: 1px solid #f8f9fa;
    color: #555;
    font-size: 14px;
    line-height: 1.4;
    position: relative;
    padding-left: 30px;
    text-align: left;
    display: flex;
    align-items: center;
}

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

.hpt-plan-features li .hpt-feature-icon {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #27ae60;
}

.hpt-plan-button {
    margin-top: 20px;
}

.hpt-btn {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    width: 100%;
    box-sizing: border-box;
}

.hpt-btn:hover {
    background: linear-gradient(135deg, #5a67d8, #6b46c1);
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(102, 126, 234, 0.3);
    color: white;
    text-decoration: none;
}

.hpt-btn-popular {
    background: linear-gradient(135deg, #673ab7, #9c27b0);
    box-shadow: 0 4px 15px rgba(103, 58, 183, 0.3);
}

.hpt-btn-popular:hover {
    background: linear-gradient(135deg, #5e35b1, #8e24aa);
    box-shadow: 0 8px 20px rgba(103, 58, 183, 0.4);
}


/* Responsive adjustments for smaller screens */
@media (max-width: 1200px) {
    .hpt-pricing-card.hpt-popular {
        transform: none;
    }
    
    .hpt-pricing-card {
        min-height: auto;
    }
    
    .hpt-price {
        font-size: 36px;
    }
    
    .hpt-plan-name {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .hpt-pricing-container {
        padding: 10px;
    }
    
    .hpt-pricing-card {
        padding: 20px 15px;
        min-height: auto;
    }
    
    .hpt-price {
        font-size: 32px;
    }
    
    .hpt-plan-features li {
        font-size: 13px;
        padding: 8px 0;
    }
}

/* Animation for card entrance */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hpt-pricing-card {
    animation: slideInUp 0.6s ease-out;
}

.hpt-pricing-card:nth-child(2) {
    animation-delay: 0.1s;
}

.hpt-pricing-card:nth-child(3) {
    animation-delay: 0.2s;
}

.hpt-pricing-card:nth-child(4) {
    animation-delay: 0.3s;
}

/* Additional styling for admin */
.hpt-admin-preview {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

/* JavaScript interaction styles */
.hpt-btn-clicked {
    transform: scale(0.98) !important;
    transition: transform 0.1s ease !important;
}

.hpt-card-hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

.hpt-touch-active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
}

.hpt-animate {
    animation: slideInUp 0.6s ease-out;
}