/* 全局样式 */
:root {
    --primary-color: #0078ff;
    --secondary-color: #00c3ff;
    --dark-color: #0a1929;
    --light-color: #f5f7fa;
    --gray-color: #8b97a5;
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-dark: linear-gradient(135deg, #0a1929, #162b45);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: var(--light-color);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
    font-size: 16px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 120, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 120, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.btn-small {
    padding: 8px 20px;
    font-size: 14px;
    border-radius: 20px;
    background: var(--gradient-primary);
    color: white;
    display: inline-block;
    transition: var(--transition);
}

.btn-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 120, 255, 0.3);
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background-color: rgba(10, 25, 41, 0.95);
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: white;
}

.logo-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-menu {
    display: flex;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    color: white;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* 英雄区 */
.hero {
    height: 100vh;
    background: var(--gradient-dark);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: 1px;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 120, 255, 0.1) 0%, rgba(10, 25, 41, 0.5) 100%);
    z-index: 1;
}

.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* 故障效果 */
.glitch {
    position: relative;
    animation: glitch 1s linear infinite;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 #ff00c1;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 #00fff9, 2px 2px #ff00c1;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% {
        clip: rect(31px, 9999px, 94px, 0);
    }
    4.166666667% {
        clip: rect(91px, 9999px, 100px, 0);
    }
    8.333333333% {
        clip: rect(38px, 9999px, 66px, 0);
    }
    12.5% {
        clip: rect(83px, 9999px, 84px, 0);
    }
    16.666666667% {
        clip: rect(40px, 9999px, 53px, 0);
    }
    20.833333333% {
        clip: rect(56px, 9999px, 57px, 0);
    }
    25% {
        clip: rect(14px, 9999px, 79px, 0);
    }
    29.166666667% {
        clip: rect(24px, 9999px, 65px, 0);
    }
    33.333333333% {
        clip: rect(35px, 9999px, 49px, 0);
    }
    37.5% {
        clip: rect(5px, 9999px, 67px, 0);
    }
    41.666666667% {
        clip: rect(82px, 9999px, 97px, 0);
    }
    45.833333333% {
        clip: rect(36px, 9999px, 50px, 0);
    }
    50% {
        clip: rect(46px, 9999px, 89px, 0);
    }
    54.166666667% {
        clip: rect(96px, 9999px, 100px, 0);
    }
    58.333333333% {
        clip: rect(23px, 9999px, 31px, 0);
    }
    62.5% {
        clip: rect(76px, 9999px, 85px, 0);
    }
    66.666666667% {
        clip: rect(39px, 9999px, 98px, 0);
    }
    70.833333333% {
        clip: rect(26px, 9999px, 67px, 0);
    }
    75% {
        clip: rect(67px, 9999px, 70px, 0);
    }
    79.166666667% {
        clip: rect(84px, 9999px, 85px, 0);
    }
    83.333333333% {
        clip: rect(14px, 9999px, 98px, 0);
    }
    87.5% {
        clip: rect(58px, 9999px, 60px, 0);
    }
    91.666666667% {
        clip: rect(19px, 9999px, 95px, 0);
    }
    95.833333333% {
        clip: rect(65px, 9999px, 99px, 0);
    }
    100% {
        clip: rect(97px, 9999px, 99px, 0);
    }
}

