/* 导航栏样式 - 修改版 */
.main-nav {
    padding: 15px 0;
    background: #f5f5f5;
    width: 100%;
}

.main-nav ul {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border-radius: 8px;
    padding: 12px 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    cursor: pointer;
    transition: all 0.3s;
    flex: 0 0 calc(25% - 11px);
    min-width: 280px;
    flex-wrap: wrap;
}

.nav-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.nav-icon {
    width: 36px;
    height: 36px;
    background: transparent;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667eea;
    font-size: 18px;
    flex-shrink: 0;
}

.nav-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nav-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    flex: 1;
    flex-wrap: wrap;
}

.nav-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    line-height: 1.2;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0 12px;
    flex: 1;
}

.nav-links a {
    font-size: 12px;
    color: #999;
    text-decoration: none;
    line-height: 1.4;
    background: transparent;
    padding: 0;
}

.nav-links a:hover {
    color: #667eea;
    background: transparent;
}

/* 移除下拉菜单 */
.nav-submenu {
    display: none;
}
