/* 下载页面专用样式 - download.html */

/* 页面头部样式 */
.page-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.page-header-text {
    flex: 1;
    padding-right: 50px;
}

.page-header-image {
    flex: 1;
    text-align: center;
    position: relative;
}

.device-showcase {
    width: 100%;
    height: 400px;
    position: relative;
}

.phone-mockup {
    position: absolute;
    width: 200px;
    height: 400px;
    background: white;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    overflow: hidden;
}

/* 手机浮动包装器 */
.phone-float-wrapper {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 30px;
}

/* AOS 动画完成后的手机浮动效果 */
.phone-mockup.aos-animate .phone-float-wrapper {
    animation: phoneFloat 4s ease-in-out infinite;
}

@keyframes phoneFloat {
    0%, 100% { 
        transform: translateY(0); 
    }
    50% { 
        transform: translateY(-15px); 
    }
}
.tablet-mockup {
    position: absolute;
    width: 300px;
    height: 220px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    right: 0;
    top: 50px;
    transform: translate(-50%, -50%);
    overflow: hidden;
}

/* 平板浮动包装器 */
.tablet-float-wrapper {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 20px;
}

/* AOS 动画完成后的平板浮动效果 */
.tablet-mockup.aos-animate .tablet-float-wrapper {
    animation: tabletFloat 5s ease-in-out infinite 0.5s;
}

@keyframes tabletFloat {
    0%, 100% { 
        transform: translateY(0); 
    }
    50% { 
        transform: translateY(-12px); 
    }
}
.phone-screen {
    position: absolute;
    top: 15px;
    left: 10px;
    right: 10px;
    bottom: 15px;
    background: linear-gradient(145deg, #f0f0f0, #e0e0e0);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
    color: var(--dark);
}

.phone-screen i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.phone-screen h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}



.tablet-screen {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    background: linear-gradient(145deg, #f0f0f0, #e0e0e0);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 15px;
    color: var(--dark);
}

.tablet-screen i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.tablet-screen h3 {
    font-size: 1rem;
}


/* 应用下载区域 */
.apps-section {
    background: white;
}

.platform-selector {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
    background: white;
    border-radius: 50px;
    padding: 8px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.platform-btn {
    padding: 12px 35px;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 50px;
}

.platform-btn.active {
    color: white;
    background: var(--primary);
    box-shadow: 0 5px 15px rgba(24, 144, 255, 0.3);
}

.platform-content {
    display: none;
}

.platform-content.active {
    display: block;
}


.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.app-card {
    background: white;
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.app-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    transition: width 0.4s ease;
}

.app-card:hover::after {
    width: 100%;
    left: 0;
    right: auto;
}

.app-icon {
    width: 80px;
    height: 80px;
    background: rgba(24, 144, 255, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: transform 0.4s ease, background 0.4s ease;
}

.app-card:hover .app-icon {
    transform: scale(1.1);
    background: rgba(24, 144, 255, 0.2);
}

.app-icon i {
    font-size: 2.5rem;
    color: var(--primary);
    transition: transform 0.4s ease, color 0.4s ease;
}

.app-card:hover .app-icon i {
    transform: scale(1.1);
    color: var(--primary-dark);
}

.app-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--dark);
    font-weight: 600;
}

.app-card p {
    color: var(--gray);
    margin-bottom: 25px;
    line-height: 1.6;
    flex-grow: 1;
}

.app-features {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.app-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.app-features li i {
    color: var(--primary);
    margin-right: 10px;
}

.app-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.badge {
    display: inline-block;
    padding: 8px 15px;
    background: var(--light);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray);
}

.badge.primary {
    background: var(--primary);
    color: white;
}

.coming-soon {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e6f7ff 100%);
    border-radius: 16px;
    margin-top: 40px;
}

.coming-soon i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.coming-soon h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.coming-soon p {
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto 30px;
}

/* 功能特性 */
.features-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #e6f7ff 100%);
    position: relative;
    overflow: hidden;
}


.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.feature-item {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--primary);
    transition: height 0.3s ease;
}

.feature-item:hover::before {
    height: 100%;
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    transition: transform 0.4s ease, color 0.4s ease;
    display: inline-block;
}

.feature-item:hover i {
    transform: scale(1.2) rotate(5deg);
    color: var(--primary-dark);
}

.feature-item h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.feature-item p {
    color: var(--gray);
    line-height: 1.6;
}

/* 常见问题 */
.faq-section {
    background: white;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .page-header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .page-header-text {
        padding-right: 0;
        margin-bottom: 60px;
    }
    
    .device-showcase {
        height: 300px;
    }
    
    .phone-mockup {
        width: 150px;
        height: 300px;
    }
    
    .tablet-mockup {
        width: 220px;
        height: 160px;
    }
    
    .platform-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .platform-selector {
        flex-direction: column;
        width: 100%;
        border-radius: 12px;
    }
    
    .platform-btn {
        width: 100%;
        border-radius: 8px;
        margin-bottom: 5px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .app-card {
        padding: 30px 20px;
    }
    
    .phone-mockup {
        width: 120px;
        height: 240px;
    }
    
    .tablet-mockup {
        width: 180px;
        height: 130px;
    }
    
    .phone-screen i {
        font-size: 2rem;
    }
    
    .tablet-screen i {
        font-size: 2rem;
    }
}
