/* ==========================================================================
   短视频系统 · App 下载页样式（2026-10-17 重做：深色 + 红粉渐变，移动优先）
   设计口径：底 #0a0a12 / 卡片 #12121f / 描边 rgba(255,255,255,.08)
             主色 #fe2c55、辅色 #25f4ee、渐变 135deg 三色
             胶囊按钮 50px、卡片圆角 12px、正文 #f0f0f5 / 次要 #9a9ab0
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

:root {
    --bg:        #0a0a12;
    --bg-soft:   #101020;
    --surface:   #12121f;
    --surface-2: #1a1a2e;
    --line:      rgba(255, 255, 255, .08);
    --line-2:    rgba(255, 255, 255, .14);
    --text:      #f0f0f5;
    --muted:     #9a9ab0;
    --accent:    #fe2c55;
    --accent-2:  #25f4ee;
    --pink-soft: rgba(254, 44, 85, .12);
    --grad:      linear-gradient(135deg, #fe2c55 0%, #ff6b8a 50%, #25f4ee 100%);
    --radius:    12px;
    --radius-lg: 18px;
    --pad:       20px;
    --maxw:      560px;
}

html, body { margin: 0; padding: 0; }

body {
    background: var(--bg);
    background-image:
        radial-gradient(120% 60% at 50% -10%, rgba(254, 44, 85, .22) 0%, rgba(254, 44, 85, 0) 60%),
        radial-gradient(80% 40% at 90% 8%, rgba(37, 244, 238, .10) 0%, rgba(37, 244, 238, 0) 60%);
    background-repeat: no-repeat;
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 15px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
}

[hidden] { display: none !important; }
.hidden { display: none !important; }

a { color: inherit; text-decoration: none; }

.dl-page {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 var(--pad) calc(48px + env(safe-area-inset-bottom, 0px));
}

/* ------------------------------------------------------------------ 顶栏 */
.dl-topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    margin: 0 calc(var(--pad) * -1);
    padding: 10px var(--pad);
    backdrop-filter: saturate(160%) blur(10px);
    background: rgba(10, 10, 18, .78);
    border-bottom: 1px solid var(--line);
}
.dl-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.dl-brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.dl-brand-icon {
    width: 34px; height: 34px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 10px;
    background: var(--grad);
    color: #fff;
    box-shadow: 0 4px 14px rgba(254, 44, 85, .35);
    flex: 0 0 auto;
}
.dl-brand-name {
    font-size: 16px; font-weight: 700; letter-spacing: .2px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dl-topbar-tag {
    flex: 0 0 auto;
    font-size: 12px;
    color: var(--accent);
    background: var(--pink-soft);
    border: 1px solid rgba(254, 44, 85, .30);
    padding: 3px 10px;
    border-radius: 50px;
}

/* ------------------------------------------------------------------ 首屏 */
.dl-hero { padding: 30px 0 6px; text-align: center; }

.dl-eyebrow-pill {
    display: inline-block;
    font-size: 12px;
    color: #ffd9e1;
    background: rgba(254, 44, 85, .16);
    border: 1px solid rgba(254, 44, 85, .35);
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 16px;
    letter-spacing: .5px;
}

.dl-hero-title {
    margin: 0 0 12px;
    font-size: 32px;
    line-height: 1.22;
    font-weight: 800;
    letter-spacing: -.5px;
}
.dl-hero-title-1,
.dl-hero-title-2 { display: block; }
.dl-hero-title-1 { color: var(--text); }
.dl-hero-title-2 {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.dl-hero-desc {
    margin: 0 0 8px;
    font-size: 15px;
    color: var(--text);
    opacity: .92;
}
.dl-hero-sub {
    margin: 0 auto 18px;
    font-size: 13.5px;
    color: var(--muted);
    max-width: 460px;
}

/* 版本胶囊 */
.dl-meta {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 8px; margin: 0 0 18px;
}
.dl-chip {
    font-size: 12.5px;
    color: var(--muted);
    background: var(--surface);
    border: 1px solid var(--line);
    padding: 4px 12px;
    border-radius: 50px;
    white-space: nowrap;
}

/* iOS 提示 */
.dl-ios {
    text-align: left;
    border-color: rgba(254, 44, 85, .30);
    background: linear-gradient(180deg, rgba(254, 44, 85, .10), rgba(18, 18, 31, 1));
    margin-bottom: 16px;
}
.dl-ios-title { margin: 0 0 4px; font-weight: 700; }
.dl-ios-text { margin: 0; font-size: 13px; color: var(--muted); }

/* 主按钮区 */
.dl-cta { margin: 0 auto; max-width: 420px; }

.dl-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-size: 16px; font-weight: 600;
    border-radius: 50px;
    border: 0;
    cursor: pointer;
    font-family: inherit;
    transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
}
.dl-btn:active { transform: scale(.975); }

.dl-btn-main {
    width: 100%;
    padding: 15px 28px;
    color: #fff;
    background: var(--grad);
    background-size: 180% 180%;
    box-shadow: 0 6px 26px rgba(254, 44, 85, .42);
    animation: dl-flow 6s ease-in-out infinite;
}
@keyframes dl-flow {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

.dl-cta-sub {
    display: flex; gap: 10px; margin-top: 12px;
}
.dl-btn-ghost {
    flex: 1 1 0;
    padding: 12px 18px;
    font-size: 14px;
    color: var(--text);
    background: transparent;
    border: 1px solid var(--line-2);
}
.dl-btn-ghost:hover { background: rgba(255, 255, 255, .04); }

.dl-apk-name { margin: 12px 0 0; }
.dl-hint {
    font-size: 12.5px;
    color: var(--muted);
    margin: 8px 0 0;
    word-break: break-all;
}
.dl-msg {
    margin: 8px 0 0;
    font-size: 13px;
    color: var(--accent-2);
    min-height: 18px;
}
.dl-msg.is-err { color: #ff7a90; }

/* ------------------------------------------------------------------ 通用区块 */
.dl-section { padding: 34px 0 0; text-align: center; }

.dl-eyebrow {
    margin: 0 0 6px;
    font-size: 11.5px;
    letter-spacing: 2.4px;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
}
.dl-section-title {
    margin: 0 0 16px;
    font-size: 23px;
    font-weight: 800;
    letter-spacing: -.3px;
    color: var(--text);
}

.dl-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px;
    text-align: left;
}

/* 三步 */
.dl-steps-grid { display: grid; gap: 12px; }
.dl-step { position: relative; padding: 16px 16px 16px 58px; }
.dl-step-no {
    position: absolute; left: 14px; top: 15px;
    width: 30px; height: 30px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50px;
    font-size: 14px; font-weight: 800; color: #fff;
    background: var(--grad);
    box-shadow: 0 4px 14px rgba(254, 44, 85, .35);
}
.dl-step-title { margin: 0 0 2px; font-size: 15px; font-weight: 700; }
.dl-step-text { margin: 0; font-size: 13px; color: var(--muted); }
.dl-step-text b { color: var(--text); }

/* 功能亮点 */
.dl-feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dl-feature { padding: 16px; }
.dl-feature-dot {
    display: block; width: 10px; height: 10px; border-radius: 50px;
    background: var(--grad); margin-bottom: 10px;
    box-shadow: 0 0 0 4px rgba(254, 44, 85, .12);
}
.dl-feature-title { margin: 0 0 4px; font-size: 14.5px; font-weight: 700; }
.dl-feature-text { margin: 0; font-size: 12.5px; color: var(--muted); line-height: 1.6; }

/* 二维码 */
.dl-qr-card { text-align: center; }
.dl-qr-wrap {
    display: inline-flex; align-items: center; justify-content: center;
    background: #fff;
    padding: 12px;
    border-radius: 14px;
    margin: 2px auto 10px;
}
.dl-qr-wrap canvas { display: block; width: 200px; height: 200px; image-rendering: pixelated; }
.dl-qr-url {
    margin: 0 0 2px;
    font-size: 12.5px;
    color: var(--accent-2);
    word-break: break-all;
}

/* 联系方式 */
.dl-contact-list { list-style: none; margin: 0; padding: 0; }
.dl-contact-list li {
    display: flex; justify-content: space-between; gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
}
.dl-contact-list li:last-child { border-bottom: 0; }
.dl-contact-list li span:first-child { color: var(--muted); }
.dl-contact-list li span:last-child { color: var(--text); font-weight: 600; word-break: break-all; text-align: right; }

/* FAQ */
.dl-faq { display: grid; gap: 10px; text-align: left; }
.dl-faq-item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}
.dl-faq-q {
    position: relative;
    list-style: none;
    cursor: pointer;
    padding: 16px 44px 16px 18px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--text);
}
.dl-faq-q::-webkit-details-marker { display: none; }
.dl-faq-q::after {
    content: "+";
    position: absolute; right: 18px; top: 50%;
    transform: translateY(-50%);
    font-size: 20px; font-weight: 400;
    color: var(--accent);
    transition: transform .2s ease;
}
.dl-faq-item[open] .dl-faq-q::after { content: "–"; }
.dl-faq-a {
    padding: 0 18px 16px;
    border-top: 1px solid var(--line);
    padding-top: 14px;
    font-size: 13.5px;
    color: var(--muted);
}
.dl-faq-a p { margin: 0; }
.dl-steps { margin: 0; padding-left: 18px; }
.dl-steps li { margin-bottom: 6px; }
.dl-steps strong, .dl-faq-a strong { color: var(--text); }

