/* 下载页面顶部横幅 */
.download-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #fff;
    padding: 120px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.download-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(233, 69, 96, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(233, 69, 96, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 40% 80%, rgba(233, 69, 96, 0.12) 0%, transparent 45%);
    animation: gradientMove 15s ease-in-out infinite;
}

@keyframes gradientMove {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }
    50% {
        transform: translateX(20px) translateY(-10px);
    }
}

.download-hero .container {
    position: relative;
    z-index: 1;
}

.download-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #fff 0%, #e94560 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.download-hero p {
    font-size: 1.25rem;
    opacity: 0.85;
    max-width: 600px;
    margin: 0 auto 30px;
}

/* 平台下载区 */
.platform-download {
    padding: 100px 0 80px;
    background: linear-gradient(180deg, #0f0f1a 0%, #1a1a2e 100%);
}

.platform-download h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: #fff;
    letter-spacing: -1px;
}

.platform-download .subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: #a0a0a0;
    margin-bottom: 30px;
}

.main-download-btn {
    text-align: center;
    margin-bottom: 60px;
}

.btn-primary-download {
    display: inline-block;
    background: linear-gradient(135deg, #e94560 0%, #ff6b6b 100%);
    color: #fff;
    padding: 24px 64px;
    border-radius: 70px;
    text-decoration: none;
    font-size: 1.375rem;
    font-weight: 800;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 15px 50px rgba(233, 69, 96, 0.4);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.btn-primary-download::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary-download:hover::before {
    width: 400px;
    height: 400px;
}

.btn-primary-download:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(233, 69, 96, 0.5);
}

.platform-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.platform-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 45px 35px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.platform-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #e94560 0%, #ff6b6b 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.platform-card.featured::before {
    transform: scaleX(1);
}

.platform-card.featured {
    background: rgba(233, 69, 96, 0.05);
    border-color: rgba(233, 69, 96, 0.2);
    box-shadow: 0 20px 60px rgba(233, 69, 96, 0.15);
}

.platform-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(233, 69, 96, 0.3);
    box-shadow: 0 25px 70px rgba(233, 69, 96, 0.2);
}

.platform-card:hover::before {
    transform: scaleX(1);
}

.platform-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.platform-header .icon {
    font-size: 3rem;
    filter: drop-shadow(0 4px 12px rgba(233, 69, 96, 0.3));
}

.platform-header h3 {
    font-size: 1.625rem;
    color: #fff;
    margin: 0;
    flex: 1;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.badge {
    background: linear-gradient(135deg, #e94560 0%, #ff6b6b 100%);
    color: #fff;
    padding: 6px 16px;
    border-radius: 25px;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.3);
}

.platform-info {
    margin-bottom: 35px;
}

.platform-info p {
    margin: 10px 0;
    color: #b0b0b0;
    font-size: 0.95rem;
}

.platform-info .version {
    font-weight: 600;
    color: #e94560;
    font-size: 1rem;
}

.platform-info .size,
.platform-info .date {
    font-size: 0.875rem;
    opacity: 0.7;
}

.btn-download-large {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, #e94560 0%, #ff6b6b 100%);
    color: #fff;
    padding: 18px 36px;
    border-radius: 60px;
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    box-shadow: 0 8px 25px rgba(233, 69, 96, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-download-large::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-download-large:hover::before {
    width: 300px;
    height: 300px;
}

.btn-download-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(233, 69, 96, 0.4);
}

.btn-download-large .arrow {
    transition: transform 0.3s ease;
    font-size: 1.25rem;
}

.btn-download-large:hover .arrow {
    transform: translateX(8px);
}

/* 快速下载区 */
.quick-download {
    padding: 100px 0;
    background: linear-gradient(180deg, #1a1a2e 0%, #0f0f1a 100%);
    position: relative;
}

.quick-download::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(180deg, transparent 0%, rgba(233, 69, 96, 0.05) 100%);
}

.quick-download h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: #fff;
    letter-spacing: -1px;
}

.quick-download .subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: #a0a0a0;
    margin-bottom: 60px;
}

.qr-codes {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.qr-item {
    text-align: center;
}

.qr-placeholder {
    width: 220px;
    height: 220px;
    background: linear-gradient(135deg, #e94560 0%, #ff6b6b 100%);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(233, 69, 96, 0.3);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.qr-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 70%
    );
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

.qr-placeholder:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 30px 80px rgba(233, 69, 96, 0.4);
}

.qr-placeholder span {
    font-size: 5rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

.qr-placeholder p {
    font-size: 1.125rem;
    margin: 0;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.qr-item > p {
    color: #b0b0b0;
    font-size: 1.0625rem;
    font-weight: 500;
}

/* 安装教程区 */
.install-guide {
    padding: 100px 0;
    background: #0f0f1a;
}

.install-guide h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 60px;
    color: #fff;
    letter-spacing: -1px;
}

.guide-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 14px 36px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: #b0b0b0;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 60px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.tab-btn:hover {
    color: #fff;
    border-color: rgba(233, 69, 96, 0.3);
    background: rgba(233, 69, 96, 0.05);
}

.tab-btn.active {
    background: linear-gradient(135deg, #e94560 0%, #ff6b6b 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 8px 30px rgba(233, 69, 96, 0.3);
}

.guide-tab {
    display: none;
    max-width: 900px;
    margin: 0 auto;
}

.guide-tab.active {
    display: block;
    animation: fadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.steps {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 50px;
    backdrop-filter: blur(20px);
}

.step {
    display: flex;
    gap: 25px;
    padding: 30px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: padding 0.3s ease;
}

.step:hover {
    padding: 35px 0;
}

.step:last-child {
    border-bottom: none;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e94560 0%, #ff6b6b 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 8px 25px rgba(233, 69, 96, 0.3);
}

.step-content h4 {
    font-size: 1.375rem;
    color: #fff;
    margin-bottom: 10px;
    font-weight: 700;
}

.step-content p {
    color: #a0a0a0;
    font-size: 1rem;
    line-height: 1.7;
}

/* 常见问题区 */
.faq {
    padding: 100px 0;
    background: linear-gradient(180deg, #0f0f1a 0%, #1a1a2e 100%);
}

.faq h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 60px;
    color: #fff;
    letter-spacing: -1px;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 35px;
    border-radius: 20px;
    margin-bottom: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(233, 69, 96, 0.2);
    transform: translateX(10px);
}

.faq-item h4 {
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 15px;
    font-weight: 700;
}

.faq-item p {
    color: #a0a0a0;
    line-height: 1.7;
    font-size: 1rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .download-hero h1 {
        font-size: 2rem;
    }

    .download-hero p {
        font-size: 1rem;
    }

    .platform-download h2,
    .quick-download h2,
    .install-guide h2,
    .faq h2 {
        font-size: 1.75rem;
    }

    .platform-cards {
        grid-template-columns: 1fr;
    }

    .qr-codes {
        gap: 30px;
    }

    .qr-placeholder {
        width: 160px;
        height: 160px;
    }

    .qr-placeholder span {
        font-size: 3rem;
    }

    .step {
        flex-direction: column;
        gap: 15px;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .guide-tabs {
        flex-direction: column;
        align-items: center;
    }

    .tab-btn {
        width: 100%;
        max-width: 300px;
    }
}
