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

body {
    font-family: 'Inter', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.7;
    color: #e2e8f0;
    background-color: #0f172a;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    background-attachment: fixed;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 90vw;
    margin: 0 auto;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
header {
    background-color: rgba(15, 23, 42, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: fixed;
    width: 90vw;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(56, 189, 248, 0.1);
    transition: all 0.3s ease;
}

header.scrolled {
    background-color: rgba(15, 23, 42, 0.98);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.4);
    /* padding: 10px 0; */
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo img {
    height: 50px;
    filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.5));
    transition: all 0.3s ease;
}

header.scrolled .logo img {
    height: 45px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: #e2e8f0;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 1rem;
    letter-spacing: 0.02em;
    display: block;
}

nav ul li a:hover {
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.15);
}

nav ul li a.active {
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.2);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 12px;
    right: 12px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #38bdf8, transparent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

nav ul li a:hover::after,
nav ul li a.active::after {
    transform: scaleX(1);
}

/* 首页横幅 */
.hero {
    color: white;
    text-align: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
    background-image: url('background/bg.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
    opacity: 0.5;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 2;
    /* max-width: 800px; */
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    color: #ffffff;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 30px;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.8);
    color: #f1f5f9;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    margin: 0 10px;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #007bff;
    color: #007bff;
}

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


/* 按钮样式 - 统一整个网站的按钮风格 */
.btn {
    display: inline-block;
    padding: 14px 32px;
    background: transparent;
    color: #38bdf8;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    border: 2px solid #38bdf8;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    box-shadow: none;
    outline: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    letter-spacing: 0.02em;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #38bdf8, #818cf8);
    transition: all 0.5s ease;
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn:hover {
    color: white;
    transform: none;
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.4);
}

.btn-primary {
    background: linear-gradient(135deg, #38bdf8, #818cf8);
    color: white;
    border: none;
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.4);
    font-weight: 600;
}

.btn-primary::before {
    display: none;
}

.btn-primary:hover {
    box-shadow: 0 8px 25px rgba(56, 189, 248, 0.6);
    transform: translateY(-2px);
    background: linear-gradient(135deg, #38bdf8, #818cf8);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #38bdf8;
    color: #38bdf8;
}

.btn-outline:hover {
    background-color: #38bdf8;
    color: white;
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-small {
    padding: 10px 22px;
    font-size: 0.9rem;
}

/* 按钮微光效果 */
.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -50%;
    width: 100px;
    height: 200px;
    background: linear-gradient(transparent 25%, rgba(255, 255, 255, 0.5), transparent 75%);
    transform: rotate(45deg);
    animation: glow 4s linear infinite;
}

@keyframes glow {
    from {
        left: -50%;
    }

    to {
        left: 125%;
    }
}

/* 产品部分 */
.products {
    padding: 20px 0;
    background: linear-gradient(to bottom, #0f172a, #1e293b);
    position: relative;
}

.products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background:  */
    /* radial-gradient(circle at 10% 20%, rgba(56, 189, 248, 0.1) 0%, transparent 20%), */
    /* radial-gradient(circle at 90% 80%, rgba(129, 140, 248, 0.1) 0%, transparent 20%); */
    z-index: 0;
}

.products .container {
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #e2e8f0;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #38bdf8, #818cf8);
    border-radius: 3px;
}

.section-subtitle {
    color: #94a3b8;
    font-size: 1.2rem;
    margin-top: 15px;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    /* background: linear-gradient(145deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95)); */
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(56, 189, 248, 0.25);
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 45px rgba(56, 189, 248, 0.35);
    border: 1px solid rgba(56, 189, 248, 0.5);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    /* background: linear-gradient(to right, #38bdf8, #818cf8); */
}

.product-card-image {
    height: auto;
    aspect-ratio: 16/9;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-card-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(to bottom, rgba(15, 23, 42, 0.7), transparent); */
    z-index: 1;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: brightness(0.95);
}

.product-card:hover .product-card-image img {
    transform: scale(1.08);
    filter: brightness(1);
}

.product-card-content {
    padding: 28px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-card h3 {
    font-size: 1.6rem;
    color: #e2e8f0;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.product-card p {
    color: #94a3b8;
    flex-grow: 1;
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 1rem;
}

.product-card .btn {
    margin: 10px 0 0;
    padding: 12px 25px;
    font-size: 1rem;
    border-radius: 30px;
    transition: all 0.3s ease;
    align-self: center;
}

/* 产品展示轮播图 */
.product-showcase {
    padding: 100px 0;
    background: linear-gradient(to bottom, #1e293b, #334155);
    position: relative;
    overflow: hidden;
}

.product-showcase::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.05) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.section-header h2 {
    color: #e2e8f0;
}

.section-subtitle {
    color: #94a3b8;
}

.carousel {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(56, 189, 248, 0.2);
}

.carousel-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.carousel-item.active {
    opacity: 1;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    object-fit: contain;
}

.carousel-control-prev,
.carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(15, 23, 42, 0.7);
    color: #38bdf8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 10;
    transition: all 0.3s ease;
    border: 1px solid rgba(56, 189, 248, 0.3);
    backdrop-filter: blur(5px);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(30, 41, 59, 0.9);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.5);
}

.carousel-control-prev {
    left: 30px;
}

.carousel-control-next {
    right: 30px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    font-size: 28px;
    font-weight: bold;
}

.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 10;
    gap: 10px;
}

