/* Use Cases Page - Light Theme */

.usecases-hero-title {
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.featured-examples {
    background: var(--bg-secondary);
    border: 1px solid var(--border-default);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.featured-examples-header {
    max-width: 56rem;
}

/* ==========================================================================
   Use Cases Pills - Compact Navigation
   ========================================================================== */

.uc-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.uc-pill {
    display: inline-flex;
    padding: 10px 18px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-default);
    border-radius: 100px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.uc-pill:hover {
    background: var(--bg-tertiary);
    border-color: var(--border-strong);
    transform: translateY(-1px);
}

.uc-pill:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

/* ==========================================================================
   Legacy styles (kept for reference, can be removed)
   ========================================================================== */

/*
.usecases-category-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-default);
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.usecases-category-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(79, 70, 229, 0.22);
}

.usecases-category-card:focus-visible {
    outline: 3px solid rgba(79, 70, 229, 0.28);
    outline-offset: 4px;
}

.usecases-category-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 14px;
    background: rgba(79, 70, 229, 0.08);
    border: 1px solid rgba(79, 70, 229, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.usecases-category-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--accent-primary);
}
*/

.usecases-visual {
    display: block;
    border-radius: 16px;
    border: 1px solid var(--border-default);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    background: var(--bg-elevated);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.usecases-visual img {
    display: block;
    width: 100%;
    height: auto;
}

.usecases-visual-link {
    display: block;
    text-decoration: none;
    cursor: zoom-in;
}

.usecases-visual-link:hover .usecases-visual {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-strong);
}

.usecases-visual--hero {
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
}

.usecases-visual--cta {
    border-radius: 18px;
}

.usecase-anchor {
    scroll-margin-top: 110px;
}

.case-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--accent-primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.case-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-default);
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.case-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-strong);
}

.case-metric {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-top: 0.75rem;
}

.case-caption {
    color: var(--text-secondary);
    line-height: 1.65;
    margin-top: 0.5rem;
}

.usecase-list {
    margin-top: 1.25rem;
}

.usecase-list li {
    margin-bottom: 0.55rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.usecase-list li strong {
    color: var(--text-primary);
    font-weight: 600;
}

.usecase-note {
    background: rgba(79, 70, 229, 0.06);
    border: 1px solid rgba(79, 70, 229, 0.14);
    border-radius: 14px;
    padding: 1rem 1.1rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

@media (max-width: 768px) {
    .usecase-anchor {
        scroll-margin-top: 90px;
    }

    .featured-examples {
        padding: 1.25rem;
    }

    /* Use Cases Pills - Mobile */
    .uc-pills {
        gap: 8px;
    }

    .uc-pill {
        padding: 8px 14px;
        font-size: 0.875rem;
    }
}
