/**
 * Bulut Hosting Sayfası Stilleri
 * Kimlik: gök mavisi/mavi + koyu gece laciverti; esnek ve modern.
 * Animasyonlar yalnızca transform/opacity kullanır (performans).
 */

/* ========================================
   HERO — koyu header ile bütünleşik
   ======================================== */

.cl-hero {
    position: relative;
    padding-top: 220px !important;
    margin-top: -200px !important;
}

@media (max-width: 768px) {
    .cl-hero {
        padding-top: 180px !important;
        margin-top: -160px !important;
    }
}

/* ========================================
   KAYARKEN BELİRME + HOVER HAREKETLERİ
   ======================================== */

.cl-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.cl-reveal.cl-in {
    opacity: 1;
    transform: none;
}

.cl-lift {
    transition: transform 0.35s cubic-bezier(0.215, 0.61, 0.355, 1),
        box-shadow 0.35s ease, border-color 0.35s ease, background-color 0.35s ease;
}

.cl-lift:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 35px rgba(14, 165, 233, 0.16);
}

.cl-icon {
    transition: transform 0.35s ease;
}

.cl-lift:hover .cl-icon {
    transform: scale(1.1) rotate(-4deg);
}

.cl-bar {
    display: block;
    width: 72px;
    height: 5px;
    border-radius: 9999px;
    margin: 1.1rem auto 0;
    background: linear-gradient(90deg, #0ea5e9, #3b82f6);
}

.cl-bar-light {
    background: linear-gradient(90deg, #38bdf8, #60a5fa);
}

@keyframes cl-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.cl-float {
    animation: cl-float 7s ease-in-out infinite;
}

/* ========================================
   YAPILANDIRICI KAYDIRICILARI
   ======================================== */

.cl-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 9999px;
    background: linear-gradient(90deg, #0ea5e9 var(--cl-fill, 30%), #e2e8f0 var(--cl-fill, 30%));
    outline: none;
    cursor: pointer;
}

.cl-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 9999px;
    background: #ffffff;
    border: 3px solid #0ea5e9;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.4);
    cursor: grab;
    transition: transform 0.15s ease;
}

.cl-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.cl-slider::-webkit-slider-thumb:active {
    cursor: grabbing;
    transform: scale(1.05);
}

.cl-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 9999px;
    background: #ffffff;
    border: 3px solid #0ea5e9;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.4);
    cursor: grab;
}

.cl-slider::-moz-range-track {
    height: 8px;
    border-radius: 9999px;
    background: transparent;
}

.cl-slider:focus-visible {
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.25);
}

/* Fiyat değişince kısa vurgu */
@keyframes cl-price-pop {
    0% {
        transform: scale(1);
    }

    40% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.cl-price-pop {
    animation: cl-price-pop 0.3s ease;
}

/* ========================================
   HAREKET AZALTMA TERCİHİ
   ======================================== */

@media (prefers-reduced-motion: reduce) {

    .cl-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .cl-lift,
    .cl-icon {
        transition: none;
    }

    .cl-float,
    .cl-price-pop {
        animation: none;
    }
}
