/* ----- 重置 & 基础样式 ----- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

body::-webkit-scrollbar {
    display: none;
}

body {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* ----- 底部板块 ----- */
#footer {
    position: fixed;
    bottom: -100px;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(135deg, #0a4d8c, #1a73e8);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    z-index: 9998;
    transition: bottom 0.5s ease;
}
#footer.show {
    bottom: 0;
}
.footer-content {
    width: 100%;
    max-width: 1600px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    font-size: 14px;
}
.footer-info {
    display: flex;
    gap: 30px;
}
.footer-address,
.footer-phone {
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-copyright {
    display: flex;
    gap: 20px;
    opacity: 0.9;
}
.footer-icons {
    display: flex;
    gap: 15px;
}
.wechat-icon-wrapper {
    position: relative;
    cursor: pointer;
}
.wechat-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: transform 0.3s ease;
    filter: brightness(0) invert(1);
}
.wechat-icon:hover {
    transform: scale(1.1);
}
.wechat-qrcode {
    position: absolute;
    bottom: 100%;
    right: 0;
    margin-bottom: 10px;
    padding: 10px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10000;
}
.wechat-qrcode img {
    width: 120px;
    height: 120px;
    display: block;
}
.wechat-icon-wrapper:hover .wechat-qrcode {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    .footer-info {
        flex-direction: column;
        gap: 5px;
    }
    .footer-copyright {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ----- 侧边导航 ----- */
.side-nav {
    position: fixed;
    right: 20px;
    top: calc(50% - 50px);
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.side-nav-dots {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #0a4d8c;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}
.nav-dot:hover {
    background: #0a4d8c;
    transform: scale(1.2);
}
.nav-dot.active {
    background: #0a4d8c;
    box-shadow: 0 0 0 4px rgba(10, 77, 140, 0.2);
}
.nav-dot::after {
    content: attr(title);
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(10, 77, 140, 0.95);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.nav-dot:hover::after {
    opacity: 1;
    visibility: visible;
}

/* 滚动板块样式 */
.scroll-section {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

/* ----- 动画关键帧定义 ----- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(1.1);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ----- 首页大图 Hero Area ----- */
#hero-area {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
#hero-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
}
#hero-area .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}
#hero-area .hero-text .cn {
    font-size: 72px;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 25px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    opacity: 0;
    transform: translateY(50px);
}
#hero-area .hero-text .cn.animate {
    animation: fadeInUp 1.2s ease forwards;
}
#hero-area .hero-text .en {
    font-size: 68px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.3);
    opacity: 0;
    transform: translateY(50px);
    margin-top: 50px;
}
#hero-area .hero-text .en.animate {
    animation: fadeInUp 1.2s ease 0.3s forwards;
}
@media (max-width: 991px) {
    #hero-area .hero-text .cn { font-size: 52px; }
    #hero-area .hero-text .en { font-size: 48px; letter-spacing: 3px; }
}
@media (max-width: 767px) {
    #hero-area .hero-text .cn { font-size: 38px; }
    #hero-area .hero-text .en { font-size: 32px; letter-spacing: 2px; }
}

