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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB',
        'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* 添加动态背景装饰 */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

body::after {
    content: '';
    position: fixed;
    bottom: -50%;
    left: -20%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-30px, 30px) scale(1.1);
    }
}

/* 背景装饰 */
/* body::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
} */

/* body::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
} */

.container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 40px;
    padding-bottom: 120px; /* 为固定按钮留出空间 */
}

/* 标题 - 左上角 */
.header {
    margin-bottom: 20px;
    animation: fadeInDown 0.8s ease;
}

.title {
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin: 0;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 主要内容区 */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    animation: fadeIn 1s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* 截图横向滚动 */
.screenshots-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 20px;
    max-width: 100%;
    justify-content: center;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.screenshots-scroll::-webkit-scrollbar {
    display: none;
}

.screenshot-item {
    flex-shrink: 0;
    border-radius: 20px;
    overflow: hidden;
    scroll-snap-align: center;
    transition: all 0.3s ease;
}

.screenshot-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.screenshot-item img {
    display: block;
    width: auto;
    height: 400px;
    max-width: none;
}

/* App介绍 */
.app-description {
    text-align: center;
    color: white;
    max-width: 650px;
    padding: 0 20px;
}

.app-description h2 {
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
    letter-spacing: 1px;
}

.app-description p {
    font-size: 16px;
    line-height: 1.8;
    opacity: 0.95;
    margin-bottom: 30px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

.features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    min-width: 100px;
}

.feature:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 32px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

.feature span:last-child {
    font-size: 14px;
    opacity: 0.95;
    font-weight: 500;
}

/* 下载按钮 - 苹果风格底部固定 */
.download-buttons {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    gap: 15px;
    justify-content: center;
    padding: 25px 20px 35px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-top: 0.5px solid rgba(0, 0, 0, 0.05);
    z-index: 100;
}

.download-btn {
    flex: 1;
    max-width: 200px;
    padding: 16px 24px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.ios-btn {
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.android-btn {
    background: linear-gradient(135deg, #34A853 0%, #4CAF50 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(52, 168, 83, 0.25);
}

.download-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.ios-btn:hover {
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.android-btn:hover {
    box-shadow: 0 6px 25px rgba(52, 168, 83, 0.35);
}

.download-btn:active {
    transform: translateY(0);
    transition: all 0.1s ease;
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

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

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 25px 15px;
        padding-bottom: 160px;
    }

    .title {
        font-size: 30px;
    }

    .main-content {
        gap: 30px;
    }

    .screenshots-scroll {
        gap: 15px;
        padding: 15px 5px;
    }

    .screenshot-item img {
        height: 350px;
    }

    .app-description {
        padding: 0 10px;
    }

    .app-description h2 {
        font-size: 24px;
    }

    .app-description p {
        font-size: 15px;
        line-height: 1.7;
    }

    .features {
        gap: 20px;
    }

    .feature {
        padding: 12px 18px;
        min-width: 90px;
    }

    .download-buttons {
        flex-direction: column;
        gap: 12px;
        padding: 20px 15px 30px;
    }

    .download-btn {
        max-width: 100%;
        font-size: 16px;
        padding: 18px 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 20px 12px;
        padding-bottom: 160px;
    }

    .title {
        font-size: 26px;
        letter-spacing: 1px;
    }

    .main-content {
        gap: 25px;
    }

    .screenshot-item img {
        height: 300px;
    }

    .app-description h2 {
        font-size: 22px;
    }

    .app-description p {
        font-size: 14px;
    }

    .features {
        gap: 15px;
    }

    .feature {
        padding: 10px 15px;
        min-width: 80px;
    }

    .feature-icon {
        font-size: 28px;
    }

    .feature span:last-child {
        font-size: 13px;
    }

    .download-btn {
        padding: 15px 25px;
        font-size: 15px;
    }
}

/* 大屏幕优化 */
@media (min-width: 1200px) {
    .container {
        padding: 50px;
    }

    .title {
        font-size: 42px;
    }

    .screenshot-item img {
        height: 450px;
    }

    .app-description h2 {
        font-size: 32px;
    }

    .app-description p {
        font-size: 18px;
    }

    .feature {
        padding: 18px 25px;
    }

    .feature-icon {
        font-size: 36px;
    }

    .feature span:last-child {
        font-size: 15px;
    }
}