.carousel-indicators button {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(56, 189, 248, 0.5);
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicators button.active,
.carousel-indicators button:hover {
    background: #38bdf8;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.7);
}

/* 资质证书部分 */
.certifications {
    padding: 20px 0;
    background: linear-gradient(to bottom, #334155, #475569);
    position: relative;
}

.certifications .section-header h2 {
    color: #e2e8f0;
}

.certifications .section-subtitle {
    color: #cbd5e1;
}

.cert-grid {
    display: grid;
    /* grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); */
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.cert-card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95));
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(56, 189, 248, 0.2);
}

.cert-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(56, 189, 248, 0.3);
    border: 1px solid rgba(56, 189, 248, 0.4);
}

.cert-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #e2e8f0;
}

.cert-card p {
    margin-bottom: 25px;
    color: #94a3b8;
}

.cert-card .btn {
    margin: 10px;
}

/* 关于我们部分 */
.about {
    padding: 20px 0;
    background: linear-gradient(to bottom, #475569, #64748b);
    position: relative;
}

.about .section-header h2 {
    color: #e2e8f0;
}

.about .section-subtitle {
    color: #cbd5e1;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: #e2e8f0;
    line-height: 1.8;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
    padding: 25px;
    background: rgba(15, 23, 42, 0.5);
    border-radius: 10px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(56, 189, 248, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(56, 189, 248, 0.4);
}

.stat-item h3 {
    font-size: 2.2rem;
    color: #38bdf8;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

.stat-item p {
    color: #cbd5e1;
    margin: 0;
    font-weight: 500;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(56, 189, 248, 0.2);
    transition: all 0.3s ease;
}

.about-image img:hover {
    box-shadow: 0 25px 60px rgba(56, 189, 248, 0.3);
    transform: scale(1.02);
}

/* 联系我们部分 */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: white;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(56, 189, 248, 0.1) 0%, transparent 25%),
        radial-gradient(circle at 80% 70%, rgba(129, 140, 248, 0.1) 0%, transparent 25%);
    z-index: 0;
}

.contact .container {
    position: relative;
    z-index: 1;
}

.contact .section-header h2 {
    color: #e2e8f0;
}

.contact .section-subtitle {
    color: #94a3b8;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

.contact-card {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(56, 189, 248, 0.2);
}

.contact-card:hover {
    transform: translateY(-5px);
    background: rgba(30, 41, 59, 0.9);
    border: 1px solid rgba(56, 189, 248, 0.4);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: rgba(56, 189, 248, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
    background: rgba(56, 189, 248, 0.4);
    transform: scale(1.1);
}

.contact-icon svg {
    width: 30px;
    height: 30px;
    color: #38bdf8;
}

.contact-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #e2e8f0;
}

.contact-card p {
    color: #cbd5e1;
    line-height: 1.6;
}

.contact-form {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(56, 189, 248, 0.2);
}

.contact-form:hover {
    border: 1px solid rgba(56, 189, 248, 0.4);
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #e2e8f0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.7);
    color: white;
    font-size: 1rem;
    border: 1px solid rgba(56, 189, 248, 0.2);
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(203, 213, 225, 0.7);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(56, 189, 248, 0.5);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.3);
}

/* 页脚 */
footer {
    background: #0f172a;
    color: #94a3b8;
    text-align: center;
    padding: 60px 0 30px;
    border-top: 1px solid rgba(56, 189, 248, 0.1);
}

.footer-content {
    /* display: grid; */
    display: flex;
    /* grid-template-columns: 1fr 1fr; */
    gap: 50px;
    margin-bottom: 40px;
    text-align: left;
}

.footer-section {
    width: 100%;
}

.footer-section h3 {
    color: #e2e8f0;
    font-size: 1.5rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(to right, #38bdf8, #818cf8);
    border-radius: 3px;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: all 0.3s ease;
}

.footer-contact-item:hover {
    transform: translateX(5px);
}

.footer-contact-item .contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(56, 189, 248, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-contact-item .contact-icon svg {
    width: 20px;
    height: 20px;
    color: #38bdf8;
}

.footer-contact-item p {
    color: #cbd5e1;
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
}

.footer-qr-code {
    text-align: center;
}

.qr-code-img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 12px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.95);
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.qr-code-img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.footer-qr-code p {
    color: #94a3b8;
    margin: 0;
    font-size: 0.95rem;
}

.footer-bottom {
    border-top: 1px solid rgba(56, 189, 248, 0.1);
    padding-top: 20px;
}

.footer-bottom p {
    color: #64748b;
    margin: 0;
    font-size: 0.9rem;
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(10deg);
    }

    100% {
        transform: translateY(0) rotate(0deg);
    }
}

/* 按钮微光效果 */
.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -50%;
    width: 100px;
    height: 200px;
    background: linear-gradient(transparent 25%, rgba(255, 255, 255, 0.5), transparent 75%);
    transform: rotate(45deg);
    animation: glow 4s linear infinite;
}

