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

body {
    overflow: hidden; /* 隐藏滚动条，使用自定义滚动 */
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 25%, #ec4899 50%, #f59e0b 75%, #4f46e5 100%);
    background-size: 400% 400%;
    color: #ffffff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    cursor: auto; /* 恢复默认光标 */
    height: 100vh;
}

/* 粒子效果样式 */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: auto;
    transition: all 0.3s ease;
}

.particle:hover {
    cursor: pointer;
}

/* 水粒子容器 */
.water-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.water-particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

/* 加载动画 */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    flex-direction: column;
}

.loader-logo {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(45deg, #00d4ff, #0099cc, #006699, #003d66);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
}

.loader-progress {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.loader-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #00d4ff, #0099cc);
    border-radius: 2px;
    transition: width 0.3s ease;
}

/* 全屏滚动样式 */
.main-wrapper {
    height: 100vh;
    overflow: hidden;
    position: relative;
}

.screen {
    height: 100vh;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
    padding: 2rem;
    box-sizing: border-box;
}

.screen-1 {
    background: linear-gradient(135deg, #312e81 0%, #3730a3 50%, #1e40af 100%);
    z-index: 10;
}

.screen-2 {
    background: linear-gradient(135deg, #3730a3 0%, #1e40af 50%, #312e81 100%);
    z-index: 9;
}

.screen-3 {
    background: linear-gradient(135deg, #1e40af 0%, #312e81 50%, #3730a3 100%);
    z-index: 8;
}

/* 确保第二屏和第三屏的内容可见 */
.screen-2 .container,
.screen-3 .container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.screen-2 .section-title,
.screen-3 .cta-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.screen-2 .section-subtitle,
.screen-3 .cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.9);
}

/* 屏幕导航指示器 */
.screen-nav {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.screen-nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.screen-nav-dot.active {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.2);
}

.screen-nav-dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

/* CSS动画已移除，改用GSAP实现 */

/* 主容器 */
.main-wrapper {
    position: relative;
    min-height: 100vh;
}

/* 背景粒子系统 */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* 英雄区域 */
/* 英雄区域样式已整合到 .screen-1 中 */

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.bg-shape {
    position: absolute;
    opacity: 0.1;
    border-radius: 50%;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, #60a5fa, #3b82f6);
    top: 10%;
    left: 10%;
    opacity: 0.6;
    box-shadow: 0 0 60px rgba(96, 165, 250, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, #a78bfa, #8b5cf6);
    top: 60%;
    right: 15%;
    opacity: 0.6;
    box-shadow: 0 0 40px rgba(167, 139, 250, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: linear-gradient(45deg, #f472b6, #ec4899);
    bottom: 20%;
    left: 20%;
    opacity: 0.6;
    box-shadow: 0 0 30px rgba(244, 114, 182, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

/* 磁性吸附时的增强效果 */
.shape-1.magnetic-active {
    box-shadow: 0 0 100px rgba(96, 165, 250, 0.8), 0 0 200px rgba(96, 165, 250, 0.4);
    opacity: 0.9;
}

.shape-2.magnetic-active {
    box-shadow: 0 0 80px rgba(167, 139, 250, 0.8), 0 0 160px rgba(167, 139, 250, 0.4);
    opacity: 0.9;
}

.shape-3.magnetic-active {
    box-shadow: 0 0 60px rgba(244, 114, 182, 0.8), 0 0 120px rgba(244, 114, 182, 0.4);
    opacity: 0.9;
}

/* 形状变形动画已移除，改用GSAP实现 */

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 900px;
    padding: 0 2rem;
}

.hero-title {
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 2.5rem;
    position: relative;
    letter-spacing: -4px;
    font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

.hero-title .word {
    display: inline-block;
    margin-right: 0.2em;
    overflow: hidden;
    position: relative;
}

.hero-title .word:nth-child(1) {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-title .word:nth-child(2) {
    color: #ffffff;
    position: relative;
    font-weight: 800;
    letter-spacing: 2px;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.6);
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.3));
}

.hero-title .word:nth-child(3) {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 50%, #4facfe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-title .char {
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3.5rem;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.hero-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.btn-hero {
    padding: 1.4rem 3.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    min-width: 180px;
    justify-content: center;
}

.btn-hero:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.1);
}

.btn-hero::before {
    content: '';
    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.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
}

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

.btn-hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-hero:hover::after {
    width: 300px;
    height: 300px;
}

.btn-hero:active {
    transform: translateY(-2px) scale(1.02);
    transition: all 0.1s ease;
}

.btn-hero span {
    position: relative;
    z-index: 2;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

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

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

/* 滚动指示器 */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.8);
    z-index: 2;
}

.scroll-text {
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.scroll-text {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
}

/* 特性区域样式已整合到 .screen-2 中 */

/* 流水粒子容器 */
.water-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.water-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.9) 0%, rgba(0, 153, 204, 0.7) 50%, rgba(0, 102, 153, 0.3) 100%);
    border-radius: 50%;
    pointer-events: none;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.8), 0 0 30px rgba(0, 212, 255, 0.4);
}

/* 鼠标轨迹效果 */
.mouse-trail {
    position: absolute;
    width: 12px;
    height: 12px;
    background: radial-gradient(circle, rgba(0, 212, 255, 1) 0%, rgba(0, 153, 204, 0.8) 50%, transparent 100%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
    box-shadow: 0 0 25px rgba(0, 212, 255, 1), 0 0 50px rgba(0, 212, 255, 0.5);
}

/* 波纹效果 */
.ripple {
    position: absolute;
    border: 3px solid rgba(0, 212, 255, 0.8);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.6), inset 0 0 20px rgba(0, 212, 255, 0.3);
}

/* 流水线条 */
.water-line {
    position: absolute;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 1), rgba(0, 153, 204, 0.8), transparent);
    pointer-events: none;
    z-index: 1;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.8);
    border-radius: 2px;
}

/* 特性卡片悬停时的水波效果 */
.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 212, 255, 0.4);
}

/* 为特性区域添加微妙的水波纹背景 */
.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(0, 212, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 153, 204, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(0, 102, 153, 0.04) 0%, transparent 50%);
    z-index: 0;
    opacity: 0.3;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 2rem;
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.feature-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    font-size: 1.1rem;
}

/* 统计区域 */
.stats-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.stat-icon {
    font-size: 3rem;
    color: #00d4ff;
    margin-bottom: 1rem;
}

/* CTA区域 */
.cta-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    text-align: center;
}

.cta-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
}

.cta-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
}

.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}
