:root {
    --primary-color: #1e3799;
    --secondary-color: #4a69bd;
    --accent-color: #0c2461;
    --text-color: #333;
    --light-bg: #f8f9fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    position: relative;
    margin-left: 30px;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #007bff;
}

/* 产品中心链接样式 */
.nav-links .dropdown > a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links .dropdown > a:hover {
    color: #007bff;
}

/* 下拉菜单样式 */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 200px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 4px;
    padding: 0;
    margin: 0;
    display: none;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    margin: 0;
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s;
}

.dropdown-menu a:hover {
    background-color: #f8f9fa;
}

/* 二级菜单样式 */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .submenu {
    position: absolute;
    left: 100%;
    top: 0;
    background: #fff;
    min-width: 200px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 4px;
    display: none;
}

.dropdown-submenu:hover .submenu {
    display: block;
}

/* 产品链接样式 */
.product-link {
    padding: 8px 15px;
    color: #666;
    transition: all 0.3s;
}

.product-link:hover {
    background-color: #f8f9fa;
    color: #007bff;
}

/* 轮播图样式 */
.hero-slider {
    height: 600px;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 轮播图内容样式 */
.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slide-content h2 {
    font-size: 3em;
    margin-bottom: 20px;
}

.slide-content p {
    font-size: 1.5em;
}

/* 产品中心样式 */
.section-title {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5em;
    margin: 40px 0;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--primary-color);
}

/* 产品网格布局更新 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 固定三列 */
    gap: 25px;
    padding: 40px 0;
}

.product-card {
    position: relative;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    cursor: pointer;
}

.product-number {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary-color);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    z-index: 1;
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.product-info p {
    color: var(--text-color);
    font-size: 0.9em;
    line-height: 1.5;
    margin-bottom: 15px;
}

