/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #f0f0f0;
    background: #121212;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(79, 195, 247, 0.2);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    color: #f0f0f0;
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-logo i {
    margin-right: 0.5rem;
    color: #4fc3f7;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: #f0f0f0;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-menu a:hover {
    color: #4fc3f7;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #f0f0f0;
    margin: 3px 0;
    transition: 0.3s;
}

/* 主横幅区域 */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: #121212;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(79, 195, 247, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(79, 195, 247, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.neon-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.line {
    position: absolute;
    background: linear-gradient(90deg, transparent, #4fc3f7, transparent);
    height: 2px;
    animation: neon-glow 3s ease-in-out infinite;
}

.line-1 {
    width: 200px;
    top: 30%;
    left: 10%;
    animation-delay: 0s;
}

.line-2 {
    width: 300px;
    top: 60%;
    right: 15%;
    animation-delay: 1s;
}

.line-3 {
    width: 150px;
    bottom: 30%;
    left: 20%;
    animation-delay: 2s;
}

@keyframes neon-glow {
    0%, 100% { opacity: 0.3; box-shadow: 0 0 10px #4fc3f7; }
    50% { opacity: 1; box-shadow: 0 0 20px #4fc3f7, 0 0 30px #4fc3f7; }
}

.hero-content {
    text-align: center;
    color: #f0f0f0;
    z-index: 2;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.title-line {
    display: block;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #f0f0f0, #4fc3f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: title-glow 2s ease-in-out infinite;
}

.title-line:nth-child(2) { animation-delay: 0.5s; }
.title-line:nth-child(3) { animation-delay: 1s; }

@keyframes title-glow {
    0%, 100% { filter: drop-shadow(0 0 5px #4fc3f7); }
    50% { filter: drop-shadow(0 0 20px #4fc3f7); }
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    color: #b0b0b0;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-neon {
    padding: 15px 30px;
    font-size: 1.1rem;
    background: transparent;
    color: #4fc3f7;
    border: 2px solid #4fc3f7;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-neon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(79, 195, 247, 0.3), transparent);
    transition: left 0.5s;
}

.btn-neon:hover::before {
    left: 100%;
}

.btn-neon:hover {
    background: #4fc3f7;
    color: #121212;
    box-shadow: 0 0 20px #4fc3f7;
}

.btn-ghost {
    padding: 15px 30px;
    font-size: 1.1rem;
    background: transparent;
    color: #f0f0f0;
    border: 2px solid #f0f0f0;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-ghost:hover {
    background: #f0f0f0;
    color: #121212;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid #4fc3f7;
    border-bottom: 2px solid #4fc3f7;
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* 服务部分 */
.services {
    padding: 6rem 0;
    background: #1a1a1a;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: #f0f0f0;
    font-weight: 600;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #b0b0b0;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: #2a2a2a;
    padding: 2.5rem;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(79, 195, 247, 0.2);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(79, 195, 247, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.service-card:hover::before {
    transform: translateX(100%);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: #4fc3f7;
    box-shadow: 0 10px 30px rgba(79, 195, 247, 0.3);
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(79, 195, 247, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .card-glow {
    opacity: 1;
}

.card-content {
    position: relative;
    z-index: 2;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, #4fc3f7, #29b6f6);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(79, 195, 247, 0.3);
}

.service-icon i {
    font-size: 2rem;
    color: #121212;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #f0f0f0;
    text-align: center;
}

.service-card p {
    color: #b0b0b0;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: center;
}

.card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.card-features span {
    background: rgba(79, 195, 247, 0.1);
    color: #4fc3f7;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(79, 195, 247, 0.3);
}

/* 技术展示 */
.technology {
    padding: 6rem 0;
    background: #121212;
}

.tech-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.tech-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #f0f0f0;
}

.tech-info p {
    font-size: 1.1rem;
    color: #b0b0b0;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.tech-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #4fc3f7;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #b0b0b0;
    font-size: 0.9rem;
}

.tech-visual {
    display: flex;
    justify-content: center;
}

.tech-cube {
    width: 200px;
    height: 200px;
    position: relative;
    transform-style: preserve-3d;
    animation: cube-rotate 20s linear infinite;
}

.cube-face {
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(79, 195, 247, 0.1);
    border: 2px solid #4fc3f7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    color: #4fc3f7;
    backdrop-filter: blur(10px);
}

.front { transform: rotateY(0deg) translateZ(100px); }
.back { transform: rotateY(180deg) translateZ(100px); }
.right { transform: rotateY(90deg) translateZ(100px); }
.left { transform: rotateY(-90deg) translateZ(100px); }
.top { transform: rotateX(90deg) translateZ(100px); }
.bottom { transform: rotateX(-90deg) translateZ(100px); }

@keyframes cube-rotate {
    from { transform: rotateX(0deg) rotateY(0deg); }
    to { transform: rotateX(360deg) rotateY(360deg); }
}

/* 客户案例 */
.clients {
    padding: 6rem 0;
    background: #1a1a1a;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.client-card {
    background: #2a2a2a;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(79, 195, 247, 0.2);
}

.client-card:hover {
    transform: translateY(-5px);
    border-color: #4fc3f7;
    box-shadow: 0 10px 30px rgba(79, 195, 247, 0.3);
}

.client-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #4fc3f7, #29b6f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-icon i {
    font-size: 2rem;
    color: #121212;
}

.client-card h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #f0f0f0;
}

.client-card p {
    color: #b0b0b0;
    font-size: 0.9rem;
}

/* 页脚 */
.footer {
    background: #0a0a0a;
    color: #f0f0f0;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    color: #4fc3f7;
    font-size: 1.3rem;
}

.footer-section p {
    margin-bottom: 0.8rem;
    color: #b0b0b0;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #4fc3f7;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(79, 195, 247, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(79, 195, 247, 0.3);
}

.social-link:hover {
    background: #4fc3f7;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(79, 195, 247, 0.4);
}

.footer-bottom {
    border-top: 1px solid #2a2a2a;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.beian a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.beian a:hover {
    color: #4fc3f7;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .tech-showcase {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
} 