/* ----- 产品中心板块 ----- */
#product-center {
    background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
}
#product-center .container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}
#product-center .section-title {
    text-align: center;
    margin-bottom: 50px;
}
#product-center .section-title::after {
    content: '';
    display: block;
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #0a4d8c, transparent);
    margin: 15px auto 0;
}
#product-center .section-title .cn {
    font-size: 52px;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: 5px;
    opacity: 0;
    transform: translateY(30px);
}
#product-center .section-title .cn.animate {
    animation: fadeInUp 1s ease forwards;
}
#product-center .section-title .en {
    font-size: 18px;
    font-weight: 300;
    color: #5b6e8c;
    letter-spacing: 10px;
    text-transform: uppercase;
    margin-top: 35px;
    opacity: 0;
    transform: translateY(30px);
}
#product-center .section-title .en.animate {
    animation: fadeInUp 1s ease 0.2s forwards;
}
/* tabs */
.category-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 45px;
    opacity: 0;
    transform: translateY(30px);
}
.category-tabs.animate {
    animation: fadeInUp 1s ease 0.3s forwards;
}
.tab-item {
    padding: 10px 28px;
    border-radius: 40px;
    font-size: 15px;
    font-weight: 500;
    background: white;
    border: 1.5px solid #e2e8f0;
    color: #2c3e50;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.tab-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a4d8c, #1a73e8);
    border-radius: 40px;
    transition: left 0.35s ease;
    z-index: -1;
}
.tab-item:hover {
    border-color: #0a4d8c;
    color: white;
    transform: translateY(-2px);
}
.tab-item:hover::before {
    left: 0;
}
.tab-item.active {
    background: linear-gradient(135deg, #0a4d8c, #1a73e8);
    border-color: transparent;
    color: white;
    box-shadow: 0 8px 18px rgba(10,77,140,0.25);
}
/* 产品网格 */
.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}
.product-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.08);
    transition: all 0.35s ease;
    position: relative;
    cursor: default;
    opacity: 0;
    transform: translateY(40px);
}
.product-card.animate {
    animation: fadeInUp 0.8s ease forwards;
}
.product-card:nth-child(1).animate { animation-delay: 0.1s; }
.product-card:nth-child(2).animate { animation-delay: 0.2s; }
.product-card:nth-child(3).animate { animation-delay: 0.3s; }
.product-card:nth-child(4).animate { animation-delay: 0.4s; }
.product-card:nth-child(5).animate { animation-delay: 0.5s; }
.product-card:nth-child(6).animate { animation-delay: 0.6s; }
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px -12px rgba(10,77,140,0.2);
}
.product-image-wrapper {
    width: 100%;
    height: 220px;
    background: #f1f5f9;
    position: relative;
    overflow: hidden;
}
.product-image {
    width: 100%;
    height: 100%;
    object-fit: fill;
    transition: transform 0.35s ease;
}
.product-card:hover .product-image {
    transform: scale(1.1);
}
.product-info {
    padding: 20px 20px 12px;
}
.product-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
    line-height: 1.4;
}
.product-series {
    font-size: 14px;
    color: #0a4d8c;
    font-weight: 500;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.product-series::before {
    content: '';
    width: 7px;
    height: 7px;
    background: #0a4d8c;
    border-radius: 50%;
}
.product-application {
    font-size: 13px;
    color: #475569;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-footer {
    padding: 12px 20px 18px;
    border-top: 1px solid #eef2f6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.3s ease;
}
.product-card:hover .product-footer {
    opacity: 1;
    transform: translateY(0);
}
.view-btn {
    font-size: 13px;
    font-weight: 600;
    color: #0a4d8c;
    letter-spacing: 0.5px;
}
.arrow {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #0a4d8c, #1a73e8);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    transition: transform 0.2s;
}
.product-card:hover .arrow {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .product-list {
        gap: 15px;
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
    .product-image-wrapper { height: 160px; }
    .product-info { padding: 15px 15px 10px; }
    .product-title { font-size: 16px; }
    .section-title .cn { font-size: 36px !important; color: #000; }
    .section-title .en { font-size: 14px !important; letter-spacing: 4px !important; color: #333; }
    .tab-item { padding: 6px 18px; font-size: 13px; }
    #hero-area .hero-text { padding-top: 80px; }
}

@media (max-width: 575px) {
    .product-list {
        gap: 12px;
        grid-template-columns: repeat(2, 1fr);
    }
    .product-image-wrapper { height: 120px; }
    .product-info { padding: 12px 10px 8px; }
    .product-title { font-size: 14px; margin-bottom: 6px; }
    .product-series { font-size: 12px; }
    .product-application { font-size: 11px; }
    .product-footer { padding: 8px 10px 12px; }
    .view-btn { font-size: 12px; }
    .arrow { width: 24px; height: 24px; font-size: 12px; }
    .section-title .cn { font-size: 30px !important; }
    .section-title .en { font-size: 12px !important; letter-spacing: 3px !important; }
}

@media (max-width: 400px) {
    .product-list {
        gap: 10px;
        grid-template-columns: 1fr;
    }
    .product-image-wrapper { height: 140px; }
    #hero-area .hero-text .cn { font-size: 28px !important; letter-spacing: 2px; }
    #hero-area .hero-text .en { font-size: 22px !important; letter-spacing: 1px; margin-top: 20px; }
    #product-center .section-title .cn { font-size: 24px !important; }
    #product-center .section-title .en { font-size: 11px !important; letter-spacing: 2px !important; }
}

/* ----- 公司简介板块 ----- */
#about-us {
    background: linear-gradient(180deg, #f8fafc 0%, #e8f4fd 50%, #f8fafc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 130px 20px 60px 20px;
    position: relative;
    overflow: hidden;
}
.about-bg-pattern {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 100%;
    background-image:
        radial-gradient(circle at 50% 50%, transparent 0%, transparent 40%, rgba(10, 77, 140, 0.03) 41%, rgba(10, 77, 140, 0.03) 42%, transparent 43%),
        linear-gradient(0deg, transparent 49%, rgba(10, 77, 140, 0.02) 50%, rgba(10, 77, 140, 0.02) 51%, transparent 52%);
    background-size: 100px 100px;
    pointer-events: none;
}
#about-us .container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.about-content {
    text-align: center;
}
.about-header {
    opacity: 0;
    transform: translateY(30px);
}
.about-header.animate {
    animation: fadeInUp 1s ease forwards;
}
.about-title {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.about-title .cn {
    font-size: 48px;
    font-weight: 600;
    color: #1e293b;
    letter-spacing: 8px;
    display: block;
    margin-bottom: 15px;
    order: 1;
}
.about-title .en {
    font-size: 20px;
    font-weight: 300;
    color: #64748b;
    letter-spacing: 12px;
    text-transform: uppercase;
    display: block;
    margin: 15px 0;
    order: 2;
}
.about-title .about-divider {
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #0a4d8c, transparent);
    margin: 15px 0;
    order: 3;
}
.about-text {
    font-size: 21px;
    line-height: 2;
    color: #475569;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
.about-stats {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin-top: 40px;
    width: 100%;
    max-width: 1600px;
    height: 450px;
    background-size: 100% 100%;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
}
.stat-zone {
    width: 25%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.stat-zone.animate {
    opacity: 1;
    transform: translateY(0);
}
.stat-item {
    text-align: center;
    min-width: 150px;
    transition: transform 0.4s ease;
}
.stat-zone:hover .stat-item {
    transform: scale(1.2);
}
.stat-number {
    font-size: 56px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 30px;
}
.stat-label {
    font-size: 22px;
    color: #ffffff;
    letter-spacing: 2px;
}

@media (max-width: 991px) {
    .about-title .cn { font-size: 38px; letter-spacing: 6px; }
    .about-title .en { font-size: 16px; letter-spacing: 8px; }
    .about-text { font-size: 17px; }
    .about-stats { height: 350px; }
    .stat-number { font-size: 44px; }
    .stat-label { font-size: 18px; }
}

@media (max-width: 768px) {
    #about-us { padding: 50px 20px; }
    .about-title .cn { font-size: 32px; letter-spacing: 4px; }
    .about-title .en { font-size: 14px; letter-spacing: 6px; }
    .about-text { font-size: 15px; line-height: 1.8; }
    .about-stats { height: 300px; gap: 30px; }
    .stat-number { font-size: 40px; }
    .stat-label { font-size: 16px; }
}

@media (max-width: 575px) {
    .about-stats { height: auto; min-height: 250px; flex-wrap: wrap; gap: 20px; padding: 30px 15px; }
    .stat-item { min-width: 100px; }
    .about-title .cn { font-size: 28px; }
    .about-title .en { font-size: 12px; letter-spacing: 4px; }
    .about-text { font-size: 14px; }
    .stat-number { font-size: 36px; }
    .stat-label { font-size: 14px; }
}

@media (max-width: 400px) {
    .about-title .cn { font-size: 24px; letter-spacing: 2px; }
    .about-title .en { font-size: 11px; letter-spacing: 3px; }
    .about-text { font-size: 13px; }
    .stat-number { font-size: 32px; }
}

/* ----- 媒体中心板块 ----- */
#media-center {
    padding: 160px 20px 80px;
    background: #ffffff;
    transition: transform 0.5s ease;
}
#media-center.footer-shown {
    transform: translateY(-50px);
}
#media-center .container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}
.media-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
}
.media-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.media-title .cn {
    font-size: 48px;
    font-weight: 600;
    color: #1e293b;
    letter-spacing: 8px;
    display: block;
    margin-bottom: 15px;
}
.media-title .en {
    font-size: 20px;
    font-weight: 300;
    color: #64748b;
    letter-spacing: 8px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 15px;
}
.media-title::after {
    content: '';
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #0a4d8c, transparent);
    margin-top: 15px;
}
.media-readmore {
    padding: 12px 30px;
    border: 1px solid #0a4d8c;
    border-radius: 30px;
    color: #0a4d8c;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}
.media-readmore:hover {
    background: linear-gradient(135deg, #0a4d8c, #1a73e8);
    color: white;
}
.media-readmore::after {
    content: '';
    width: 8px;
    height: 8px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(-45deg);
    transition: transform 0.3s ease;
}
.media-readmore:hover::after {
    transform: rotate(-45deg) translateX(4px);
}
.media-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    flex: 1;
    align-items: center;
}
.media-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.08);
    transition: all 0.35s ease;
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
}
.media-card.animate {
    animation: fadeInUp 0.8s ease forwards;
}
.media-card:nth-child(1).animate { animation-delay: 0.1s; }
.media-card:nth-child(2).animate { animation-delay: 0.2s; }
.media-card:nth-child(3).animate { animation-delay: 0.3s; }
.media-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px -10px rgba(10,77,140,0.15);
}
.media-image-wrapper {
    position: relative;
    width: 100%;
    height: 360px;
    overflow: hidden;
}
.media-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.media-card:hover .media-image {
    transform: scale(1.05);
}
.media-date {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    padding: 8px 12px;
    border-radius: 8px;
    color: white;
    font-size: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.media-date .day {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}
.media-date .month {
    font-size: 10px;
    letter-spacing: 1px;
}
.media-info {
    padding: 22px;
}
.media-title-text {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.media-desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.media-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}
.media-pagination button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #0a4d8c;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.media-pagination button:hover {
    background: linear-gradient(135deg, #0a4d8c, #1a73e8);
    border-color: transparent;
    color: white;
}
.media-pagination button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.media-pagination button:hover:disabled {
    background: transparent;
    border-color: #0a4d8c;
    color: inherit;
}
.media-pagination .arrow-icon {
    font-size: 18px;
    font-weight: 300;
    color: #0a4d8c;
    transition: color 0.3s ease;
}
.media-pagination button:hover .arrow-icon {
    color: white;
}
.media-pagination .page-indicator {
    font-size: 14px;
    color: #64748b;
    min-width: 50px;
    text-align: center;
}

@media (max-width: 991px) {
    .media-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    .media-title .cn { font-size: 30px; }
    .media-title .en { font-size: 14px; letter-spacing: 6px; }
    .media-image-wrapper { height: 200px; }
}

@media (max-width: 768px) {
    #media-center { padding: 50px 20px; }
    .media-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .media-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .media-title .cn { font-size: 26px; letter-spacing: 3px; }
    .media-title .en { font-size: 12px; letter-spacing: 4px; }
    .media-image-wrapper { height: 180px; }
}

@media (max-width: 400px) {
    .media-title .cn { font-size: 22px; }
    .media-title .en { font-size: 11px; }
}

