/* Hosting Calculator Styles */

.hosting-hero {
    position: relative;
    padding: 8rem 0 4rem;
    text-align: center;
    background: #020617;
    overflow: hidden;
}

.hosting-hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle at center, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
    /* Emerald */
    filter: blur(80px);
    z-index: 0;
}

/* Calculator Section */
.calculator-section {
    padding: 2rem 0 6rem;
    position: relative;
    z-index: 2;
}

.calculator-container {
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 2rem;
    padding: 3rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.slider-container {
    margin-bottom: 4rem;
    text-align: center;
}

.slider-label {
    font-size: 1.25rem;
    color: #94a3b8;
    margin-bottom: 1.5rem;
    display: block;
}

.slider-value {
    font-size: 3rem;
    font-weight: 800;
    color: #f1f5f9;
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.slider-unit {
    font-size: 1.25rem;
    color: #64748b;
    font-weight: 500;
}

/* Range Input Styling */
input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    max-width: 600px;
    height: 8px;
    background: #1e293b;
    border-radius: 4px;
    outline: none;
    margin: 2rem auto;
    display: block;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #10b981;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.5);
    transition: all 0.2s ease;
    border: 4px solid #020617;
}

input[type=range]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.7);
}

/* Recommendations Grid */
.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.host-card {
    background: rgba(2, 6, 23, 0.4);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 1.5rem;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
    opacity: 0.5;
    filter: grayscale(0.8);
}

.host-card.recommended {
    opacity: 1;
    filter: grayscale(0);
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.05);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.15);
}

.recommended-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #10b981;
    color: #ffffff;
    padding: 0.25rem 1rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.host-card.recommended .recommended-badge {
    opacity: 1;
}

.host-icon {
    width: 60px;
    height: 60px;
    background: #0f172a;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 1px solid rgba(148, 163, 184, 0.1);
    font-size: 1.5rem;
}

.host-name {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 0.5rem;
}

.host-price {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 800;
    color: #f1f5f9;
    margin-bottom: 1.5rem;
}

.host-price span {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}

.host-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.host-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.host-features li::before {
    content: '✓';
    color: #10b981;
    font-weight: 700;
}

.deploy-btn {
    display: block;
    width: 100%;
    padding: 0.75rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 0.75rem;
    color: #f1f5f9;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.host-card.recommended .deploy-btn {
    background: #10b981;
    color: white;
    border-color: #10b981;
}

.host-card.recommended .deploy-btn:hover {
    background: #059669;
    border-color: #059669;
}

@media (max-width: 768px) {
    .recommendations-grid {
        grid-template-columns: 1fr;
    }
}