/* ==========================================================================
   Hero Section - UI.com Style
   Version: 3.0.0 - Large Cards
   Based on: https://ui.com design
   ========================================================================== */

/* ==========================================================================
   1. HERO SECTION CONTAINER
   ========================================================================== */

.hero-slider {
    padding: 0;
    background: #FFFFFF;
}

.hero-slider .container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   2. HERO TITLE - "Take a look at what's new"
   ========================================================================== */

.hero-title-uicom {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 40px 0 24px 0;
    margin: 0;
    font-family: "UI Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 40px;
    letter-spacing: -0.64px;
}

.hero-title-uicom .title-black {
    color: rgb(0, 0, 0);
}

.hero-title-uicom .title-gray {
    color: rgba(0, 0, 0, 0.45);
    cursor: pointer;
    transition: color 0.2s ease;
}

.hero-title-uicom .title-gray:hover {
    color: rgba(0, 0, 0, 0.65);
}

/* ==========================================================================
   3. HERO CARDS CAROUSEL - Large Cards (like UI.com)
   ========================================================================== */

.hero-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 48px;
}

.hero-carousel-track {
    display: flex;
    gap: 20px;
    padding-bottom: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
}

.hero-carousel-track::-webkit-scrollbar {
    display: none;
}

.hero-carousel-track:active {
    cursor: grabbing;
}

/* ==========================================================================
   4. HERO CARD - Large Vertical Layout (like UI.com)
   ========================================================================== */

.hero-carousel-card {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    width: 360px;
    height: 440px;
    padding: 28px;
    background: linear-gradient(180deg, #1a1f35 0%, #0d1321 100%);
    border-radius: 20px;
    text-decoration: none;
    color: #FFFFFF;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.hero-carousel-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

/* Card Content - Top */
.hero-carousel-card-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
    z-index: 2;
}

/* Badge */
.hero-carousel-badge {
    display: inline-block;
    padding: 6px 14px;
    background-color: rgba(0, 111, 255, 0.25);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #3B9FFF;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: fit-content;
}

/* Title */
.hero-carousel-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 30px;
    color: #FFFFFF;
    margin: 4px 0 0 0;
}

/* Description */
.hero-carousel-desc {
    font-size: 15px;
    font-weight: 400;
    line-height: 22px;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==========================================================================
   5. HERO CARD IMAGE - Bottom (like UI.com)
   ========================================================================== */

.hero-carousel-image {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    flex: 1;
    width: 100%;
    margin-top: auto;
    padding-top: 20px;
    z-index: 1;
}

.hero-carousel-image img {
    max-width: 100%;
    max-height: 200px;
    object-fit: contain;
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.35));
    transition: transform 0.3s ease;
}

.hero-carousel-card:hover .hero-carousel-image img {
    transform: scale(1.05);
}

/* ==========================================================================
   6. RESPONSIVE - Tablet
   ========================================================================== */

@media (max-width: 1200px) {
    .hero-title-uicom {
        font-size: 28px;
        padding: 32px 0 20px 0;
    }

    .hero-carousel-card {
        width: 320px;
        height: 400px;
        padding: 24px;
    }

    .hero-carousel-title {
        font-size: 22px;
        line-height: 28px;
    }

    .hero-carousel-image img {
        max-height: 180px;
    }
}

/* ==========================================================================
   7. RESPONSIVE - Mobile
   ========================================================================== */

@media (max-width: 768px) {
    .hero-slider .container {
        padding: 0 16px;
    }

    .hero-title-uicom {
        font-size: 24px;
        line-height: 32px;
        padding: 24px 0 16px 0;
        flex-wrap: wrap;
    }

    .hero-carousel {
        margin-bottom: 32px;
    }

    .hero-carousel-track {
        gap: 16px;
        padding-left: 0;
    }

    .hero-carousel-card {
        width: 280px;
        height: 360px;
        padding: 20px;
        border-radius: 16px;
    }

    .hero-carousel-badge {
        font-size: 11px;
        padding: 5px 12px;
    }

    .hero-carousel-title {
        font-size: 20px;
        line-height: 26px;
    }

    .hero-carousel-desc {
        font-size: 14px;
        line-height: 20px;
        -webkit-line-clamp: 2;
    }

    .hero-carousel-image img {
        max-height: 140px;
    }
}

@media (max-width: 480px) {
    .hero-title-uicom {
        font-size: 20px;
        line-height: 28px;
    }

    .hero-carousel-card {
        width: 260px;
        height: 340px;
        padding: 18px;
    }

    .hero-carousel-title {
        font-size: 18px;
        line-height: 24px;
    }

    .hero-carousel-image img {
        max-height: 120px;
    }
}
