/* ==================== 全局样式 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==================== 顶部导航栏 ==================== */
.header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: #fff;
}

.header.scrolled {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.header-container {
    width: 85%;
    margin: 0 auto;
    padding: 15px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: nowrap;
}

/* Logo样式 */
.logo {
    flex: 0 0 auto;
}

.logo-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    background: linear-gradient(135deg, #3498db 0%, #2ecc71 100%);
    color: #fff;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 24px;
    border-radius: 4px;
}

.logo-text {
    color: #2c3e50;
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 1px;
}

/* 搜索框样式 */
.search-box {
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border-radius: 25px;
    padding: 10px 20px;
    flex: 1;
    max-width: 400px;
    min-width: 250px;
    transition: all 0.3s ease;
}

.search-box:focus-within {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.search-input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 14px;
    color: #333;
}

.search-input::placeholder {
    color: #999;
}

.search-btn {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
}

.search-btn:hover {
    color: #0066cc;
}

/* 主导航菜单 */
.main-nav {
    flex: 0 0 auto;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 10px;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: nowrap;
}

.nav-item {
    position: relative;
    flex-shrink: 0;
}

.nav-item > a {
    display: block;
    padding: 10px 18px;
    color: #fff;
    background: #1a4d7e;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-item > a:hover {
    background: #0066cc;
}

/* 导航栏电话热线 */
.header-phone-item .header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #1a4d7e;
    color: #fff;
    padding: 10px 18px;
}

.header-phone svg {
    flex-shrink: 0;
}

.header-phone span {
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
}

/* 下拉菜单 */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 8px 8px;
    min-width: 220px;
    padding: 10px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    color: #666;
    font-size: 14px;
    transition: all 0.3s ease;
}

.dropdown-menu li a:hover {
    background: #f5f5f5;
    color: #0066cc;
    padding-left: 25px;
}

/* ==================== 主轮播图 ==================== */
.hero-banner-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: transparent;
    line-height: 0;
    margin-top: 8px;
}

.hero-banner {
    position: relative;
    overflow: hidden;
    width: 85%;
    flex-shrink: 0;
    line-height: 0;
}

.banner-slider {
    position: relative;
    width: 100%;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.banner-slide.active {
    position: relative;
    opacity: 1;
}

.banner-slide img {
    width: 100%;
    height: auto;
    display: block;
}

/* 轮播图覆盖层和内容 */
.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, transparent 60%);
    display: flex;
    align-items: center;
}

.banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
    color: #fff;
}