@keyframes glow {
    from {
        left: -50%;
    }

    to {
        left: 125%;
    }
}

/* 产品详情页 */
.product-detail {
    padding: 120px 0 50px;
    background: linear-gradient(to bottom, #0f172a, #1e293b);
    min-height: 100vh;
}

.product-detail h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #e2e8f0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.product-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.product-image {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 100%;
}

.product-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border: 2px solid rgba(56, 189, 248, 0.2);
    border-radius: 20px;
    z-index: -1;
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.02);
    }

    100% {
        opacity: 0.3;
        transform: scale(1);
    }
}

.product-image img {
    max-width: 100%;
    max-height: 500px;
    width: auto;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(56, 189, 248, 0.2);
    transition: all 0.3s ease;
}

.product-image img:hover {
    box-shadow: 0 25px 60px rgba(56, 189, 248, 0.3);
    transform: scale(1.02);
}

.product-description {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-description h2 {
    margin: 25px 0 15px;
    color: #e2e8f0;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.product-description h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, #38bdf8, #818cf8);
    border-radius: 3px;
}

/* 产品特点列表 */
.feature-list {
    list-style: none;
    margin: 20px 0;
}

.feature-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(56, 189, 248, 0.1);
    color: #cbd5e1;
    display: flex;
    align-items: center;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-icon {
    color: #38bdf8;
    font-weight: bold;
    margin-right: 15px;
    font-size: 1.2rem;
}

/* 技术参数表格 */
.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: rgba(15, 23, 42, 0.5);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(56, 189, 248, 0.2);
}

.specs-table tr {
    border-bottom: 1px solid rgba(56, 189, 248, 0.1);
}

.specs-table tr:last-child {
    border-bottom: none;
}

.specs-table tr:nth-child(even) {
    background: rgba(30, 41, 59, 0.3);
}

