html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background-color: #060816;
    letter-spacing: -0.01em;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
}

a,
button,
input,
select,
textarea {
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

img {
    display: block;
    max-width: 100%;
}

input::placeholder,
textarea::placeholder {
    color: rgba(226, 232, 240, 0.45);
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(124, 92, 255, 0.85), rgba(34, 211, 238, 0.55));
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
}

.glass-card {
    backdrop-filter: blur(18px);
}

.premium-brand-frame {
    position: relative;
    isolation: isolate;
}

.premium-brand-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(124, 92, 255, 0.16), rgba(34, 211, 238, 0.12));
    opacity: 0.95;
    z-index: -1;
}

.premium-brand-image {
    filter: saturate(1.04) contrast(1.03);
}

.premium-soft-panel {
    position: relative;
    overflow: hidden;
}

.premium-soft-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.premium-elevate {
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.premium-elevate:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(6, 11, 23, 0.18);
}

.premium-surface {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.03)),
        rgba(255, 255, 255, 0.02);
}

.testimonial-carousel {
    box-shadow: 0 24px 60px rgba(6, 11, 23, 0.34);
}

.testimonial-swiper {
    overflow: hidden;
    padding-bottom: 3.5rem;
}

.testimonial-swiper .swiper-slide {
    opacity: 0.55;
    transition: opacity 320ms ease;
}

.testimonial-swiper .swiper-slide-active {
    opacity: 1;
}

.testimonial-panel {
    transition: border-color 220ms ease, box-shadow 220ms ease;
}

.testimonial-swiper .swiper-slide-active .testimonial-panel {
    border-color: rgba(34, 211, 238, 0.2);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.18);
}

.testimonial-photo {
    transition: transform 220ms ease;
}

.testimonial-swiper .swiper-slide-active .testimonial-photo {
    transform: scale(1.01);
}

.testimonial-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: absolute;
    left: 50%;
    bottom: 0.25rem !important;
    transform: translateX(-50%);
    z-index: 5;
}

.testimonial-bullet {
    height: 10px;
    width: 10px;
    border-radius: 999px;
    border: 0;
    background: rgba(255, 255, 255, 0.22);
    transition: width 220ms ease, background-color 220ms ease;
}

.testimonial-bullet.is-active {
    width: 34px;
    background: rgb(34, 211, 238);
}

.testimonial-progress.animate {
    animation: testimonialProgress 5s linear forwards;
}

@keyframes testimonialProgress {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@media (max-width: 1024px) {
    html {
        scroll-behavior: auto;
    }

    .backdrop-blur-2xl,
    .backdrop-blur-xl {
        backdrop-filter: blur(12px) !important;
    }

    .premium-elevate:hover {
        transform: none;
        box-shadow: none;
    }
}

@media (max-width: 768px) {
    .testimonial-carousel {
        padding: 1rem;
    }

    .testimonial-swiper {
        padding-bottom: 3rem;
    }

    .testimonial-panel {
        padding: 1rem;
    }

    .testimonial-pagination {
        bottom: 0.1rem !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}
