/* Product showcase — home landing page */
.showcase-section {
    padding: 96px 0;
    border-top: 1px solid var(--border-1, rgba(255, 255, 255, 0.055));
}

.showcase-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 32px;
}

.showcase-head {
    text-align: center;
    margin-bottom: 40px;
}

.showcase-head .section-sub {
    max-width: 560px;
    margin: 14px auto 0;
    color: var(--text-3, #6b6c78);
    font-size: 16px;
    line-height: 1.65;
}

/* Category tabs */
.showcase-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    overflow-x: auto;
    padding: 4px 2px 16px;
    margin-bottom: 24px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.showcase-tabs::-webkit-scrollbar {
    height: 4px;
}

.showcase-tabs::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 4px;
}

.showcase-tab {
    flex-shrink: 0;
    padding: 8px 16px;
    font-family: var(--body, "Source Sans 3", ui-sans-serif, system-ui, sans-serif);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-2, #a8a9b4);
    background: transparent;
    border: 1px solid var(--border-1, rgba(255, 255, 255, 0.055));
    border-radius: 100px;
    cursor: pointer;
    transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
    white-space: nowrap;
}

.showcase-tab:hover {
    color: var(--text-1, #ecedf2);
    border-color: var(--border-2, rgba(255, 255, 255, 0.1));
    background: rgba(255, 255, 255, 0.03);
}

.showcase-tab[aria-selected="true"] {
    color: var(--text-1, #ecedf2);
    background: rgba(141, 166, 255, 0.1);
    border-color: rgba(141, 166, 255, 0.28);
}

.showcase-tab:focus-visible {
    outline: 2px solid var(--ai, #8da6ff);
    outline-offset: 2px;
}

/* Mockup chrome */
.showcase-mockup {
    background: var(--surface-1, #13131c);
    border: 1px solid var(--border-1, rgba(255, 255, 255, 0.055));
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(141, 166, 255, 0.04);
    position: relative;
}

.showcase-mockup-topbar {
    height: 40px;
    background: var(--surface-2, #181822);
    border-bottom: 1px solid var(--border-1, rgba(255, 255, 255, 0.055));
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 14px;
}

.showcase-mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.09);
}

.showcase-panel {
    display: none;
}

.showcase-panel.is-active {
    display: block;
}

/* Carousel */
.showcase-carousel-track {
    position: relative;
    overflow: hidden;
    background: var(--surface-2, #181822);
}

.showcase-carousel-slides {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.showcase-carousel-slide {
    min-width: 100%;
    position: relative;
}

.showcase-carousel-slide img {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    object-position: top center;
    background: var(--bg-1, #0b0b11);
    padding: 8px 8px 0;
}

.showcase-carousel-caption {
    padding: 20px 28px 24px;
    background: linear-gradient(180deg, var(--surface-2, #181822), var(--surface-1, #13131c));
    border-top: 1px solid var(--border-1, rgba(255, 255, 255, 0.055));
}

.showcase-carousel-caption h3 {
    font-family: var(--body, "Source Sans 3", ui-sans-serif, system-ui, sans-serif);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-1, #ecedf2);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.showcase-carousel-caption p {
    font-size: 14px;
    color: var(--text-2, #a8a9b4);
    line-height: 1.6;
    margin: 0;
}

.showcase-carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 0 6px;
}

.showcase-carousel-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.showcase-carousel-dot.active {
    background: var(--ai, #8da6ff);
    width: 20px;
    border-radius: 3px;
}

.showcase-carousel-dot:focus-visible {
    outline: 2px solid var(--ai, #8da6ff);
    outline-offset: 2px;
}

.showcase-carousel-arrow {
    position: absolute;
    top: calc(50% - 28px);
    transform: translateY(-50%);
    background: rgba(11, 11, 18, 0.85);
    border: 1px solid var(--border-2, rgba(255, 255, 255, 0.1));
    color: var(--text-1, #ecedf2);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    font-size: 19px;
    line-height: 1;
    transition: background 0.15s;
    backdrop-filter: blur(8px);
}

.showcase-carousel-arrow:hover {
    background: rgba(141, 166, 255, 0.15);
}

.showcase-carousel-arrow:focus-visible {
    outline: 2px solid var(--ai, #8da6ff);
    outline-offset: 2px;
}

.showcase-carousel-arrow.prev {
    left: 14px;
}

.showcase-carousel-arrow.next {
    right: 14px;
}

.showcase-glow {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 180px;
    background: radial-gradient(ellipse, rgba(141, 166, 255, 0.07), transparent 70%);
    pointer-events: none;
}

/* Empty category placeholder */
.showcase-placeholder {
    padding: 64px 32px;
    text-align: center;
    background: var(--surface-2, #181822);
    min-height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.showcase-placeholder-label {
    font-family: var(--mono, "IBM Plex Mono", monospace);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-3, #6b6c78);
}

.showcase-placeholder-title {
    font-family: var(--body, "Source Sans 3", ui-sans-serif, system-ui, sans-serif);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-1, #ecedf2);
}

.showcase-placeholder-text {
    font-size: 14.5px;
    color: var(--text-2, #a8a9b4);
    max-width: 400px;
    line-height: 1.6;
}

.showcase-placeholder-link {
    margin-top: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ai, #8da6ff);
    text-decoration: none;
    transition: color 0.12s;
}

.showcase-placeholder-link:hover {
    color: #a3bbff;
}

@media (max-width: 768px) {
    .showcase-section {
        padding: 64px 0;
    }

    .showcase-wrap {
        padding: 0 20px;
    }

    .showcase-carousel-caption {
        padding: 16px 20px 20px;
    }

    .showcase-carousel-arrow {
        width: 32px;
        height: 32px;
        font-size: 17px;
    }
}
