/* V1 下载页专属样式 */

/* Hero */
.dl-hero {
    min-height: 100vh; padding-top: var(--nav-h);
    position: relative; display: flex; align-items: center;
    overflow: hidden; background: var(--bg);
}
.hero-bg-grid {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(37,99,235,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37,99,235,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0; pointer-events: none;
}
.hero-bg-glow {
    position: absolute; top: -200px; right: -200px;
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(37,99,235,0.06) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0; pointer-events: none;
}
.dl-hero-inner {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 80px; align-items: center;
    padding-top: 40px; padding-bottom: 60px;
    position: relative; z-index: 1;
}

/* App预览面板 */
.app-preview-panel {
    display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.preview-device {
    width: 280px; height: 480px;
    background: #1a1a2e; border-radius: 36px;
    padding: 14px; box-shadow: 0 20px 60px rgba(37,99,235,0.2), 0 0 0 1px rgba(37,99,235,0.1);
    position: relative;
}
.pd-notch {
    width: 80px; height: 22px; background: #0f0f1a;
    border-radius: 0 0 14px 14px;
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    z-index: 2;
}
.pd-screen {
    width: 100%; height: 100%; background: #0f0f1a;
    border-radius: 24px; padding: 28px 16px 16px;
    display: flex; flex-direction: column; gap: 12px;
    overflow: hidden;
}
.ps-header {
    display: flex; align-items: center; gap: 5px; padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ps-dot { width: 7px; height: 7px; border-radius: 50%; display: block; }
.ps-dot.r { background: #FF5F57; }
.ps-dot.y { background: #FFBD2E; }
.ps-dot.g { background: #28CA41; }
.ps-title { font-size: 0.65rem; color: rgba(255,255,255,0.3); margin-left: 4px; font-family: 'Inter', monospace; }
.ps-status-bar {
    display: flex; justify-content: space-between; align-items: center;
    font-size: 0.65rem; color: rgba(255,255,255,0.4); font-family: 'Inter', monospace;
}
.psb-node { color: var(--primary-light); font-weight: 600; }
.ps-connection {
    display: flex; flex-direction: column; align-items: center;
    padding: 16px 0; gap: 8px;
}
.psc-ring {
    width: 80px; height: 80px; position: relative;
    display: flex; align-items: center; justify-content: center;
}
.psc-ring::before {
    content: ''; position: absolute; inset: 0;
    border: 2px solid var(--primary); border-radius: 50%;
    animation: spin 8s linear infinite;
    border-top-color: transparent; border-right-color: transparent;
}
.psc-ring::after {
    content: ''; position: absolute; inset: 8px;
    border: 2px solid rgba(37,99,235,0.3); border-radius: 50%;
    animation: spin 12s linear infinite reverse;
}
@keyframes spin { to { transform: rotate(360deg); } }
.psc-icon { position: relative; z-index: 1; }
.psc-label { font-size: 0.75rem; font-weight: 700; color: var(--primary-light); }
.psc-sublabel { font-size: 0.6rem; color: rgba(255,255,255,0.3); }
.ps-stats-row {
    display: flex; justify-content: space-around; padding: 8px 0;
    border-top: 1px solid rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.06);
}
.pss-item { display: flex; flex-direction: column; align-items: center; gap: 1px; }
.pss-v { font-size: 0.85rem; font-weight: 800; color: #fff; font-family: 'Inter', sans-serif; }
.pss-k { font-size: 0.55rem; color: var(--primary-light); font-weight: 600; }
.pss-l { font-size: 0.5rem; color: rgba(255,255,255,0.3); }
.ps-map { padding-top: 4px; }
.psm-title { font-size: 0.6rem; color: rgba(255,255,255,0.3); margin-bottom: 6px; }
.psm-dots { display: flex; gap: 6px; align-items: center; }
.psmd { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.1); }
.psmd.active { background: var(--primary); box-shadow: 0 0 6px var(--primary); }
.preview-badges { display: flex; gap: 8px; }
.pbadge {
    font-size: 0.7rem; font-weight: 600; color: var(--primary);
    background: var(--primary-glow); border: 1px solid rgba(37,99,235,0.2);
    padding: 4px 12px; border-radius: 20px;
}

/* Hero文字 */
.dl-hero-text { }
.section-tag {
    display: inline-block; font-size: 0.8rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.08em;
    color: var(--primary); background: var(--primary-glow);
    padding: 6px 14px; border-radius: 20px; margin-bottom: 16px;
    border: 1px solid rgba(37,99,235,0.15);
}
.dl-hero-text h1 {
    font-size: 3rem; font-weight: 900; line-height: 1.1;
    letter-spacing: -0.03em; margin-bottom: 16px;
}
.accent { color: var(--primary); }
.dl-desc {
    font-size: 1rem; color: var(--text-secondary); line-height: 1.7;
    margin-bottom: 24px;
}
.dl-meta-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chip {
    font-size: 0.8rem; font-weight: 500; color: var(--text-secondary);
    background: var(--bg-card); border: 1px solid var(--border);
    padding: 6px 14px; border-radius: 20px;
    cursor: pointer; text-decoration: none;
}
.dl-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

.btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--primary); color: #fff;
    font-weight: 700; font-size: 0.95rem; padding: 12px 28px;
    border-radius: 10px; text-decoration: none; transition: all 0.2s;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,99,235,0.35); }
.btn-primary.large { font-size: 1rem; padding: 14px 32px; }

.btn-secondary-icon {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--text-secondary); font-weight: 500; font-size: 0.9rem;
    text-decoration: none; padding: 12px 20px; border-radius: 10px;
    border: 1px solid var(--border); transition: all 0.2s;
}
.btn-secondary-icon:hover { color: var(--primary); border-color: var(--primary); background: var(--primary-glow); }

/* 平台下载区 V2 */
.dl-platforms-v2 .container { }
.platform-list-panel {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-xl); overflow: hidden;
    display: grid; grid-template-columns: 260px 1fr;
}
.platform-nav {
    background: var(--bg); border-right: 1px solid var(--border);
    display: flex; flex-direction: column; padding: 8px;
}
.pn-btn {
    display: flex; align-items: center; gap: 10px;
    padding: 14px 16px; border-radius: var(--radius);
    border: none; background: transparent; color: var(--text-secondary);
    font-size: 0.875rem; font-weight: 500; cursor: pointer;
    transition: all 0.2s; text-align: left;
}
.pn-btn:hover { background: var(--primary-glow); color: var(--primary); }
.pn-btn.active { background: var(--primary); color: #fff; }
.platform-detail {
    padding: 36px 40px;
    display: grid; grid-template-columns: 1fr 300px;
    gap: 40px; align-items: start;
}
.pd-title { font-size: 1.5rem; font-weight: 800; margin-bottom: 10px; }
.pd-desc { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 20px; }
.pd-specs {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
    margin-bottom: 20px;
}
.pds-item {
    background: var(--bg); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 10px 14px;
    display: flex; flex-direction: column; gap: 2px;
}
.pds-k { font-size: 0.7rem; color: var(--text-muted); font-weight: 500; }
.pds-v { font-size: 0.875rem; font-weight: 700; color: var(--text); }
.pd-features { display: flex; flex-wrap: wrap; gap: 8px; }
.pdf-item {
    font-size: 0.75rem; color: var(--text-secondary);
    background: var(--bg); border: 1px solid var(--border);
    padding: 4px 12px; border-radius: 20px;
}
.pd-download { display: flex; flex-direction: column; gap: 14px; }
.dl-big-btn {
    display: flex; align-items: center; gap: 14px;
    padding: 20px 24px; border-radius: var(--radius-lg);
    text-decoration: none; transition: all 0.25s; font-weight: 700;
}
.dl-big-btn.primary {
    background: var(--primary); color: #fff;
    box-shadow: 0 4px 16px rgba(37,99,235,0.3);
}
.dl-big-btn.primary:hover {
    background: var(--primary-dark); transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(37,99,235,0.4);
}
.dbb-title { font-size: 1.05rem; }
.dbb-sub { font-size: 0.75rem; opacity: 0.7; font-weight: 400; }
.pd-other-links {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.75rem; color: var(--text-muted); justify-content: center;
}
.pd-other-links a { color: var(--primary); text-decoration: none; }
.pd-other-links a:hover { text-decoration: underline; }

/* AI助手悬浮条 */
.ai-assistant-bar {
    position: fixed; bottom: 24px; right: 24px; z-index: 900;
}
.aab-inner {
    display: flex; align-items: center; gap: 12px;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 50px; padding: 12px 20px;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(12px);
}
.aab-icon {
    width: 36px; height: 36px; background: var(--primary-glow);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.aab-text { display: flex; flex-direction: column; }
.aab-title { font-size: 0.8rem; font-weight: 700; color: var(--text); }
.aab-desc { font-size: 0.7rem; color: var(--text-muted); }
.aab-btn {
    background: var(--primary); color: #fff;
    font-size: 0.8rem; font-weight: 700;
    padding: 8px 16px; border-radius: 20px;
    text-decoration: none; transition: all 0.2s; white-space: nowrap;
}
.aab-btn:hover { background: var(--primary-dark); }

/* 快速开始 */
.quickstart .steps {
    display: flex; align-items: center; justify-content: center;
    gap: 16px; margin-bottom: 32px; flex-wrap: wrap;
}
.step {
    display: flex; align-items: flex-start; gap: 16px;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 24px; flex: 1;
    max-width: 320px; min-width: 240px;
}
.step-num { font-size: 1.8rem; font-weight: 900; color: var(--primary); font-family: 'Inter', sans-serif; letter-spacing: -0.04em; opacity: 0.6; line-height: 1; }
.step-content h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.step-content p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; }
.step-arrow { font-size: 1.5rem; color: var(--primary); opacity: 0.4; flex-shrink: 0; }
.quickstart-note {
    text-align: center; font-size: 0.85rem; color: var(--text-secondary);
    display: flex; align-items: center; justify-content: center; gap: 6px;
}
.quickstart-note a { color: var(--primary); text-decoration: none; font-weight: 600; }
.quickstart-note a:hover { text-decoration: underline; }

/* 响应式 */
@media (max-width: 1024px) {
    .dl-hero-inner { grid-template-columns: 1fr; gap: 48px; text-align: center; }
    .app-preview-panel { display: none; }
    .dl-hero-cta { justify-content: center; }
    .dl-meta-chips { justify-content: center; }
    .platform-list-panel { grid-template-columns: 1fr; }
    .platform-nav { flex-direction: row; overflow-x: auto; border-right: none; border-bottom: 1px solid var(--border); }
    .pn-btn { flex-shrink: 0; }
    .platform-detail { grid-template-columns: 1fr; padding: 24px; }
    .pd-download { }
}
@media (max-width: 768px) {
    .dl-hero-text h1 { font-size: 2rem; }
    .platform-nav { flex-wrap: nowrap; }
    .quickstart .steps { flex-direction: column; }
    .step-arrow { transform: rotate(90deg); }
    .ai-assistant-bar { bottom: 16px; right: 16px; }
    .aab-text { display: none; }
}
