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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

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

/* 头部样式 */
header {
    background-color: #1a1a1a;
    color: #fff;
    padding: 20px 0;
    position: relative;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #00d4ff;
}

.header-actions {
    display: flex;
    gap: 10px;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background-color: #00d4ff;
    color: #1a1a1a;
}

.btn-secondary {
    background-color: #333;
    color: #fff;
    border: 1px solid #00d4ff;
}

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

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #00d4ff;
}

/* 响应式导航 */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 10px;
    }
    
    .header-top {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* 英雄区域 */
.hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c3e50 100%);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #00d4ff;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

/* 内容区域 */
section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: #1a1a1a;
}

.section-title h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.section-title p {
    font-size: 16px;
    color: #666;
}

/* 卡片样式 */
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.card p {
    color: #666;
    margin-bottom: 20px;
}

.card-icon {
    font-size: 48px;
    color: #00d4ff;
    margin-bottom: 20px;
}

/* 新闻列表 */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.news-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.news-item p {
    color: #666;
    margin-bottom: 15px;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    color: #999;
    font-size: 14px;
}

.news-item a {
    color: #00d4ff;
    text-decoration: none;
    font-weight: bold;
}

.news-item a:hover {
    text-decoration: underline;
}

/* 新闻详情 */
.news-detail {
    background-color: #fff;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.news-detail h1 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.news-detail-meta {
    display: flex;
    gap: 20px;
    color: #999;
    margin-bottom: 30px;
    font-size: 14px;
}

.news-detail-content {
    line-height: 1.8;
    color: #333;
}

.news-detail-content p {
    margin-bottom: 20px;
}

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

.product-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.product-card p {
    color: #666;
    margin-bottom: 20px;
}

/* 关于页面 */
.about-content {
    background-color: #fff;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.about-content h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.about-content p {
    margin-bottom: 20px;
    color: #333;
}

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

.feature-item {
    text-align: center;
}

.feature-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.feature-item p {
    color: #666;
}

/* 联系页面 */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info {
    background-color: #fff;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-info h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-item i {
    font-size: 20px;
    color: #00d4ff;
    margin-right: 15px;
    width: 30px;
}

.contact-form {
    background-color: #fff;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #1a1a1a;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #1a1a1a;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* 面包屑导航 */
.breadcrumb {
    background-color: #f5f5f5;
    padding: 10px 0;
    margin-bottom: 20px;
}

.breadcrumb ul {
    display: flex;
    list-style: none;
    gap: 10px;
}

.breadcrumb ul li a {
    color: #666;
    text-decoration: none;
}

.breadcrumb ul li a:hover {
    color: #00d4ff;
}

.breadcrumb ul li::after {
    content: ">";
    margin-left: 10px;
    color: #999;
}

.breadcrumb ul li:last-child::after {
    display: none;
}

.breadcrumb ul li:last-child {
    color: #1a1a1a;
    font-weight: bold;
}

/* 页脚 */
footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 40px 0;
    margin-top: 60px;
}

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

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #00d4ff;
}

.footer-section p,
.footer-section li {
    color: #999;
    margin-bottom: 10px;
}

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

.footer-section ul li a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #00d4ff;
}

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

/* 响应式设计 */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .section-title h2 {
        font-size: 24px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* 按钮样式增强 */
.btn {
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    background-color: #00b8d4;
}

.btn-secondary:hover {
    background-color: #444;
}

/* 区块样式 */
.block {
    background-color: #fff;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.block h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.block p {
    margin-bottom: 20px;
    color: #333;
}

/* 数字统计 */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.stat-item h3 {
    font-size: 36px;
    color: #00d4ff;
    margin-bottom: 10px;
}

.stat-item p {
    color: #666;
    font-size: 16px;
}