
/* ================================================================
   index.css — 仅保留装饰性样式（颜色·阴影·hover·渐变·图标）
   布局由 Bootstrap 5 栅格系统统一管理，全浏览器兼容
   ================================================================ */

/* ========== Banner 纯文字版（单张） ========== */
.web_banner {
    height: 369px;
    clear: both;
    position: relative;
    overflow: hidden;
    background-color: #1b294f;
}
.banner-text-slide {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 30px 60px;
    background: linear-gradient(135deg, #1b294f 0%, #1e3a6e 50%, #1b294f 100%);
    box-sizing: border-box;
}
.banner-partners {
    font-size: 13px;
    color: rgba(147, 197, 253, 0.75);
    margin-bottom: 16px;
    line-height: 1.7;
}
.banner-title {
    font-size: 36px;
    font-weight: 900;
    color: #fff;
    letter-spacing: 2px;
    margin-bottom: 14px;
    line-height: 1.3;
    text-shadow: 0 2px 16px rgba(37, 99, 235, 0.4);
}
.banner-subtitle {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 22px;
}
.banner-cta {
    display: inline-block;
    padding: 12px 42px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #2563EB, #1d4ed8);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
}
.banner-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(37, 99, 235, 0.45);
    background: linear-gradient(135deg, #3b82f6, #2563EB);
}

/* Banner 响应式（Bootstrap md/lg 断点） */
@media (max-width: 991px) {
    .web_banner { height: auto; min-height: 260px; }
    .banner-text-slide { padding: 24px 32px; min-height: 260px; }
    .banner-title { font-size: 26px; }
    .banner-partners { font-size: 11px; }
    .banner-subtitle { font-size: 13px; }
}
@media (max-width: 767px) {
    .web_banner { min-height: 200px; }
    .banner-text-slide { padding: 16px 16px; min-height: 200px; }
    .banner-title { font-size: 18px; letter-spacing: 0.5px; }
    .banner-partners { font-size: 9px; line-height: 1.4; margin-bottom: 8px; }
    .banner-subtitle { font-size: 11px; line-height: 1.5; margin-bottom: 12px; }
    .banner-cta { padding: 8px 24px; font-size: 13px; }
}

/* ========== 推荐产品卡片 ========== */
.web_rec_prod .product-card {
    cursor: pointer;
    border: 1px solid #eeeeee;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}
/* 卡片内子元素 z-index */
.web_rec_prod .product-card > * {
    position: relative;
    z-index: 1;
}
/* 鼠标光晕 */
.web_rec_prod .product-card::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37,99,235,0.08) 0%, transparent 70%);
    left: var(--mx, 50%);
    top: var(--my, 50%);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 0;
}
.web_rec_prod .product-card:hover::before { opacity: 1; }

/* 光泽扫过 */
.web_rec_prod .product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    transition: left 0.7s ease;
    z-index: 1;
    pointer-events: none;
}
.web_rec_prod .product-card:hover::after { left: 120%; }

