/* ============================================================
   8sidc.com（壹手云）风格首页样式
   蓝色商务科技风：主色 #0a7cff / 促销红 #ff4d2e
   ============================================================ */

/* ---------- 通用 ---------- */
.b8-section {
    padding: 56px 0;
    background: #fff;
}
.b8-section-gray {
    background: #f5f8fc;
}
.b8-wrap {
    width: 1200px;
    max-width: 94%;
    margin: 0 auto;
}
.b8-sec-head {
    text-align: center;
    margin-bottom: 36px;
}
.b8-sec-head h2 {
    font-size: 30px;
    color: #1a2b45;
    font-weight: 600;
    line-height: 1.3;
}
.b8-sec-head h2 em {
    font-style: normal;
    color: #0a7cff;
}
.b8-sec-head p {
    margin-top: 10px;
    font-size: 14px;
    color: #7b8aa5;
}
.b8-sec-head .b8-more {
    color: #0a7cff;
    font-size: 14px;
    text-decoration: none;
}
.b8-sec-head .b8-more:hover {
    text-decoration: underline;
}

/* ---------- 顶部轮播 Banner ---------- */
.b8-swiper {
    position: relative;
    min-height: 420px;
    overflow: hidden;
    background: #042a6e;
}
.b8-swiper-list {
    position: relative;
    height: 100%;
}
.b8-swiper-slide {
    position: absolute;
    inset: 0;
    min-height: 420px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease, visibility .8s;
    z-index: 1;
}
.b8-swiper-slide.on {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}
.b8-swiper-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(4, 24, 60, .78) 0%, rgba(4, 33, 79, .55) 45%, rgba(6, 83, 196, .25) 100%);
}
.b8-swiper-text {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 640px;
    padding: 40px 0;
}

/* 轮播箭头 */
.b8-swiper-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 46px;
    height: 70px;
    line-height: 70px;
    text-align: center;
    font-size: 24px;
    color: #fff;
    background: rgba(0, 0, 0, .18);
    cursor: pointer;
    user-select: none;
    transition: background .2s;
}
.b8-swiper-arrow:hover {
    background: rgba(0, 0, 0, .4);
}
.b8-swiper-prev { left: 0; border-radius: 0 6px 6px 0; }
.b8-swiper-next { right: 0; border-radius: 6px 0 0 6px; }

/* 轮播圆点 */
.b8-swiper-dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}
.b8-swiper-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .45);
    cursor: pointer;
    transition: all .25s;
}
.b8-swiper-dot:hover {
    background: rgba(255, 255, 255, .75);
}
.b8-swiper-dot.on {
    width: 30px;
    border-radius: 6px;
    background: #fff;
}
.b8-hero-text {
    color: #fff;
    max-width: 640px;
}
.b8-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    margin-bottom: 18px;
}
.b8-hero-tag .b8-badge {
    background: #ff4d2e;
    color: #fff;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 12px;
}
.b8-hero-text h1 {
    font-size: 40px;
    line-height: 1.35;
    font-weight: 700;
    margin: 0 0 14px;
    text-shadow: 0 4px 16px rgba(0, 21, 64, .35);
}
.b8-hero-text p {
    font-size: 16px;
    line-height: 1.8;
    opacity: .92;
    margin: 0 0 28px;
}
.b8-hero-btns {
    display: flex;
    gap: 14px;
}
.b8-btn {
    display: inline-block;
    padding: 0 34px;
    height: 46px;
    line-height: 46px;
    border-radius: 4px;
    font-size: 16px;
    text-decoration: none;
    transition: all .25s;
    cursor: pointer;
    border: none;
}
.b8-btn-primary {
    background: #ff4d2e;
    color: #fff;
    box-shadow: 0 6px 18px rgba(255, 77, 46, .38);
}
.b8-btn-primary:hover {
    background: #ff6547;
    color: #fff;
}
.b8-btn-ghost {
    background: rgba(255, 255, 255, .14);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .55);
}
.b8-btn-ghost:hover {
    background: rgba(255, 255, 255, .28);
    color: #fff;
}

