* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section {
    padding: 110px 0;
}

.bg-light {
    background-color: #f9f9f9;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    color: #002244;
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.section-title p {
    font-size: 14px;
    color: #99aab5;
    letter-spacing: 3px;
    margin-bottom: 15px;
    font-weight: 500;
}

.section-title .line {
    width: 40px;
    height: 4px;
    background-color: #003366;
    margin: 0 auto;
    border-radius: 2px;
}

.header {
    height: 85px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.header.scrolled {
    height: 70px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}

.logo h1 {
    font-size: 24px;
    color: #003366;
}

.logo span {
    font-size: 12px;
    color: #999;
    display: block;
    margin-top: -5px;
}

.nav ul {
    display: flex;
}

.nav ul li {
    margin-left: 30px;
}

.nav ul li a {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.nav ul li a:hover, .nav ul li a.active {
    color: #003366;
}

.banner {
    height: 600px;
    background: linear-gradient(rgba(0,51,102,0.7), rgba(0,51,102,0.7)), url('https://images.unsplash.com/photo-1513828583688-c52646db42da?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.banner-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.banner-content p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 800px;
}

.btn-more {
    display: inline-block;
    padding: 14px 40px;
    background-color: #003366;
    color: #fff;
    border: 1px solid #003366;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: 0.4s;
}

.btn-more::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.btn-more:hover::before {
    left: 100%;
}

.btn-more:hover {
    background-color: #002244;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,51,102,0.2);
    color: #fff;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-size: 18px;
    color: #666;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.product-card {
    background: #fff;
    padding: 25px;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: rgba(0,51,102,0.1);
}

.product-card .img-box {
    width: 100%;
    height: 240px; 
    margin-bottom: 20px;
    overflow: hidden;
    background-color: #fcfcfc;
    background: radial-gradient(circle, #ffffff 0%, #f9f9f9 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    transition: 0.4s;
}

.product-card:hover .img-box {
    background: radial-gradient(circle, #ffffff 0%, #f0f4f8 100%);
}

.product-card img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.08));
    transition: transform 0.5s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

.product-card h3 {
    font-size: 20px;
    color: #002244;
    margin-bottom: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.product-card p {
    font-size: 15px;
    color: #777;
    line-height: 1.5;
    margin-bottom: 15px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-item {
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    border-color: rgba(0,51,102,0.1);
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    background: #f0f4f8;
    color: #003366;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 25px;
    transition: 0.4s;
}

.feature-item:hover .icon-wrapper {
    background: #003366;
    color: #fff;
    transform: rotateY(180deg);
}

.feature-item h3 {
    font-size: 20px;
    color: #002244;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-item p {
    font-size: 15px;
    color: #778899;
    line-height: 1.6;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.case-item {
    display: block;
    height: 250px;
    overflow: hidden;
}

.case-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.case-item:hover img {
    transform: scale(1.1);
}

/* 优化加载体验：入场动画 */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

img {
    animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Lightbox Styles */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 4000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85%;
    border-radius: 8px;
    box-shadow: 0 0 40px rgba(0,0,0,0.5);
    transform: scale(0.9);
    animation: modalScale 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    transition: 0.3s;
}

.lightbox-close:hover {
    transform: scale(1.2) rotate(90deg);
}

.footer {
    background-color: #333;
    color: #ccc;
    padding: 60px 0 20px;
}

.grid-footer {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer h3, .footer h4 {
    color: #fff;
    margin-bottom: 20px;
}

.footer-info p {
    margin-bottom: 10px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: #fff;
}

.qr-code {
    width: 100px;
    height: 100px;
    background: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
}

.cert-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.cert-links a:hover {
    color: #fff;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
    backdrop-filter: blur(5px);
}

/* Contact Modal Styles */
.contact-modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.4s ease;
}

.contact-modal-content {
    background: #fff;
    width: 90%;
    max-width: 800px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: scale(0.9);
    animation: modalScale 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

@keyframes modalScale {
    to { transform: scale(1); }
}

.close-contact {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 30px;
    color: #999;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
}

.close-contact:hover {
    color: #003366;
    transform: rotate(90deg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
}

.contact-qr-section {
    background: #f8faff;
    padding: 60px 40px;
    text-align: center;
    border-right: 1px solid #eee;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact-qr-section img {
    width: 220px;
    height: 220px;
    padding: 10px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.contact-qr-section p {
    color: #003366;
    font-weight: 600;
    font-size: 16px;
}

.contact-info-section {
    padding: 60px 50px;
    background: #fff;
}

.contact-info-section h2 {
    font-size: 28px;
    color: #002244;
    margin-bottom: 35px;
    position: relative;
    padding-bottom: 15px;
}

.contact-info-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 4px;
    background: #003366;
    border-radius: 2px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.info-item i {
    width: 45px;
    height: 45px;
    background: #f0f4f8;
    color: #003366;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-right: 20px;
    flex-shrink: 0;
}

.info-item span {
    display: block;
    font-size: 13px;
    color: #99aab5;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    font-weight: 600;
}

.info-item p {
    font-size: 17px;
    color: #334455;
    font-weight: 500;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .contact-qr-section {
        padding: 40px;
        border-right: none;
        border-bottom: 1px solid #eee;
    }
    .contact-info-section {
        padding: 40px;
    }
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-modal:hover,
.close-modal:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

@media (max-width: 992px) {
    .product-grid, .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-footer {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none; /* 简化演示，隐藏移动端菜单 */
    }
    .banner-content h2 {
        font-size: 32px;
    }
    .case-grid {
        grid-template-columns: 1fr;
    }
    .grid-footer {
        grid-template-columns: 1fr;
    }
}