* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background-color: #000;
    color: #fff;
    overflow-x: hidden;
}

/* 滚轮动画区域 */
#scroll-animation {
    position: relative;
    height: 400vh;
}

.scroll-animation-container {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    overflow: hidden;
}

#scroll-canvas {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
}

.scroll-hint {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    z-index: 100;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.scroll-hint span {
    display: block;
    margin-bottom: 10px;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    margin: 0 auto;
    border-right: 2px solid rgba(255, 255, 255, 0.7);
    border-bottom: 2px solid rgba(255, 255, 255, 0.7);
    transform: rotate(45deg);
    animation: scrollArrow 2s infinite;
}

@keyframes scrollArrow {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-5px, -5px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(45deg) translate(5px, 5px);
    }
}

/* 功能介绍区域 */
.feature-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 5%;
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a2e 100%);
    overflow: hidden;
}

.feature-section:nth-child(odd) {
    background: linear-gradient(180deg, #1a1a2e 0%, #0a0a0a 100%);
}

.feature-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    max-width: 1400px;
    width: 100%;
}

.feature-video {
    flex: 1;
    max-width: 400px;
    border-radius: 70px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 120, 255, 0.2);
    opacity: 0;
    transform: translateX(-100px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.feature-video.animate {
    opacity: 1;
    transform: translateX(0);
}

.feature-video video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 40px;
}

.feature-text {
    flex: 1;
    max-width: 500px;
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-delay: 0.2s;
}

.feature-text.animate {
    opacity: 1;
    transform: translateX(0);
}

.feature-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #007AFF 0%, #00D4FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-subtitle {
    font-size: 28px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.4;
}

.feature-desc {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* 宣传视频区域 */
#promo-video-section {
    padding: 100px 5%;
    background: linear-gradient(180deg, #0a0a0a 0%, #000 100%);
}

.promo-video-container {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 120, 255, 0.15);
}

.promo-video-container video {
    width: 100%;
    height: auto;
    display: block;
}

/* 底部下载区域 */
#download-section {
    padding: 100px 5% 80px;
    background: linear-gradient(180deg, #000 0%, #0a1628 100%);
}

.download-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
}

.phone-mockups {
    display: flex;
    gap: 20px;
    flex-shrink: 0;
}

.phone-mockup {
    width: 280px;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.phone-mockup:hover {
    transform: translateY(-10px);
}

.phone-left {
    transform: translateY(-20px);
}

.phone-right {
    transform: translateY(20px);
}

.phone-left:hover {
    transform: translateY(-30px);
}

.phone-right:hover {
    transform: translateY(10px);
}

.phone-mockup img {
    width: 100%;
    height: auto;
    display: block;
}

.app-info {
    text-align: center;
}

.app-icon {
    width: 120px;
    height: 120px;
    border-radius: 28px;
    margin-bottom: 24px;
    box-shadow: 0 20px 40px rgba(0, 120, 255, 0.3);
}

.app-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #fff;
}

.app-tagline {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
}

.app-slogan {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 32px;
}

.appstore-link {
    display: inline-block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.appstore-link:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.appstore-link img {
    height: 60px;
    width: auto;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .feature-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .feature-video {
        transform: translateY(-50px);
    }
    
    .feature-video.animate {
        transform: translateY(0);
    }
    
    .feature-text {
        transform: translateY(50px);
    }
    
    .feature-text.animate {
        transform: translateY(0);
    }
    
    .feature-title {
        font-size: 42px;
    }
    
    .feature-subtitle {
        font-size: 24px;
    }
    
    .feature-desc {
        font-size: 18px;
    }
    
    .download-content {
        flex-direction: column;
    }
    
    .phone-mockups {
        order: 1;
    }
    
    .app-info {
        order: 2;
    }
}

@media (max-width: 768px) {
    .feature-section {
        padding: 40px 5%;
    }
    
    .feature-video {
        max-width: 300px;
        border-radius: 30px;
    }
    
    .feature-video video {
        border-radius: 30px;
    }
    
    .feature-title {
        font-size: 36px;
    }
    
    .feature-subtitle {
        font-size: 20px;
    }
    
    .feature-desc {
        font-size: 16px;
    }
    
    .phone-mockup {
        width: 200px;
        border-radius: 30px;
    }
    
    .app-icon {
        width: 100px;
        height: 100px;
    }
    
    .app-title {
        font-size: 36px;
    }
    
    .app-tagline {
        font-size: 16px;
    }
    
    .app-slogan {
        font-size: 14px;
    }
    
    .appstore-link img {
        height: 50px;
    }
}

@media (max-width: 480px) {
    .phone-mockups {
        flex-direction: column;
        align-items: center;
    }
    
    .phone-left,
    .phone-right {
        transform: none;
    }
    
    .phone-left:hover,
    .phone-right:hover {
        transform: translateY(-10px);
    }
}