/* ---------- 促销横条 ---------- */
.b8-promo {
    background: #fff;
    border-bottom: 1px solid #eef2f8;
}
.b8-promo .b8-wrap {
    display: flex;
    gap: 12px;
    padding: 14px 0;
}
.b8-promo-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 8px;
    background: #f5f9ff;
    border: 1px solid #e3edff;
    text-decoration: none;
    transition: all .2s;
}
.b8-promo-item:hover {
    border-color: #0a7cff;
    box-shadow: 0 6px 18px rgba(10, 124, 255, .12);
    transform: translateY(-2px);
}
.b8-promo-item .b8-promo-ico {
    width: 42px;
    height: 42px;
    flex: none;
    border-radius: 8px;
    background: #0a7cff;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: normal;
}
.b8-promo-item:nth-child(2) .b8-promo-ico { background: #ff8a00; }
.b8-promo-item:nth-child(3) .b8-promo-ico { background: #00b47d; }
.b8-promo-item:nth-child(4) .b8-promo-ico { background: #7b61ff; }
.b8-promo-item h4 {
    font-size: 15px;
    color: #1a2b45;
    margin: 0 0 4px;
}
.b8-promo-item p {
    font-size: 12px;
    color: #7b8aa5;
    margin: 0;
}

/* ---------- 快捷入口 ---------- */
.b8-quick {
    padding: 36px 0 8px;
    background: #fff;
}
.b8-quick .b8-wrap {
    display: flex;
    gap: 16px;
}
.b8-quick-card {
    flex: 1;
    display: block;
    padding: 26px 24px;
    border-radius: 10px;
    border: 1px solid #e6ecf5;
    background: #fff;
    text-decoration: none;
    transition: all .25s;
}
.b8-quick-card:hover {
    border-color: #0a7cff;
    box-shadow: 0 10px 26px rgba(10, 124, 255, .14);
    transform: translateY(-4px);
}
.b8-quick-card .b8-q-ico {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    margin-bottom: 14px;
    background-size: 60% 60%;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #e8f2ff;
}
.b8-quick-card h4 {
    font-size: 17px;
    color: #1a2b45;
    margin: 0 0 6px;
}
.b8-quick-card p {
    font-size: 13px;
    color: #7b8aa5;
    margin: 0 0 12px;
    line-height: 1.7;
}
.b8-quick-card .b8-q-link {
    color: #0a7cff;
    font-size: 13px;
}

/* ---------- 标签页产品区 ---------- */
.b8-tabs {
    margin-bottom: 28px;
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}
.b8-tab {
    padding: 0 26px;
    height: 42px;
    line-height: 42px;
    border-radius: 21px;
    font-size: 15px;
    color: #455673;
    background: #eef3fa;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all .2s;
    user-select: none;
}
.b8-tab:hover {
    color: #0a7cff;
}
.b8-tab.on {
    background: linear-gradient(90deg, #0a7cff, #2b9bff);
    color: #fff;
    box-shadow: 0 6px 16px rgba(10, 124, 255, .3);
}
.b8-panel {
    display: none;
}
.b8-panel.on {
    display: block;
    animation: b8Fade .35s ease;
}
@keyframes b8Fade {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}
.b8-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.b8-prod {
    position: relative;
    background: #fff;
    border: 1px solid #e6ecf5;
    border-radius: 10px;
    padding: 24px 22px;
    transition: all .25s;
    overflow: hidden;
}
.b8-prod:hover {
    border-color: #0a7cff;
    box-shadow: 0 12px 30px rgba(10, 124, 255, .15);
    transform: translateY(-4px);
}
.b8-prod-hot {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(90deg, #ff4d2e, #ff8a00);
    color: #fff;
    font-size: 12px;
    padding: 3px 12px;
    border-radius: 0 0 0 10px;
}
.b8-prod h4 {
    font-size: 16px;
    color: #1a2b45;
    margin: 0 0 8px;
    padding-right: 58px;
}
.b8-prod .b8-prod-desc {
    font-size: 12px;
    color: #7b8aa5;
    line-height: 1.7;
    min-height: 40px;
    margin: 0 0 14px;
}
.b8-spec {
    border-top: 1px dashed #e6ecf5;
    padding-top: 14px;
    margin-bottom: 16px;
}
.b8-spec p {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #455673;
    margin: 0 0 8px;
}
.b8-spec p span {
    color: #1a2b45;
    font-weight: 600;
}
.b8-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 14px;
}
.b8-price .b8-price-num {
    font-size: 28px;
    font-weight: 700;
    color: #ff4d2e;
}
.b8-price .b8-price-num i {
    font-style: normal;
    font-size: 14px;
    margin-right: 2px;
}
.b8-price .b8-price-old {
    font-size: 12px;
    color: #a3aec2;
    text-decoration: line-through;
}
.b8-price .b8-price-unit {
    font-size: 12px;
    color: #7b8aa5;
}
.b8-buy {
    display: block;
    text-align: center;
    height: 40px;
    line-height: 40px;
    border-radius: 4px;
    font-size: 14px;
    text-decoration: none;
    background: linear-gradient(90deg, #0a7cff, #2b9bff);
    color: #fff;
    transition: all .2s;
}
.b8-buy:hover {
    filter: brightness(1.08);
    color: #fff;
}
.b8-discount {
    display: inline-block;
    font-size: 12px;
    color: #ff4d2e;
    border: 1px solid #ffcbbd;
    background: #fff3ef;
    border-radius: 3px;
    padding: 1px 6px;
    margin-left: 6px;
    vertical-align: 2px;
}

/* ---------- 产品分类导航 ---------- */
.b8-cat {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.b8-cat-col {
    background: #fff;
    border: 1px solid #e6ecf5;
    border-radius: 10px;
    overflow: hidden;
}
.b8-cat-hd {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 22px;
    background: linear-gradient(90deg, #f2f7ff, #ffffff);
    border-bottom: 1px solid #eef2f8;
}
.b8-cat-hd .b8-cat-ico {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #0a7cff;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: normal;
    font-weight: 700;
    font-size: 15px;
}
.b8-cat-col:nth-child(2) .b8-cat-hd .b8-cat-ico { background: #00b47d; }
.b8-cat-hd h3 {
    font-size: 17px;
    color: #1a2b45;
    margin: 0;
}
.b8-cat-bd {
    padding: 8px 14px 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 10px;
}
.b8-cat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 12px;
    border-radius: 6px;
    font-size: 14px;
    color: #455673;
    text-decoration: none;
    transition: background .15s;
}
.b8-cat-item:hover {
    background: #f2f7ff;
    color: #0a7cff;
}
.b8-cat-item em {
    font-style: normal;
    font-size: 12px;
    color: #ff4d2e;
}

/* ---------- 行业解决方案 ---------- */
.b8-industry {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}
.b8-ind-card {
    position: relative;
    background: #fff;
    border: 1px solid #e6ecf5;
    border-radius: 10px;
    padding: 26px 20px;
    text-decoration: none;
    transition: all .25s;
    overflow: hidden;
}
.b8-ind-card::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #0a7cff, #2b9bff);
    transform: scaleX(0);
    transition: transform .25s;
}
.b8-ind-card:hover {
    border-color: #bcd9ff;
    box-shadow: 0 10px 26px rgba(10, 124, 255, .12);
    transform: translateY(-4px);
}
.b8-ind-card:hover::after {
    transform: scaleX(1);
}
.b8-ind-card .b8-ind-ico {
    font-size: 28px;
    line-height: 1;
    margin-bottom: 12px;
}
.b8-ind-card h4 {
    font-size: 16px;
    color: #1a2b45;
    margin: 0 0 8px;
}
.b8-ind-card p {
    font-size: 12px;
    color: #7b8aa5;
    line-height: 1.7;
    margin: 0;
    min-height: 60px;
}

/* ---------- 数据大屏 ---------- */
.b8-stats {
    position: relative;
    background: linear-gradient(120deg, #04214f, #0653c4 60%, #0a7cff);
    color: #fff;
    overflow: hidden;
}
.b8-stats::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 255, 255, .08) 0, transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(255, 255, 255, .08) 0, transparent 40%);
}
.b8-stats .b8-wrap {
    position: relative;
    z-index: 2;
    padding: 60px 0;
    text-align: center;
}
.b8-stats h2 {
    font-size: 28px;
    margin: 0 0 8px;
    font-weight: 600;
}
.b8-stats .b8-stats-sub {
    font-size: 14px;
    opacity: .8;
    margin: 0 0 40px;
}
.b8-stats-num {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.b8-stat {
    padding: 26px 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .18);
}
.b8-stat .b8-num {
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
}
.b8-stat .b8-num i {
    font-style: normal;
    font-size: 20px;
    margin-left: 2px;
}
.b8-stat p {
    margin: 10px 0 0;
    font-size: 14px;
    opacity: .85;
}
.b8-stats-map {
    margin-top: 34px;
    font-size: 14px;
    opacity: .85;
    line-height: 1.9;
}
.b8-stats-map b {
    font-weight: 600;
    margin-right: 10px;
}
.b8-stats-map span {
    display: inline-block;
    margin: 0 8px 6px 0;
    padding: 3px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .12);
}

/* ---------- 合规认证 ---------- */
.b8-cert {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}
.b8-cert-item {
    background: #fff;
    border: 1px solid #e6ecf5;
    border-radius: 10px;
    padding: 22px 10px;
    text-align: center;
    transition: all .25s;
}
.b8-cert-item:hover {
    border-color: #0a7cff;
    box-shadow: 0 8px 22px rgba(10, 124, 255, .12);
}
.b8-cert-item .b8-cert-shield {
    width: 44px;
    height: 50px;
    margin: 0 auto 10px;
    border-radius: 4px 4px 10px 10px;
    background: #e8f2ff;
    border: 1px solid #bcd9ff;
    position: relative;
}
.b8-cert-item .b8-cert-shield::after {
    content: "✔";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0a7cff;
    font-size: 18px;
}
.b8-cert-item p {
    font-size: 12px;
    color: #455673;
    margin: 0;
    line-height: 1.5;
}

/* ---------- 新闻资讯 ---------- */
.b8-news {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.b8-news-col {
    background: #fff;
    border: 1px solid #e6ecf5;
    border-radius: 10px;
    padding: 20px;
    transition: all .25s;
}
.b8-news-col:hover {
    border-color: #bcd9ff;
    box-shadow: 0 8px 22px rgba(10, 124, 255, .1);
}
.b8-news-col h3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    color: #1a2b45;
    margin: 0 0 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eef2f8;
}
.b8-news-col h3 a {
    font-size: 12px;
    color: #0a7cff;
    text-decoration: none;
    font-weight: 400;
}
.b8-news-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.b8-news-col li {
    padding: 8px 0;
}
.b8-news-col li a {
    display: block;
    font-size: 13px;
    color: #455673;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color .15s;
}
.b8-news-col li a:hover {
    color: #0a7cff;
}
.b8-news-col li a i {
    font-style: normal;
    color: #0a7cff;
    margin-right: 6px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
    .b8-grid { grid-template-columns: repeat(2, 1fr); }
    .b8-industry { grid-template-columns: repeat(3, 1fr); }
    .b8-cert { grid-template-columns: repeat(3, 1fr); }
    .b8-news { grid-template-columns: repeat(2, 1fr); }
    .b8-stats-num { grid-template-columns: repeat(2, 1fr); }
    .b8-promo .b8-wrap { flex-wrap: wrap; }
    .b8-promo-item { min-width: 46%; flex: 1 1 46%; }
    .b8-quick .b8-wrap { flex-wrap: wrap; }
    .b8-quick-card { flex: 1 1 30%; }
}
@media (max-width: 760px) {
    .b8-swiper { min-height: 320px; }
    .b8-swiper-slide { min-height: 320px; }
    .b8-swiper-text h1 { font-size: 26px; }
    .b8-swiper-text p { font-size: 13px; }
    .b8-swiper-arrow { width: 34px; height: 54px; line-height: 54px; font-size: 18px; }
    .b8-sec-head h2 { font-size: 22px; }
    .b8-grid { grid-template-columns: 1fr; }
    .b8-cat { grid-template-columns: 1fr; }
    .b8-industry { grid-template-columns: repeat(2, 1fr); }
    .b8-cert { grid-template-columns: repeat(2, 1fr); }
    .b8-news { grid-template-columns: 1fr; }
    .b8-stats-num { grid-template-columns: 1fr 1fr; }
    .b8-promo-item { flex: 1 1 100%; }
    .b8-quick-card { flex: 1 1 100%; }
}