/* 标题 */
.web_rec_prod .product-card h3 {
    font-weight: bold;
    font-size: 26px;
    text-align: center;
    margin-top: 16px;
    color: #333;
}
.web_rec_prod .product-card .remark {
    color: #333;
    text-align: center;
    margin-top: 10px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eeeeee;
}
.web_rec_prod .product-card .conf {
    margin-top: 20px;
    text-align: center;
}
.web_rec_prod .product-card .conf span {
    display: inline-block;
    font-size: 13px;
    width: 30%;
}
.web_rec_prod .product-card .conf .conf_title { color: #999999; }
.web_rec_prod .product-card .conf i {
    font-size: 25px;
    font-weight: bold;
    font-style: normal;
}
.web_rec_prod .product-card .conf_view {
    margin-top: 20px;
    padding-left: 20px;
    color: #333333;
}
.web_rec_prod .product-card .conf_view p {
    line-height: 35px;
    height: 35px;
}
.web_rec_prod .product-card .conf_view p span {
    display: inline-block;
    width: 100px;
    text-align: right;
    color: #666;
}
.web_rec_prod .product-card .price {
    color: #2563EB;
    text-align: center;
    margin-top: 40px;
}
.web_rec_prod .product-card .price span {
    font-weight: bold;
    font-size: 35px;
    transition: all 0.3s ease;
}
.web_rec_prod .product-card .buy {
    margin-top: 30px;
    text-align: center;
    margin-bottom: 30px;
}
.web_rec_prod .product-card .buy a {
    color: #333;
    font-size: 16px;
    background-color: #f9f9f9;
    display: inline-block;
    width: 250px;
    max-width: 90%;
    height: 40px;
    line-height: 40px;
    border: 1px solid #eeeeee;
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Hover 效果 */
.web_rec_prod .product-card:hover {
    border-color: #93C5FD;
    box-shadow: 0 4px 24px rgba(37,99,235,0.12);
    transform: translateY(-6px);
}
.web_rec_prod .product-card:hover h3 { color: #2563EB; }
.web_rec_prod .product-card:hover .conf i { color: #2563EB; }
.web_rec_prod .product-card:hover .price span {
    transform: scale(1.08);
    text-shadow: 0 2px 12px rgba(37,99,235,0.3);
}
.web_rec_prod .product-card:hover .buy a {
    color: #fff;
    background-color: #2563EB;
    border-color: #2563EB;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(37,99,235,0.25);
}

/* ========== 主机优势 ========== */
.web_advantage h1, .web_advantage h3 {
    font-weight: bold;
    font-size: 25px;
    text-align: center;
}
.web_advantage .box_line {
    border-bottom: 1px solid #eeeeee;
    margin: 0 80px;
}
/* 分割线竖条 */
.web_advantage .line-item {
    text-align: center;
}
.web_advantage .line-item i {
    display: inline-block;
    height: 50px;
    border-left: 1px solid #eeeeee;
}
/* 优势卡片 */
.web_advantage .adv-card {
    border: none;
    background-color: #E8EBF0;
    border-radius: 12px;
    height: 100%;
}
.web_advantage .adv-card .ionc {
    text-align: center;
    margin-top: 20px;
}
.web_advantage .adv-card .ionc i {
    display: inline-block;
    font-style: normal;
    width: 64px;
    height: 64px;
    line-height: 64px;
    font-size: 30px;
    font-weight: bold;
    color: #556677;
    background: #E8EBF0;
    border-radius: 16px;
    box-shadow: 6px 6px 12px rgba(165,169,176,0.6), -6px -6px 12px rgba(255,255,255,0.8);
    transition: all 0.3s ease;
}
.web_advantage .adv-card .info {
    margin-top: 20px;
    margin-left: 30px;
    margin-right: 30px;
    line-height: 30px;
    margin-bottom: 20px;
    color: #666;
    transition: color 0.4s;
}
.web_advantage .adv-card:hover .ionc i {
    box-shadow: inset 4px 4px 8px rgba(165,169,176,0.5), inset -4px -4px 8px rgba(255,255,255,0.7);
    color: #2563EB;
}
.web_advantage .adv-card:hover .info { color: #2563EB; }

/* ========== 远控方式 ========== */
.web_manager h1, .web_manager h3 {
    font-weight: bold;
    font-size: 25px;
    text-align: center;
}
.web_manager .box_line {
    border-bottom: 1px solid #eeeeee;
    margin: 0 80px;
}
.web_manager .mgr-card {
    border: none;
    background-color: #E8EBF0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}
.web_manager .mgr-card .ionic {
    text-align: center;
    margin-top: 24px;
    height: 80px;
    line-height: 80px;
}
.web_manager .mgr-card .ionic i {
    display: inline-block;
    border-radius: 16px;
    box-shadow: 6px 6px 12px rgba(165,169,176,0.6), -6px -6px 12px rgba(255,255,255,0.8);
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
/* 图标雪碧图 */
.web_manager .mgr-card .inoc1 i { width: 72px; height: 70px; background: url(../images/manger_ionc.png) no-repeat; background-position: 0 0; }
.web_manager .mgr-card .inoc2 i { width: 59px; height: 70px; background: url(../images/manger_ionc.png) no-repeat; background-position: -72px 0; }
.web_manager .mgr-card .inoc3 i { width: 59px; height: 70px; background: url(../images/manger_ionc.png) no-repeat; background-position: -132px 0; }
.web_manager .mgr-card .inoc4 i { width: 72px; height: 70px; background: url(../images/manger_ionc.png) no-repeat; background-position: -192px 0; }
.web_manager .mgr-card .info {
    margin-top: 16px;
    margin-left: 30px;
    margin-right: 30px;
    line-height: 28px;
    color: #666;
    transition: color 0.3s ease;
}
.web_manager .mgr-card .more {
    margin-top: 16px;
    margin-bottom: 24px;
    text-align: center;
}
.web_manager .mgr-card .more a {
    display: inline-block;
    padding: 6px 20px;
    border-radius: 6px;
    background: #fff;
    color: #2563EB;
    font-size: 13px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}
.web_manager .mgr-card .more a:hover {
    background: #2563EB;
    color: #fff;
    box-shadow: 0 4px 14px rgba(37,99,235,0.3);
    transform: translateY(-2px);
}
.web_manager .mgr-card:hover {
    box-shadow: 0 8px 28px rgba(37,99,235,0.12);
}
.web_manager .mgr-card:hover .ionic i {
    box-shadow: inset 4px 4px 8px rgba(165,169,176,0.5), inset -4px -4px 8px rgba(255,255,255,0.7);
    transform: scale(1.1) translateY(-4px);
}
.web_manager .mgr-card:hover .info { color: #2563EB; }

/* ========== 新闻 / 帮助中心 ========== */
.web_news h1 {
    font-weight: bold;
    font-size: 25px;
    text-align: center;
}
.web_news .news-card {
    background-color: #fff;
    border: 1px solid #eeeeee;
    padding-bottom: 10px;
    height: 100%;
}
.web_news .news-card .title {
    margin-top: 10px;
    border-bottom: 1px solid #eeeeee;
    margin-left: 20px;
    margin-right: 20px;
    padding-bottom: 4px;
}
.web_news .news-card .title span {
    font-size: 14px;
    font-weight: bold;
}
.web_news .news-card .title a {
    float: right;
    font-style: normal;
    color: #666;
    font-size: 13px;
}
.web_news .news-card .title a:hover {
    color: #2563EB;
    text-decoration: underline;
}
.web_news .news-card .list {
    margin-top: 10px;
    margin-left: 25px;
    margin-right: 20px;
}
.web_news .news-card .list a {
    display: block;
    height: 40px;
    line-height: 40px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.web_news .news-card .list a:hover {
    color: #2563EB;
    text-decoration: underline;
}

/* ========== Bootstrap 兼容 ========== */
/* 在 Bootstrap 容器内禁用 float */
.container .left, .container .right,
.row .left, .row .right {
    float: none !important;
}
/* section 间距（Bootstrap py-* 已覆盖，此为兜底） */
.web_rec_prod, .web_advantage, .web_manager, .web_news {
    clear: both;
}
/* 分割线在小屏收缩 */
@media (max-width: 767px) {
    .web_advantage .box_line,
    .web_manager .box_line {
        margin: 0 16px;
    }
    .web_advantage .adv-card .info {
        margin-left: 12px;
        margin-right: 12px;
        font-size: 13px;
        line-height: 24px;
    }
    .web_manager .mgr-card .info {
        margin-left: 12px;
        margin-right: 12px;
        font-size: 13px;
        line-height: 24px;
    }
    .web_news .news-card .title { margin-left: 12px; margin-right: 12px; }
    .web_news .news-card .list { margin-left: 16px; margin-right: 12px; }
    .web_news .news-card .list a {
        height: auto;
        min-height: 36px;
        line-height: 1.5;
        padding: 8px 0;
        white-space: normal;
    }
    .web_news h1, .web_advantage h3, .web_manager h3 { font-size: 20px; }
    .web_advantage .line { display: none; }
    .web_rec_prod .product-card h3 { font-size: 20px; }
    .web_rec_prod .product-card .price span { font-size: 28px; }
    .web_rec_prod .product-card .conf_view p span { width: 80px; }
}