.spec-name {
    padding: 15px;
    font-weight: 500;
    color: #e2e8f0;
    width: 35%;
}

.spec-value {
    padding: 15px;
    color: #94a3b8;
}

.downloads {
    margin-top: 30px;
}

.downloads h2 {
    color: #e2e8f0;
}

.downloads .btn {
    margin-right: 15px;
    margin-bottom: 15px;
}

/* 产品画廊 */
.gallery {
    padding: 80px 0;
    background: linear-gradient(to bottom, #1e293b, #334155);
}

.gallery h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: #e2e8f0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    aspect-ratio: 4/3;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(56, 189, 248, 0.3);
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.8), transparent);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .about-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }

    .product-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }

    nav ul {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li {
        margin: 5px 10px;
    }

    .hero {
        padding: 150px 0 100px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    }

    .product-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .downloads .btn {
        display: block;
        margin-bottom: 10px;
    }

    .hero-buttons .btn {
        display: block;
        margin: 10px auto;
        width: 80%;
        max-width: 200px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .footer-content {
        gap: 30px;
    }
}

/* 针对小屏幕设备的优化 */
@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }

    header .container {
        padding: 15px;
    }

    .logo img {
        height: 40px;
    }

    nav ul li {
        margin: 5px;
    }

    .hero {
        padding: 120px 0 80px;
        min-height: 400px;
    }

    .hero h1 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .hero-buttons {
        gap: 10px;
    }

    .hero-buttons .btn {
        width: 90%;
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .products,
    .product-showcase,
    .certifications,
    .about,
    .contact {
        padding: 20px 0;
    }

    .product-grid,
    .cert-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-card-image {
        height: 200px;
    }

    .product-card-content {
        padding: 20px;
    }

    .product-card h3 {
        font-size: 1.3rem;
    }

    .about-content,
    .contact-wrapper,
    .footer-content {
        gap: 30px;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .stat-item {
        padding: 15px;
    }

    .stat-item h3 {
        font-size: 1.6rem;
    }

    .contact-card {
        padding: 20px;
    }

    .contact-form {
        padding: 20px;
    }

    .carousel {
        height: 300px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }

    .carousel-indicators button {
        width: 10px;
        height: 10px;
    }

    .footer-content {
        /* grid-template-columns: 1fr; */
        gap: 30px;
    }

    .footer-bottom p {
        font-size: 0.8rem;
    }

    .qr-code-img {
        width: 120px;
        height: 120px;
    }
}

/* 针对大屏幕设备的优化 */
@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .hero p {
        font-size: 1.5rem;
    }

    .section-header h2 {
        font-size: 2.8rem;
    }

    .product-card h3 {
        font-size: 1.8rem;
    }

    .stat-item h3 {
        font-size: 2.5rem;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 60px;
    width: auto;
}

.logo-text h1 {
    font-size: 1.4rem;
    color: #f9f5f5;
    margin: 0;
    font-weight: 700;
}

.logo-text p {
    font-size: 0.85rem;
    color: #666;
    margin: 3px 0 0;
}


/* -------------------------------------- */

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.footer-contact-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.contact-icon {
    min-width: 40px;
    height: 40px;
    background-color: #007bff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-text h4 {
    margin: 0 0 5px 0;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

.contact-text p {
    margin: 0;
    color: #ddd;
    line-height: 1.5;
    font-size: 14px;
}

@media (min-width: 768px) {
    .footer-contact-info {
        flex-direction: row;
        justify-content: space-between;
    }

    .footer-contact-item {
        flex: 1;
        margin-right: 15px;
    }

    .footer-contact-item:last-child {
        margin-right: 0;
    }
}


/* ----------------------------------------------- */
.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h3 {
    /* color: #007bff; */
    margin: 25px 0 10px;
    font-size: 20px;
}

.about-image {
    flex: 1;
    min-width: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.about-image:hover img {
    transform: scale(1.03);
}

.about-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    min-width: 150px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.stat-icon {
    color: #007bff;
    flex-shrink: 0;
}

.stat-content h3 {
    margin: 0 0 5px 0;
    font-size: 24px;
    color: #333;
}

.stat-content p {
    margin: 0;
    color: #666;
}

@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
    }
    
    .about-text, .about-image {
        width: 100%;
    }
    
    .stat-item {
        flex: 1 1 100%;
    }
}

/* ---------------------------------------------- */

.hero-content {
    display: flex;
    align-items: center;
    min-height: 100vh;
}

.hero-text {
    /* max-width: 650px; */
    text-align: left;
}

.hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #e0e0e0;
}

