/* Mega Menu - Design System Vercel */
.mega-dropdown {
    position: relative;
}

.mega-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    width: 1200px;
    max-width: 95vw;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    z-index: 50;
    opacity: 0;
    visibility: hidden;
    transition: all 150ms ease;
}

.mega-dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
}

.mega-menu-content {
    padding: 40px;
}

.mega-columns {
    display: grid;
    grid-template-columns: 400px 250px 280px;
    gap: 48px;
}

.featured-column {
    background: #fafafa;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.featured-column h3 {
    font-size: 16px;
    font-weight: 600;
    color: #8b5cf6;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.visual-icons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.icon-item {
    width: 48px;
    height: 48px;
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 18px;
    transition: all 150ms ease;
}

.icon-item:hover {
    border-color: #8b5cf6;
    transform: translateY(-2px);
}

.featured-content {
    flex: 1;
}

.featured-column p {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 6px;
}

.featured-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 16px 0;
}

.stat-item {
    text-align: center;
    padding: 12px;
    background: white;
    border-radius: 6px;
    border: 1px solid #f0f0f0;
}

.stat-number {
    font-size: 18px;
    font-weight: 600;
    color: #8b5cf6;
    display: block;
}

.stat-label {
    font-size: 11px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.explore-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: white !important;
    background: #8b5cf6;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    padding: 12px 20px;
    border-radius: 8px;
    transition: all 150ms ease;
    width: 100%;
    margin-top: auto;
}

.explore-link:hover {
    background: #7c3aed;
    color: white;
    transform: translateY(-1px);
}

.mega-column h3 {
    font-size: 12px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.menu-item {
    display: block;
    padding: 8px 0;
    color: #171717;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.5;
    transition: all 150ms ease;
}

.menu-item:hover {
    color: #8b5cf6;
}

.item-name {
    font-weight: 400;
}

.item-count {
    font-size: 12px;
    color: #999;
    margin-left: 4px;
}

.image-widget {
    background: #fafafa;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 24px;
    text-align: right;
    margin-left: auto;
}

.widget-image {
    width: 100%;
    height: 80px;
    background: #f5f5f5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 24px;
    margin-bottom: 16px;
}

.widget-title {
    font-size: 12px;
    font-weight: 600;
    color: #8b5cf6;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.widget-subtitle {
    font-size: 11px;
    color: #666;
    margin-bottom: 12px;
}

.widget-link {
    color: #8b5cf6;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: all 150ms ease;
}

.widget-link:hover {
    color: #8b5cf6;
}

@media (max-width: 1280px) {
    .mega-columns {
        grid-template-columns: 350px 150px 150px;
        gap: 32px;
    }
    .mega-column:nth-child(4) {
        display: none;
    }
}

@media (max-width: 1024px) {
    .mega-menu {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        width: 100vw;
        max-width: none;
        transform: none;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    .mega-columns {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    .featured-column {
        grid-column: span 2;
    }
    .image-widget {
        grid-column: span 2;
    }
    .mega-menu-content {
        padding: 32px 24px;
    }
}

@media (max-width: 768px) {
    .mega-columns {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .featured-column,
    .image-widget {
        grid-column: span 1;
    }
    .visual-icons {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
    }
    .icon-item {
        width: 48px;
        height: 48px;
        font-size: 18px;
    }
    .mega-menu-content {
        padding: 24px 20px;
    }
}