/* ===== 基础样式与变量 ===== */
:root {
    --primary-color: #00f0ff;
    --secondary-color: #ff00ff;
    --accent-color: #00ff88;
    --bg-dark: #0a0a0f;
    --bg-darker: #050508;
    --text-light: #ffffff;
    --text-gray: #a0a0b0;
    --gradient-1: linear-gradient(135deg, #00f0ff 0%, #ff00ff 100%);
    --gradient-2: linear-gradient(135deg, #ff00ff 0%, #00ff88 100%);
    --gradient-3: linear-gradient(135deg, #00ff88 0%, #00f0ff 100%);
    --shadow-glow: 0 0 20px rgba(0, 240, 255, 0.5);
    --shadow-glow-pink: 0 0 20px rgba(255, 0, 255, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 100px 0;
    position: relative;
}

/* ===== 导航栏 ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 240, 255, 0.2);
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.nav-brand .logo-text {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-light);
}

.nav-brand .accent {
    color: var(--primary-color);
    text-shadow: var(--shadow-glow);
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 16px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

/* ===== Hero 区域 ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.grid-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(0, 240, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.cyber-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.cyber-particles::before,
.cyber-particles::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 8s ease-in-out infinite;
}

.cyber-particles::before {
    background: var(--primary-color);
    top: 20%;
    left: 10%;
}

.cyber-particles::after {
    background: var(--secondary-color);
    bottom: 20%;
    right: 10%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(50px, 50px); }
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-text h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glitch {
    position: relative;
    animation: glitch 3s infinite;
}

@keyframes glitch {
    0%, 90%, 100% { transform: translate(0); }
    92% { transform: translate(-2px, 2px); }
    94% { transform: translate(2px, -2px); }
    96% { transform: translate(-2px, -2px); }
}

.hero-subtitle {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 20px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero-description {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    display: inline-block;
}

.btn-primary {
    background: var(--gradient-1);
    color: var(--bg-dark);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: rgba(0, 240, 255, 0.1);
    transform: translateY(-3px);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover .btn-glow {
    left: 100%;
}

.btn-full {
    width: 100%;
}

/* ===== 全息投影效果 ===== */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hologram {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hologram-ring {
    position: absolute;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
}

.ring-1 {
    width: 300px;
    height: 300px;
    border-color: var(--primary-color);
    box-shadow: 0 0 20px var(--primary-color);
}

.ring-2 {
    width: 200px;
    height: 200px;
    border-color: var(--secondary-color);
    box-shadow: 0 0 20px var(--secondary-color);
    animation-delay: 1s;
}

.ring-3 {
    width: 100px;
    height: 100px;
    border-color: var(--accent-color);
    box-shadow: 0 0 20px var(--accent-color);
    animation-delay: 2s;
}

.hologram-core {
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border-radius: 50%;
    box-shadow: 0 0 40px var(--primary-color);
    animation: rotate 10s linear infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== 滚动指示器 ===== */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.wheel {
    width: 3px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 2px;
    animation: scroll 2s ease-in-out infinite;
}

@keyframes scroll {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(15px); opacity: 0; }
}

/* ===== 通用区块标题 ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-1);
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-gray);
}

/* ===== 服务区域 ===== */
.services {
    background: var(--bg-darker);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-1);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(0, 240, 255, 0.3);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gradient-1);
    position: relative;
}

.service-icon svg {
    width: 40px;
    height: 40px;
    color: var(--bg-dark);
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-light);
}

.service-card p {
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-tech {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.tech-tag {
    padding: 5px 15px;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    font-size: 12px;
    color: var(--primary-color);
}

/* ===== 解决方案 ===== */
.solutions {
    background: var(--bg-dark);
}

.solutions-content {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.solution-item {
    display: flex;
    align-items: center;
    gap: 60px;
}

.solution-item.reverse {
    flex-direction: row-reverse;
}

.solution-image {
    flex: 1;
}

.image-placeholder {
    width: 100%;
    height: 350px;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.2) 0%, rgba(255, 0, 255, 0.2) 100%);
    border: 2px solid rgba(0, 240, 255, 0.3);
}

.solution-img-1 {
    background-image: linear-gradient(135deg, rgba(0, 240, 255, 0.3) 0%, rgba(255, 0, 255, 0.2) 100%);
}

.solution-img-2 {
    background-image: linear-gradient(135deg, rgba(255, 0, 255, 0.3) 0%, rgba(0, 255, 136, 0.2) 100%);
}

.solution-img-3 {
    background-image: linear-gradient(135deg, rgba(0, 255, 136, 0.3) 0%, rgba(0, 240, 255, 0.2) 100%);
}

.tech-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
}

.solution-text {
    flex: 1;
}

.solution-text h3 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--text-light);
}

