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

:root {
    --bg-primary: #121212;
    --bg-secondary: #1E1E1E;
    --text-primary: #FFFFFF;
    --text-secondary: #B3B3B3;
    --accent-color: #7B61FF;
    --accent-hover: #9747FF;
    --nav-bg: rgba(18, 18, 18, 0.95);
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(180deg, 
        rgba(18, 18, 18, 1) 0%,
        rgba(24, 24, 28, 1) 100%);
    min-height: 100vh;
}

/* 导航栏样式 */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: var(--nav-bg);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.logo-text {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.auth-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.auth-buttons a {
    text-decoration: none;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s;
}

.login {
    color: var(--text-secondary);
}

.signup {
    background-color: var(--accent-color);
    color: var(--text-primary);
}

.signup:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 主页区域优化 */
.hero-container {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 7% 2rem;
    gap: 4rem;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease-out;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.hero-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.cta-button {
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    background-color: var(--accent-color);
    border: none;
    border-radius: 12px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(123, 97, 255, 0.15);
}

.cta-button:hover {
    transform: translateY(-2px);
    background-color: var(--accent-hover);
    box-shadow: 0 6px 15px rgba(123, 97, 255, 0.2);
}

/* 手机展示区域 */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: var(--bg-secondary);
    border-radius: 40px;
    padding: 10px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.screen-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.screen-slider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.screen-slider img.active {
    opacity: 1;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .robot-image {
        width: 350px;
    }
}

@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
    }

    .hero-content {
        margin: 0 auto;
    }

    .robot-container {
        margin: 2rem 0;
    }

    .robot-image {
        width: 280px;
    }

    .interaction-container {
        flex-direction: column;
        gap: 2rem;
    }

    .phone-container {
        width: 100%;
    }
}

/* 新增部分样式 */
.section {
    position: relative;
    padding: 100px 7%;
    overflow: hidden;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at var(--gradient-position, 50% 50%),
        rgba(123, 97, 255, 0.03) 0%,
        rgba(123, 97, 255, 0) 70%
    );
    opacity: 0.5;
    pointer-events: none;
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    background: linear-gradient(to right, var(--text-primary), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-align: center;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .section {
        padding: 4rem 5%;
    }

    .section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 80px 5%;
    }

    .section h2 {
        font-size: 1.8rem;
    }
}

/* 菜单按钮样式 */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.menu-toggle:hover {
    opacity: 0.8;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
    }

    .auth-buttons {
        display: none;
    }

    .navbar {
        padding: 1rem 3%;
    }

    .section {
        padding: 80px 5%;
    }

    .section h2 {
        font-size: 1.8rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
}

/* 功能卡片样式 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.feature-card {
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card img {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
}

.robot-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: floatRobot 6s ease-in-out infinite;
}

.robot-image {
    width: 400px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(123, 97, 255, 0.3));
    transition: transform 0.3s ease;
}

.robot-container:hover .robot-image {
    transform: scale(1.05) rotate(5deg);
}

.robot-glow {
    position: absolute;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle at center, rgba(123, 97, 255, 0.2) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.robot-container:hover .robot-glow {
    opacity: 1;
}

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

/* 互动系统部分优化 */
.interaction-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8rem;
    margin-top: 3rem;
    position: relative;
}

.interaction-content {
    flex: 1;
    max-width: 500px;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    animation: fadeInUp 0.6s ease-out;
}

.section-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    background: rgba(123, 97, 255, 0.03);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 16px;
    transition: all 0.3s ease;
    position: relative;
    animation: fadeInUp 1s ease-out;
}

.feature-item:hover {
    transform: translateY(-3px);
    background: rgba(123, 97, 255, 0.05);
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.feature-item p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.phone-container {
    flex: 1;
    display: flex;
    justify-content: center;
    padding: 2rem;
    position: relative;
    animation: fadeInUp 1.2s ease-out;
}

.phone-container::before {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(
        circle at center,
        rgba(123, 97, 255, 0.06) 0%,
        transparent 70%
    );
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    filter: blur(20px);
}

.phone-mockup {
    position: relative;
    animation: floatPhone 6s ease-in-out infinite;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.15));
}

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

