/* =========================================================
   SyntesAI — Use Cases Archive
   ========================================================= */

/* ===== HERO ===== */
.uc-hero {
    position: relative;
    padding: 100px 0 80px;
    overflow: hidden;
    background: #0b1f3a;
}

.uc-hero__bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(26, 155, 232, 0.35) 0%, transparent 70%);
    pointer-events: none;
}

.uc-hero__fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent, #ffffff);
    pointer-events: none;
}

.uc-hero__content {
    position: relative;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.uc-hero__label {
    margin: 0 0 16px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #1A9BE8;
}

.uc-hero__title {
    margin: 0 0 20px;
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.uc-hero__desc {
    margin: 0;
    font-size: 17px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.75);
}

/* ===== FILTERS ===== */
.uc-filters {
    padding: 28px 0;
    /*     border-bottom: 1px solid #e8ecf0; */
    /*     position: sticky; */
    top: 70px;
    z-index: 100;
}

.uc-filters__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.uc-filters__left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Select wrapper */
.uc-select-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.uc-select {
    appearance: none;
    -webkit-appearance: none;
    padding: 10px 36px 10px 14px;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    color: #0b1f3a;
    background: #f8fafc;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    cursor: pointer;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
    min-width: 160px;
}

.uc-select:focus {
    border-color: #1A9BE8;
    box-shadow: 0 0 0 3px rgba(26, 155, 232, 0.12);
}

.uc-select__caret {
    position: absolute;
    right: 12px;
    pointer-events: none;
    color: #6b7280;
}

/* Search */
.uc-search {
    position: relative;
    display: flex;
    align-items: center;
}

.uc-search__icon {
    position: absolute;
    left: 12px;
    color: #9ca3af;
    pointer-events: none;
}

.uc-search__input {
    padding: 10px 14px 10px 38px;
    font-size: 14px;
    font-family: inherit;
    color: #0b1f3a;
    background: #f8fafc;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    width: 240px;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.uc-search__input:focus {
    border-color: #1A9BE8;
    box-shadow: 0 0 0 3px rgba(26, 155, 232, 0.12);
    background: #fff;
}

.uc-search__input::placeholder {
    color: #9ca3af;
}

/* ===== GRID SECTION ===== */
.uc-grid-section {
    /*     padding: 56px 0 72px; */
    /*     background: #ffffff; */
}

.uc-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

/* ===== CARD ===== */
.uc-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e8ecf0;
    border-radius: 14px;
    overflow: hidden;
    transition: box-shadow .2s ease, transform .2s ease;
}

.uc-card:hover {
    box-shadow: 0 12px 32px rgba(10, 20, 40, 0.10);
    transform: translateY(-3px);
}

/* Card image */
.uc-card-img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f1f5f9;
}

.uc-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.uc-card-img:hover img {
    transform: scale(1.04);
}

.uc-card-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
}

/* Card body */
.uc-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 24px;
}

.uc-card-label {
    margin: 0 0 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #1A9BE8;
}

.uc-card-title {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    color: #0b1f3a;
}

.uc-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.uc-card-title a:hover {
    color: #1A9BE8;
}

.uc-card-desc {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.65;
    color: #4b5563;
    flex: 1;
}

/* Tags */
.uc-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
}

.uc-tag {
    display: inline-block;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 500;
    color: #0b1f3a;
    background: #f1f5f9;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
}

/* Read More link */
.uc-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #1A9BE8;
    text-decoration: none;
    margin-top: auto;
    transition: gap .15s ease;
}

.uc-card-link:hover {
    color: #1589d4;
    gap: 10px;
}

/* No results */
.uc-no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 0;
    font-size: 16px;
    color: #6b7280;
}

/* ===== LOAD MORE ===== */
.uc-load-more {
    margin-top: 48px;
    text-align: center;
}

.btn-load-more {
    display: inline-block;
    padding: 13px 40px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    color: #0b1f3a;
    background: #ffffff;
    border: 1.5px solid #d1d5db;
    border-radius: 999px;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease, color .15s ease, transform .15s ease;
}

.btn-load-more:hover {
    border-color: #1A9BE8;
    color: #1A9BE8;
    transform: translateY(-1px);
}

.btn-load-more:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1199.98px) {
    .uc-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .uc-hero {
        padding: 72px 0 60px;
    }

    .uc-filters {
        position: static;
    }

    .uc-filters__bar {
        flex-direction: column;
        align-items: stretch;
    }

    .uc-filters__left {
        flex-direction: column;
    }

    .uc-select {
        width: 100%;
        min-width: unset;
    }

    .uc-search__input {
        width: 100%;
    }

    .uc-search {
        width: 100%;
    }

    .uc-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}