/* ============================================================
   Solutions Dropdown — Redesigned for smooth UX
   Design principles (from ui-ux-pro-max):
   - Dimensional Layering: box-shadow elevation, top accent
   - Enterprise Gateway: promo panel fills right dead space
   - Smooth entry: @keyframes fade + slide (200ms ease-out)
   ============================================================ */

/* ---------- Dropdown container override ---------- */
.header-select-solution {
    /* Top accent line visually connects to nav bar */
    border-top: 1px solid rgba(98, 70, 232, 0.25);
    /* Depth shadow — elevation-2 */
    box-shadow: 0 8px 32px rgba(98, 70, 232, 0.10), 0 2px 8px rgba(0, 0, 0, 0.06);
    /* Subtle warm-white gradient so it's not a harsh pure-white box */
    background: linear-gradient(180deg, #fdfcff 0%, #ffffff 60%);
    /* Entry animation — replays every time display toggles none→block */
    animation: solutionDropIn 0.2s ease-out both;
}

@keyframes solutionDropIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- Full-width flex wrapper ---------- */
.solution-menu-wrapper {
    width: 1192px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    min-height: 200px;
}

/* ---------- Left: solution list section ---------- */
.solution-menu-left {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 40px 60px 40px 0;
}

/* Two columns with 122px gap — matches Figma */
.solution-menu-cols {
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

/* Each column: two items, 40px apart */
.solution-menu-col {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Each solution entry */
.solution-menu-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.18s ease;
    padding: 8px;
    margin: -8px;
}

.solution-menu-item:hover {
    background-color: rgba(98, 70, 232, 0.05);
}

/* Icon + title in one row */
.solution-menu-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Unused */
.solution-menu-text {
    display: none;
}

.solution-menu-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: block;
}

.solution-menu-title {
    font-size: 18px;
    font-weight: 600;
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    color: #6246E8;
    line-height: 24px;
    white-space: nowrap;
    transition: color 0.18s ease;
}

/* Desc indented by icon(20px) + gap(8px) = 28px, aligns with title text */
.solution-menu-desc {
    padding-left: 28px;
    font-size: 12px;
    font-weight: 400;
    font-family: 'Noto Sans SC', 'PingFang SC', sans-serif;
    color: #6B7280;
    line-height: 20px;
    white-space: nowrap;
    margin: 0;
}

.solution-menu-item:hover .solution-menu-title {
    color: #6246E8;
}

/* ---------- Right: promotional panel ---------- */
.solution-menu-promo {
    width: 320px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    border-radius: 0;
    display: flex;
    align-items: center;
}

/* Gradient background layer */
.solution-menu-promo-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #6246E8 0%, #8B6FF5 50%, #5B8EF5 100%);
    z-index: 0;
}

/* Decorative circles for depth */
.solution-menu-promo-bg::before {
    content: '';
    position: absolute;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    top: -80px;
    right: -60px;
}

.solution-menu-promo-bg::after {
    content: '';
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    bottom: -60px;
    left: -40px;
}

/* Content sits above the bg */
.solution-menu-promo-content {
    position: relative;
    z-index: 1;
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.solution-menu-promo-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    font-family: 'PingFang SC', sans-serif;
}

.solution-menu-promo-title {
    font-size: 20px;
    font-weight: 700;
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    color: #ffffff;
    line-height: 1.4;
    margin: 0;
}

.solution-menu-promo-desc {
    font-size: 12px;
    font-weight: 400;
    font-family: 'Noto Sans SC', 'PingFang SC', sans-serif;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin: 0;
}

.solution-menu-promo-btn {
    display: none;
}

/* Left/right separator line */
.solution-menu-left::after {
    content: none;
}