@keyframes glitch-anim2 {
    0% {
        clip: rect(65px, 9999px, 99px, 0);
    }
    4.166666667% {
        clip: rect(40px, 9999px, 43px, 0);
    }
    8.333333333% {
        clip: rect(56px, 9999px, 90px, 0);
    }
    12.5% {
        clip: rect(14px, 9999px, 67px, 0);
    }
    16.666666667% {
        clip: rect(31px, 9999px, 92px, 0);
    }
    20.833333333% {
        clip: rect(81px, 9999px, 98px, 0);
    }
    25% {
        clip: rect(35px, 9999px, 73px, 0);
    }
    29.166666667% {
        clip: rect(7px, 9999px, 23px, 0);
    }
    33.333333333% {
        clip: rect(48px, 9999px, 51px, 0);
    }
    37.5% {
        clip: rect(40px, 9999px, 70px, 0);
    }
    41.666666667% {
        clip: rect(2px, 9999px, 23px, 0);
    }
    45.833333333% {
        clip: rect(12px, 9999px, 59px, 0);
    }
    50% {
        clip: rect(61px, 9999px, 64px, 0);
    }
    54.166666667% {
        clip: rect(83px, 9999px, 91px, 0);
    }
    58.333333333% {
        clip: rect(25px, 9999px, 33px, 0);
    }
    62.5% {
        clip: rect(32px, 9999px, 67px, 0);
    }
    66.666666667% {
        clip: rect(93px, 9999px, 94px, 0);
    }
    70.833333333% {
        clip: rect(59px, 9999px, 72px, 0);
    }
    75% {
        clip: rect(76px, 9999px, 93px, 0);
    }
    79.166666667% {
        clip: rect(81px, 9999px, 89px, 0);
    }
    83.333333333% {
        clip: rect(43px, 9999px, 57px, 0);
    }
    87.5% {
        clip: rect(21px, 9999px, 69px, 0);
    }
    91.666666667% {
        clip: rect(43px, 9999px, 93px, 0);
    }
    95.833333333% {
        clip: rect(71px, 9999px, 87px, 0);
    }
    100% {
        clip: rect(99px, 9999px, 100px, 0);
    }
}

/* 章节标题 */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--gradient-primary);
}

.section-header p {
    color: var(--gray-color);
    font-size: 1.2rem;
}

.section-header.light h2,
.section-header.light p {
    color: white;
}

.section-header.left-align {
    text-align: left;
}

.section-header.left-align h2::after {
    left: 0;
    transform: none;
}

/* 产品展示 */
.products {
    padding: 100px 0;
    background-color: white;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.product-info p {
    color: var(--gray-color);
    margin-bottom: 15px;
}

/* 创新技术 */
.innovation {
    padding: 100px 0;
    background: var(--gradient-dark);
    color: white;
    position: relative;
}

.tech-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.tech-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    backdrop-filter: blur(5px);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tech-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
}

.tech-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.tech-item h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.tech-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://via.placeholder.com/1920x1080?text=Tech+Background') center/cover no-repeat;
    opacity: 0.1;
    z-index: 0;
}

.tech-showcase {
    position: relative;
    z-index: 1;
}

/* 数据统计 */
.stats {
    padding: 80px 0;
    background-color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-label {
    font-size: 1.2rem;
    color: var(--gray-color);
}

/* 关于我们 */
.about {
    padding: 100px 0;
    background-color: var(--light-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* 团队介绍 */
.team {
    padding: 100px 0;
    background-color: white;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    text-align: center;
}

.member-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    box-shadow: var(--shadow);
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h3 {
    margin-bottom: 5px;
    font-size: 1.3rem;
}

.member-title {
    color: var(--gray-color);
}

/* 联系我们 */
.contact {
    padding: 100px 0;
    background: var(--gradient-dark);
    color: white;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 1.5rem;
    margin-right: 20px;
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    color: white;
    font-family: inherit;
    font-size: 16px;
    transition: var(--transition);
}

.form-group textarea {
    height: 150px;
    resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

/* 新闻订阅 */
.newsletter {
    padding: 80px 0;
    background-color: var(--light-color);
}

.newsletter-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.newsletter-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.newsletter-content p {
    color: var(--gray-color);
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 30px;
    font-size: 16px;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* 页脚 */
footer {
    background: var(--dark-color);
    color: white;
    padding: 80px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.footer-logo p {
    color: var(--gray-color);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--secondary-color);
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: var(--gray-color);
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--gray-color);
}

.language-selector select {
    background: transparent;
    color: var(--gray-color);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 5px 10px;
    border-radius: 5px;
    outline: none;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 120, 255, 0.3);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 120, 255, 0.4);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: rgba(10, 25, 41, 0.95);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        backdrop-filter: blur(10px);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .footer-links {
        grid-template-columns: 1fr;
    }
}
