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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #0a0e27;
    overflow-x: hidden;
}

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

/* 导航栏样式 */
.navbar {
    background-color: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
}

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

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

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

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

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #00ffff;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 3px 0;
    transition: all 0.3s ease;
}

/* 英雄区域样式 */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 255, 255, 0.1) 0%, transparent 50%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.hero .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h2 {
    color: #fff;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.hero-content p {
    color: #ccc;
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.6;
}

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

.btn-primary, .btn-secondary {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    line-height: 1.2;
    height: 48px;
}

.btn-primary {
    background-color: #00ffff;
    color: #0a0e27;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.btn-primary:hover {
    background-color: #00cccc;
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.8);
}

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

.btn-secondary:hover {
    background-color: rgba(0, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.hero-animation {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ai-circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.3) 0%, rgba(0, 255, 255, 0.1) 50%, transparent 100%);
    position: relative;
    animation: rotate 10s linear infinite;
}

.ai-circle::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.5) 0%, rgba(0, 255, 255, 0.2) 50%, transparent 100%);
    animation: rotate 10s linear infinite reverse;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* 图片展示样式 */
.gallery {
    background-color: #1a1f3a;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* 标题动画 */
.gallery h2::before {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: #00ffff;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    animation: title-line-expand 2s ease-in-out infinite;
}

@keyframes title-line-expand {
    0%, 100% { width: 80px; }
    50% { width: 120px; }
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

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

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
    border-color: rgba(0, 255, 255, 0.5);
}

.gallery-item:hover .gallery-image {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.15) 0%, rgba(0, 255, 255, 0.08) 100%);
}

.gallery-item:hover .image-placeholder {
    transform: scale(1.1) rotate(10deg);
    animation: none;
}

/* 添加科技粒子效果 */
.gallery-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1) 0%, rgba(0, 255, 255, 0.05) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* 添加科技粒子效果 */
.gallery-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle, rgba(0, 255, 255, 0.3) 1px, transparent 1px),
        radial-gradient(circle, rgba(0, 255, 255, 0.2) 1px, transparent 1px),
        radial-gradient(circle, rgba(0, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px, 30px 30px, 20px 20px;
    background-position: 0 0, 15px 15px, 25px 25px;
    opacity: 0.6;
    animation: particle-move 15s linear infinite;
    z-index: 0;
}

@keyframes particle-move {
    from { transform: translate(0, 0); }
    to { transform: translate(50px, 50px); }
}

.gallery-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 255, 255, 0.1) 0%, transparent 50%);
    animation: pulse 4s ease-in-out infinite;
}

/* 技术线条装饰 */
.tech-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(45deg, transparent 49%, rgba(0, 255, 255, 0.05) 50%, transparent 51%),
        linear-gradient(-45deg, transparent 49%, rgba(0, 255, 255, 0.05) 50%, transparent 51%);
    background-size: 40px 40px;
    opacity: 0.7;
    animation: grid-move 10s linear infinite;
}

@keyframes grid-move {
    from { transform: translate(0, 0); }
    to { transform: translate(40px, 40px); }
}

/* 技术圆圈装饰 */
.tech-circle {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 50%;
    top: 20px;
    right: 20px;
    animation: circle-pulse 3s ease-in-out infinite;
}

.tech-circle::before {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid rgba(0, 255, 255, 0.5);
    border-radius: 50%;
    bottom: -30px;
    left: -20px;
    animation: circle-pulse 3s ease-in-out infinite reverse;
    animation-delay: 0.5s;
}

.tech-circle::after {
    content: '';
    position: absolute;
    width: 45px;
    height: 45px;
    border: 2px solid rgba(0, 255, 255, 0.4);
    border-radius: 50%;
    top: 50%;
    left: 20%;
    animation: circle-pulse 3s ease-in-out infinite;
    animation-delay: 1s;
}

@keyframes circle-pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.3); opacity: 0.8; }
}

.image-placeholder {
    font-size: 80px;
    position: relative;
    z-index: 1;
    animation: rotate 10s linear infinite;
}

.gallery-description {
    padding: 30px;
}

.gallery-description h3 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 15px;
}

.gallery-description p {
    color: #ccc;
    font-size: 16px;
    line-height: 1.6;
}

/* 通用部分样式 */
section {
    padding: 100px 0;
    position: relative;
}

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

/* 公司介绍样式 */
.about {
    background-color: #1a1f3a;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

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

.about-text p {
    color: #ccc;
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background-color: rgba(10, 14, 39, 0.5);
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.stat-number {
    color: #00ffff;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.stat-text {
    color: #ccc;
    font-size: 16px;
}

/* 产品服务样式 */
.products {
    background-color: #0a0e27;
}

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

.product-card {
    background-color: rgba(26, 31, 58, 0.5);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(0, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
    border-color: rgba(0, 255, 255, 0.5);
}

.product-icon {
    font-size: 64px;
    margin-bottom: 20px;
    display: block;
}

.product-card h3 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 15px;
}

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

/* 团队介绍样式 */
.team {
    background-color: #1a1f3a;
}

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

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

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
}

.team-avatar {
    font-size: 80px;
    margin-bottom: 20px;
    display: block;
}

.team-card h3 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 5px;
}

.team-card p:first-of-type {
    color: #00ffff;
    font-size: 16px;
    margin-bottom: 15px;
}

.team-card p:last-of-type {
    color: #ccc;
    font-size: 14px;
    line-height: 1.6;
}

/* 联系方式样式 */
.contact {
    background-color: #0a0e27;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
    background-color: rgba(26, 31, 58, 0.5);
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.contact-icon {
    font-size: 32px;
    color: #00ffff;
    margin-top: 5px;
}

.contact-text h4 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 10px;
}

.contact-text p {
    color: #ccc;
    font-size: 16px;
}

.contact-form {
    background-color: rgba(26, 31, 58, 0.5);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 255, 0.2);
}

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

.form-group label {
    display: block;
    color: #fff;
    font-size: 16px;
    margin-bottom: 10px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 5px;
    background-color: rgba(10, 14, 39, 0.5);
    color: #fff;
    font-size: 16px;
    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;
}

/* 页脚样式 */
.footer {
    background-color: #1a1f3a;
    padding: 60px 0 30px;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
}

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

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

.footer-logo p {
    color: #ccc;
    font-size: 14px;
}

.footer-links h4,
.footer-social h4 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 20px;
}

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

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

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

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

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(10, 14, 39, 0.5);
    color: #00ffff;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    border-color: #00ffff;
}

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

/* 响应式设计 */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-content {
        margin-bottom: 60px;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: rgba(10, 14, 39, 0.95);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: left 0.3s ease;
        border-top: 1px solid rgba(0, 255, 255, 0.2);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin-left: 0;
    }
    
    .nav-links a {
        font-size: 20px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero-content h2 {
        font-size: 36px;
    }
    
    .hero-animation {
        display: none;
    }
    
    .about-content h3 {
        font-size: 24px;
    }
    
    section h2 {
        font-size: 32px;
    }
    
    .about-stats {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .stat-item {
        flex: 1;
        min-width: 150px;
    }
}

@media (max-width: 576px) {
    .hero-content h2 {
        font-size: 28px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 250px;
    }
    
    section {
        padding: 80px 0;
    }
    
    .about-stats {
        flex-direction: column;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
}

/* 滚动动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}