 /* 基础与容器 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { background: #f4f7fc; font-family: 'PingFang SC', Arial, sans-serif; color: #333; line-height: 1.6; }
.wrapper { max-width: 1200px; margin: 0 auto; padding: 0 20px; margin-bottom:10px;}

/* 1. Hero 搜索区 (SO.jpg 修复) */
.scan-hero { background: linear-gradient(135deg, #004094 0%, #002d66 100%); padding: 65px 0; color: #fff; text-align: center; }
.search-box-large { 
    max-width: 700px; margin: 30px auto 0; background: #fff; 
    border-radius: 50px; display: flex; box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    overflow: hidden; 
}
.search-box-large form { display: flex; width: 100%; }
.search-input { flex: 1; border: none; padding: 0 25px; height: 56px; font-size: 16px; outline: none; }
.search-btn { 
    background: #004094; color: #fff; border: none; padding: 0 45px; 
    height: 56px; font-weight: bold; cursor: pointer; transition: 0.3s;
}
.search-btn:hover { background: #0056b3; }

/* 2. 补齐：标题与品牌矩阵 */
.section-title { text-align: center; margin: 50px 0 30px; }
.section-title h2 { font-size: 28px; color: #1e2a3a; margin-bottom: 8px; }
.section-title span { font-size: 14px; color: #8898aa; }

.brand-matrix { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px; margin-bottom: 30px; }
.brand-card { 
    background: #fff; border: 1px solid #edf2f9; border-radius: 15px; 
    padding: 25px 15px; text-align: center; text-decoration: none; transition: 0.3s;
}
.brand-card:hover { transform: translateY(-5px); border-color: #004094; box-shadow: 0 10px 20px rgba(0,64,148,0.1); }
.brand-logo { height: 50px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.brand-logo span { color: #004094; font-weight: bold; font-size: 18px; }
.brand-card h4 { color: #333; font-size: 16px; }

/* 3. 热门排行 (XS.jpg & hot.jpg 修复) */
.main-flex { display: flex; justify-content: space-between; align-items: flex-start;}
.left-main { width: calc(100% - 335px); max-width: 845px; min-width: 0;}
.right-side {width: 320px; flex-shrink: 0; }

.card { background: #fff; border-radius: 24px; padding: 25px; border: 1px solid #edf2f7; box-shadow: 0 4px 12px rgba(0,0,0,0.02); }
.card-header h3 { border-left: 5px solid #004094; padding-left: 15px; margin-bottom: 25px; font-size: 20px; }

.scan-grid-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.scan-item { 
    display: flex; justify-content: space-between; align-items: center; 
    background: #f8faff; padding: 12px 18px; border-radius: 10px; border: 1px solid #f0f4f8;
}
.item-info { display: flex; align-items: center; gap: 12px; max-width: 80%; }
/* 基础序号样式 - 默认（4名以后）为浅灰色 */
.rank-num {
    width: 24px;
    height: 24px;
    font-size: 13px;
    font-weight: bold;
    font-style: normal;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px; /* 圆角方块 */
    background: #f0f2f5; /* 默认背景 */
    color: #94a3b8;    /* 默认文字颜色 */
    transition: 0.3s;
}

/* 第 1 名 - 红色 (对应图片中的 1) */
.scan-item:nth-child(1) .rank-num {
    background: #ff4d4f; /* 鲜红色 */
    color: #fff;
    box-shadow: 0 2px 8px rgba(255, 77, 79, 0.3);
}

/* 第 2 名 - 橙色 (对应图片中的 2) */
.scan-item:nth-child(2) .rank-num {
    background: #ff9c6e; /* 橙色 */
    color: #fff;
}

/* 第 3 名 - 黄色 (对应图片中的 3) */
.scan-item:nth-child(3) .rank-num {
    background: #ffcd29; /* 明黄色 */
    color: #fff;
}
/* 1. 链接本身的悬停效果 */
.scan-item a:hover {
    color: #004094;           /* 变为品牌深蓝色 */
    text-decoration: none;    /* 去掉下划线 */
}

/* 2. 增强型：整个卡片的交互感 (更推荐这个) */
.scan-item {
    transition: all 0.3s ease; /* 让所有变化都有平滑动画 */
    cursor: pointer;
}

.scan-item:hover {
    background: #ffffff;      /* 悬停时背景变白 */
    border-color: #004094;    /* 边框变为深蓝色 */
    transform: translateY(-2px); /* 向上轻微浮动 */
    box-shadow: 0 4px 12px rgba(0, 64, 148, 0.08); /* 增加一点淡蓝色投影 */
}

/* 3. 联动效果：悬停在整行时，文字自动变色 */

.scan-item a { color: #2d3748; text-decoration: none; font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* 4. 联动效果：悬停在整行时，序号略微放大 */
.scan-item:hover .rank-num {
    transform: scale(1.1);
}


/* 热门图标的左侧装饰条 (对应图片最上方的竖线) */
.card-header h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    border-left: 4px solid #ff4d4f; /* 红色装饰条 */
    padding-left: 12px;
    font-size: 18px;
    color: #1e293b;
}

/* 4. 常见问题 */
.faq-simple { list-style: none; }
.faq-simple li { border-bottom: 1px dashed #edf2f7; padding: 12px 0; }
.faq-simple a { color: #4a5568; text-decoration: none; font-size: 14px; transition: 0.2s; }
.faq-simple a:hover { color: #004094; transform: translateX(3px); }
.note-text { background: #eef6fc; border-radius: 12px; padding: 15px; margin-top: 20px; font-size: 13px; color: #2b5f8a; }

/* 响应式适配 */
@media (max-width: 850px) {
		.main-flex {
			flex-direction: column;
		}
		.left-main {
			width: 100%;
			max-width: 100%;
		}
		.right-side {
			width: 100%;
			margin-top: 15px;
		}
    .scan-grid-list { grid-template-columns: 1fr; }
}