.banner-title {
    font-size: 56px;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.banner-subtitle {
    font-size: 24px;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.banner-desc {
    font-size: 16px;
    max-width: 600px;
    line-height: 1.8;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* 轮播控制按钮 */
.banner-btn {
    background: none;
    color: #999;
    border: none;
    width: 50px;
    height: 80px;
    font-size: 60px;
    font-weight: 200;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    flex-shrink: 0;
    line-height: 1;
    padding: 0;
}

.banner-btn:hover {
    color: #333;
}

.banner-btn.prev,
.banner-btn.next {
    position: static;
    transform: none;
}

/* 轮播指示器 */
.banner-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
    white-space: nowrap;
}

.indicator {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.indicator:hover {
    background: #fff;
    width: 35px;
    border-radius: 6px;
}

.indicator.active {
    background: #fff;
    width: 35px;
    border-radius: 6px;
}

/* ==================== 区域标题样式 ==================== */
.section-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.section-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 185px;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.02);
    letter-spacing: 20px;
    white-space: nowrap;
    z-index: 1;
    user-select: none;
}

.section-title-group {
    position: relative;
    z-index: 2;
}

.section-subtitle {
    display: block;
    color: #999;
    font-size: 27px;
    letter-spacing: 4px;
    margin: 5px 0px;
    text-transform: uppercase;
}

.section-title {
    font-size: 64px;
    color: #2c3e50;
    font-weight: bold;
    margin: 0;
}

/* ==================== 产品分类区域 ==================== */
.product-series {
    padding: 88px 0 106px;
    background: #fff;
}

/* 分类区域 */
.category-section {
    margin-bottom: 90px;
    padding-top: 53px;
}

.category-section:first-of-type {
    border-top: none;
}

.category-title {
    font-size: 38px;
    color: #1a4d7e;
    font-weight: bold;
    text-align: center;
    margin-bottom: 53px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.category-title::before,
.category-title::after {
    content: '';
    flex: 1;
    height: 5px;
    background: #1a4d7e;
}

.category-title .title-dot-left,
.category-title .title-dot-right {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: transparent;
    border: 3px solid #1a4d7e;
    flex-shrink: 0;
}

/* 分类轮播容器 */
.category-slider-wrapper {
    position: relative;
    max-width: 1584px;
    margin: 0 auto;
    padding: 0 79px;
}

.category-slider {
    overflow: hidden;
    position: relative;
}

.category-slide {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.category-slide.active {
    display: grid;
}

/* 分类项目 */
.category-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 0;
    padding: 13px 13px 0 13px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: none;
    display: block;
    text-decoration: none;
    color: inherit;
}

.category-item-inner {
    border: 1px solid #e0e0e0;
    padding: 15px 11px;
    transition: all 0.3s ease;
    overflow: hidden;
    background: #fff;
}

.category-item:hover {
    background: #1a4d7e;
    box-shadow: none;
}

.category-item:hover .category-item-inner {
    border-color: #1a4d7e;
    background: #fff;
}

.category-item img {
    width: 100%;
    height: 264px;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.category-item:hover img {
    transform: scale(1.05);
}

.category-item-name {
    font-size: 19px;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 15px 7px;
    margin: 0;
}

.category-item:hover .category-item-name {
    color: #fff;
}

/* 分类轮播按钮 */
.category-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    color: #999;
    border: none;
    width: 66px;
    height: 106px;
    font-size: 66px;
    font-weight: 200;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    line-height: 1;
    padding: 0;
}

.category-slider-btn:hover {
    color: #333;
}

.category-slider-btn.prev {
    left: -66px;
}

.category-slider-btn.next {
    right: -66px;
}

/* 分类指示器 */
.category-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.category-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-indicator.active {
    background: #1a4d7e;
    width: 10px;
}

.category-indicator:hover {
    background: #1a4d7e;
}

/* ==================== 热门产品区域 ==================== */
.popular-products {
    padding: 80px 0;
    background: #f5f5f5;
    position: relative;
    overflow: hidden;
}

.popular-products-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.popular-products-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popular-products .container {
    position: relative;
    z-index: 2;
}

.popular-products .section-header {
    position: relative;
    z-index: 2;
}

/* 产品轮播容器 */
.products-slider-wrapper {
    position: relative;
    margin-bottom: 50px;
}

.products-slider {
    overflow: hidden;
    position: relative;
}

.products-slide {
    display: none;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.products-slide.active {
    display: grid;
}

/* 产品卡片样式 */
.product-item {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-item:hover {
    border-color: #0066cc;
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.15);
    transform: translateY(-5px);
}

.product-image {
    height: 250px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-info {
    padding: 20px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-name {
    font-size: 16px;
    color: #0066cc;
    margin-bottom: 8px;
    font-weight: 600;
}

.product-model {
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
    font-weight: 500;
}

.product-desc {
    color: #666;
    font-size: 13px;
    margin-bottom: 20px;
    line-height: 1.6;
    flex: 1;
}

.product-btn {
    display: block;
    width: 100%;
    padding: 10px 20px;
    background: #0066cc;
    color: #fff;
    text-align: center;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.product-btn:hover {
    background: #0052a3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

/* 轮播控制按钮 */
.products-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 102, 204, 0.9);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    font-size: 32px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.products-slider-btn:hover {
    background: rgba(0, 82, 163, 0.95);
    transform: translateY(-50%) scale(1.1);
}

.products-slider-btn.prev {
    left: -25px;
}

.products-slider-btn.next {
    right: -25px;
}

.view-all-wrapper {
    text-align: center;
}

.view-all-btn {
    display: inline-block;
    padding: 15px 50px;
    background: #0066cc;
    color: #fff;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.view-all-btn:hover {
    background: #0052a3;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 102, 204, 0.3);
}

/* ==================== 关于我们区域 ==================== */
.about-section {
    position: relative;
    padding: 100px 0;
    color: #fff;
    overflow: hidden;
}

.about-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.about-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.85) 0%, rgba(58, 123, 213, 0.75) 100%);
}

.about-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.about-title {
    font-size: 36px;
    margin-bottom: 30px;
    font-weight: bold;
}

.about-text {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 50px;
    opacity: 0.95;
}

.about-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.badge-item {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.badge-item:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.badge-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ==================== 合作伙伴区域 ==================== */
.partners-section {
    padding: 60px 0;
    background: #f8f9fa;
    overflow: hidden;
}

.partners-slider-wrapper {
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.partners-slider {
    overflow: hidden;
}

.partners-track {
    display: flex;
    gap: 40px;
    animation: partnersScroll 40s linear infinite;
    width: fit-content;
}

.partners-track:hover {
    animation-play-state: paused;
}

@keyframes partnersScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.partner-logo {
    flex: 0 0 200px;
    height: 100px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
    border-color: #0066cc;
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

/* ==================== 联系表单区域 ==================== */
.contact-section {
    padding: 80px 0;
    background: #2d3748;
    color: #fff;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-title {
    font-size: 26px;
    margin-bottom: 25px;
    font-weight: bold;
}

.contact-subtitle {
    color: #a0aec0;
    margin-bottom: 30px;
    font-size: 16px;
}

/* 联系表单 */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    margin-bottom: 18px;
    border: 1px solid #4a5568;
    background: #1a202c;
    color: #fff;
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #0066cc;
    background: #2d3748;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #718096;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: #48bb78;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #38a169;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(72, 187, 120, 0.4);
}

/* 联系信息 */
.contact-info {
    margin-top: 20px;
}

.info-item {
    padding: 18px;
    background: #1a202c;
    border-radius: 8px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-item strong {
    color: #a0aec0;
    min-width: 60px;
}

.info-item span {
    color: #fff;
}

/* ==================== 新闻动态区域 ==================== */
.news-section {
    padding: 80px 0;
    background: #fff;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.news-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.news-item:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

.news-image {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.news-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: all 0.5s ease;
}

.news-item:hover .news-image img {
    transform: scale(1.1);
}

.news-date-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: #0066cc;
    color: #fff;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 4px;
    z-index: 2;
}

.news-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-date {
    display: inline-block;
    color: #0066cc;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
}

.news-title {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 12px;
    font-weight: 600;
    line-height: 1.4;
    flex: 0 0 auto;
}

.news-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 18px;
    flex: 1;
}

.news-link {
    color: #0066cc;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.news-link:hover {
    color: #0052a3;
}

/* ==================== 页脚 ==================== */
.footer {
    background: #1a202c;
    color: #a0aec0;
    padding: 60px 0 0;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col {
}

.footer-title {
    color: #fff;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-desc {
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 14px;
}

.footer-logo {
    margin-top: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #a0aec0;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    margin-bottom: 12px;
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    padding: 8px 16px;
    background: #2d3748;
    border-radius: 6px;
    font-size: 13px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #0066cc;
    color: #fff;
}

/* 底部搜索框 */
.footer-search {
    padding: 40px 0;
    border-top: 1px solid #2d3748;
    border-bottom: 1px solid #2d3748;
}

.footer-search-wrapper {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
}

.footer-search-input {
    flex: 1;
    padding: 14px 20px;
    background: #2d3748;
    border: 1px solid #4a5568;
    border-radius: 6px;
    color: #fff;
    font-size: 15px;
}

.footer-search-input::placeholder {
    color: #718096;
}

.footer-search-input:focus {
    outline: none;
    border-color: #0066cc;
}

.footer-search-btn {
    padding: 14px 35px;
    background: #0066cc;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer-search-btn:hover {
    background: #0052a3;
}

.footer-bottom {
    padding: 30px 0;
    text-align: center;
    font-size: 14px;
}

.footer-bottom a {
    color: #a0aec0;
    margin: 0 10px;
}

.footer-bottom a:hover {
    color: #fff;
}

/* ==================== 返回顶部按钮 ==================== */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #fff;
    color: #999;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-3px);
}

/* ==================== 产品中心标题栏 ==================== */
.product-center-header {
    background: linear-gradient(135deg, #1a4d7e 0%, #2c6faa 100%);
    padding: 30px 0;
    text-align: center;
    display: none;
}

.product-center-title h2 {
    color: #fff;
    font-size: 32px;
    font-weight: bold;
    margin: 0 0 5px 0;
    letter-spacing: 3px;
}

.product-center-title p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    margin: 0;
}

/* ==================== 右侧固定联系栏 ==================== */
.fixed-contact-bar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-bar-item {
    background: #1a4d7e;
    color: #fff;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.contact-bar-item:first-child {
    border-radius: 4px 0 0 0;
    flex-direction: column;
    height: auto;
    padding: 10px 5px;
}

.contact-bar-item:last-child {
    border-radius: 0 0 0 4px;
}

.contact-bar-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-bar-text {
    font-size: 12px;
    writing-mode: vertical-rl;
    margin-top: 8px;
    letter-spacing: 2px;
}

.contact-bar-expandable {
    overflow: visible;
}

.contact-bar-expand {
    position: absolute;
    right: 0;
    top: 0;
    background: #1a4d7e;
    color: #fff;
    white-space: nowrap;
    padding: 0 15px;
    height: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 50px;
    overflow: hidden;
    transition: all 0.3s ease;
    font-size: 14px;
    border-radius: 4px 0 0 4px;
    justify-content: center;
}

.contact-bar-expand svg {
    flex-shrink: 0;
}

.contact-bar-expandable:hover .contact-bar-expand {
    width: 180px;
    justify-content: flex-start;
    background: #0066cc;
}

.contact-bar-item:hover {
    background: #0066cc;
}

.contact-bar-expand span {
    opacity: 0;
    width: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.contact-bar-expandable:hover .contact-bar-expand span {
    opacity: 1;
    width: auto;
}

/* ==================== 底部在线咨询按钮 ==================== */
.online-consult-btn {
    position: fixed;
    right: 20px;
    bottom: 80px;
    background: #fff;
    color: #999;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.online-consult-btn:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
}

.online-consult-btn svg {
    flex-shrink: 0;
    fill: #999;
    transition: fill 0.3s ease;
}

.online-consult-btn:hover svg {
    fill: #ccc;
}

/* ==================== 在线咨询窗口 ==================== */
.chat-window {
    position: fixed;
    right: 20px;
    bottom: 150px;
    width: 360px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.chat-window.show {
    display: flex;
}

.chat-header {
    background: #999;
    color: #fff;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.chat-title {
    font-size: 18px;
    font-weight: 500;
}

.chat-close {
    background: rgba(255, 255, 255, 0.3);
    border: none;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.chat-close:hover {
    background: rgba(255, 255, 255, 0.5);
}

.chat-body {
    flex: 1;
    padding: 20px;
    max-height: 350px;
    overflow-y: auto;
    background: #f5f5f5;
}

.chat-message {
    margin-bottom: 15px;
}

.chat-message-info {
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
}

.chat-message-content {
    background: #fff;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

.chat-message.user .chat-message-content {
    background: #1a4d7e;
    color: #fff;
    margin-left: 50px;
}

.chat-message.user .chat-message-info {
    text-align: right;
}

.chat-quick-questions {
    margin-top: 15px;
}

.chat-quick-questions p {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}

.quick-question {
    display: inline-block;
    background: #fff;
    border: 1px solid #ddd;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    color: #666;
    cursor: pointer;
    margin: 0 5px 8px 0;
    transition: all 0.3s ease;
}

.quick-question:hover {
    border-color: #1a4d7e;
    color: #1a4d7e;
}

.chat-footer {
    padding: 15px 20px;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
}

.chat-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
    color: #333;
}

.chat-input::placeholder {
    color: #999;
}

.chat-send {
    background: none;
    border: none;
    color: #ccc;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.chat-send:hover {
    color: #1a4d7e;
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 1024px) {
    .header-container {
        flex-wrap: wrap;
    }
    
    .search-box {
        order: 3;
        flex: 1 1 100%;
    }
    
    .footer-main {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-slide {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-slider-btn.prev {
        left: -15px;
    }
    
    .products-slider-btn.next {
        right: -15px;
    }
    
    .series-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .banner-title {
        font-size: 36px;
    }
    
    .banner-subtitle {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 40px;
    }
    
    .section-bg-text {
        font-size: 80px;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 0;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
    }
    
    .series-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .series-card {
        height: auto;
        min-height: 280px;
        margin-top: 60px;
        padding: 80px 20px 30px;
    }
    
    .series-image {
        left: 50%;
        transform: translateX(-50%);
        top: -50px;
        width: 60%;
        height: 180px;
    }
    
    .series-info {
        padding: 20px;
        text-align: center;
        align-items: center;
    }
    
    .products-slide {
        grid-template-columns: 1fr;
    }
    
    .products-slider-btn {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .hero-banner {
        height: 400px;
    }
    
    .banner-content {
        padding: 0 20px;
    }
    
    .banner-title {
        font-size: 28px;
    }
    
    .banner-btn {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
    
    .banner-btn.prev {
        left: 15px;
    }
    
    .banner-btn.next {
        right: 15px;
    }
}