.hero-description p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* 英雄区域文字颜色优化 */
.hero-text h1 {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    color: #f0f0f0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.hero-description p {
    color: #e0e0e0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* 按钮颜色优化 */
.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.btn-secondary {
    background-color: transparent;
    border-color: #ffffff;
    color: #ffffff;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.hero {
    width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
    /* 使用负边距抵消 body 的限制 */
    margin-left: calc((100vw - 90vw) / -2);
    margin-right: calc((100vw - 90vw) / -2);
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center; /* 添加这行实现水平居中 */
    min-height: 100vh;
    text-align: center; /* 如果需要文字本身也居中对齐 */
}

.hero-background {
    width: 100vw;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: -2;
}

.hero-background img {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    display: block;
    margin: 0;
    padding: 0;
}


/* 为标题添加白色描边 */
.hero-text h1 {
    color: #ffffff;
    text-shadow: 
        0 2px 10px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(0, 0, 0, 0.5);
    -webkit-text-stroke: 1px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    color: #ffffff;
    text-shadow: 
        0 1px 8px rgba(0, 0, 0, 0.7),
        0 0 15px rgba(0, 0, 0, 0.4);
}

.hero-description p {
    color: #ffffff;
    text-shadow: 
        0 1px 6px rgba(0, 0, 0, 0.6),
        0 0 10px rgba(0, 0, 0, 0.3);
}

/* 汉堡菜单按钮样式 */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #e2e8f0;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* 移动端样式 */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(15, 23, 42, 0.95);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.3s ease;
        z-index: 1000;
    }
    
    .main-nav.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
    }
    
    .main-nav ul li {
        margin: 10px 0;
        width: 100%;
        text-align: center;
    }
    
    .main-nav ul li a {
        padding: 12px 0;
        display: block;
    }
}

/* ------------------------------------------------ */

.product-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.product-image-card {
    /* background: #f8f9fa; */
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.product-info-card {
    /* color: black; */
    /* background: white; */
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.product-specs-card {
    /* background: white; */
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.specs-grid {
    display: grid;
    /* grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); */
    gap: 5px;
    margin-top: 20px;
}

.spec-item {
    text-align: center;
    display: flex;
    justify-content: space-between;
    padding: 5px;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease; /* 添加过渡动画 */

}
/* 鼠标悬停时高亮整行 */
.spec-item:hover {
    background-color: black; /* 设置悬停背景色 */
    cursor: pointer; /* 鼠标变为手型指针 */
}
.spec-name {
    font-weight: 600;
    /* color: black; */
}

.spec-value {
    /* color: black; */
    text-align: right;
}

.download-section-card {
    /* background: #f8f9fa; */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .product-content-grid {
        grid-template-columns: 1fr;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
}

.feature-list li {
    padding: 15px 15px;
    transition: background-color 0.3s ease;
    border-radius: 4px;
}

.feature-list li:hover {
    background-color: black; /* 浅蓝色高亮背景 */
    cursor: pointer;
}

/* 添加到 styles.css 文件中 */
.footer-bottom a {
    color: inherit; /* 继承父元素的颜色（白色） */
    text-decoration: none; /* 去除下划线 */
}

.footer-bottom a:hover {
    text-decoration: none; /* 确保悬停时也没有下划线 */
}

/* 去除logo区域链接的下划线和颜色 */
.logo a {
    text-decoration: none; /* 去除下划线 */
    color: inherit; /* 继承父元素颜色，或设置为你想要的颜色 */
}

.logo a:hover {
    text-decoration: none; /* 悬停时也保持无下划线 */
}