/* ==================================================================
   呆呆鱼号卡 - 站内自定义样式表（custom.css）
   ------------------------------------------------------------------
   说明：
   1. 本文件由原先写在 index.html 里的 <style> 抽取而成，样式顺序与
      原有层级完全一致，仅为「可维护」而拆分，未改动任何视觉细节。
   2. 依赖关系：必须在 bootstrap.min.css / style.css / responsive.css
      之后引入，才能覆盖模板默认样式（多数规则带 !important）。
   3. 命名沿用模板的类名（feature-card / premium-card / review-* 等），
      新增样式统一放在对应版块注释的下方。
   4. 断点：移动端 767px 及以下、平板 768~991px、桌面 992px 及以上。
   ================================================================== */

/* ================================================================== */
/* 一、基础样式：logo 尺寸、导航文字与激活色 */
/* ------------------------------------------------------------------ */
.preloader { display: none; }
.navbar-brand img.logo { height: 58px; }
.navbar-nav .nav-link { white-space: nowrap; padding: 8px 12px; }
.navbar-brand { padding-left: 15px; }

.navbar-light .navbar-nav .nav-link { color: #666 !important; transition: color 0.3s; }
.navbar-light .navbar-nav .nav-link:hover, .navbar-light .navbar-nav .nav-link.active { color: #007bff !important; }

@media (min-width:768px) { .navbar-nav.mx-auto { margin-left: 120px !important; } }

/* ================================================================== */
/* 二、移动端抽屉菜单 + 移动端整体适配 */
/* ------------------------------------------------------------------ */
.mobile-menu-container { display: none; }
@media (max-width:767px) {
    .mobile-menu-container { display: block; position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; transition: all .3s ease; background: transparent; }
    .mobile-menu-container.scrolled { background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.1); }
    .mobile-header { display: flex; justify-content: space-between; align-items: center; padding: 10px 15px; transition: all .3s ease; }
    .mobile-menu-container.scrolled .mobile-header { padding: 8px 15px; }
    .mobile-logo img { height: 35px; transition: all .3s ease; }
    .mobile-menu-container.scrolled .mobile-logo img { height: 32px; }
    .menu-toggle { width: 30px; height: 30px; position: relative; cursor: pointer; display: flex; flex-direction: column; justify-content: center; align-items: center; }
    .menu-toggle span { display: block; width: 24px; height: 2px; background-color: #fff; margin: 3px 0; transition: all .3s ease; }
    .mobile-menu-container.scrolled .menu-toggle span { background-color: #007bff; }
    .menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
    .menu-toggle.active span:nth-child(2) { opacity: 0; }
    .menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(7px,-6px); }
    .mobile-menu-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,.5); opacity: 0; visibility: hidden; transition: all .3s ease; z-index: 999; }
    .mobile-menu-overlay.active { opacity: 1; visibility: visible; }
    .mobile-menu { position: fixed; top: 0; right: -280px; width: 280px; height: 100%; background: #fff; box-shadow: -2px 0 10px rgba(0,0,0,.1); transition: right .3s ease; z-index: 1000; overflow-y: auto; }
    .mobile-menu.active { right: 0; }
    .mobile-menu-header { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; border-bottom: 1px solid #eee; }
    .mobile-menu-logo img { height: 35px; }
    .mobile-menu-close { font-size: 24px; color: #666; cursor: pointer; background: none; border: none; }
    .mobile-nav-new { padding: 20px 0; }
    .mobile-nav-new ul { list-style: none; }
    .mobile-nav-new li { border-bottom: 1px solid #f0f0f0; }
    .mobile-nav-new li:last-child { border-bottom: none; }
    .mobile-nav-new a { display: block; padding: 15px 20px; color: #333; text-decoration: none; font-size: 16px; font-weight: 500; transition: all .3s ease; position: relative; }
    .mobile-nav-new a:hover, .mobile-nav-new a.active { background-color: #f8f9fa; color: #007bff; }
    .mobile-nav-new a.active::after { content: ''; position: absolute; left: 0; top: 0; height: 100%; width: 4px; background-color: #007bff; }
    .mobile-menu-footer { padding: 20px; border-top: 1px solid #eee; text-align: center; }
    .login-btn { display: inline-block; background: #007bff; color: #fff; padding: 10px 20px; border-radius: 5px; text-decoration: none; font-weight: 500; transition: background .3s ease; }
    .login-btn:hover { background: #0056b3; }
    .mobile-brand img.logo { width: 40% !important; max-width: 150px !important; }
    .footer-logo img { max-width: 40px !important; }
    .footer-logo { margin-top: -20px; }
    .feature-card, .service-card, .blog-card, .app-download-card, .doc-card { transform: scale(.85); transform-origin: top center; margin-bottom: 5px; }
    .row .col-md-6.col-lg-3.pb-30, .row .col-md-6.col-lg-4.pb-30 { padding-left: 3px; padding-right: 3px; padding-bottom: 5px; }
    .feature-section, .service-section, .app-download-section, .doc-section, .news-section, .about-section { padding-top: 30px !important; padding-bottom: 30px !important; }
    .section-title { margin-bottom: 15px !important; }
    .app-download-section, .doc-section, .news-section { padding-top: 40px !important; padding-bottom: 40px !important; }
    .feature-card { display: flex; flex-direction: column; text-align: left; padding: 15px 10px; }
    .feature-card-header { display: flex; flex-direction: column; align-items: flex-start; margin-bottom: 10px; }
    .feature-card-header span { font-size: .9rem; margin-top: 10px; }
    .feature-card-body { flex-grow: 1; }
    .feature-card-body p { margin-bottom: 0; text-align: left; }
    .service-col { -ms-flex: 0 0 33.333333%; flex: 0 0 33.333333%; max-width: 33.333333%; }
    .service-card h3 { font-size: 1rem; }
    .service-card p { font-size: .85rem; }
    .app-download-card { padding: 20px 15px; display: flex; flex-direction: column; align-items: center; text-align: center; min-height: 280px; }
    .app-download-card h3 { font-size: 1rem; white-space: normal; word-break: break-all; margin-bottom: 10px; }
    .app-download-btn { font-size: .9rem; padding: 8px 16px; white-space: nowrap; width: 100%; max-width: 160px; text-align: center; }
    .about-section .row { flex-direction: column; }
    .about-section-item.about-item-image { display: none; }
    .footer-upper .row { flex-direction: column; }
    .footer-content-list { margin-bottom: 25px; }
    .footer-logo { text-align: center; }

    .footer-links-row { display: flex; justify-content: space-between; margin-top: 20px; align-items: flex-start; gap: 10px; }
    .footer-links-row .footer-content-list { width: 48%; margin-bottom: 0; display: flex; flex-direction: column; }
    .footer-links-row .footer-content-title h3 { font-size: 16px; margin-bottom: 12px; font-weight: 700; color: #333; height: 24px; line-height: 24px; margin-top: 0; }

    .footer-links-row .footer-list { padding-left: 0; margin: 0; width: 100%; }
    .footer-links-row .footer-list li {
        display: flex;
        align-items: center;
        margin-bottom: 12px;
        min-height: 22px;
        line-height: 22px;
        font-size: 14px;
        padding-left: 0;
    }
    .footer-links-row .footer-list li a {
        color: #888 !important;
        text-decoration: none;
        font-size: 14px;
        line-height: 22px;
        display: inline-block;
    }
    .footer-links-row .footer-list li::before {
        content: '' !important;
        position: relative !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
        margin-right: 8px;
        width: 6px;
        height: 6px;
        background-color: #007bff;
        border-radius: 50%;
        display: inline-block !important;
        flex-shrink: 0;
    }
    .footer-links-row .footer-address-item {
        margin-bottom: 12px;
        min-height: 22px;
        line-height: 22px;
        display: flex;
        align-items: center;
        font-size: 14px;
        padding-left: 0;
    }
    .footer-links-row .footer-address-icon {
        margin-right: 8px;
        font-size: 15px;
        width: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 22px;
        margin-top: 0;
        flex-shrink: 0;
    }
    .footer-links-row .footer-address-text p {
        margin: 0;
        font-size: 14px;
        line-height: 22px;
        white-space: normal;
        color: #888;
    }

    .header .header-content h1 { font-size: 1.44rem !important; }
    .header .header-content h2 { font-size: 1.12rem !important; }
    .header .header-content p { font-size: .8rem !important; }
    .app-download-col { -ms-flex: 0 0 50%; flex: 0 0 50%; max-width: 50%; }
    .blog-card-text .blog-category { font-size: .75rem; }
    .product-col { -ms-flex: 0 0 33.333333%; flex: 0 0 33.333333%; max-width: 33.333333%; }
    .more-products-link { margin-top: 0; }
    .partner-stats { margin-top: 15px; }
    .stats-container { max-width: 100%; padding: 0 10px; }
    .stat-item { padding: 10px 5px; }
    .stat-label { font-size: 12px; margin-bottom: 5px; }
    .stat-number { font-size: 18px; }
    .footer-wechat { text-align: left; margin-left: 5px; }
    .footer-copyright-text p { color: #000; word-break: break-all; }
    .footer-copyright-text a { color: #000 !important; }
    .copy-toast { padding: 8px 16px !important; font-size: 13px !important; border-radius: 20px !important; }
    .copy-toast .toast-icon { width: 14px !important; height: 14px !important; margin-right: 6px !important; }

    .scroll-top-inner { width: 36px !important; height: 36px !important; line-height: 36px !important; font-size: 16px !important; }
    .scroll-top { bottom: 150px !important; right: 15px !important; }

    .header-content .button-group .main-btn {
        padding: 8px 20px !important;
        font-size: 14px !important;
        border-radius: 20px !important;
    }
}
.feature-card-header span { font-size: 1.1rem; white-space: nowrap; }
.footer { background: #fff !important; }
.footer-lower { background: #f8f9fa !important; }
.doc-card, .app-download-card { background: #fff; border-radius: 10px; padding: 30px; text-align: center; box-shadow: 0 5px 15px rgba(0,0,0,.05); height: 100%; transition: transform .3s ease; }
.doc-card:hover, .app-download-card:hover { transform: translateY(-5px); }
.doc-icon, .app-icon { font-size: 60px; color: #007bff; margin-bottom: 20px; }
.doc-btn, .app-download-btn { display: inline-block; background: #007bff; color: #fff; padding: 10px 20px; border-radius: 5px; text-decoration: none; margin-top: 15px; transition: background .3s ease; }
.doc-btn:hover, .app-download-btn:hover { background: #0056b3; color: #fff; }
@media (max-width:767px) {
    .service-carousel-container { overflow-x: auto; white-space: nowrap; padding-bottom: 15px; }
    .service-carousel { display: inline-flex; width: auto; }
    .service-carousel-item { display: inline-block; width: 250px; margin-right: 10px; white-space: normal; vertical-align: top; }
    .service-carousel-item:last-child { margin-right: 0; }
    .service-carousel-item .service-card { height: 100%; margin-bottom: 0; }
}
.feature-card, .service-card, .blog-card, .app-download-card, .doc-card { height: 100%; display: flex; flex-direction: column; }
.feature-card-body, .service-card-body, .blog-card-text { flex-grow: 1; }
.blog-card-text h3 a { text-decoration: none; font-size: .92rem; line-height: 1.2; white-space: normal; word-wrap: break-word; display: block; color: #666; }
@media (min-width:768px) {
    .footer-content-item .footer-logo { margin-top: 0; }
    .footer-content-item .footer-wechat { margin-top: 20px; margin-left: 0; }
    .blog-card { transform: scale(.9); transform-origin: center; }
    .product-col { padding-bottom: 15px !important; }
    .footer-wechat { text-align: center; }
    .blog-card-text h3 a { font-size: .92rem; color: #666; }
    .footer-logo img { max-width: 11% !important; display: block; margin: 0 auto; }
    .footer-upper .col-lg-4:first-child .footer-content-item { text-align: center; }
    .footer-upper .col-lg-4:first-child .footer-wechat { text-align: center; margin-left: 0; }
    .footer-upper .col-lg-4:first-child .footer-wechat img { display: inline-block; }

    .desk-pad-left-70 {
        padding-left: 15px;
        padding-top: 20px;
    }
    .footer-content-title h3 {
        font-size: 18px;
        font-weight: 700;
        color: #333;
        margin-bottom: 20px;
        margin-top: 0;
    }
}

/* ================================================================== */
/* 三、首页主视觉（Hero）文案层级 */
/* ------------------------------------------------------------------ */
.header-content h1 { font-size: 2.5rem; margin-bottom: 15px; }
.header-content h2 { font-size: 1.8rem; color: #666; margin-bottom: 20px; }
.header-content p { font-size: 1.2rem; line-height: 1.6; }

/* ================================================================== */
/* 四、资讯卡片（模板遗留模块，保留样式以防回退） */
/* ------------------------------------------------------------------ */
.blog-card-text h3 { margin-bottom: 10px; height: 2.4em; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.app-download-section { background: #f8f9fa; padding: 80px 0; }
@media (max-width:767px) { .app-download-section { padding: 50px 0; } }
.app-download-btn { white-space: nowrap; }
@media (max-width:767px) {
    .product-carousel-container { overflow-x: auto; white-space: nowrap; padding-bottom: 15px; }
    .product-carousel { display: inline-flex; width: auto; }
    .product-carousel-item { display: inline-block; width: 220px; margin-right: 8px; white-space: normal; vertical-align: top; }
    .product-carousel-item:last-child { margin-right: 0; }
    .product-carousel-item .blog-card { height: 100%; margin-bottom: 0; transform: scale(.9); transform-origin: center; }
}

/* ================================================================== */
/* 五、页脚：公众号二维码、版权与备案 */
/* ------------------------------------------------------------------ */
.footer-wechat { margin-top: 20px; }
.footer-wechat p { margin-top: 10px; margin-bottom: 0; }
.footer-wechat img { max-width: 100px; transition: all .3s ease; box-shadow: 0 4px 8px rgba(0,0,0,.1); border-radius: 8px; }
.footer-wechat img:hover { transform: translateY(-5px); box-shadow: 0 8px 16px rgba(0,0,0,.15); }
.about-section-item.about-item-image img { max-width: 80%; height: auto; pointer-events: none; }
.footer-copyright-text { text-align: center; padding: 10px 0; }
.footer-copyright-text a { color: #000 !important; text-decoration: none; }
.footer-copyright-text a:hover { text-decoration: underline; }
.blog-card-image a { cursor: zoom-in; }

/* ================================================================== */
/* 六、更多套餐按钮 */
/* ------------------------------------------------------------------ */
.more-products-link { text-align: center; margin-top: 40px; }
.more-products-btn { display: inline-block; background: #fff; color: #007bff; border: 1px solid #007bff; padding: 12px 30px; border-radius: 5px; text-decoration: none; font-weight: 700; transition: background .3s ease; }
.more-products-btn:hover { background: #f0f7ff; color: #0056b3; border-color: #0056b3; }
.footer-address-item { display: flex; align-items: flex-start; margin-bottom: 15px; }
.footer-address-icon { margin-right: 10px; color: #007bff; font-size: 18px; min-width: 20px; display: flex; align-items: flex-start; justify-content: center; margin-top: 3px; }
.footer-address-text h4 { margin-bottom: 5px; font-size: 16px; }
.footer-address-text p { margin: 0; white-space: nowrap; color: #888; }
@media (min-width:992px) { .product-col-lg { -ms-flex: 0 0 20%; flex: 0 0 20%; max-width: 20%; } }
.partner-stats { margin-top: 20px; padding-top: 0; }
.stats-container { display: flex; justify-content: space-between; max-width: 600px; margin: 0 auto; }
.stat-item { text-align: center; flex: 1; padding: 15px 10px; border-radius: 10px; transition: all .3s ease; cursor: pointer; }
.stat-item:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,.1); }
.stat-label { font-size: 14px; color: #666; margin-bottom: 8px; transition: color .3s ease; }
.stat-item:hover .stat-label { color: #007bff; font-weight: 700; }
.stat-number { font-size: 24px; font-weight: 700; color: #007bff; transition: all .3s ease; }
.stat-item:hover .stat-number { color: #0056b3; transform: scale(1.1); }
.footer-shapes { display: none; }
.footer-logo img { transition: all .3s ease; }
.footer-logo img:hover { transform: translateY(-5px); }
.contact-copy { cursor: pointer; transition: color .3s ease; }
.contact-copy:hover { color: #0056b3; }

@media (min-width:768px) { .desk-pad-left-70 { padding-left: 15px; } }

@media (max-width:767px) {
    .header-image-shape { animation: fadeInUpSoft 1.2s ease-out forwards; }
    @keyframes fadeInUpSoft { 0% { opacity: 0; transform: translateY(15px); } 100% { opacity: 1; transform: translateY(0); } }
}


/* ================================================================== */
/* 七、在线客服悬浮按钮 */
/* ------------------------------------------------------------------ */
.kefu-btn { position: fixed; right: 20px; bottom: 100px; width: 56px; height: 56px; background-color: #fff; border-radius: 50%; box-shadow: 0 4px 12px rgba(0,0,0,.1); display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 1001; transition: all .3s ease; text-decoration: none; color: #007bff; border: none; outline: none; }
.kefu-btn:hover { background-color: #f8f9fa; transform: scale(1.05); box-shadow: 0 6px 16px rgba(0,0,0,.15); }
.kefu-btn i { font-size: 28px; line-height: 1; color: #007bff; }
@media (max-width:767px) { .kefu-btn { width: 48px; height: 48px; bottom: 85px; right: 15px; } .kefu-btn i { font-size: 24px; } }


/* ================================================================== */
/* 八、弹窗：联系二维码 / 产品大图 */
/* ------------------------------------------------------------------ */
.ddywx-popup-content { text-align: center; background: #fff; padding: 30px 24px 22px; border-radius: 14px; max-width: 720px; margin: 0 auto; position: relative; }
.ddywx-popup-content .popup-title { font-size: 18px; font-weight: 700; color: #333; margin-bottom: 24px; letter-spacing: 0.5px; }
.ddywx-popup-content .qr-three-col { display: flex; justify-content: center; align-items: flex-start; gap: 26px; flex-wrap: nowrap; }
.ddywx-popup-content .qr-col { flex: 1; max-width: 180px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.ddywx-popup-content .qr-col img { width: 100%; max-width: 160px; height: auto; border-radius: 10px; box-shadow: 0 4px 14px rgba(0,0,0,.1); margin-bottom: 10px; display: block; transition: transform .3s ease, box-shadow .3s ease; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.ddywx-popup-content .qr-col img:hover { transform: translateY(-4px); box-shadow: 0 8px 22px rgba(0,0,0,.16); }
.ddywx-popup-content .qr-col img:active { transform: translateY(-2px) scale(0.98); }
.ddywx-popup-content .qr-col .qr-label { font-size: 13px; font-weight: 600; color: #444; margin-bottom: 3px; white-space: nowrap; }
.ddywx-popup-content .qr-col .qr-sub { font-size: 11px; color: #999; white-space: nowrap; }
.ddywx-popup-content .popup-contact-line { margin-top: 22px; padding-top: 16px; border-top: 1px solid #f0f0f0; font-size: 14px; color: #555; display: flex; justify-content: center; align-items: center; gap: 20px; flex-wrap: wrap; }
.ddywx-popup-content .popup-contact-line i { color: #007bff; font-size: 18px; margin-right: 2px; }
.ddywx-popup-content .popup-contact-line .contact-copy { cursor: pointer; transition: color .3s; font-weight: 500; }
.ddywx-popup-content .popup-contact-line .contact-copy:hover { color: #0056b3; }
.mfp-container .mfp-close, .mfp-wrap .mfp-close { display: none !important; }
.popup-close-btn { position: absolute; top: 10px; right: 14px; width: 36px; height: 36px; background: #f5f5f5; border: none; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 20px; color: #555; line-height: 1; z-index: 10; transition: all .25s ease; outline: none; -webkit-tap-highlight-color: transparent; }
.popup-close-btn:hover { background: #e0e0e0; color: #111; transform: rotate(90deg); }
.popup-close-btn:active { transform: rotate(90deg) scale(0.9); background: #d0d0d0; }
@media (max-width:600px) { .popup-close-btn { top: 6px; right: 8px; width: 32px; height: 32px; font-size: 18px; } }
@media (max-width:600px) {
    .ddywx-popup-content { padding: 20px 10px 14px; border-radius: 10px; }
    .ddywx-popup-content .popup-title { font-size: 16px; margin-bottom: 16px; }
    .ddywx-popup-content .qr-three-col { gap: 10px; }
    .ddywx-popup-content .qr-col { max-width: 100px; }
    .ddywx-popup-content .qr-col img { max-width: 100px; border-radius: 8px; }
    .ddywx-popup-content .qr-col .qr-label { font-size: 11px; }
    .ddywx-popup-content .qr-col .qr-sub { font-size: 10px; }
    .ddywx-popup-content .popup-contact-line { font-size: 12px; gap: 10px; margin-top: 14px; padding-top: 12px; }
}
@media (max-width:380px) {
    .ddywx-popup-content .qr-three-col { gap: 6px; }
    .ddywx-popup-content .qr-col { max-width: 80px; }
    .ddywx-popup-content .qr-col img { max-width: 80px; }
    .ddywx-popup-content .qr-col .qr-label { font-size: 10px; }
    .ddywx-popup-content .qr-col .qr-sub { font-size: 9px; }
    .ddywx-popup-content .popup-contact-line { font-size: 11px; gap: 6px; }
}

/* ================================================================== */
/* 九、复制成功提示条 */
/* ------------------------------------------------------------------ */
.copy-toast { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); background: #333; color: #fff; padding: 12px 24px; border-radius: 24px; font-size: 15px; z-index: 10000; opacity: 0; pointer-events: none; transition: opacity 0.3s ease, top 0.3s ease; box-shadow: 0 4px 12px rgba(0,0,0,0.2); display: flex; align-items: center; justify-content: center; }
.copy-toast.show { opacity: 1; top: 30px; }
.toast-icon { width: 18px; height: 18px; margin-right: 8px; vertical-align: middle; display: inline-block; border-radius: 2px; }

.header-image-shape { text-align: center; pointer-events: none; }
.header-image-shape img { max-width: 55%; height: auto; display: block; margin-left: 25%; margin-right: auto; pointer-events: none; }
@media (max-width:767px) { .header-image-shape img { max-width: 85%; margin-left: auto; margin-right: auto; pointer-events: none; } }
@media (min-width:768px) and (max-width:991px) { .header-image-shape img { max-width: 50%; margin-left: auto; margin-right: 0; pointer-events: none; } }


/* ================================================================== */
/* 十、用户评价轮播 */
/* ------------------------------------------------------------------ */
.reviews-carousel-wrapper { width: 100%; margin: 30px auto 0; padding: 0; }
.reviews-carousel { position: relative; background: #f8f9fa; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,.06); padding: 12px; overflow: hidden; }
.review-item { background: #fff; border-radius: 16px; padding: 18px 20px; display: flex; align-items: flex-start; gap: 15px; transition: all .5s cubic-bezier(.4,0,.2,1); box-shadow: 0 4px 12px rgba(0,0,0,.04); border: 1px solid #f0f0f0; }
.review-current { opacity: 1; transform: translateY(0); animation: slideUpMove 0.9s ease; padding: 24px 20px; }
.review-next { opacity: 0.35; transform: scale(0.97) translateY(10px); margin-top: 8px; pointer-events: none; user-select: none; filter: blur(2px); max-height: 90px; overflow: hidden; padding: 12px 20px; align-items: center; transition: all 0.5s ease; }
.review-next .review-content { max-height: 2.4em; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
@keyframes slideUpMove { 0% { opacity: 0; transform: translateY(50px); } 100% { opacity: 1; transform: translateY(0); } }
/* 头像容器：圆形 + 底色（底色仅作图片加载前的占位，视觉尺寸不变） */
.review-avatar { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; font-weight: 700; flex-shrink: 0; background-color: #4e73df; box-shadow: 0 2px 6px rgba(0,0,0,.15); }
/* 头像图片：铺满圆形并通过 object-fit 保证不变形，不改变原有 44/36/60px 尺寸 */
.review-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; -webkit-user-drag: none; user-select: none; }
.review-body { flex: 1; min-width: 0; }
.review-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.review-user { font-weight: 600; color: #333; font-size: 15px; }
.review-stars { color: #ffc107; font-size: 15px; letter-spacing: 1px; white-space: nowrap; }
.review-time { margin-left: auto; color: #999; font-size: 12px; white-space: nowrap; }
.review-product { color: #007bff; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.review-content { color: #555; line-height: 1.6; font-size: 14px; }
@media (max-width:767px) {
    .reviews-carousel-wrapper { margin-top: 20px; padding: 0 10px; }
    .review-item { padding: 14px 12px; gap: 10px; }
    .review-current { padding: 18px 12px; }
    .review-avatar { width: 36px; height: 36px; font-size: 18px; }
    .review-user { font-size: 14px; }
    .review-stars { font-size: 13px; }
    .review-time { font-size: 11px; }
    .review-product { font-size: 13px; }
    .review-content { font-size: 13px; }
    .review-next { max-height: 70px; opacity: 0.25; filter: blur(2px); padding: 10px 12px; }
    .review-next .review-content { -webkit-line-clamp: 2; max-height: 2.2em; }
}
.review-next .review-content { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.review-current .review-content { display: block; overflow: visible; max-height: none; }
#user-reviews { scroll-margin-top: 80px; }
@media (max-width:767px) { #user-reviews { scroll-margin-top: 70px; } }

@media (min-width: 992px) {
    .review-item { padding: 28px 32px; gap: 20px; border-radius: 20px; }
    .review-current { padding: 32px 32px; }
    .review-next { padding: 18px 32px; max-height: 140px; filter: blur(2px); opacity: 0.35; transform: scale(0.97) translateY(10px); }
    .review-avatar { width: 60px; height: 60px; font-size: 26px; }
    .review-user { font-size: 18px; }
    .review-stars { font-size: 18px; }
    .review-time { font-size: 14px; }
    .review-product { font-size: 16px; margin-bottom: 8px; }
    .review-content { font-size: 16px; line-height: 1.8; }
    .review-next .review-content { font-size: 15px; line-height: 1.6; max-height: 3em; }
}

/* ================================================================== */
/* 十一、四大运营商合作卡片 */
/* ------------------------------------------------------------------ */
.cooperation-section { background: #f8f9fa; padding: 80px 0; }
.cooperation-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cooperation-card { background: #fff; border-radius: 12px; padding: 24px; display: flex; align-items: center; gap: 16px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); transition: all 0.3s ease; }
.cooperation-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.08); }
.cooperation-card img { width: 48px; height: 48px; object-fit: contain; flex-shrink: 0; }
.cooperation-info { text-align: left; }
.cooperation-info h3 { font-size: 18px; font-weight: 700; margin: 0 0 6px 0; color: #333; }
.cooperation-info p { font-size: 13px; color: #888; margin: 0; white-space: nowrap; }
@media (max-width: 767px) {
    .cooperation-section { padding: 30px 0; }
    .cooperation-grid { gap: 6px; }
    .cooperation-card { padding: 12px 8px; flex-direction: column; align-items: flex-start; text-align: left; border-radius: 8px; gap: 8px; }
    .cooperation-card img { width: 24px; height: 24px; }
    .cooperation-info { text-align: left; }
    .cooperation-info h3 { font-size: 13px; margin: 0 0 2px 0; }
    .cooperation-info p { font-size: 10px; white-space: normal; line-height: 1.2; transform: scale(0.9); transform-origin: left top; }
}
.section-title small, .section-title-lg small, .section-title-left small { color: #007bff !important; font-weight: 700; letter-spacing: 1px; font-size: 14px; display: block; margin-bottom: 10px; }


/* ================================================================== */
/* 十二、版块标题与描述文字 */
/* ------------------------------------------------------------------ */
.section-desc { font-size: 1.2rem; color: #888; margin-top: 10px; margin-bottom: 30px; line-height: 1.6; }
@media (max-width:767px) { .section-desc { font-size: 0.8rem !important; margin-bottom: 20px; margin-top: 5px; line-height: 1.6; } }
.section-title-left .section-desc { margin-left: 0; }

.cooperation-section .section-desc { font-size: 1.2rem; line-height: 1.6; }
@media (max-width: 767px) {
    .cooperation-section .section-desc { font-size: 0.8rem !important; line-height: 1.6; }
}


/* ================================================================== */
/* 十三、页脚链接列表与关于我们列表 */
/* ------------------------------------------------------------------ */
.footer-list { list-style: none !important; padding-left: 0; margin: 0; }
.footer-list li { margin-bottom: 12px; position: relative; padding-left: 14px; }
.footer-list li a { color: #888 !important; text-decoration: none; font-size: 14px; transition: color 0.3s; display: inline-block; }
.footer-list li a:hover { color: #007bff !important; }
.footer-list li::before { content: '' !important; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 6px; height: 6px; background-color: #007bff; border-radius: 50%; display: block !important; }
.footer-list li a::before, .footer-list li a::after { display: none !important; content: none !important; }
.about-content ul { list-style: none; padding-left: 0; margin-top: 20px; }
.about-content ul li { position: relative; padding-left: 26px; margin-bottom: 12px; color: #555; font-size: 15px; }
.about-content ul li::before { content: '\eab2'; font-family: 'icofont'; position: absolute; left: 0; top: 1px; color: #007bff; font-size: 16px; }
.service-card-thumb i { color: #007bff !important; }
.feature-card-thumb { background-color: rgba(0, 123, 255, 0.1) !important; color: #007bff !important; }
.feature-card-thumb i { color: #007bff !important; }

.scroll-top-inner { background-color: #fff !important; color: #007bff !important; transition: all 0.3s ease; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.scroll-top-inner i { color: #007bff !important; }
.scroll-top:hover .scroll-top-inner { background-color: #f8f9fa !important; box-shadow: 0 6px 16px rgba(0,0,0,0.15); }


/* ================================================================== */
/* 十四、常见问题折叠 */
/* ------------------------------------------------------------------ */
.faq-section { background: #f8f9fa; padding: 80px 0; }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: #fff; border-radius: 12px; margin-bottom: 16px; box-shadow: 0 2px 10px rgba(0,0,0,0.03); border: 1px solid #f0f0f0; overflow: hidden; transition: all 0.3s ease; }
.faq-item.active { border-color: #007bff; box-shadow: 0 4px 20px rgba(0,123,255,0.1); }
.faq-question { padding: 20px 24px; font-size: 16px; font-weight: 600; color: #333; display: flex; justify-content: space-between; align-items: center; cursor: pointer; user-select: none; transition: all 0.3s; }
.faq-item.active .faq-question { color: #007bff; }
.faq-question i { font-size: 18px; color: #999; transition: transform 0.3s; }
.faq-item.active .faq-question i { transform: rotate(180deg); color: #007bff; }
.faq-answer { padding: 0 24px 20px; color: #666; font-size: 14px; line-height: 1.7; display: none; border-top: 1px dashed #f0f0f0; margin-top: 0; padding-top: 15px; transition: all 0.3s ease; }
@media (max-width:767px) { .faq-section { padding: 50px 0; } .faq-question { padding: 16px 18px; font-size: 15px; } .faq-answer { padding: 0 18px 16px; font-size: 13px; } .faq-item { border-radius: 8px; margin-bottom: 12px; } }

.faq-list-wrap {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    transition: max-height .55s cubic-bezier(.4, 0, .2, 1);
}
.faq-list-wrap::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(248,249,250,0) 0%, rgba(248,249,250,.75) 55%, #f8f9fa 100%);
    transition: opacity .45s ease;
}
.faq-list-wrap.expanded::after { opacity: 0; }
.faq-list-wrap .extra-faq {
    opacity: .32;
    filter: blur(.6px);
    pointer-events: none;
    transition: opacity .45s ease, filter .45s ease;
}
.faq-list-wrap.expanded .extra-faq {
    opacity: 1;
    filter: none;
    pointer-events: auto;
}
@media (max-width:767px) {
    .faq-list-wrap .extra-faq { filter: none; opacity: .28; }
    .faq-list-wrap::after { height: 90px; }
}


/* ================================================================== */
/* 十五、按钮与套餐筛选 Tab */
/* ------------------------------------------------------------------ */
.navbar-option .main-btn { background: linear-gradient(135deg, #007bff 0%, #0056b3 100%) !important; border: none !important; color: #fff !important; border-radius: 30px !important; padding: 10px 28px !important; box-shadow: 0 4px 15px rgba(0,123,255,0.3) !important; transition: all 0.3s ease; font-weight: 600; }
.navbar-option .main-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,123,255,0.4) !important; }
.header-content .button-group .main-btn:first-child { background: linear-gradient(135deg, #007bff 0%, #0056b3 100%) !important; border: none !important; color: #fff !important; border-radius: 30px !important; padding: 12px 32px !important; box-shadow: 0 4px 15px rgba(0,123,255,0.3) !important; transition: all 0.3s ease; font-weight: 600; }
.header-content .button-group .main-btn:first-child:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,123,255,0.4) !important; }
.header-content .button-group .main-btn:nth-child(2) { background: #fff !important; border: 2px solid #007bff !important; color: #007bff !important; border-radius: 30px !important; padding: 8px 26px !important; box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important; transition: all 0.3s ease; font-weight: 600; }
.header-content .button-group .main-btn:nth-child(2):hover { background: linear-gradient(135deg, #007bff 0%, #0056b3 100%) !important; color: #fff !important; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,123,255,0.3) !important; }
.toggle-btn { display: inline-block; color: #007bff; font-size: 13px; text-decoration: none; cursor: pointer; margin-top: 10px; transition: color 0.3s; }
.toggle-btn:hover { color: #0056b3; }

.filter-tabs { display: flex; justify-content: center; gap: 12px; margin-bottom: 30px; flex-wrap: wrap; }
.filter-tabs button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #f3f4f6;
    border: 1px solid transparent;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 15px;
    color: #4b5563;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}
.filter-tabs button img {
    width: 16px;
    height: 16px;
    object-fit: contain;
    display: inline-block;
}
.filter-tabs button:hover { background: #e5e7eb; color: #111827; }
.filter-tabs button.active { background: #007bff; color: #fff; box-shadow: 0 4px 12px rgba(0,123,255,0.2); }


/* ================================================================== */
/* 十六、套餐横向滚动容器 */
/* ------------------------------------------------------------------ */
.scroll-container {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding-bottom: 12px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    cursor: grab;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.scroll-container::-webkit-scrollbar { display: none; }
.scroll-container.dragging { cursor: grabbing; }
.scroll-container.dragging * { -webkit-user-select: none; user-select: none; }
.scroll-container img { -webkit-user-drag: none; user-drag: none; }
.scroll-container.dragging .premium-img-wrap { cursor: grabbing; }

.card-wrapper { flex: 0 0 300px; max-width: 100%; }

.product-scrollbar {
    position: relative;
    height: 20px;
    max-width: 300px;
    margin: 10px auto 0;
    cursor: pointer;
    touch-action: none;
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s ease;
    -webkit-tap-highlight-color: transparent;
}
.product-scrollbar.visible { opacity: 1; pointer-events: auto; }
.product-scrollbar::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 4px;
    transform: translateY(-50%);
    background: #eef2f6;
    border-radius: 999px;
    transition: background .25s ease;
}
.product-scrollbar:hover::before,
.product-scrollbar.dragging::before { background: #e2e8f0; }
.product-scrollbar-thumb {
    position: absolute;
    top: 50%;
    left: 0;
    height: 4px;
    width: 24px;
    transform: translateY(-50%);
    border-radius: 999px;
    background: #007bff;
    cursor: grab;
    transition: background .25s ease;
    touch-action: none;
    will-change: left, width;
}
.product-scrollbar-thumb::after {
    content: '';
    position: absolute;
    top: -10px;
    bottom: -10px;
    left: -5px;
    right: -5px;
}
.product-scrollbar:hover .product-scrollbar-thumb,
.product-scrollbar.dragging .product-scrollbar-thumb {
    background: #0056b3;
}
.product-scrollbar.dragging .product-scrollbar-thumb { cursor: grabbing; }


/* ================================================================== */
/* 十七、套餐卡片 */
/* ------------------------------------------------------------------ */
.premium-card { background: #fff; border: 1px solid #eaedf1; border-radius: 12px; overflow: hidden; transition: all 0.3s ease; height: 100%; display: flex; flex-direction: column; }
.premium-card:hover { box-shadow: 0 12px 30px rgba(0,0,0,0.08); border-color: #d1d5db; transform: translateY(-3px); }

.premium-img-wrap { width: 100%; aspect-ratio: 1 / 1; background: #f8f9fa; position: relative; overflow: hidden; cursor: zoom-in; }
.premium-img-wrap img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }

.premium-content { padding: 20px 24px; display: flex; flex-direction: column; flex-grow: 1; }
.p-title { font-size: 18px; font-weight: 800; color: #111827; margin-bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.p-desc { font-size: 13px; color: #6b7280; margin-bottom: 12px; line-height: 1.5; height: 39px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

.p-price-row { margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px dashed #e5e7eb; display: flex; align-items: baseline; }
.p-price-num { font-size: 34px; font-weight: 900; color: #007bff; line-height: 1; }
.p-price-unit { font-size: 13px; color: #6b7280; margin-left: 4px; }
.p-old-price { font-size: 13px; color: #9ca3af; text-decoration: line-through; margin-left: 8px; }

.p-tags-wrap { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.p-tag { font-size: 12px; color: #007bff; background: rgba(0, 123, 255, 0.08); padding: 4px 8px; border-radius: 4px; font-weight: 600; }

.premium-btn { display: block; width: 100%; text-align: center; background: #fff; color: #007bff; border: 1px solid #007bff; padding: 12px 0; border-radius: 8px; font-size: 15px; font-weight: 700; text-decoration: none; transition: background 0.2s ease; margin-top: auto; }
.premium-btn:hover { background: #f0f7ff; color: #0056b3; border-color: #0056b3; text-decoration: none; }


/* ================================================================== */
/* 十八、产品大图弹窗 */
/* ------------------------------------------------------------------ */
.product-popup-content {
    text-align: center;
    background: #fff;
    padding: 20px;
    border-radius: 14px;
    width: 80vw;
    max-width: 600px;
    height: 80vw;
    max-height: 600px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.product-popup-content img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 8px;
}

@media (min-width: 768px) and (max-width: 991px) {
    .card-wrapper { flex: 0 0 260px; }
    .premium-content { padding: 15px; }
    .p-title { font-size: 16px; }
    .p-price-num { font-size: 28px; }
    .p-tag { font-size: 11px; }
}

@media (max-width: 767px) {
    .filter-tabs {
        gap: 5px;
        margin-bottom: 18px;
        flex-wrap: nowrap;
        justify-content: center;
        padding: 0;
    }
    .filter-tabs button {
        flex: 1 1 0;
        min-width: 0;
        padding: 6px 3px;
        font-size: 12px;
        gap: 3px;
        white-space: nowrap;
    }
    .filter-tabs button img { width: 12px; height: 12px; flex-shrink: 0; }

    .card-wrapper { flex: 0 0 210px; }
    .premium-content { padding: 10px; }
    .p-title { font-size: 13px; margin-bottom: 4px; }
    .p-desc { font-size: 11px; margin-bottom: 8px; height: 33px; line-height: 1.5; }
    .p-price-row { margin-bottom: 8px; padding-bottom: 8px; }
    .p-price-num { font-size: 22px; }
    .p-price-unit { font-size: 11px; }
    .p-old-price { font-size: 10px; margin-left: 2px; }
    .p-tags-wrap { gap: 4px; margin-bottom: 10px; }
    .p-tag { font-size: 10px; padding: 2px 6px; }
    .premium-btn { padding: 8px 0; font-size: 12px; border-radius: 6px; }

    .product-scrollbar { height: 16px; max-width: 200px; margin-top: 8px; }
    .product-scrollbar::before { height: 4px; }
    .product-scrollbar-thumb { height: 4px; width: 20px; }

    .product-popup-content {
        width: 90vw;
        height: 90vw;
        padding: 10px;
    }

    .more-products-link { margin-top: 20px !important; }
    .more-products-btn { padding: 8px 20px !important; font-size: 13px !important; border-radius: 4px !important; }
}


/* ================================================================== */
/* 十九、弹窗交互细节（禁止选中 / 拖拽） */
/* ------------------------------------------------------------------ */
.mfp-wrap,
.mfp-container,
.mfp-content,
.mfp-bg,
.mfp-wrap * {
    caret-color: transparent !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-drag: none;
}
.mfp-wrap:focus,
.mfp-container:focus,
.mfp-content:focus,
.mfp-wrap:focus-within {
    outline: none !important;
}
.mfp-container { cursor: default; }

@media (max-width:767px) {
    .header-content .button-group .main-btn:first-child {
        padding: 6px 16px !important;
        font-size: 12px !important;
        line-height: 1.4 !important;
        border-radius: 18px !important;
    }
    .header-content .button-group .main-btn:nth-child(2) {
        padding: 6px 16px !important;
        font-size: 12px !important;
        line-height: 1.4 !important;
        border-radius: 18px !important;
        border-width: 1px !important;
    }
}
@media (max-width:380px) {
    .header-content .button-group .main-btn:first-child,
    .header-content .button-group .main-btn:nth-child(2) {
        padding: 5px 12px !important;
        font-size: 11px !important;
    }
}


/* ================================================================== */
/* 二十、各版块统一纵向间距（桌面 80px / 移动 40px） */
/* ------------------------------------------------------------------ */
.cooperation-section,
.feature-section,
.service-section,
.news-section,
.faq-section,
.about-section {
    padding-top: 80px !important;
    padding-bottom: 80px !important;
}
@media (max-width:767px) {
    .cooperation-section,
    .feature-section,
    .service-section,
    .news-section,
    .faq-section,
    .about-section {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }
}


/* ================================================================
   附录：404 页面样式（代理站专属，主页面样式以上方 ddy 模板为准）
   ================================================================ */

.error-page-section {
    padding: 120px 0;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    background-color: #f8f9fa !important;
}

.error-page-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.custom-404-logo {
    max-width: 400px;
    width: 100%;
    margin: 0 auto 30px auto;
    display: block;
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
}

.error-page-content h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
}

.error-page-content p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
}

.error-btn {
    display: inline-block;
    background: #007bff;
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
    margin: 10px;
}

.error-btn:hover {
    background: #0056b3;
    color: white;
}

.error-btn-secondary {
    background: #f8f9fa;
    color: #007bff;
    border: 2px solid #007bff;
}

.error-btn-secondary:hover {
    background: #007bff;
    color: white;
}




@media (max-width: 767px) {
    .error-page-section {
        padding: 60px 0;
        min-height: calc(100vh - 60px);
    }
    
    .custom-404-logo {
        max-width: 250px;
    }
    
    .error-page-content h2 {
        font-size: 1.8rem;
    }
    
    .error-page-content p {
        font-size: 1rem;
    }
    
    .error-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}
