/* ============================================
   万瑞生物 - 全面升级样式 (万瑞Pro版)
   风格：简约高端、生物科技感、国际范
   主题色：#0b40ae
   ============================================ */

/* ---------- 全局重置与基础 ---------- */
* { box-sizing: border-box; }

body {
    font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
    color: #1a1a2e;
    line-height: 1.7;
    font-size: 16px;
}

/* 滚动条美化 */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #0b40ae; border-radius: 3px; }

/* ---------- Section 通用样式 ---------- */
.section { padding: 80px 0; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }

/* Section 标题 */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    color: #0b40ae;
    letter-spacing: 2px;
    margin-bottom: 8px;
}
.section-title p {
    font-size: 14px;
    color: #888;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-family: "Arial", sans-serif;
}
.title-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #0b40ae, #2ecc71);
    margin: 15px auto 0;
    border-radius: 2px;
}
.section-title.text-left { text-align: left; }
.section-title.text-left .title-line { margin: 15px 0 0; }

/* 按钮 */
.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}
.btn-primary {
    background: linear-gradient(135deg, #0b40ae, #1a5cd4);
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(11, 64, 174, 0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(11, 64, 174, 0.4);
}
.btn-outline {
    background: transparent;
    color: #0b40ae;
    border: 2px solid #0b40ae;
}
.btn-outline:hover {
    background: #0b40ae;
    color: #fff;
}
.btn-white {
    background: #fff;
    color: #0b40ae;
}
.btn-white:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}
.text-center { text-align: center; }
.mt-2 { margin-top: 20px; }

/* 动画 */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.animated { animation-duration: 0.8s; animation-fill-mode: both; }

/* ---------- 导航栏区域升级 ---------- */
/* 导航栏背景 - 浅蓝渐变，承接header到banner的过渡 */
body header.header div.company-info div.company-info-content {
    background: linear-gradient(180deg, #e8f4ff 0%, #ffffff 100%) !important;
    border-bottom: 1px solid rgba(11, 64, 174, 0.1) !important;
}

/* 导航栏外层容器 */
body header.header div.company-info div.company-info-content nav.nav {
    background: transparent !important;
    padding: 15px 0 !important;
}

body header.header div.company-info div.company-info-content nav.nav div.nav-wrapper {
    background: transparent !important;
}

body header.header div.company-info div.company-info-content nav.nav div.nav-wrapper ul.nav-list {
    display: flex;
    justify-content: center;
    gap: 5px;
}

/* 导航项样式 - 更大字体、更好的间距 */
body header.header div.company-info div.company-info-content nav.nav div.nav-wrapper ul.nav-list li.list-item {
    margin: 0 !important;
    padding: 0 !important;
}

body header.header div.company-info div.company-info-content nav.nav div.nav-wrapper ul.nav-list li.list-item a {
    display: inline-block;
    padding: 14px 28px !important;
    font-size: 19px !important;
    font-weight: 600 !important;
    color: #1a1a2e !important;
    letter-spacing: 1px !important;
    border-radius: 25px !important;
    transition: all 0.3s ease !important;
    position: relative;
}

/* 导航项悬停效果 - 蓝色背景 */
body header.header div.company-info div.company-info-content nav.nav div.nav-wrapper ul.nav-list li.list-item:hover a {
    background: linear-gradient(135deg, #0b40ae, #0d4dc7) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(11, 64, 174, 0.25) !important;
    transform: translateY(-2px);
}

/* 当前激活项 */
body header.header div.company-info div.company-info-content nav.nav div.nav-wrapper ul.nav-list li.list-item.active a,
body header.header div.company-info div.company-info-content nav.nav div.nav-wrapper ul.nav-list li.list-item.cur a {
    background: linear-gradient(135deg, #0b40ae, #0d4dc7) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(11, 64, 174, 0.25) !important;
}

/* 导航下拉菜单优化 */
body header.header div.company-info div.company-info-content nav.nav div.nav-wrapper ul.nav-list li.list-item ul.sub-menu {
    background: #fff !important;
    border: none !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15) !important;
    padding: 10px 0 !important;
    min-width: 180px !important;
}

body header.header div.company-info div.company-info-content nav.nav div.nav-wrapper ul.nav-list li.list-item ul.sub-menu li a {
    padding: 10px 20px !important;
    font-size: 14px !important;
    color: #333 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    display: block;
    width: 100%;
    text-align: left;
}

body header.header div.company-info div.company-info-content nav.nav div.nav-wrapper ul.nav-list li.list-item ul.sub-menu li:hover a {
    background: #f0f7ff !important;
    color: #0b40ae !important;
    transform: none !important;
}

/* 导航栏与Banner的过渡衔接 */
.banner-wrap,
.banner,
.swiper-container.banner {
    margin-top: -1px !important;
}

/* Header 升级 ---------- */
body header.header {
    background: linear-gradient(135deg, #0b40ae 0%, #0d4dc7 100%);
}
body header.header div.header-wrapper {
    background: linear-gradient(135deg, #0b40ae 0%, #0d4dc7 100%) !important;
    height: 80px !important;
}
body header.header div.company-info {
    background: #fff !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
body header.header div.company-info .company-info-top {
    height: 60px !important;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}
body header.header div.company-info .company-info-top .left-slogan {
    border-left: 1px solid #e8eaf0 !important;
    font-size: 14px !important;
    color: #666 !important;
}
body header.header div.company-info .company-info-top .phoneCall-logo {
    background-color: #0b40ae !important;
    width: 36px !important;
    height: 36px !important;
}
body header.header div.company-info .company-info-top .title-phone {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #0b40ae !important;
}
body header.header div.company-info .company-info-content nav.nav {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}
body header.header div.company-info .company-info-content nav.nav div.nav-wrapper ul.nav-list li.list-item a {
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #333 !important;
    letter-spacing: 0.5px;
}
body header.header div.company-info .company-info-content nav.nav div.nav-wrapper ul.nav-list li.list-item:hover a,
body header.header div.company-info .company-info-content nav.nav div.nav-wrapper ul.nav-list li.list-item.active a {
    color: #0b40ae !important;
}

/* 搜索按钮 */
body .search-wrap {
    height: 38px;
    border-radius: 19px;
    border: 1px solid #e0e0e0;
    overflow: hidden;
}
body .search-wrap .search-wrap-in span {
    background: linear-gradient(135deg, #0b40ae, #0d4dc7) !important;
}

/* ---------- Banner 升级 ---------- */
.banner { position: relative; }
.banner .swiper-slide img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
}
.banner .swiper-pagination span {
    width: 30px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255,255,255,0.6);
}
.banner .swiper-pagination span.swiper-pagination-switch.active {
    background: #fff;
}

/* ---------- 产品中心 升级 ---------- */
.product-section { background: #fff; }
.product-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.product-tabs .tab-item {
    padding: 10px 28px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 500;
    color: #666;
    background: #f5f7fa;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}
.product-tabs .tab-item:hover,
.product-tabs .tab-item.active {
    background: #fff;
    color: #0b40ae;
    border-color: #0b40ae;
    box-shadow: 0 4px 15px rgba(11,64,174,0.15);
}

.product-list .product-grid { display: none; }
.product-list .product-grid.active { display: block; }

.product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.4s ease;
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(11,64,174,0.15);
}
.product-list .product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-list .product-grid { display: none; }
.product-list .product-grid.active { display: grid; }
.product-card a { display: block; text-decoration: none; }
.product-card .card-img {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}
.product-card .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.product-card:hover .card-img img { transform: scale(1.08); }
.product-card .card-body { padding: 20px; }
.product-card .card-title {
    font-size: 17px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 10px;
}
.product-card .card-desc {
    font-size: 13px;
    color: #888;
    line-height: 1.6;
}

/* ---------- 关于我们 升级 ---------- */
.about-section { background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%); }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-text p {
    font-size: 16px;
    color: #555;
    line-height: 1.9;
    margin-bottom: 20px;
}
.about-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
}
.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.stat-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}
.stat-icon img { width: 100%; height: 100%; object-fit: contain; }
.stat-content h4 { font-size: 18px; font-weight: 700; color: #0b40ae; margin-bottom: 4px; }
.stat-content p { font-size: 13px; color: #888; }

/* ---------- 服务流程 升级 ---------- */
.process-section { background: linear-gradient(135deg, #0b40ae 0%, #0d4dc7 100%); }
.process-section .section-title h2,
.process-section .section-title p { color: #fff; }
.process-section .title-line { background: linear-gradient(90deg, #fff, #2ecc71); }
.process-item {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s;
}
.process-item:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-5px);
}
.process-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
}
.process-icon img { width: 100%; height: 100%; object-fit: contain; }
.process-title { font-size: 18px; font-weight: 600; color: #fff; margin-bottom: 10px; }
.process-desc { font-size: 14px; color: rgba(255,255,255,0.8); line-height: 1.7; }

/* ---------- CTA 过渡区 升级 ---------- */
.cta-section { padding: 80px 0; }
.cta-content { text-align: center; }
.cta-content h2 {
    font-size: 40px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    letter-spacing: 2px;
}
.cta-content p {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 30px;
}
.cta-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}
.cta-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
}
.cta-phone span { font-size: 16px; opacity: 0.8; }
.cta-phone strong { font-size: 28px; font-weight: 700; letter-spacing: 2px; }
.cta-phone-large {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.cta-phone-large span { font-size: 18px; color: rgba(255,255,255,0.7); }
.cta-phone-large strong { font-size: 48px; font-weight: 800; color: #fff; letter-spacing: 4px; }

/* ---------- 企业亮点 升级 ---------- */
.news-section { background: #fff; }
.news-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.4s;
}
.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(11,64,174,0.12);
}
.news-card a { display: block; text-decoration: none; }
.news-card .news-img {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
}
.news-card .news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.news-card:hover .news-img img { transform: scale(1.08); }
.news-body { padding: 20px; }
.news-title {
    font-size: 17px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 10px;
    line-height: 1.5;
}
.news-desc { font-size: 13px; color: #888; line-height: 1.6; }
.news-swiper .swiper-button-next,
.news-swiper .swiper-button-prev {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    color: #0b40ae;
}
.news-swiper .swiper-button-next::after,
.news-swiper .swiper-button-prev::after { font-size: 18px; line-height: 44px; }

/* ---------- 技术支持 升级 ---------- */
.support-section { background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%); }
.support-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.support-tabs .tab-link {
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    background: #fff;
    border: 1px solid #e0e0e0;
    text-decoration: none;
    transition: all 0.3s;
}
.support-tabs .tab-link:hover {
    background: #0b40ae;
    color: #fff;
    border-color: #0b40ae;
}
.support-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.support-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.4s;
}
.support-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(11,64,174,0.12);
}
.support-card a { display: block; text-decoration: none; }
.support-img {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
}
.support-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.support-card:hover .support-img img { transform: scale(1.08); }
.support-body { padding: 20px; }
.support-title { font-size: 16px; font-weight: 600; color: #1a1a2e; margin-bottom: 10px; }
.support-desc { font-size: 13px; color: #888; line-height: 1.6; margin-bottom: 12px; }
.support-date { font-size: 12px; color: #aaa; }

/* ---------- CTA2 背景图区 ---------- */
.cta-dark { background-size: cover !important; position: relative; }
.cta-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(11,64,174,0.85) 0%, rgba(0,0,0,0.7) 100%);
}

/* ---------- 响应式调整 ---------- */
@media screen and (max-width: 1024px) {
    .container { padding: 0 20px; }
    .section { padding: 60px 0; }
    .section-title h2 { font-size: 28px; }
    .about-grid { grid-template-columns: 1fr; gap: 30px; }
    .product-list .product-grid { grid-template-columns: repeat(2, 1fr); }
    .support-grid { grid-template-columns: repeat(2, 1fr); }
    .cta-content h2 { font-size: 28px; }
    .cta-phone strong { font-size: 22px; }
}

@media screen and (max-width: 768px) {
    .section { padding: 40px 0; }
    .product-list .product-grid { grid-template-columns: 1fr 1fr; gap: 15px; }
    .support-grid { grid-template-columns: 1fr 1fr; gap: 15px; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
}