/* 下载中心页面专用样式 */

/* 主要下载区域 */
.download-main-section {
    background: var(--dark-bg);
    padding-top: 120px;
    padding-bottom: 2rem !important;
}

.download-main-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.download-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* 主下载卡片 */
.main-download-card {
    background: var(--dark-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
}

.main-download-card:hover {
    transform: translateY(-15px) scale(1.02) rotateX(2deg);
    box-shadow: 0 20px 50px rgba(13, 110, 253, 0.4);
    border-color: rgba(13, 110, 253, 0.5);
}

.download-card-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.download-icon {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.2), rgba(0, 212, 255, 0.2));
    border-radius: 15px;
    color: var(--gradient-start);
    font-size: 2.5rem;
    box-shadow: 0 0 20px rgba(13, 110, 253, 0.3);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.main-download-card:hover .download-icon {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 0 35px rgba(13, 110, 253, 0.5);
}

.download-icon .icon-inner {
    position: absolute;
    font-size: 1.5rem;
    bottom: 15px;
    right: 15px;
    color: var(--gradient-end);
}

.download-info {
    flex: 1;
}

.download-name {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.version-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.download-description {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.download-details {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.download-details span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.download-details i {
    color: var(--gradient-start);
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
    z-index: 1;
}

.btn-download {
    width: 100%;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border: none;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.4);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    cursor: pointer;
}

.btn-docs {
    width: 100%;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    border: 2px solid var(--gradient-start);
    color: var(--gradient-start);
    background: transparent;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    cursor: pointer;
}

.btn-docs:hover {
    background: rgba(13, 110, 253, 0.1);
    border-color: var(--gradient-end);
    color: var(--gradient-end);
    transform: translateY(-2px);
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.6);
}

.btn-channel {
    flex: 1;
    min-width: 150px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    background: var(--dark-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-channel:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-light);
}

/* 副应用区域 */
.sub-apps-section {
    background: var(--dark-card);
    padding-top: 3rem;
    padding-bottom: 5rem;
}

.sub-app-card {
    background: var(--dark-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
}

.sub-app-card:hover {
    transform: translateY(-10px) scale(1.03) rotateY(2deg);
    box-shadow: 0 15px 40px rgba(13, 110, 253, 0.3);
    border-color: rgba(13, 110, 253, 0.5);
}

.sub-app-card:hover .sub-app-icon {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 0 30px rgba(13, 110, 253, 0.6);
}

.sub-app-icon {
    position: relative;
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.2), rgba(0, 212, 255, 0.2));
    border-radius: 12px;
    color: var(--gradient-start);
    font-size: 2rem;
    box-shadow: 0 0 15px rgba(13, 110, 253, 0.3);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.sub-app-icon .icon-inner {
    position: absolute;
    font-size: 1.2rem;
    bottom: 10px;
    right: 10px;
    color: var(--gradient-end);
}

.sub-app-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.sub-app-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.sub-app-function {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    min-height: 50px;
}

.sub-app-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

.sub-app-buttons .btn {
    border-radius: 25px;
    padding: 0.5rem 1.25rem;
    font-weight: 600;
}

.sub-app-buttons .btn-outline-secondary {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-light);
}

.sub-app-buttons .btn-outline-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
}

/* 为什么选择我们（下载页） */
.why-choose-download-section {
    background: var(--dark-bg);
    padding: 5rem 0;
}

.choose-card {
    background: var(--dark-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2.5rem 2rem;
    text-align: center;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
}

.choose-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(13, 110, 253, 0.3);
    border-color: rgba(13, 110, 253, 0.5);
}

.choose-card:hover .choose-icon {
    transform: scale(1.2) rotate(5deg);
    box-shadow: 0 0 30px rgba(13, 110, 253, 0.6);
}

.choose-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.2), rgba(0, 212, 255, 0.2));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--gradient-start);
    box-shadow: 0 0 20px rgba(13, 110, 253, 0.3);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.choose-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.choose-card p {
    color: var(--text-muted);
    line-height: 1.8;
    margin: 0;
}

/* 系统要求区域 */
.system-requirements-section {
    background: var(--dark-card);
    padding: 5rem 0;
}

.requirements-card {
    background: var(--dark-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2.5rem;
    height: 100%;
}

.requirements-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-light);
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(13, 110, 253, 0.3);
}

.requirements-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.requirements-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.6;
}

.requirements-list li:last-child {
    margin-bottom: 0;
}

.requirements-list i {
    color: var(--gradient-start);
    font-size: 0.5rem;
    margin-top: 0.5rem;
    flex-shrink: 0;
}

.requirements-list strong {
    color: var(--text-light);
    font-weight: 600;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .download-main-title {
        font-size: 2rem;
    }
    
    .download-card-header {
        flex-direction: column;
        text-align: center;
    }
    
    .download-info {
        text-align: center;
    }
    
    .download-buttons {
        flex-direction: column;
    }
    
    .btn-download,
    .btn-docs,
    .btn-channel {
        width: 100%;
    }
    
    .sub-app-buttons {
        flex-direction: column;
    }
    
    .sub-app-buttons .btn {
        width: 100%;
    }
}

/* 导航栏激活状态 */
.navbar-nav .nav-link.active {
    color: var(--gradient-start) !important;
    position: relative;
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 2px;
}