/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #121212;
    color: #e0e0e0;
    line-height: 1.6;
    overflow-x: hidden;
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    background-color: #1e1e1e;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease, transform 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #4CAF50;
    transform: translateY(-2px);
}

.nav-links a.active {
    color: #4CAF50;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #4CAF50;
}

.mobile-menu {
    display: none;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #e0e0e0;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* 英雄区域 */
.hero {
    background: linear-gradient(135deg, #1e1e1e 0%, #2a2a2a 100%);
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('img/index_banner.jpg') no-repeat center center;
    background-size: cover;
    opacity: 1;
    z-index: 0;
}

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

.hero-image {
    margin-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

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

.hero-image:hover img {
    transform: scale(1.05);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #fff;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #b0b0b0;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn.primary {
    background-color: #4CAF50;
    color: #fff;
}

.btn.primary:hover {
    background-color: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.btn.secondary {
    background-color: transparent;
    color: #4CAF50;
    border: 2px solid #4CAF50;
}

.btn.secondary:hover {
    background-color: #4CAF50;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

/* 公司简介 */
.about-section {
    padding: 80px 0;
    background-color: #1a1a1a;
}

.about-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #fff;
    position: relative;
}

.about-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #4CAF50;
}

.about-content {
    display: flex;
    gap: 3rem;
    align-items: center;
    flex-wrap: wrap;
}

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

.about-text p {
    margin-bottom: 1rem;
    color: #b0b0b0;
}

.about-image {
    flex: 1;
    min-width: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* 产品展示 */
.products-section {
    padding: 80px 0;
    background-color: #121212;
}

.products-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #fff;
    position: relative;
}

.products-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #4CAF50;
}

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

.product-card {
    background-color: #1e1e1e;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-content {
    padding: 1.5rem;
}

.product-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.product-content p {
    margin-bottom: 1.5rem;
    color: #b0b0b0;
}

/* 技术优势 */
.tech-section {
    padding: 80px 0;
    background-color: #1a1a1a;
}

.tech-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #fff;
    position: relative;
}

.tech-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #4CAF50;
}

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

.tech-card {
    background-color: #1e1e1e;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.tech-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.tech-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #fff;
}

.tech-card p {
    color: #b0b0b0;
}

/* 联系我们 */
.contact-section {
    padding: 80px 0;
    background-color: #121212;
}

.contact-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #fff;
    position: relative;
}

.contact-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #4CAF50;
}

.contact-content {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    background-color: #1e1e1e;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.contact-info p {
    margin-bottom: 1rem;
    color: #b0b0b0;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background-color: #1e1e1e;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

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

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 1px solid #333;
    border-radius: 4px;
    background-color: #2a2a2a;
    color: #e0e0e0;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #4CAF50;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* 页脚 */
.footer {
    background-color: #1e1e1e;
    padding: 40px 0;
    border-top: 1px solid #333;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-logo img {
    height: 50px;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #4CAF50;
}

.footer-copyright {
    color: #666;
    text-align: center;
}

/* 产品页面 */
.product-page {
    padding: 200px 0 80px;
    background-color: #121212;
}

.product-header {
    text-align: center;
    margin-bottom: 4rem;
}

.product-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #fff;
}

.product-header p {
    font-size: 1.2rem;
    color: #fff;
    max-width: 800px;
    margin: 0 auto;
}

.product-features {
    padding: 100px 0 60px;
    background-color: #1a1a1a;
}

.product-features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #fff;
    position: relative;
}

.product-features h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #4CAF50;
}

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

.feature-card {
    background-color: #1e1e1e;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #4CAF50;
}

.feature-card p {
    color: #b0b0b0;
}

.product-benefits {
    padding: 80px 0;
    background-color: #121212;
}

.product-benefits h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #fff;
    position: relative;
}

.product-benefits h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #4CAF50;
}

.benefits-content {
    display: flex;
    gap: 3rem;
    align-items: center;
    flex-wrap: wrap;
}

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

.benefits-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.benefits-text ul {
    list-style: none;
    margin-bottom: 2rem;
}

.benefits-text li {
    margin-bottom: 1rem;
    color: #b0b0b0;
    position: relative;
    padding-left: 2rem;
}

.benefits-text li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
}

.benefits-image {
    flex: 1;
    min-width: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefits-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.benefits-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background-color: #1e1e1e;
        padding: 2rem;
        transition: left 0.3s ease;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }

    .nav-links.active {
        left: 0;
    }

    .mobile-menu {
        display: block;
    }

    .mobile-menu.active .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .mobile-menu.active .bar:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu.active .bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

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

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .about-content,
    .contact-content,
    .benefits-content {
        flex-direction: column;
    }

    .products-grid,
    .tech-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

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

    .about-section h2,
    .products-section h2,
    .tech-section h2,
    .contact-section h2,
    .product-features h2,
    .product-benefits h2 {
        font-size: 2rem;
    }

    .product-header h1 {
        font-size: 2.5rem;
    }

    .container {
        padding: 0 15px;
    }
}

/* 六大核心模块网格布局 */
.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.module-card {
    background-color: #1e1e1e;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #333;
}

.module-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(76, 175, 80, 0.2);
    border-color: #2b3507;
}

.module-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.module-icon img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.module-card h3 {
    font-size: 1.3rem;
    color: #fff;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.module-desc {
    font-size: 0.9rem;
    color: #b0b0b0;
    line-height: 1.5;
    margin: 0;
}

/* 亮点功能 */
.highlight-features {
    padding: 80px 0;
    background-color: #121212;
}

.highlight-features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #fff;
    position: relative;
}

.highlight-features h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #4CAF50;
}

.highlight-card {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    margin-bottom: 4rem;
    background-color: #1a1a1a;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-5px);
}

.highlight-card.reverse {
    flex-direction: row-reverse;
}

.highlight-image {
    flex: 1;
    min-width: 300px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    margin-top: 0;
}

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

.highlight-card:hover .highlight-image img {
    transform: scale(1.05);
}

.highlight-content {
    flex: 1;
    min-width: 300px;
}

.highlight-content h3 {
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: #4CAF50;
    font-weight: 700;
}

.highlight-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #b0b0b0;
    margin-bottom: 2rem;
}

.highlight-content ul {
    list-style: none;
}

.highlight-content li {
    margin-bottom: 1rem;
    color: #d0d0d0;
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.5;
}

.highlight-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
}

.highlight-content strong {
    color: #fff;
    font-weight: 600;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .highlight-card,
    .highlight-card.reverse {
        flex-direction: column;
    }
    
    .highlight-image,
    .highlight-content {
        min-width: 100%;
    }
    
    .highlight-content h3 {
        font-size: 1.6rem;
    }
    
    .modules-grid {
        grid-template-columns: 1fr;
    }
    
    .highlight-card {
        padding: 2rem;
    }
}

/* 产品页面英雄背景 */
.product-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.95;
}

.product-page {
    position: relative;
}

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