/* 响应式优化 */
@media (max-width: 1200px) {
    .hero-container, .section {
        padding-left: 5%;
        padding-right: 5%;
    }

    .interaction-container {
        gap: 4rem;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
        gap: 3rem;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .interaction-container {
        flex-direction: column;
        gap: 3rem;
    }

    .interaction-content {
        text-align: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .feature-item {
        padding: 1.8rem;
    }

    .phone-container {
        width: 100%;
    }

    .phone-container::before {
        width: 280px;
        height: 280px;
    }
}

/* 部分间的过渡效果 */
.section::after {
    content: '';
    position: absolute;
    top: -150px;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(18, 18, 18, 0.8)
    );
    pointer-events: none;
}

/* 内容容器 */
.section-content {
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(30px);
}

.section.animate .section-content {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* 特性卡片优化 */
.feature-item {
    background: rgba(123, 97, 255, 0.03);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-3px);
    background: rgba(123, 97, 255, 0.05);
}

/* 手机展示区域优化 */
.phone-container::before {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(
        circle at center,
        rgba(123, 97, 255, 0.06) 0%,
        transparent 70%
    );
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    filter: blur(20px);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .section {
        padding: 80px 5%;
    }
    
    .section::after {
        top: -100px;
        height: 100px;
    }
    
    .feature-item {
        padding: 1.8rem;
    }
}

/* 下载页面样式 */
.download-container {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.download-left, .download-right {
    flex: 1;
    padding: 30px;
    background: #1a1a1a;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    color: #e0e0e0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.download-left.animate, .download-right.animate {
    opacity: 1;
    transform: translateY(0);
}

.download-left h2, .download-right h2 {
    color: #ffffff;
    margin-bottom: 15px;
}

.download-left p, .download-right p {
    color: #b0b0b0;
    margin-bottom: 20px;
}

.price-tag {
    margin: 20px 0;
    font-size: 24px;
    position: relative;
    overflow: hidden;
}

.original-price {
    color: #808080;
    text-decoration: line-through;
    margin-right: 15px;
}

.current-price {
    color: #7c5cff;
    font-size: 32px;
    font-weight: bold;
    text-shadow: 0 0 20px rgba(124, 92, 255, 0.3);
    position: relative;
}

.current-price::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.price-tag:hover .current-price::after {
    transform: scaleX(1);
}

.benefits {
    margin: 30px 0;
}

.benefit-item {
    margin: 15px 0;
    padding: 15px;
    background: #252525;
    border-radius: 12px;
    font-size: 16px;
    color: #d0d0d0;
    border: 1px solid #333333;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    border-color: #7c5cff;
    transform: translateX(5px);
}

.buy-btn {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #7c5cff 0%, #6344e0 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

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

.buy-btn:hover::before {
    width: 300px;
    height: 300px;
}

.buy-btn:hover {
    background: linear-gradient(135deg, #8d71ff 0%, #7455f1 100%);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(124, 92, 255, 0.3);
}

.qr-code-container {
    text-align: center;
    margin: 30px 0;
    padding: 20px;
    background: #252525;
    border-radius: 15px;
    border: 1px solid #333333;
}

.qr-code {
    width: 200px;
    height: 200px;
    margin-bottom: 15px;
    padding: 10px;
    background: white;
    border-radius: 10px;
}

.download-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.download-btn {
    padding: 15px 30px;
    text-align: center;
    border-radius: 25px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
}

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

.download-btn:hover::before {
    width: 300px;
    height: 300px;
}

.download-btn.android {
    background: linear-gradient(135deg, #4CAF50 0%, #388E3C 100%);
    color: white;
}

.download-btn.ios {
    background: linear-gradient(135deg, #0088ff 0%, #0066cc 100%);
    color: white;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    border-color: rgba(255,255,255,0.2);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .download-container {
        flex-direction: column;
    }
    
    .download-left, .download-right {
        width: 100%;
    }
}

/* 功能展示区域样式 */
.features-showcase {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    position: relative;
}

.features-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
}

.features-list .feature-item {
    padding: 1.5rem;
    background: rgba(30, 30, 30, 0.6);
    border: 1px solid rgba(123, 97, 255, 0.1);
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.features-list .feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-color);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.features-list .feature-item.active::before {
    opacity: 1;
}

.features-list .feature-item:hover {
    transform: translateX(10px);
    background: rgba(123, 97, 255, 0.1);
    border-color: rgba(123, 97, 255, 0.3);
}

.features-list .feature-item.active {
    background: rgba(123, 97, 255, 0.15);
    border-color: rgba(123, 97, 255, 0.4);
    transform: translateX(10px);
}

.features-list .feature-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.features-list .feature-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.feature-preview {
    flex: 1.5;
    position: relative;
    height: 600px;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(30, 30, 30, 0.6);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.preview-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.preview-image.active {
    opacity: 1;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .features-showcase {
        flex-direction: column;
    }
    
    .features-list {
        max-width: 100%;
    }
    
    .feature-preview {
        height: 400px;
    }
    
    .features-list .feature-item:hover {
        transform: translateX(0);
    }
}

/* 视频展示区域样式 */
.video-showcase {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    min-height: 400px;
}

.video-container {
    flex: 1.6;
    background: rgba(30, 30, 30, 0.5);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(123, 97, 255, 0.1), rgba(151, 71, 255, 0.1));
    border-radius: 15px;
    padding: 2rem;
}

.placeholder-content {
    text-align: center;
}

.play-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    display: block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.video-description {
    flex: 1;
    padding: 2rem;
    background: rgba(30, 30, 30, 0.5);
    border-radius: 20px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 380px;
}

.video-description h3 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.video-description p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.95rem;
    opacity: 0.8;
}

.video-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.video-features .feature-item {
    padding: 1rem 1.5rem;
    background: rgba(30, 30, 30, 0.6);
    border: 1px solid rgba(123, 97, 255, 0.1);
    border-radius: 12px;
    color: var(--text-primary);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.video-features .feature-item:hover {
    background: rgba(123, 97, 255, 0.1);
    border-color: rgba(123, 97, 255, 0.3);
    transform: translateX(10px);
}

@media (max-width: 768px) {
    .video-showcase {
        flex-direction: column;
    }

    .video-container,
    .video-description {
        width: 100%;
        min-height: 300px;
        max-width: none;
    }
}

/* 按钮涟漪效果 */
.cta-button, .signup, .buy-btn, .download-btn {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
} 