/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.5;
    color: #171717;
    background-color: #FAFAFA;
}

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

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #E5E5E5;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: #3b82f6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.125rem;
    margin-right: 12px;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: #171717;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: #404040;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
    padding: 8px 0;
}

.nav-link:hover,
.nav-link.active {
    color: #3b82f6;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #3b82f6;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.9) 0%, 
        rgba(139, 92, 246, 0.9) 50%, 
        rgba(6, 182, 212, 0.9) 100%);
    color: white;
    box-shadow: 
        0 2px 8px rgba(59, 130, 246, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 1) 0%, 
        rgba(6, 182, 212, 1) 50%, 
        rgba(59, 130, 246, 1) 100%);
    transform: translateY(-2px);
    box-shadow: 
        0 8px 25px rgba(59, 130, 246, 0.4),
        0 0 20px rgba(139, 92, 246, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(139, 92, 246, 0.5);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-outline {
    background: transparent;
    color: #404040;
    border: 2px solid #E5E5E5;
}

.btn-outline:hover {
    background: #F5F5F5;
    border-color: #A3A3A3;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1rem;
}

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

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #171717;
    margin: 3px 0;
    transition: 0.3s;
}

/* 现代量子渐变科技感动画 */
@keyframes quantumShimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

@keyframes subtlePulse {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

@keyframes gridFlow {
    0% {
        transform: translateX(0) translateY(0);
    }
    100% {
        transform: translateX(-50px) translateY(-30px);
    }
}

@keyframes quantumGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(88, 28, 135, 0.4), inset 0 0 20px rgba(59, 130, 246, 0.1);
    }
    50% {
        box-shadow: 0 0 40px rgba(59, 130, 246, 0.6), inset 0 0 30px rgba(88, 28, 135, 0.2);
    }
}

/* 鼠标跟踪光效 */
.quantum-light {
    position: fixed;
    width: 200px;
    height: 200px;
    pointer-events: none;
    z-index: 100;
    background: radial-gradient(
        circle,
        rgba(59, 130, 246, 0.35) 0%,
        rgba(88, 28, 135, 0.25) 30%,
        rgba(139, 92, 246, 0.2) 60%,
        transparent 100%
    );
    border-radius: 50%;
    filter: blur(0.5px);
    transition: all 0.3s ease;
    mix-blend-mode: screen;
}

/* 标题量子光效 */
.hero-title {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6, #06b6d4);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: quantumShimmer 4s ease-in-out infinite;
    position: relative;
}

.hero-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1), rgba(6, 182, 212, 0.1));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: subtlePulse 6s ease-in-out infinite;
    z-index: -1;
}

/* 首页Hero区 */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

/* 简约科技粒子效果 */
.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: calc(100% + 200px);
    height: calc(100% + 200px);
    background: 
        radial-gradient(circle at 25% 25%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(139, 92, 246, 0.03) 0%, transparent 50%);
    z-index: -1;
    animation: subtlePulse 12s ease-in-out infinite;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: linear-gradient(135deg, 
        #0f172a 0%, 
        #1e293b 25%, 
        #3730a3 50%, 
        #5b21b6 75%, 
        #7c3aed 100%);
}

/* 微妙量子网格纹理 */
.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: gridFlow 20s ease-in-out infinite;
}

/* 量子粒子效果 */
.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(6, 182, 212, 0.06) 0%, transparent 50%);
    animation: subtlePulse 8s ease-in-out infinite;
}

/* 移除图片样式，使用CSS渐变背景 */

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 0, 128, 0.15);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding: 0 1rem;
}

.hero-title {
    font-size: 5.5rem;
    font-weight: 700;
    line-height: 1.55;
    margin-bottom: 50px;
    letter-spacing: 0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 48px;
    color: #E5E5E5;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 189px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 151px; /* 4厘米的间距 */
}

/* 业务板块 */
.business-section {
    padding: 96px 0;
    background: #FAFAFA;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #171717;
    margin-bottom: 24px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #404040;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.business-card {
    background: white;
    padding: 40px 32px;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.business-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.02) 0%, 
        rgba(139, 92, 246, 0.02) 50%, 
        rgba(6, 182, 212, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.business-card:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 20px 40px rgba(59, 130, 246, 0.15),
        0 0 0 1px rgba(139, 92, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.3);
    animation: quantumGlow 3s ease-in-out infinite;
}

.business-card:hover::before {
    opacity: 1;
}

.card-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.card-icon svg {
    width: 60px;
    height: 60px;
    stroke: #3b82f6;
    fill: none;
    stroke-width: 2;
    filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.3));
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.business-card:hover .card-icon svg {
    stroke: #8b5cf6;
    filter: 
        drop-shadow(0 0 12px rgba(139, 92, 246, 0.4))
        drop-shadow(0 0 20px rgba(59, 130, 246, 0.2));
    transform: scale(1.1) rotate(5deg);
    animation: subtlePulse 2s ease-in-out infinite;
}

