/* ===== 下载页专属样式（科技感） ===== */

/* 页面头部 */
.dl-hero {
    position: relative;
    overflow: hidden;
    padding: 160px 0 46px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.dl-hero .container {
    position: relative;
    z-index: 10;
}

.dl-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 12px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.dl-hero p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* 版本信息条 */
.dl-version {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
    padding: 9px 18px;
    border-radius: 50px;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.25);
    color: var(--text-muted);
    font-size: 0.9rem;
    backdrop-filter: blur(6px);
}

.dl-version-tag {
    color: var(--accent-color);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.dl-version-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--text-muted);
    opacity: 0.6;
}

/* 下载主体 */
.dl-section {
    position: relative;
    padding: 60px 0 90px;
    background: var(--primary-color);
    overflow: hidden;
}

/* 科技感网格背景（径向淡出） */
.dl-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.07) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(circle at 50% 25%, #000 0%, transparent 72%);
    mask-image: radial-gradient(circle at 50% 25%, #000 0%, transparent 72%);
    pointer-events: none;
}

.dl-section .container {
    position: relative;
    z-index: 2;
}

.dl-section-title {
    text-align: center;
    font-size: 2.1rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text-color);
    position: relative;
}

.dl-section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    margin: 16px auto 0;
    border-radius: 2px;
    background: var(--accent-gradient);
}

.dl-section-sub {
    text-align: center;
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 46px;
}

/* 三通道卡片网格 */
.dl-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1000px;
    margin: 0 auto;
}

.dl-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    padding: 40px 26px 32px;
    background: linear-gradient(160deg, rgba(30, 41, 59, 0.85), rgba(13, 18, 30, 0.9));
    border: 2px solid transparent;
    border-radius: 18px;
    cursor: pointer;
    color: var(--text-color);
    font-family: inherit;
    backdrop-filter: blur(12px);
    transition: var(--transition);
    overflow: hidden;
}

/* 全息彩虹描边（圆角渐变边框） */
.dl-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 2px;
    background: var(--accent-gradient-rainbow);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.85;
    transition: var(--transition);
}

/* 顶部扫描光带 */
.dl-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -60%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.18), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
    pointer-events: none;
}

.dl-card:hover {
    transform: translateY(-8px);
}

.dl-card:hover::after {
    left: 120%;
}

.dl-card:hover::before {
    opacity: 1;
}

/* 各通道霓虹光晕 */
.dl-tel:hover {
    box-shadow: 0 18px 42px rgba(0, 180, 255, 0.4);
}

.dl-union:hover {
    box-shadow: 0 18px 42px rgba(160, 80, 255, 0.4);
}

.dl-pan:hover {
    box-shadow: 0 18px 42px rgba(0, 230, 150, 0.4);
}

/* 图标 */
.dl-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: var(--accent-gradient);
    box-shadow: 0 6px 18px rgba(0, 212, 255, 0.35);
    margin-bottom: 4px;
}

.dl-icon svg {
    width: 36px;
    height: 36px;
    stroke: #ffffff;
}

.dl-name {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-color);
}

.dl-sub {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.dl-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    padding: 9px 22px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition);
}

.dl-card:hover .dl-cta {
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(3px);
}

.dl-cta-icon {
    width: 18px;
    height: 18px;
    stroke: currentColor;
}

/* 提示条 */
.dl-tip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    max-width: 760px;
    margin: 48px auto 0;
    padding: 18px 24px;
    border-radius: 14px;
    background: rgba(0, 212, 255, 0.06);
    border: 1px solid rgba(0, 212, 255, 0.2);
    color: var(--text-muted);
    font-size: 0.95rem;
    text-align: left;
}

.dl-tip-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    stroke: var(--accent-color);
}

.dl-tip strong {
    color: var(--accent-color);
    font-weight: 700;
}

.dl-tip a {
    color: var(--accent-color);
    font-weight: 700;
    text-decoration: none;
}

.dl-tip a:hover {
    text-decoration: underline;
}

/* 响应式 */
@media (max-width: 992px) {
    .dl-grid {
        grid-template-columns: 1fr;
        max-width: 460px;
    }
}

@media (max-width: 576px) {
    .dl-hero h1 {
        font-size: 2.1rem;
    }

    .dl-section-title {
        font-size: 1.7rem;
    }

    .dl-tip {
        flex-direction: column;
        text-align: center;
    }
}