/* iOS 免签（装到桌面）*/
.dl-ios-card { text-align: left; }
.dl-ios-lead { margin: 0 0 12px; font-size: 13.5px; color: var(--muted); line-height: 1.75; }
.dl-ios-lead b { color: var(--text); }
.dl-btn-ios {
    width: 100%;
    margin-top: 14px;
    padding: 13px 20px;
    font-size: 15px;
    color: #0a0a12;
    background: #f0f0f5;
    box-shadow: 0 6px 20px rgba(255, 255, 255, .10);
}
.dl-btn-ios:hover { background: #ffffff; }
.dl-btn-ios2 {
    width: 100%;
    margin-top: 10px;
    padding: 12px 18px;
    font-size: 14px;
    background: transparent;
    border: 1px solid var(--line-2);
}

/* 底部 */
.dl-foot {
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    text-align: center;
}
.dl-foot-line { margin: 0 0 6px; font-size: 12px; color: #6f6f85; line-height: 1.7; }
.dl-foot-strong { color: var(--muted); font-weight: 600; }

/* 平板 / 桌面 */
@media (min-width: 620px) {
    body { font-size: 16px; }
    .dl-hero-title { font-size: 40px; }
    .dl-feature-grid { grid-template-columns: repeat(4, 1fr); }
    .dl-steps-grid { grid-template-columns: repeat(3, 1fr); }
    .dl-step { padding: 54px 16px 16px; }
    .dl-step-no { left: 16px; top: 14px; }
}