.solution-text p {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 25px;
    line-height: 1.8;
}

.solution-features {
    list-style: none;
}

.solution-features li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-gray);
}

.solution-features li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* ===== 数据统计 ===== */
.stats {
    background: var(--bg-darker);
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 30px;
}

.stat-number {
    font-size: 56px;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.stat-label {
    font-size: 32px;
    color: var(--primary-color);
    display: inline-block;
}

.stat-item p {
    font-size: 16px;
    color: var(--text-gray);
    margin-top: 10px;
}

/* ===== 关于我们 ===== */
.about {
    background: var(--bg-dark);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 80px;
}

.about-text {
    flex: 1;
}

.about-description {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 25px;
    line-height: 1.8;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.value-item {
    text-align: center;
    padding: 20px;
    background: rgba(0, 240, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(0, 240, 255, 0.2);
}

.value-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.value-item p {
    font-size: 14px;
    color: var(--text-gray);
}

.about-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tech-cube {
    width: 200px;
    height: 200px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateCube 20s linear infinite;
}

.cube-face {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 2px solid var(--primary-color);
    background: rgba(0, 240, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

.front { transform: translateZ(100px); }
.back { transform: translateZ(-100px) rotateY(180deg); }
.left { transform: translateX(-100px) rotateY(-90deg); }
.right { transform: translateX(100px) rotateY(90deg); }
.top { transform: translateY(-100px) rotateX(90deg); }
.bottom { transform: translateY(100px) rotateX(-90deg); }

@keyframes rotateCube {
    0% { transform: rotateX(0deg) rotateY(0deg); }
    100% { transform: rotateX(360deg) rotateY(360deg); }
}

/* ===== 联系我们 ===== */
.contact {
    background: var(--bg-darker);
}

.contact-content {
    display: flex;
    gap: 60px;
}

.contact-info {
    flex: 1;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid rgba(0, 240, 255, 0.2);
    transition: all 0.3s ease;
}

.info-item:hover {
    border-color: var(--primary-color);
    transform: translateX(10px);
}

.info-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-1);
    border-radius: 10px;
    flex-shrink: 0;
}

.info-icon svg {
    width: 24px;
    height: 24px;
    color: var(--bg-dark);
}

.info-item h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--text-light);
}

.info-item p {
    color: var(--text-gray);
    font-size: 14px;
}

.contact-form {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 10px;
    color: var(--text-light);
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== 页脚 ===== */
.footer {
    background: var(--bg-dark);
    border-top: 1px solid rgba(0, 240, 255, 0.2);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.footer-brand .accent {
    color: var(--primary-color);
}

.footer-brand p {
    color: var(--text-gray);
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-column h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--text-light);
}

.footer-column a {
    display: block;
    color: var(--text-gray);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-gray);
}

/* ===== 响应式设计 ===== */
@media (max-width: 968px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 42px;
    }
    
    .hologram {
        width: 300px;
        height: 300px;
    }
    
    .solution-item,
    .solution-item.reverse {
        flex-direction: column;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: rgba(10, 10, 15, 0.95);
        backdrop-filter: blur(10px);
        width: 100%;
        padding: 30px;
        transition: left 0.3s ease;
        border-bottom: 1px solid rgba(0, 240, 255, 0.2);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero-text h1 {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 28px;
    }
    
    .hologram {
        width: 250px;
        height: 250px;
    }
    
    .ring-1 {
        width: 200px;
        height: 200px;
    }
    
    .ring-2 {
        width: 130px;
        height: 130px;
    }
    
    .ring-3 {
        width: 70px;
        height: 70px;
    }
    
    .stat-number {
        font-size: 42px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== 动画优化 ===== */
[data-aos] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}
