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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    overflow-x: hidden;
}

/* 主容器 */
.main-container {
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../images/bg_main.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4), transparent);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

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

.logo-container .nav-logo {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-container .nav-logo:hover {
    transform: scale(1.05);
}

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

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-2px);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: linear-gradient(to right, #ffd700, #ff6b35);
    border-radius: 2px;
}

/* 主要内容区域 */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 120px 30px 80px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

.hero-text {
    margin-bottom: 60px;
}

.slogan-img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
    animation: float 3s ease-in-out infinite;
}

/* 下载按钮区域 */
.download-buttons {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.download-btn {
    display: inline-block;
    transition: all 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.download-btn img {
    max-width: 200px;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.download-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.download-btn:hover img {
    transform: scale(1.02);
}

.download-btn:active {
    transform: translateY(-2px) scale(1.02);
}

/* 动画定义 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-container {
        padding: 15px 20px;
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-menu {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-link {
        font-size: 16px;
        padding: 8px 16px;
    }
    
    .hero-section {
        padding: 140px 20px 60px;
    }
    
    .hero-text {
        margin-bottom: 40px;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .download-btn img {
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 10px 15px;
    }
    
    .nav-menu {
        gap: 15px;
    }
    
    .nav-link {
        font-size: 14px;
        padding: 6px 12px;
    }
    
    .hero-section {
        padding: 120px 15px 40px;
    }
    
    .download-btn img {
        max-width: 200px;
    }
}

/* 滚动效果 */
.navbar.scrolled {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    padding: 10px 0;
}

.navbar.scrolled .nav-container {
    padding: 15px 30px;
}

.navbar.scrolled .nav-logo {
    height: 35px;
}



/* 粒子效果容器 */
#particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

/* 向下滚动箭头 */
.scroll-down-arrow {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    cursor: pointer;
    animation: bounce 2s infinite;
}

.arrow-icon {
    width: 24px;
    height: 24px;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: rotate(45deg);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.scroll-down-arrow:hover .arrow-icon {
    opacity: 1;
    transform: rotate(45deg) scale(1.2);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* 向上滚动箭头 */
.scroll-up-arrow {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    cursor: pointer;
    animation: bounceUp 2s infinite;
}

.up-arrow {
    width: 24px;
    height: 24px;
    border-left: 2px solid #ffffff;
    border-top: 2px solid #ffffff;
    transform: rotate(45deg);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.scroll-up-arrow:hover .up-arrow {
    opacity: 1;
    transform: rotate(45deg) scale(1.2);
}

@keyframes bounceUp {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(10px);
    }
    60% {
        transform: translateX(-50%) translateY(5px);
    }
}

/* 第二部分 - AI特效展示 */
.ai-effects-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d1b36 50%, #1a1a1a 100%);
    display: flex;
    align-items: center;
    padding: 80px 0;
    position: relative;
}

.ai-content-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    width: 100%;
}

.ai-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    min-height: 80vh;
}

/* 左侧AI角色展示 */
.ai-character {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.character-img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    filter: drop-shadow(0 0 30px rgba(138, 43, 226, 0.3));
    transition: all 0.3s ease;
    animation: characterFloat 4s ease-in-out infinite;
}

.character-img:hover {
    transform: scale(1.02);
    filter: drop-shadow(0 0 40px rgba(138, 43, 226, 0.5));
}

@keyframes characterFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-8px) rotate(0.5deg);
    }
    50% {
        transform: translateY(-12px) rotate(0deg);
    }
    75% {
        transform: translateY(-8px) rotate(-0.5deg);
    }
}

/* 右侧功能展示 */
.ai-features {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
}

.phone-showcase {
    display: flex;
    justify-content: center;
    position: relative;
}

.phone-img {
    max-width: 350px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    animation: phoneFloat 3s ease-in-out infinite;
}

.phone-img:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5);
}

@keyframes phoneFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* 功能内容文字 */
.feature-content {
    text-align: center;
    color: #ffffff;
}

.feature-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #ffd700 50%, #ff6b35 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    from {
        filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.3));
    }
    to {
        filter: drop-shadow(0 0 20px rgba(255, 107, 53, 0.5));
    }
}

.feature-description {
    font-size: 1.5rem;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0.9;
    font-weight: 300;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Try It 按钮 */
.try-btn {
    display: inline-block;
    padding: 18px 60px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #333;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.try-btn::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.5s;
}

.try-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, #ffd700 0%, #ff6b35 100%);
    color: #ffffff;
}

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

.try-btn:active {
    transform: translateY(-1px) scale(1.02);
}

