/* UI Kits Landing Styles */
.ui-kits-landing {
    padding-bottom: 4rem;
}

.uikits-hero {
    background: rgba(255, 255, 255, 0.03);
    padding: 3rem 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    margin-bottom: 3rem;
}

.uikits-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.uikits-hero p {
    font-size: 1.2rem;
    color: var(--text-muted, #6b7280);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.uikits-search-bar {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.uikits-search-bar input {
    width: 100%;
    padding: 1rem 1.5rem 1rem 3rem;
    border-radius: 50px;
    border: 2px solid var(--border-light, #e5e7eb);
    background: var(--bg-surface, #ffffff);
    font-size: 1.1rem;
    color: var(--text-main, #111827);
    transition: all 0.2s ease;
}

.uikits-search-bar input:focus {
    outline: none;
    border-color: var(--primary, #4f46e5);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

.uikits-search-bar svg {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--text-muted, #6b7280);
}

.uikits-main-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
}

@media (max-width: 768px) {
    .uikits-main-layout {
        grid-template-columns: 1fr;
    }
}

/* Sidebar */
.uikits-sidebar {
    background: var(--bg-surface, #ffffff);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-light, #e5e7eb);
    height: fit-content;
    position: sticky;
    top: 2rem;
}

.filter-group {
    margin-bottom: 2rem;
}

.filter-group h3 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted, #6b7280);
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-light, #e5e7eb);
    padding-bottom: 0.5rem;
}

.filter-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    cursor: pointer;
    color: var(--text-main, #111827);
}

.tag-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-tag {
    background: var(--bg-body, #f9fafb);
    border: 1px solid var(--border-light, #e5e7eb);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85rem;
    color: var(--text-muted, #6b7280);
    cursor: pointer;
    transition: all 0.2s;
}

.filter-tag:hover {
    background: var(--bg-surface-hover, #f3f4f6);
    color: var(--text-main, #111827);
}

.filter-tag.active {
    background: var(--primary, #4f46e5);
    color: white;
    border-color: var(--primary, #4f46e5);
}

/* Grid */
.uikits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* Kit Card */
.kit-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-surface, #ffffff);
    border-radius: 12px;
    border: 1px solid var(--border-light, #e5e7eb);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.kit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
    border-color: rgba(79, 70, 229, 0.3);
}

.kit-card-image {
    width: 100%;
    aspect-ratio: 16/6;
    background: var(--bg-body, #f9fafb);
    position: relative;
    overflow: hidden;
}

.kit-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

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

.kit-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.kit-card:hover .kit-card-overlay {
    opacity: 1;
}

.kit-card-overlay span {
    background: white;
    color: black;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transform: translateY(10px);
    transition: transform 0.3s ease;
}

.kit-card:hover .kit-card-overlay span {
    transform: translateY(0);
}

.kit-card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.kit-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.kit-card-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main, #111827);
}

.kit-badge {
    font-size: 0.75rem;
    background: var(--bg-body, #f9fafb);
    padding: 0.25rem 0.6rem;
    border-radius: 50px;
    color: var(--text-muted, #6b7280);
    font-weight: 600;
    white-space: nowrap;
}

.kit-card-content p {
    color: var(--text-muted, #6b7280);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    flex: 1;
}

.kit-card-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.kit-card-tags .tag {
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    background: var(--bg-body, #f9fafb);
    color: var(--text-muted, #6b7280);
    transition: all 0.2s;
    cursor: pointer;
}

.kit-card-tags .tag:hover {
    background: var(--primary, #4f46e5);
    color: white;
}

.kit-card-tags .style-tag {
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary, #4f46e5);
    font-weight: 600;
}

.no-results {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-surface, #ffffff);
    border-radius: 12px;
    border: 1px dashed var(--border-light, #e5e7eb);
}

.no-results h3 {
    margin-bottom: 0.5rem;
    color: var(--text-main, #111827);
}
