/* ============================================
   CLOUDY SOFT DESIGN - TP-Link Inspired
   Floating clouds, soft animations, airy feel
   ============================================ */

/* === FLOATING CLOUD SHAPES === */
.cloud-shape {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(77, 208, 225, 0.15), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.cloud-1 {
    width: 600px;
    height: 300px;
    top: -100px;
    right: -200px;
    animation: floatCloud 20s ease-in-out infinite;
}

.cloud-2 {
    width: 400px;
    height: 200px;
    bottom: 10%;
    left: -100px;
    animation: floatCloud 15s ease-in-out infinite reverse;
}

.cloud-3 {
    width: 500px;
    height: 250px;
    top: 40%;
    right: -150px;
    animation: floatCloud 18s ease-in-out infinite;
    animation-delay: -5s;
}

@keyframes floatCloud {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }

    50% {
        transform: translate(-30px, 20px) scale(1.05);
        opacity: 0.8;
    }
}

/* === SCROLL REVEAL ANIMATIONS === */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Staggered delays */
.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

/* === SOFT HOVER ANIMATIONS === */
.soft-hover {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.soft-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 172, 193, 0.15);
}

/* === PULSE ANIMATION FOR ICONS === */
@keyframes softPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

.pulse-icon {
    animation: softPulse 3s ease-in-out infinite;
}

/* === GRADIENT TEXT SHIMMER === */
@keyframes softShimmer {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.shimmer-soft {
    background: linear-gradient(90deg, #1a2942, #00acc1, #26c6da, #1a2942);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: softShimmer 6s ease-in-out infinite;
}

/* === FLOATING BADGES === */
.floating-badge {
    animation: gentleFloat 4s ease-in-out infinite;
}

@keyframes gentleFloat {

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

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

/* === WAVE EFFECT BACKGROUND === */
.wave-bg {
    position: relative;
    overflow: hidden;
}

.wave-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23f0f7ff' fill-opacity='0.5' d='M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,149.3C960,160,1056,160,1152,138.7C1248,117,1344,75,1392,53.3L1440,32L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    pointer-events: none;
}

/* === ICON BOUNCE === */
@keyframes iconBounce {

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

    25% {
        transform: translateY(-5px);
    }

    75% {
        transform: translateY(3px);
    }
}

.bounce-icon:hover {
    animation: iconBounce 0.5s ease;
}

/* === SOFT GLOW EFFECT === */
.soft-glow {
    box-shadow:
        0 0 20px rgba(77, 208, 225, 0.1),
        0 0 40px rgba(77, 208, 225, 0.05),
        0 0 60px rgba(77, 208, 225, 0.025);
}

.soft-glow:hover {
    box-shadow:
        0 0 30px rgba(77, 208, 225, 0.15),
        0 0 60px rgba(77, 208, 225, 0.1),
        0 0 90px rgba(77, 208, 225, 0.05);
}

/* === GRADIENT BORDER ANIMATION === */
@keyframes borderGlow {

    0%,
    100% {
        border-color: rgba(0, 172, 193, 0.2);
    }

    50% {
        border-color: rgba(77, 208, 225, 0.4);
    }
}

.glow-border {
    animation: borderGlow 3s ease-in-out infinite;
}

/* === CUTE FLOATING DOTS === */
.floating-dots {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(77, 208, 225, 0.3);
    border-radius: 50%;
    animation: floatDot 10s ease-in-out infinite;
}

.dot:nth-child(1) {
    left: 10%;
    top: 20%;
    animation-delay: 0s;
}

.dot:nth-child(2) {
    left: 30%;
    top: 60%;
    animation-delay: -2s;
}

.dot:nth-child(3) {
    left: 50%;
    top: 30%;
    animation-delay: -4s;
}

.dot:nth-child(4) {
    left: 70%;
    top: 70%;
    animation-delay: -6s;
}

.dot:nth-child(5) {
    left: 90%;
    top: 40%;
    animation-delay: -8s;
}

@keyframes floatDot {

    0%,
    100% {
        transform: translateY(0) scale(1);
        opacity: 0.3;
    }

    50% {
        transform: translateY(-30px) scale(1.2);
        opacity: 0.6;
    }
}