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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
}

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

/* 导航栏 */
.header {
    background-color: #111111;
    border-bottom: 1px solid #333333;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 20px 0;
}

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

.logo h1 {
    font-size: 24px;
    font-weight: 700;
}

.logo span {
    color: #0077ff;
}

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

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

.nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #0077ff;
}

.nav li.active a {
    color: #0077ff;
}

.cta-buttons {
    display: flex;
    gap: 10px;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: #0077ff;
    color: #ffffff;
    border: 1px solid #0077ff;
}

.btn-primary:hover {
    background-color: #0055cc;
    transform: translateY(-2px);
}

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

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

.btn-large {
    padding: 15px 30px;
    font-size: 18px;
}

/* Hero 区域 */
.hero {
    padding: 100px 0;
    background: linear-gradient(135deg, #111111 0%, #1a1a1a 100%);
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

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

.hero h2 span {
    color: #0077ff;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #cccccc;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 119, 255, 0.2);
}

/* 通用部分样式 */
.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: #ffffff;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background-color: #0077ff;
    margin: 10px auto;
}

/* 产品中心 */
.products {
    padding: 100px 0;
    background-color: #111111;
}

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

.product-card {
    background-color: #1a1a1a;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #333333;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: #0077ff;
    box-shadow: 0 10px 30px rgba(0, 119, 255, 0.2);
}

.product-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

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

.product-card p {
    color: #cccccc;
    line-height: 1.6;
}

/* 新闻资讯 */
.news {
    padding: 100px 0;
    background-color: #0a0a0a;
}

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

.news-card {
    background-color: #111111;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #333333;
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    border-color: #0077ff;
}

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

.news-date {
    font-size: 14px;
    color: #0077ff;
    margin-bottom: 15px;
}

.news-card p {
    color: #cccccc;
    line-height: 1.6;
}

/* 关于我们 */
.about {
    padding: 100px 0;
    background-color: #111111;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

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

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

.about-text ul {
    list-style: none;
    margin-top: 20px;
}

.about-text li {
    margin-bottom: 10px;
    color: #cccccc;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 119, 255, 0.2);
}

/* 联系我们 */
.contact {
    padding: 100px 0;
    background-color: #0a0a0a;
}

.contact-content {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
    background-color: #111111;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #333333;
}

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

.contact-info p {
    color: #cccccc;
    margin-bottom: 15px;
}

.contact-form {
    flex: 1;
    background-color: #111111;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #333333;
}

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

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #ffffff;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    background-color: #1a1a1a;
    border: 1px solid #333333;
    border-radius: 5px;
    color: #ffffff;
    font-size: 16px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0077ff;
}

/* 底部区域 */
.footer {
    background-color: #111111;
    border-top: 1px solid #333333;
    padding: 50px 0;
}

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

.footer-logo h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.footer-logo h2 span {
    color: #0077ff;
}

.footer-logo p {
    color: #cccccc;
}

.footer-links h3,
.footer-legal h3,
.footer-cta h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffffff;
}

.footer-links ul,
.footer-legal ul {
    list-style: none;
}

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

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

.footer-links a:hover,
.footer-legal a:hover {
    color: #0077ff;
}

.footer-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333333;
    color: #cccccc;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 20px;
    }

    .nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav li {
        margin: 0 10px;
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero h2 {
        font-size: 36px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .contact-content {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

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

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

    .btn-large {
        padding: 12px 24px;
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.product-card,
.news-card,
.about-content,
.contact-content {
    animation: fadeIn 0.8s ease-out;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #111111;
}

::-webkit-scrollbar-thumb {
    background: #333333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0077ff;
}