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

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

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

/* 科技感渐变背景 */
.gradient-bg {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
}

/* 头部样式 */
.header {
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
}

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

.logo h1 {
    font-size: 20px;
    color: #00ffff;
    margin: 0;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    font-weight: 700;
    letter-spacing: 1px;
}

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

.nav a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 14px;
    position: relative;
    padding: 5px 0;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00ffff, #0066ff);
    transition: width 0.3s ease;
}

.nav a:hover {
    color: #00ffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.nav a:hover::after {
    width: 100%;
}

/* Banner样式 */
.banner {
    height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.7) 0%, rgba(26, 26, 46, 0.7) 100%);
    z-index: 1;
}

.banner::after {
    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" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none" stroke="rgba(0,255,255,0.1)" stroke-width="0.5"/></svg>');
    z-index: 2;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(100px, 100px); }
}

.banner .container {
    position: relative;
    z-index: 3;
}

.banner h2 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    animation: pulse 2s ease-in-out infinite alternate;
}

@keyframes pulse {
    0% { text-shadow: 0 0 20px rgba(0, 255, 255, 0.5); }
    100% { text-shadow: 0 0 30px rgba(0, 255, 255, 0.8); }
}

.banner p {
    font-size: 20px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
    max-width: 800px;
    margin: 0 auto;
}

/* 英雄区域样式 */
.hero {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::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" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(0,255,255,0.1)"/></svg>');
    animation: starsMove 30s linear infinite;
}

@keyframes starsMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(100px, 100px); }
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.hero p {
    font-size: 20px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
    max-width: 800px;
    margin: 0 auto;
}

/* 关于我们样式 */
.about {
    padding: 80px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    color: white;
}

.about h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 36px;
    color: #00ffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #e0e0e0;
}

/* 公司价值观样式 */
.company-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.value-item {
    background: rgba(26, 26, 46, 0.8);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.value-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.2);
    border-color: rgba(0, 255, 255, 0.5);
}

.value-item h3 {
    margin-bottom: 15px;
    color: #00ffff;
    font-size: 20px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.value-item p {
    margin-bottom: 0;
    color: #e0e0e0;
}

.value-item ul {
    list-style: none;
    padding: 0;
}

.value-item li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
    color: #e0e0e0;
}

.value-item li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: #00ffff;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

/* 发展历程样式 */
.history {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
}

.history h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 36px;
    color: #00ffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.history-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 40px;
}

.history-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #00ffff, #0066ff);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    padding-left: 30px;
    opacity: 0;
    transform: translateX(-20px);
    animation: fadeInLeft 0.8s ease forwards;
}

@keyframes fadeInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -25px;
    top: 8px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00ffff, #0066ff);
    border: 3px solid rgba(26, 26, 46, 0.8);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.timeline-item h3 {
    margin-bottom: 10px;
    color: #00ffff;
    font-size: 18px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.timeline-item p {
    margin-bottom: 0;
    color: #e0e0e0;
    line-height: 1.6;
}

/* 产品中心样式 */
.products {
    padding: 80px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    color: white;
}

.products h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 36px;
    color: #00ffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

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

.product-item {
    background: rgba(26, 26, 46, 0.8);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.product-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    animation: shine 3s ease-in-out infinite;
    opacity: 0;
}

@keyframes shine {
    0% { transform: rotate(45deg) translateX(-100%); opacity: 0; }
    50% { opacity: 0.5; }
    100% { transform: rotate(45deg) translateX(100%); opacity: 0; }
}

.product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.2);
    border-color: rgba(0, 255, 255, 0.5);
}

.product-item:hover::before {
    animation: shine 1.5s ease-in-out;
}

.product-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 255, 255, 0.3);
}

.product-item h3 {
    margin-bottom: 15px;
    font-size: 20px;
    color: #00ffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.product-item p {
    font-size: 14px;
    color: #e0e0e0;
    line-height: 1.6;
}

/* 新闻资讯样式 */
.news {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
}

.news h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 36px;
    color: #00ffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.news-list {
    margin-top: 40px;
}

.news-item {
    background: rgba(26, 26, 46, 0.8);
    padding: 30px;
    margin-bottom: 25px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.news-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #00ffff, #0066ff);
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.2);
    border-color: rgba(0, 255, 255, 0.5);
}

.news-item h3 {
    margin-bottom: 10px;
    font-size: 20px;
    color: #00ffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

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

.news-item p {
    color: #e0e0e0;
    line-height: 1.6;
}

.news-item .news-more {
    display: inline-block;
    margin-top: 15px;
    color: #00ffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.news-item .news-more:hover {
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.news-item .news-more::after {
    content: ' →';
    transition: transform 0.3s ease;
}

.news-item .news-more:hover::after {
    transform: translateX(5px);
}

/* 联系我们样式 */
.contact {
    padding: 80px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    color: white;
}

.contact h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 36px;
    color: #00ffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    background: rgba(26, 26, 46, 0.8);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.contact-info h3 {
    margin-bottom: 20px;
    color: #00ffff;
    font-size: 20px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.contact-info p {
    margin-bottom: 15px;
    color: #e0e0e0;
    line-height: 1.6;
}

.contact-info strong {
    color: #00ffff;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background: rgba(26, 26, 46, 0.8);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.contact-form h3 {
    margin-bottom: 20px;
    color: #00ffff;
    font-size: 20px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 6px;
    font-size: 14px;
    background: rgba(10, 10, 10, 0.5);
    color: white;
    transition: all 0.3s ease;
}

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

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

.submit-btn {
    background: linear-gradient(135deg, #00ffff, #0066ff);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.map {
    margin-top: 40px;
    height: 400px;
    background: rgba(26, 26, 46, 0.8);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.map-placeholder {
    text-align: center;
    color: #e0e0e0;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 10px;
}

.pagination button {
    padding: 10px 18px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    background: rgba(26, 26, 46, 0.8);
    color: gray;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.pagination button:hover {
    background: rgba(0, 255, 255, 0.2);
    border-color: #00ffff;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.pagination button.active {
    background: linear-gradient(135deg, #00ffff, #0066ff);
    border-color: #00ffff;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 页脚样式 */
.footer {
    background: rgba(10, 10, 10, 0.95);
    color: white;
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
}

.footer p {
    margin-bottom: 10px;
    color: #e0e0e0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav ul {
        flex-direction: column;
        gap: 15px;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 10, 10, 0.95);
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
        border-bottom: 1px solid rgba(0, 255, 255, 0.2);
        display: none;
    }

    .nav:hover ul {
        display: flex;
    }

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

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

    .about h2,
    .products h2,
    .news h2,
    .contact h2 {
        font-size: 28px;
    }

    .company-values {
        grid-template-columns: 1fr;
    }

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

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

    .banner h2 {
        font-size: 28px;
    }

    .hero {
        padding: 80px 0;
    }

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

    .about,
    .products,
    .news,
    .contact {
        padding: 60px 0;
    }

    .product-item,
    .value-item,
    .news-item,
    .contact-info,
    .contact-form {
        padding: 20px;
    }
}