/* ===== Project 0072 - Bento Grid Style ===== */

/* Bento grid layout */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 1rem;
}
.bento-card {
    border-radius: 1.5rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.bento-card.tall { grid-row: span 2; }
.bento-card.wide { grid-column: span 2; }
.bento-card.large { grid-column: span 2; grid-row: span 2; }

/* Pill stats */
.pill-stat {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-weight: 700;
    transition: all 0.3s ease;
}
.pill-stat:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Glow effect on hover */
.glow-hover {
    transition: all 0.3s ease;
}
.glow-hover:hover {
    box-shadow: 0 0 30px rgba(99,102,241,0.3);
}

/* FAQ accordion bento style */
.faq-item {
    transition: all 0.3s ease;
}
.faq-item.active {
    border-color: #6366F1 !important;
    background: #fafafe;
}

/* Animated gradient border */
.gradient-border {
    position: relative;
    background: white;
    border-radius: 1.5rem;
}
.gradient-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 1.625rem;
    background: linear-gradient(135deg, #6366F1, #0EA5E9, #6366F1);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.gradient-border:hover::before {
    opacity: 1;
}

/* Mobile bento adapts to single column */
@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }
    .bento-card.tall,
    .bento-card.wide,
    .bento-card.large {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* Testimonial card avatar ring */
.avatar-ring {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366F1, #0EA5E9);
    padding: 3px;
}
.avatar-ring img, .avatar-ring .avatar-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}
