
/* Professional Hosting Packages CSS */

.hosting-packages-wrapper {
    padding: 4rem 1rem;
    background: #fef3db;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.hosting-packages-container {
    max-width: 1110px;
    margin: 0 auto;
}

/* Header Styles */
.hosting-packages-header {
    text-align: center;
    margin-bottom: 4rem;
}

.hosting-packages-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hosting-packages-subtitle {
    font-size: 1.25rem;
    color: #718096;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Filter Styles */
.hosting-packages-filters {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.filter-group {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    min-width: 200px;
}

.filter-label {
    font-size: 1rem;
    font-weight: 600;
    color: #2d3748;
    text-align: center;
    margin-bottom: 0.5rem;
}

.filter-buttons {
    display: flex;
    gap: 0.5rem;
    background: transparent;
    padding: 0;
    border-radius: 0.5rem;
    width: 100%;
}

.filter-btn {
    flex: 1;
    padding: 0.875rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.375rem;
    background: white;
    color: #4a5568;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    white-space: nowrap;
    text-align: center;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.filter-btn:hover {
    background: #ef6039;
    color: white;
    transform: translateY(-1px);
}

.filter-btn.active {
    background: #ef6039;
    color: white;
    box-shadow: 0 4px 12px rgba(239, 96, 57, 0.4);
    transform: translateY(-1px);
}

/* Grid Styles */
.hosting-packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

/* Card Styles */
.hosting-package {
    background: #ffffff;
    border-radius: 5px;
    padding: 2rem 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #e2e8f0;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: visible;
}

.hosting-package::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ef6039, #ff8a65);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hosting-package:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #ef6039;
}

.hosting-package:hover::before {
    opacity: 1;
}

.hosting-package.highlight {
    border: 2px solid #ef6039;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(239, 96, 57, 0.1);
}

.hosting-package.highlight::before {
    opacity: 1;
    height: 6px;
}

.hosting-package.highlight::after {
    content: 'Recommended';
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background: #ef6039;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    z-index: 10;
}

/* Package Header */
.package-header {
    text-align: center;
    margin-bottom: 2rem;
}

.package-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.75rem;
}

.package-description {
    color: #718096;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.package-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.price-main {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
}

.hosting-package.highlight .price-main {
    color: #ef6039;
}

.price-period {
    font-size: 1.25rem;
    color: #718096;
}

/* Features List */
.package-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    flex-grow: 1;
}

.package-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: #2d3748;
    line-height: 1.5;
}

.package-features li::before {
    content: '✓';
    color: #ef6039;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.package-features.hidden {
    display: none;
}

/* Expandable Features */
.expand-features-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    color: #ef6039;
    font-size: 0.875rem;
    margin: 1rem 0;
    padding: 0.75rem 1rem;
    border: 1px solid #ef6039;
    border-radius: 4px;
    background: transparent;
    transition: all 0.3s ease;
    width: 100%;
    font-weight: 500;
}

.expand-features-btn:hover {
    background: #ef6039;
    color: white;
}

.expand-features-btn .chevron {
    transition: transform 0.3s ease;
}

.expand-features-btn.expanded .chevron {
    transform: rotate(180deg);
}

/* Expanded Features Modal/Overlay */
.expanded-features-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.expanded-features-modal {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.expanded-features-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.expanded-features-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a202c;
}

.close-expanded-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #718096;
    padding: 0.25rem;
}

.close-expanded-btn:hover {
    color: #ef6039;
}

.expanded-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.expanded-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: #2d3748;
    line-height: 1.5;
}

.expanded-features-list li::before {
    content: '✓';
    color: #4ade80;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

/* Order Button */
.package-order {
    display: inline-block;
    width: 100%;
    padding: 1rem 2rem;
    background: #ef6039;
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    margin-top: auto;
}

.package-order:hover {
    background: #d45429;
    text-decoration: none;
    color: white;
}

.hosting-package.highlight .package-order {
    background: #ef6039;
}

/* Footer Styles */
.hosting-packages-footer {
    text-align: center;
    margin-top: 3rem;
}

.hosting-packages-footer p {
    color: #718096;
    font-size: 0.875rem;
    line-height: 1.6;
}

.hosting-packages-footer .highlight {
    color: #ef6039;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hosting-packages-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 768px) {
    .hosting-packages-wrapper {
        padding: 2rem 1rem;
    }
    
    .hosting-packages-title {
        font-size: 2rem;
    }
    
    .hosting-packages-subtitle {
        font-size: 1.125rem;
    }
    
    .filter-group {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
    
    .filter-section {
        width: 100%;
        max-width: 300px;
    }
    
    .filter-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .filter-btn {
        flex: 1;
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
        text-align: center;
    }
    
    .hosting-packages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .hosting-package {
        padding: 1.5rem;
    }
    
    .price-main {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hosting-packages-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .filter-group {
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
    }
    
    .filter-section {
        width: 100%;
    }
    
    .filter-buttons {
        width: 100%;
        padding: 0.25rem;
        gap: 0.25rem;
    }
    
    .filter-btn {
        flex: 1;
        padding: 0.75rem 0.5rem;
        font-size: 0.875rem;
        text-align: center;
    }
    
    .hosting-package {
        padding: 1.5rem;
    }
    
    .package-title {
        font-size: 1.25rem;
    }
    
    .price-main {
        font-size: 1.75rem;
    }
    
    .package-features li {
        font-size: 0.875rem;
    }
}
