/* ═══════════════════════════════════════════════════════════════
   VYBER.ID CAROUSEL SLIDER - Hero Section Carousel
   Full Width, Same Height, Fit to Content
   ═══════════════════════════════════════════════════════════════ */

/* Carousel Container */
.hero-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
}

.carousel-container {
    position: relative;
    width: 100%;
}

/* Individual Slide */
.carousel-slide {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.carousel-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.carousel-slide.slide-out-left {
    transform: translateX(-100%);
    opacity: 0;
    visibility: hidden;
}

.carousel-slide.slide-out-right {
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
}

.carousel-slide.slide-in-left {
    transform: translateX(-100%);
}

.carousel-slide.slide-in-right {
    transform: translateX(100%);
}

/* Slide Background with animated grid */
.slide-background {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.04) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    pointer-events: none;
}

@keyframes gridMove {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 50px 50px;
    }
}

/* Carousel Content */
.carousel-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
    padding: 140px 0 100px;
    position: relative;
    z-index: 2;
}

/* Carousel Text */
.carousel-text {
    position: relative;
    z-index: 2;
}

/* Badge Styles */
.carousel-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(59, 130, 246, 0.18);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #60a5fa;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 22px;
}

.carousel-badge .live-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: livePulse 2s ease-in-out infinite;
}

.carousel-badge.badge-partnership {
    background: rgba(16, 185, 129, 0.18);
    border-color: rgba(16, 185, 129, 0.3);
    color: #6ee7b7;
}

.carousel-badge.badge-internet {
    background: rgba(245, 158, 11, 0.18);
    border-color: rgba(245, 158, 11, 0.3);
    color: #fbbf24;
}

@keyframes livePulse {

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

    50% {
        transform: scale(1.5);
        opacity: 0.6;
    }
}

/* Heading Styles */
.carousel-text h1 {
    font-size: clamp(30px, 4vw, 52px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    color: #fff;
}

.carousel-text h1 .gradient-text {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Paragraph */
.carousel-text p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 32px;
    line-height: 1.8;
    max-width: 520px;
}

/* Trust Pills */
.carousel-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
}

.trust-pill {
    display: flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
}

.trust-pill i {
    color: #10b981;
    font-size: 11px;
}

/* Buttons */
.carousel-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.carousel-buttons .btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    color: #fff;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35);
    transition: all 0.3s;
    border: none;
}

.carousel-buttons .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.5);
}

.carousel-buttons .btn-secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.3s;
}

.carousel-buttons .btn-secondary:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.07);
}

/* Carousel Image */
.carousel-image {
    position: relative;
    z-index: 2;
}

.carousel-image img {
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

/* Floating Cards */
.carousel-image {
    position: relative;
}

.carousel-image .floating-card {
    position: absolute;
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    animation: floatUpDown 4s ease-in-out infinite;
    z-index: 10;
    white-space: nowrap;
}

.carousel-image .floating-card.speed {
    bottom: 15px;
    left: 0;
    height: 80px;
    width: 200px;
}

.carousel-image .floating-card.uptime {
    top: 15px;
    right: 15px;
    animation-delay: 1.5s;
    height: 80px;
    width: 200px;
}

@keyframes floatUpDown {

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

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

.carousel-image .floating-card i {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #fff;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.carousel-image .floating-card.uptime i {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
}

.carousel-image .floating-card .info h4 {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.2;
}

.carousel-image .floating-card .info span {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.65);
}

/* ═══ Navigation Buttons ═══ */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.carousel-nav:hover {
    background: rgba(59, 130, 246, 0.8);
    border-color: #3b82f6;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
}

.carousel-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-prev {
    left: 24px;
}

.carousel-next {
    right: 24px;
}

.carousel-nav i {
    transition: transform 0.3s ease;
}

.carousel-prev:hover i {
    transform: translateX(-3px);
}

.carousel-next:hover i {
    transform: translateX(3px);
}

/* ═══ Dots/Indicators ═══ */
.carousel-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 100;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.2);
}

.carousel-dot.active {
    background: #3b82f6;
    border-color: #3b82f6;
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.6);
    transform: scale(1.3);
}

/* ═══ Responsive Styles ═══ */
@media (max-width: 1024px) {
    .carousel-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
        padding: 120px 24px 80px;
    }

    .carousel-text {
        order: 1;
    }

    .carousel-image {
        order: 2;
    }

    .carousel-trust,
    .carousel-buttons {
        justify-content: center;
    }

    .carousel-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .carousel-image .floating-card {
        display: none;
    }

    .carousel-nav {
        width: 48px;
        height: 48px;
        font-size: 18px;
    }

    .carousel-prev {
        left: 12px;
    }

    .carousel-next {
        right: 12px;
    }
}

@media (max-width: 768px) {
    .carousel-content {
        padding: 100px 20px 60px;
    }

    .carousel-text h1 {
        font-size: clamp(26px, 6vw, 36px);
    }

    .carousel-text p {
        font-size: 15px;
    }

    .carousel-buttons {
        flex-direction: column;
        align-items: center;
    }

    .carousel-buttons .btn-primary,
    .carousel-buttons .btn-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .carousel-dots {
        bottom: 20px;
        gap: 10px;
    }

    .carousel-dot {
        width: 10px;
        height: 10px;
    }

    .carousel-nav {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .carousel-content {
        padding: 90px 16px 50px;
    }

    .carousel-trust {
        gap: 8px;
    }

    .trust-pill {
        padding: 6px 12px;
        font-size: 12px;
    }
}