/* Bento Grid Theme Base */
.bento-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    padding: 24px 0;
}

/* Specific Grid Layouts */
@media (min-width: 992px) {
    .bento-grid.bento-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    .bento-grid.bento-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    .bento-grid.bento-4 {
        grid-template-columns: repeat(4, 1fr);
    }
    .bento-col-span-2 {
        grid-column: span 2;
    }
    .bento-row-span-2 {
        grid-row: span 2;
    }
}

.bento-item {
    background: #ffffff;
    border-radius: 32px;
    padding: 32px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.bento-item:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
}

/* Accent Backgrounds for Bento Items */
.bento-item.bg-accent-1 { background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%); color: #333; }
.bento-item.bg-accent-2 { background: linear-gradient(135deg, #f6d365 0%, #fda085 100%); color: #333; }
.bento-item.bg-accent-3 { background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%); color: #333; }
.bento-item.bg-accent-dark { background: #1a1a2e; color: #fff; border: 1px solid rgba(255,255,255,0.1); }
.bento-item.bg-accent-dark p { color: #ccc; }

.bento-item.bg-accent-dark .bento-icon {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* Header & Typography */
.bento-header-wrapper {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    border-radius: 40px;
    margin: 40px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.bento-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.bento-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Inner elements */
.bento-icon {
    font-size: 40px;
    margin-bottom: 24px;
    color: #0d6efd;
    background: rgba(13, 110, 253, 0.08);
    width: 80px;
    height: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    transition: all 0.3s ease;
}

.bento-item:hover .bento-icon {
    transform: scale(1.1) rotate(5deg);
}

.bento-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.bento-item p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 24px;
    flex-grow: 1;
}

.bento-link {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    text-decoration: none;
    color: #0d6efd;
    margin-top: auto;
}

.bento-link i {
    margin-left: 5px;
    transition: transform 0.2s ease;
}

.bento-link:hover i {
    transform: translateX(5px);
}

/* Image wrapper in Bento */
.bento-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.bento-img-box {
    margin: -32px -32px 24px -32px;
    border-radius: 32px 32px 0 0;
    overflow: hidden;
}

/* Feature lists in Bento */
.bento-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bento-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
}

.bento-list li:last-child {
    border-bottom: none;
}

.bento-list li i {
    color: #0ca678;
    margin-right: 12px;
    font-size: 1.2rem;
}
