.showcase-carousel-section {
    position: relative;
    background: linear-gradient(180deg, #0f1c3f 0%, #16265c 100%);
    padding: 96px 0 110px;
    overflow: hidden;
}

/* Soft radial glow behind the carousel, matching the original's
   gradient lighting — a plain flat gradient background alone was
   missing this depth. */
.showcase-carousel-section::before {
    content: '';
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1400px;
    height: 780px;
    background: radial-gradient(ellipse at center, rgba(90, 130, 255, 0.35) 0%, rgba(90, 130, 255, 0) 65%);
    pointer-events: none;
}

.showcase-carousel-section .container,
.showcase-carousel-wrap {
    position: relative;
    z-index: 1;
}

.showcase-carousel-section h2 {
    color: #fff;
    font-weight: 800;
    font-size: 2.4rem;
    line-height: 1.25;
    max-width: 760px;
    margin: 0 auto 20px;
}

.showcase-carousel-section h2 .highlight {
    color: #8fb4ff;
}

.showcase-carousel-section .lead {
    color: #b7c1de;
    max-width: 620px;
    margin: 0 auto 56px;
}

/* ---- Carousel ---- */
.showcase-carousel-wrap {
    /* Constrains nav buttons to sit near the carousel card, not the
       page edges — padding reserves the space they sit in. */
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 56px;
}

.showcase-carousel-viewport {
    overflow: hidden;
}

.showcase-carousel-track {
    display: flex;
    align-items: center;
    transition: transform 0.4s ease;
}

.showcase-slide {
    flex: 0 0 auto;
    width: 780px;
    margin: 0 14px;
    transform: scale(0.72);
    opacity: 0.35;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.showcase-slide.is-active {
    transform: scale(1);
    opacity: 1;
}

.browser-mockup {
    width: 100%;
    border-radius: var(--ce-radius-md);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    background: #fff;
}

.browser-chrome {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: #eef0f4;
}

.browser-chrome .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.browser-chrome .dot.red { background: #ff5f57; }
.browser-chrome .dot.yellow { background: #febc2e; }
.browser-chrome .dot.green { background: #28c840; }

.browser-chrome .url-bar {
    margin-left: 10px;
    background: #fff;
    border-radius: 6px;
    padding: 3px 12px;
    font-size: 0.75rem;
    color: #6b7280;
}

.browser-body {
    aspect-ratio: 16 / 10;
}

.browser-body img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.showcase-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    border: none;
    color: var(--ce-color-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: var(--ce-shadow-sm);
    z-index: 2;
}

.showcase-carousel-nav:hover {
    background: #eef2ff;
}

.showcase-carousel-nav:disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}

.showcase-carousel-nav.prev {
    left: 0;
}

.showcase-carousel-nav.next {
    right: 0;
}

@media (max-width: 767px) {
    .showcase-carousel-section h2 {
        font-size: 1.7rem;
    }

    .showcase-carousel-wrap {
        padding: 0 48px;
    }

    .showcase-slide {
        width: 82vw;
    }

    .showcase-carousel-nav {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
}
