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

:root {
    --primary-color: #0066cc;
    --primary-dark: #0052a3;
    --secondary-color: #ff6600;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f5f5f5;
    --bg-white: #fff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-hover: 0 5px 20px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-white);
}

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

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-block {
    width: 100%;
}

/* 顶部导航 */
.header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 700;
}

.logo span {
    color: var(--text-light);
    font-size: 14px;
    display: block;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    padding: 5px 0;
    position: relative;
}

.nav a:hover,
.nav a.active {
    color: var(--primary-color);
}

.nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 18px;
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Banner区域 - 响应式高度 */
.banner {
    height: 500px;
    position: relative;
    overflow: hidden;
}

@media (max-width: 1200px) {
    .banner {
        height: 450px;
    }
}

@media (max-width: 992px) {
    .banner {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .banner {
        height: 350px;
    }
}

@media (max-width: 576px) {
    .banner {
        height: 250px;
    }
}

.banner-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
    text-decoration: none;
    cursor: pointer;
}

.banner-slide.active {
    opacity: 1;
    z-index: 2;
}

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

.banner-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.banner-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.banner-content p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* 轮播指示器 */
.banner-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.banner-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.banner-dots .dot.active,
.banner-dots .dot:hover {
    background: white;
}

/* 轮播箭头 */
.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-arrow:hover {
    background: rgba(255, 255, 255, 0.4);
}

.banner-prev {
    left: 30px;
}

.banner-next {
    right: 30px;
}

/* 页面标题 */
.page-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, #004080 100%);
    padding: 80px 0;
    text-align: center;
    color: white;
}

.page-banner h1 {
    font-size: 36px;
    margin-bottom: 15px;
}

.page-banner p {
    font-size: 18px;
    opacity: 0.9;
}

/* 区块标题 */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 32px;
    color: var(--text-color);
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-light);
    font-size: 16px;
}

/* 产品区域 */
.products-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

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

.product-card {
    background: white;
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.product-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #004080);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.product-icon i {
    font-size: 36px;
    color: white;
}

.product-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.product-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* 下载区域 */
.download-section {
    padding: 80px 0;
    background-color: var(--bg-white);
}

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

.download-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.download-text > p {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 16px;
}

.download-list {
    list-style: none;
    margin-bottom: 30px;
}

.download-list li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.download-list i {
    color: var(--secondary-color);
}

.download-image {
    text-align: center;
}

.download-image i {
    font-size: 200px;
    color: var(--primary-color);
    opacity: 0.1;
}

/* 特点区域 */
.features-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

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

.feature-item {
    text-align: center;
    padding: 30px;
}

.feature-item i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.feature-item p {
    color: var(--text-light);
}

/* 联系区域 */
.contact-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #004080 100%);
    color: white;
    text-align: center;
}

.contact-content h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.contact-content > p {
    margin-bottom: 40px;
    opacity: 0.9;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
}

.contact-item i {
    font-size: 24px;
}

/* 页脚 */
.footer {
    background-color: #222;
    color: #aaa;
    padding: 60px 0 20px;
}

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

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #aaa;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: white;
}

.footer-section p {
    margin-bottom: 10px;
}

.footer-section i {
    margin-right: 8px;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
}

/* 下载页面样式 */
.download-page {
    padding: 60px 0;
}

.download-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 25px;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
}

.tab-btn:hover,
.tab-btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.search-box {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.search-box input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    font-size: 16px;
}

.search-box button {
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.search-box button:hover {
    background-color: var(--primary-dark);
}

.file-list {
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.file-item {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.file-item:last-child {
    border-bottom: none;
}

.file-tag {
    display: inline-block;
    padding: 2px 10px;
    background: #e3f2fd;
    color: #0066cc;
    border-radius: 12px;
    font-size: 12px;
    margin-top: 5px;
}

.file-item:hover {
    background-color: var(--bg-light);
}

.file-icon {
    width: 50px;
    height: 50px;
    background-color: var(--bg-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.file-icon i {
    font-size: 24px;
    color: var(--primary-color);
}

.file-info {
    flex: 1;
}

.file-info h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.file-info p {
    font-size: 14px;
    color: var(--text-light);
}

.file-meta {
    text-align: right;
    margin-right: 20px;
}

.file-size {
    font-size: 14px;
    color: var(--text-light);
}

.file-date {
    font-size: 12px;
    color: #999;
}

.file-download {
    padding: 8px 20px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 4px;
    text-decoration: none;
    transition: var(--transition);
}

.file-download:hover {
    background-color: #e55a00;
}

.loading {
    text-align: center;
    padding: 60px;
    color: var(--text-light);
}

.loading i {
    font-size: 48px;
    margin-bottom: 20px;
}

/* 产品页面样式 */
.products-page {
    padding: 60px 0;
}

.product-category {
    margin-bottom: 60px;
}

.category-title {
    font-size: 24px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.category-title i {
    color: var(--primary-color);
    margin-right: 10px;
}

.product-detail-card {
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 30px;
    padding: 30px;
    margin-bottom: 30px;
}

.product-image {
    background-color: var(--bg-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.product-image i {
    font-size: 80px;
    color: var(--primary-color);
    opacity: 0.5;
}

.product-info h3 {
    font-size: 22px;
    margin-bottom: 5px;
}

.product-model {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.product-specs {
    list-style: none;
    margin-bottom: 20px;
}

.product-specs li {
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
}

.product-specs li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* 关于我们页面 */
.about-page {
    padding: 60px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.about-text h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 15px;
    color: var(--text-light);
    line-height: 1.8;
}

.about-image .placeholder-image {
    background-color: var(--bg-light);
    border-radius: 8px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image i {
    font-size: 100px;
    color: var(--primary-color);
    opacity: 0.2;
}

.about-features h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
}

.feature-box {
    background: white;
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow);
}

.feature-box i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-box h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.feature-box p {
    color: var(--text-light);
}

/* 联系页面 */
.contact-page {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info-box,
.contact-form-box {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.contact-info-box h2,
.contact-form-box h2 {
    font-size: 24px;
    margin-bottom: 30px;
}

.contact-item-large {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item-large i {
    font-size: 24px;
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    background-color: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item-large h3 {
    font-size: 16px;
    margin-bottom: 5px;
}

.contact-number {
    font-size: 24px;
    color: var(--secondary-color);
    font-weight: 700;
}

.contact-time {
    font-size: 14px;
    color: var(--text-light);
}

/* 表单样式 */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .header-contact {
        display: none;
    }
    
    .banner-content h2 {
        font-size: 32px;
    }
    
    .download-content,
    .about-content,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .product-detail-card {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 20px;
    }
}