/* 关于我们样式 */
.company-intro {
    padding: 80px 0;
    background: var(--light-bg);
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.intro-text p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.intro-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 发展历程样式 */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-item {
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.year {
    background: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: bold;
    z-index: 1;
}

.content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    margin-left: 30px;
    flex: 1;
    max-width: 400px;
}

/* 企业文化样式 */
.culture {
    padding: 80px 0;
    background: var(--light-bg);
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.culture-item {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.culture-item:hover {
    transform: translateY(-5px);
}

.culture-item i {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* 团队样式 */
.team {
    padding: 80px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.team-member {
    text-align: center;
}

.member-photo {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.position {
    color: var(--secondary-color);
    font-weight: bold;
    margin: 10px 0;
}

/* 页脚样式 */
footer {
    background: var(--accent-color);
    color: white;
    padding: 60px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.footer-bottom p {
    margin: 10px 0;
    font-size: 0.9em;
    color: rgba(255,255,255,0.7);
}

.footer-bottom a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}

.footer-bottom img {
    vertical-align: middle;
    margin-right: 5px;
    height: 16px;
}

/* 悬浮菜单样式 */
.floating-menu {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
}

.floating-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.floating-menu li {
    margin: 8px 0;
    transition: opacity 0.3s, visibility 0.3s;
}

.floating-menu a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
}

.floating-menu a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(-5px);
}

.floating-menu a::before {
    content: attr(title);
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    margin-right: 10px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.floating-menu a:hover::before {
    opacity: 1;
    visibility: visible;
}

/* 添加回到顶部按钮的动画效果 */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.floating-menu li:first-child {
    animation: fadeInRight 0.3s ease-out;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .floating-menu {
        display: none; /* 在移动端隐藏悬浮菜单 */
    }
}

/* 更新产品弹窗样式 */
.product-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 2000;
    overflow-y: auto;
    padding: 40px 20px;
}

.modal-content {
    position: relative;
    background: white;
    max-width: 900px;
    margin: 40px auto;
    padding: 0;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    overflow: hidden;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--text-color);
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    z-index: 1;
}

.close-modal:hover {
    background: var(--primary-color);
    color: white;
    transform: rotate(90deg);
}

.modal-body {
    padding: 0;
}

.product-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 450px;
}

.product-image-large {
    position: relative;
    background: var(--light-bg);
    height: 100%;
}

.product-image-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info-detailed {
    padding: 30px;
    background: white;
}

.product-info-detailed h2 {
    color: var(--primary-color);
    font-size: 2em;
    margin-bottom: 15px;
    line-height: 1.2;
}

.product-description {
    margin: 20px 0;
}

.product-description h3 {
    color: var(--text-color);
    font-size: 1.2em;
    margin-bottom: 15px;
    font-weight: 600;
}

.product-description p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.product-features {
    margin: 20px 0;
}

.product-features h3 {
    color: var(--text-color);
    font-size: 1.2em;
    margin-bottom: 15px;
    font-weight: 600;
}

.product-features ul {
    list-style: none;
    padding: 0;
}

.product-features li {
    position: relative;
    padding: 8px 0 8px 30px;
    color: #666;
}

.product-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.product-downloads {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.product-downloads h3 {
    color: var(--text-color);
    font-size: 1.2em;
    margin-bottom: 20px;
    font-weight: 600;
}

.download-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.download-buttons .download-btn {
    padding: 12px 25px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    font-weight: 500;
}

.download-buttons .download-btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.download-buttons .download-btn i {
    font-size: 1.2em;
}

/* 响应式布局补充 */
@media (max-width: 768px) {
    .product-details {
        grid-template-columns: 1fr;
    }
    
    .product-image-large {
        height: 300px;
    }
    
    .product-info-detailed {
        padding: 30px 20px;
    }
    
    .modal-content {
        margin: 10px;
    }
}

/* 响应式布局 */
@media (max-width: 768px) {
    .product-grid,
    .culture-grid,
    .team-grid,
    .intro-content {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 0;
    }
    
    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* 添加平滑滚动效果 */
html {
    scroll-behavior: smooth;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        padding: 10px;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        margin-top: 10px;
    }

    .nav-links li {
        margin: 5px 0;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        display: none;
    }

    .dropdown:hover .dropdown-menu {
        display: block;
    }

    .dropdown-submenu .submenu {
        position: static;
        box-shadow: none;
        padding-left: 20px;
    }
}

/* 产品详情页样式 */
.product-detail {
    padding: 40px 0;
}

/* 产品头部样式 */
.product-header {
    margin-bottom: 60px;
}

.product-header-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.product-gallery {
    position: relative;
}

.main-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.main-image img {
    width: 100%;
    height: auto;
    display: block;
}

.product-info h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
}

.product-meta {
    margin-bottom: 20px;
    color: #666;
}

.product-meta span {
    display: inline-block;
    margin-right: 20px;
}

.product-description {
    margin-bottom: 30px;
    line-height: 1.6;
    color: #444;
}

/* 产品部分通用样式 */
.product-section {
    padding: 60px 0;
    background-color: #fff;
}

.product-section:nth-child(even) {
    background-color: #f9f9f9;
}

.product-section h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: #333;
    text-align: center;
}

/* 技术参数表格样式 */
.specs-table {
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.specs-table table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table th,
.specs-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.specs-table th {
    background-color: #f5f5f5;
    font-weight: 600;
    color: #333;
}

.specs-table tr:last-child td {
    border-bottom: none;
}

/* 产品特点网格样式 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item i {
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: #333;
}

.feature-item p {
    color: #666;
    line-height: 1.6;
}

/* 资料下载列表样式 */
.downloads-list {
    max-width: 800px;
    margin: 0 auto;
}

.download-item {
    display: flex;
    align-items: center;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.download-item i {
    font-size: 2rem;
    color: #198cff;
    margin-right: 20px;
}

.download-info {
    flex: 1;
}

.download-info h3 {
    font-size: 1.25rem;
    margin-bottom: 5px;
    color: #333;
}

.download-info p {
    color: #666;
    margin-bottom: 5px;
}

.file-info {
    font-size: 0.875rem;
    color: #999;
}

.btn-download {
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-download:hover {
    background-color: #0056b3;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .product-header-content {
        grid-template-columns: 1fr;
    }

    .product-info h1 {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .download-item {
        flex-direction: column;
        text-align: center;
    }

    .download-item i {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .btn-download {
        margin-top: 15px;
    }
} 