/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
header {
    background: linear-gradient(135deg, #0a192f, #172a45);
    color: #fff;
    padding: 15px 0;
    position: relative;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #00ffea;
    text-decoration: none;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #00ffea;
}

/* 移动端菜单按钮 */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

/* 横幅样式 */
.banner {
    background: linear-gradient(135deg, #0a192f, #172a45);
    color: #fff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 L0,100 Z" fill="rgba(0,255,234,0.1)"/></svg>');
    background-size: cover;
    opacity: 0.3;
}

.banner-content {
    position: relative;
    z-index: 1;
}

.banner h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #00ffea;
}

.banner p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #00ffea, #00a3ff);
    color: #0a192f;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s;
    margin: 0 10px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,255,234,0.3);
}

/* 主要内容区域 */
.main-content {
    padding: 60px 0;
    background-color: #fff;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 36px;
    color: #0a192f;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(135deg, #00ffea, #00a3ff);
}

/* 卡片样式 */
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid #00ffea;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #0a192f;
}

.card p {
    color: #666;
    margin-bottom: 20px;
}

/* 服务特色 */
.features {
    background: #f9f9f9;
    padding: 60px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00ffea, #00a3ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: #0a192f;
    font-size: 24px;
}

.feature-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #0a192f;
}

.feature-content p {
    color: #666;
}

/* 新闻列表 */
.news-list {
    margin-top: 40px;
}

.news-item {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.news-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #0a192f;
}

.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: #00ffea;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.news-item a:hover {
    color: #00a3ff;
}

/* 新闻详情页 */
.news-detail {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 40px;
    margin-top: 40px;
}

.news-detail h1 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #0a192f;
}

.news-detail-meta {
    display: flex;
    justify-content: space-between;
    color: #999;
    font-size: 14px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.news-content {
    line-height: 1.8;
    color: #333;
}

.news-content p {
    margin-bottom: 20px;
}

/* 产品页面 */
.products {
    margin-top: 40px;
}

.product-item {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 30px;
    margin-bottom: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid #00ffea;
}

.product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.product-item h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #0a192f;
}

.product-item p {
    color: #666;
    margin-bottom: 20px;
}

/* 关于我们页面 */
.about-content {
    margin-top: 40px;
    line-height: 1.8;
}

.about-content h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #0a192f;
}

.about-content p {
    margin-bottom: 20px;
    color: #333;
}

.team {
    margin-top: 60px;
}

.team-member {
    text-align: center;
    margin-bottom: 40px;
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 4px solid #00ffea;
}

.team-member h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #0a192f;
}

.team-member p {
    color: #666;
}

/* 联系我们页面 */
.contact-content {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #0a192f;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #00ffea, #00a3ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: #0a192f;
}

.contact-form h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #0a192f;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* 面包屑导航 */
.breadcrumb {
    padding: 20px 0;
    background: #f9f9f9;
    margin-bottom: 30px;
}

.breadcrumb ul {
    display: flex;
    list-style: none;
}

.breadcrumb ul li {
    margin-right: 10px;
}

.breadcrumb ul li::after {
    content: '>';
    margin-left: 10px;
    color: #999;
}

.breadcrumb ul li:last-child::after {
    display: none;
}

.breadcrumb ul li a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb ul li a:hover {
    color: #00ffea;
}

.breadcrumb ul li.active {
    color: #00ffea;
    font-weight: bold;
}

/* 底部样式 */
footer {
    background: linear-gradient(135deg, #0a192f, #172a45);
    color: #fff;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 24px;
    font-weight: bold;
    color: #00ffea;
    margin-bottom: 20px;
}

.footer-links h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #00ffea;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: #00ffea;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    nav ul {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #0a192f;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        display: none;
    }
    
    nav ul.active {
        display: flex;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .banner h1 {
        font-size: 36px;
    }
    
    .banner p {
        font-size: 16px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .btn {
        display: block;
        margin: 10px auto;
        text-align: center;
        width: 80%;
        max-width: 200px;
    }
    
    .news-detail {
        padding: 20px;
    }
    
    .news-detail h1 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .banner h1 {
        font-size: 28px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .card-container {
        grid-template-columns: 1fr;
    }
}