.card-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #171717;
    margin-bottom: 16px;
    line-height: 1.4;
}

.card-description {
    font-size: 0.95rem;
    color: #404040;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
    text-align: left;
}

.card-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
}

.card-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    transition: width 0.3s ease;
}

.card-link:hover {
    color: #8b5cf6;
}

.card-link:hover::after {
    width: 100%;
}

/* 关于我们 */
.about-section {
    padding: 96px 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    margin-top: 48px;
}

.align-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.about-text {
    flex: 1;
}

.company-image-container {
    margin-top: auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.1);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-text h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #171717;
    margin-bottom: 24px;
}

.about-text p {
    font-size: 1.125rem;
    color: #404040;
    line-height: 1.8;
    margin-bottom: 24px;
}

.company-image-container:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(59, 130, 246, 0.15);
}

.company-image-container:hover .company-image,
.company-image-container:hover .company-video {
    transform: scale(1.05);
}

.company-image {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.company-video {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .company-image,
    .company-video {
        height: 160px;
    }
}

.business-highlights h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #171717;
    margin-bottom: 32px;
}

.business-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

@media (max-width: 768px) {
    .business-list {
        grid-template-columns: 1fr;
    }
}

.business-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    border-radius: 12px;
    background: #FAFAFA;
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
}

.business-item:hover {
    background: rgba(59, 130, 246, 0.02);
    border-color: rgba(59, 130, 246, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.1);
}

.business-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.business-info h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #171717;
    margin-bottom: 8px;
}

.business-info p {
    font-size: 0.95rem;
    color: #404040;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .company-image,
    .company-video {
        height: 250px;
    }
    
    .business-item {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
}

/* 技术亮点 */
.tech-section {
    padding: 96px 0;
    background: white;
}

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

.tech-card {
    background: white;
    padding: 48px;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.25s;
    text-align: center;
}

.tech-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.tech-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #171717;
    margin-bottom: 16px;
    line-height: 1.4;
}

.tech-description {
    font-size: 1rem;
    color: #404040;
    line-height: 1.6;
}

/* 应用场景 */
.application-section {
    padding: 96px 0;
    background: #FAFAFA;
}

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

.application-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.25s;
    text-align: center;
}

.application-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.application-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #171717;
    margin-bottom: 12px;
}

.application-description {
    font-size: 0.875rem;
    color: #404040;
    line-height: 1.5;
}

/* 统计数据 */
.stats-section {
    padding: 96px 0;
    background: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1rem;
    color: #404040;
}

/* CTA区域 */
.cta-section {
    position: relative;
    padding: 96px 0;
    text-align: center;
    color: white;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: linear-gradient(135deg, 
        #0f172a 0%, 
        #1e293b 25%, 
        #3730a3 50%, 
        #5b21b6 75%, 
        #7c3aed 100%);
}

/* 移除图片样式，使用CSS渐变背景 */

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: -1;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
    letter-spacing: 0.15em; /* 适度字符间距 */
    background: linear-gradient(135deg, #3b82f6, #8b5cf6, #06b6d4);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: quantumShimmer 4s ease-in-out infinite;
    position: relative;
    text-align: center;
}

.cta-subtitle {
    font-size: 1.25rem;
    margin-bottom: 48px;
    color: #E5E5E5;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* 页脚 */
.footer {
    background: #171717;
    color: white;
    padding: 64px 0 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.footer-description {
    color: #A3A3A3;
    margin-bottom: 32px;
    line-height: 1.6;
    max-width: 400px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #A3A3A3;
    font-size: 0.875rem;
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #A3A3A3;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #404040;
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #A3A3A3;
    font-size: 0.875rem;
}

.footer-bottom-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-beian {
    color: #A3A3A3;
    font-size: 0.75rem;
}

.footer-bottom-links {
    display: flex;
    gap: 32px;
}

.footer-bottom-links a {
    color: #A3A3A3;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom-links a:hover {
    color: white;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .cta-title {
        font-size: 2.5rem;
        letter-spacing: 0.1em; /* 响应式下适度间距 */
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu,
    .nav-cta {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 3.5rem;
        line-height: 1.55;
        margin-bottom: 40px;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
        margin-top: 126px; /* 移动端调整间距，约3.3厘米 */
        gap: 135px; /* 移动端按钮间距调整为5厘米 */
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
        letter-spacing: 0.08em; /* 移动端紧凑间距 */
    }
    
    .business-grid,
    .tech-grid,
    .application-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
        letter-spacing: 0.02em;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .business-card,
    .tech-card {
        padding: 32px 24px;
    }
    
    .btn-large {
        padding: 12px 24px;
        font-size: 0.875rem;
    }
}

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

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

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #F5F5F5;
}

::-webkit-scrollbar-thumb {
    background: #A3A3A3;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #404040;
}