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

body {
    font-family: 'Arial', sans-serif;
    background-color: #0a0a12;
    color: #e0e0e0;
    line-height: 1.6;
}

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

/* 头部样式 */
header {
    background-color: rgba(10, 10, 18, 0.95);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 255, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #00aaff;
    text-decoration: none;
}

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

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

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

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

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #00aaff;
    color: #0a0a12;
}

.btn-primary:hover {
    background-color: #0088cc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 170, 255, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: #00aaff;
    border: 1px solid #00aaff;
}

.btn-secondary:hover {
    background-color: rgba(0, 170, 255, 0.1);
    transform: translateY(-2px);
}

/* 移动端菜单 */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #e0e0e0;
    font-size: 24px;
    cursor: pointer;
}

/* Banner样式 */
.banner {
    background: linear-gradient(135deg, #0a0a12 0%, #1a1a2e 50%, #16213e 100%);
    padding: 120px 0 80px;
    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"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(0,170,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.banner-content {
    position: relative;
    z-index: 1;
}

.banner h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(0, 170, 255, 0.5);
}

.banner p {
    font-size: 18px;
    margin-bottom: 40px;
    color: #b0b0b0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

/* 内容区域样式 */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    color: #ffffff;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: #00aaff;
}

.section-title p {
    font-size: 16px;
    color: #b0b0b0;
    max-width: 600px;
    margin: 0 auto;
}

/* 功能特点样式 */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(0, 170, 255, 0.2);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 170, 255, 0.3);
    border-color: #00aaff;
}

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

.feature-item h3 {
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 15px;
}

.feature-item p {
    color: #b0b0b0;
    line-height: 1.6;
}

/* 新闻列表样式 */
.news-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.news-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 170, 255, 0.2);
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 170, 255, 0.3);
    border-color: #00aaff;
}

.news-image {
    width: 100%;
    height: 200px;
    background-color: #1a1a2e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #00aaff;
}

.news-content {
    padding: 20px;
}

.news-date {
    font-size: 14px;
    color: #00aaff;
    margin-bottom: 10px;
}

.news-item h3 {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 10px;
}

.news-item p {
    color: #b0b0b0;
    margin-bottom: 15px;
    line-height: 1.5;
}

.news-link {
    color: #00aaff;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: color 0.3s ease;
}

.news-link:hover {
    color: #0088cc;
    text-decoration: underline;
}

/* 产品服务样式 */
.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-item {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(0, 170, 255, 0.2);
    transition: all 0.3s ease;
}

.product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 170, 255, 0.3);
    border-color: #00aaff;
}

.product-item h3 {
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 15px;
}

.product-item p {
    color: #b0b0b0;
    margin-bottom: 20px;
    line-height: 1.6;
}

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

.product-features li {
    color: #b0b0b0;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.product-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #00aaff;
    font-weight: bold;
}

/* 关于我们样式 */
.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

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

.about-text h3 {
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 20px;
}

.about-text p {
    color: #b0b0b0;
    margin-bottom: 20px;
    line-height: 1.6;
}

.about-image {
    flex: 1;
    min-width: 300px;
    height: 400px;
    background-color: #1a1a2e;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #00aaff;
    border: 1px solid rgba(0, 170, 255, 0.2);
}

.team {
    margin-top: 60px;
}

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

.team-member {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(0, 170, 255, 0.2);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 170, 255, 0.3);
    border-color: #00aaff;
}

.member-avatar {
    width: 100px;
    height: 100px;
    background-color: #1a1a2e;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #00aaff;
    border: 2px solid #00aaff;
}

.team-member h4 {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 5px;
}

.team-member p {
    color: #00aaff;
    font-size: 14px;
    margin-bottom: 15px;
}

.team-member .bio {
    color: #b0b0b0;
    font-size: 14px;
    line-height: 1.5;
}

/* 联系我们样式 */
.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h3 {
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 20px;
}

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

.contact-icon {
    font-size: 20px;
    color: #00aaff;
    margin-right: 15px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 170, 255, 0.1);
    border-radius: 50%;
}

.contact-details {
    color: #b0b0b0;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(0, 170, 255, 0.2);
}

.contact-form h3 {
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    color: #e0e0e0;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 170, 255, 0.2);
    border-radius: 5px;
    color: #e0e0e0;
    font-size: 16px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00aaff;
    box-shadow: 0 0 10px rgba(0, 170, 255, 0.3);
}

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

/* 新闻详情样式 */
.breadcrumb {
    margin: 20px 0;
    font-size: 14px;
    color: #b0b0b0;
}

.breadcrumb a {
    color: #00aaff;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.news-detail {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid rgba(0, 170, 255, 0.2);
    margin-bottom: 40px;
}

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

.news-detail-meta {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    color: #b0b0b0;
    font-size: 14px;
}

.news-detail-meta span {
    margin-right: 20px;
}

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

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

.news-detail-content h2 {
    font-size: 24px;
    color: #ffffff;
    margin: 30px 0 15px;
}

.news-detail-content h3 {
    font-size: 20px;
    color: #ffffff;
    margin: 25px 0 15px;
}

.related-news {
    margin-top: 60px;
}

.related-news h3 {
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 30px;
}

/* 底部样式 */
footer {
    background-color: #1a1a2e;
    padding: 60px 0 30px;
    border-top: 1px solid rgba(0, 170, 255, 0.2);
}

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

.footer-section h3 {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #00aaff;
}

.footer-section p {
    color: #b0b0b0;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

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

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

.footer-links a:hover {
    color: #00aaff;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #b0b0b0;
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: rgba(10, 10, 18, 0.95);
        padding: 20px 0;
        box-shadow: 0 2px 10px rgba(0, 0, 255, 0.3);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 999;
    }

    nav.active {
        transform: translateY(0);
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 10px 0;
    }

    .header-actions {
        display: none;
    }

    .banner h1 {
        font-size: 36px;
    }

    .banner p {
        font-size: 16px;
    }

    .banner-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 200px;
        text-align: center;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .news-detail {
        padding: 20px;
    }

    .news-detail h1 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .banner h1 {
        font-size: 28px;
    }

    .section-title h2 {
        font-size: 24px;
    }

    .feature-item,
    .product-item {
        padding: 20px;
    }

    .footer-content {
        gap: 30px;
    }
}