.smartifai-work-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.smartifai-work-header {
    text-align: center;
    margin-bottom: 40px;
}

.smartifai-work-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.smartifai-work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.smartifai-work-card {
    background: #0f172a;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.smartifai-work-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.smartifai-work-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.smartifai-work-media video,
.smartifai-work-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.smartifai-work-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #00d2ff, #0078ff);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
}

.smartifai-work-info {
    padding: 20px;
}

.smartifai-work-client {
    font-size: 0.8rem;
    color: #00bcd4;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.smartifai-work-title {
    margin: 5px 0 0;
    font-size: 1.2rem;
    color: #fff;
}

.smartifai-work-title a {
    color: #fff;
    text-decoration: none;
}

/* Lightbox Modal */
.smartifai-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
}

.smartifai-modal.active {
    display: flex;
}

.smartifai-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
}

.smartifai-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    background: #1e293b;
    border-radius: 12px;
    overflow: hidden;
    z-index: 10;
}

.smartifai-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    z-index: 20;
}

.smartifai-modal-body {
    padding: 20px;
}

.smartifai-modal-body video {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
}

#smartifai-modal-title {
    color: #fff;
    margin-top: 15px;
    font-size: 1.4rem;
}