/* 响应式设计 - 第二部分 */
@media (max-width: 1200px) {
    .ai-showcase {
        gap: 60px;
    }
    
    .feature-title {
        font-size: 2.5rem;
    }
    
    .feature-description {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .ai-effects-section {
        padding: 60px 0;
    }
    
    .ai-content-container {
        padding: 0 20px;
    }
    
    .ai-showcase {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .character-img {
        max-width: 80%;
    }
    
    .phone-img {
        max-width: 280px;
    }
    
    .feature-title {
        font-size: 2rem;
    }
    
    .feature-description {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    .try-btn {
        padding: 15px 40px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .ai-showcase {
        gap: 30px;
    }
    
    .character-img {
        max-width: 90%;
    }
    
    .phone-img {
        max-width: 250px;
    }
    
    .feature-title {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }
    
    .feature-description {
        font-size: 1rem;
    }
    
    .try-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

/* 第三部分 - 个性化定制 */
.customize-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #2c1810 0%, #1a0e08 50%, #2c1810 100%);
    display: flex;
    align-items: center;
    padding: 80px 0;
    position: relative;
}

.customize-content-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    width: 100%;
}

.customize-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    min-height: 80vh;
}

/* 左侧双手机展示 */
.customize-phones {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    position: relative;
}

.phone-left, .phone-right {
    position: relative;
}

.room-chat-img, .room-rec-img {
    max-width: 280px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.room-chat-img {
    animation: phoneFloatLeft 3.5s ease-in-out infinite;
    z-index: 2;
    position: relative;
}

.room-rec-img {
    animation: phoneFloatRight 4s ease-in-out infinite;
    margin-top: 40px;
    z-index: 1;
}

.customize-phones:hover .room-chat-img {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 25px 70px rgba(139, 69, 19, 0.4);
}

.customize-phones:hover .room-rec-img {
    transform: scale(1.05) translateY(35px);
    box-shadow: 0 25px 70px rgba(139, 69, 19, 0.4);
}

@keyframes phoneFloatLeft {
    0%, 100% {
        transform: translateY(0px) rotate(-1deg);
    }
    50% {
        transform: translateY(-8px) rotate(1deg);
    }
}

@keyframes phoneFloatRight {
    0%, 100% {
        transform: translateY(40px) rotate(1deg);
    }
    50% {
        transform: translateY(32px) rotate(-1deg);
    }
}

/* 右侧个性化内容 */
.customize-features {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 50px;
    padding-left: 40px;
}

.customize-content {
    text-align: left;
    color: #ffffff;
}

.customize-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #ff8c42 50%, #ff6b35 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
    animation: customizeGlow 3s ease-in-out infinite alternate;
}

@keyframes customizeGlow {
    from {
        filter: drop-shadow(0 0 10px rgba(255, 140, 66, 0.3));
    }
    to {
        filter: drop-shadow(0 0 20px rgba(255, 107, 53, 0.5));
    }
}

.customize-description {
    font-size: 1.5rem;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0.9;
    font-weight: 300;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.customize-try-btn {
    background: linear-gradient(135deg, #ff8c42 0%, #ff6b35 100%);
    color: #ffffff;
    border: 2px solid transparent;
}

.customize-try-btn:hover {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #ff6b35;
    border: 2px solid #ff6b35;
}

.customize-try-btn::before {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

/* 第三部分的滚动箭头 */
.customize-arrow {
    bottom: 30px;
}

.customize-arrow .arrow-icon {
    border-color: rgba(255, 140, 66, 0.8);
}

.customize-arrow:hover .arrow-icon {
    border-color: #ff8c42;
}

/* 响应式设计 - 第三部分 */
@media (max-width: 1200px) {
    .customize-showcase {
        gap: 60px;
    }
    
    .customize-features {
        padding-left: 20px;
    }
    
    .customize-title {
        font-size: 2.5rem;
    }
    
    .customize-description {
        font-size: 1.3rem;
    }
    
    .room-chat-img, .room-rec-img {
        max-width: 240px;
    }
}

@media (max-width: 768px) {
    .customize-section {
        padding: 60px 0;
    }
    
    .customize-showcase {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .customize-phones {
        justify-content: center;
        gap: 20px;
    }
    
    .room-chat-img, .room-rec-img {
        max-width: 200px;
    }
    
    .room-rec-img {
        margin-top: 20px;
    }
    
    .customize-features {
        align-items: center;
        padding-left: 0;
    }
    
    .customize-content {
        text-align: center;
    }
    
    .customize-title {
        font-size: 2rem;
    }
    
    .customize-description {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .customize-phones {
        flex-direction: column;
        gap: 15px;
    }
    
    .room-chat-img, .room-rec-img {
        max-width: 250px;
    }
    
    .room-rec-img {
        margin-top: 0;
    }
    
    .customize-title {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }
    
    .customize-description {
        font-size: 1rem;
    }
} 