/* V3 下载页专属样式 */

/* Hero 杂志风 */
.dl-hero {
    min-height: 100vh; padding-top: var(--nav-h);
    position: relative; display: flex; align-items: center;
    overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hbg-blob1 {
    position: absolute; top: -200px; left: -200px;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(34,197,94,0.07) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}
.hbg-blob2 {
    position: absolute; bottom: -200px; right: -100px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(34,197,94,0.04) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

.dl-hero-content {
    max-width: var(--container); margin: 0 auto; padding: 0 24px;
    display: grid; grid-template-columns: 380px 1fr;
    gap: 80px; align-items: center; width: 100%; padding-top: 40px;
    padding-bottom: 60px; position: relative; z-index: 1;
}

/* 左侧下载面板 */
.download-panel {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 28px; padding: 28px;
    box-shadow: var(--shadow-md);
    display: flex; flex-direction: column; gap: 0;
}
.dp-header {
    display: flex; align-items: center; gap: 14px;
    padding-bottom: 20px; border-bottom: 1px solid var(--border);
    margin-bottom: 16px;
}
.dph-icon {
    width: 56px; height: 56px; background: var(--primary-glow);
    border-radius: 16px; display: flex; align-items: center; justify-content: center;
}
.dph-name { font-size: 1.3rem; font-weight: 900; }
.dph-ver { font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; }

.dp-platforms { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.dpp-item {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 16px; border-radius: var(--radius);
    text-decoration: none; color: var(--text);
    transition: all 0.2s; border: 1px solid transparent;
}
.dpp-item:hover {
    background: rgba(34,197,94,0.06);
    border-color: rgba(34,197,94,0.15);
}
.dppi-icon {
    width: 40px; height: 40px; background: var(--bg-section);
    border: 1px solid var(--border); border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; color: var(--primary);
}
.dppi-text { display: flex; flex-direction: column; flex: 1; }
.dppi-name { font-size: 0.9rem; font-weight: 700; }
.dppi-size { font-size: 0.75rem; color: var(--text-muted); }
.dppi-arrow {
    font-size: 1.2rem; color: var(--primary);
    opacity: 0; transform: translateX(-4px);
    transition: all 0.2s;
}
.dpp-item:hover .dppi-arrow { opacity: 1; transform: translateX(0); }

.dp-footer { padding-top: 16px; border-top: 1px solid var(--border); margin-top: 12px; }
.dpf-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.dpfb {
    font-size: 0.7rem; font-weight: 600; color: var(--primary-dark);
    background: var(--primary-glow); border: 1px solid rgba(34,197,94,0.15);
    padding: 3px 12px; border-radius: 20px;
}

/* 右侧杂志风 */
.hero-magazine { }
.section-tag {
    display: inline-block; font-size: 0.8rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.08em;
    color: var(--primary-dark); background: var(--primary-glow);
    padding: 6px 14px; border-radius: 20px; margin-bottom: 20px;
    border: 1px solid rgba(34,197,94,0.15);
}
.mag-title {
    font-size: 3.5rem; font-weight: 900; line-height: 1.05;
    letter-spacing: -0.03em; margin-bottom: 28px;
}
.mag-divider {
    width: 60px; height: 4px; background: var(--primary);
    border-radius: 2px; margin-bottom: 32px;
}
.mag-features { display: flex; flex-direction: column; gap: 20px; margin-bottom: 36px; }
.mf-item { display: flex; align-items: flex-start; gap: 14px; }
.mf-icon { font-size: 1.4rem; }
.mf-title { font-size: 1rem; font-weight: 800; margin-bottom: 2px; }
.mf-desc { font-size: 0.8rem; color: var(--text-secondary); }

.mag-cta { }
.btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--primary); color: #fff;
    font-weight: 700; font-size: 0.95rem; padding: 14px 30px;
    border-radius: 12px; text-decoration: none; transition: all 0.25s;
    box-shadow: 0 4px 14px rgba(34,197,94,0.25);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(34,197,94,0.35); }

/* 时间线平台 */
.dl-platforms-v3 { }
.timeline-platforms { }
.timeline {
    position: relative; padding: 20px 0;
}
.tl-line {
    position: absolute; left: 20px; top: 0; bottom: 0;
    width: 2px; background: linear-gradient(180deg, var(--primary), rgba(34,197,94,0.1));
}
.tl-item {
    display: flex; align-items: flex-start; gap: 20px;
    margin-bottom: 16px;
}
.tli-dot {
    width: 14px; height: 14px; background: var(--primary);
    border-radius: 50%; flex-shrink: 0;
    margin-top: 18px; box-shadow: 0 0 0 4px rgba(34,197,94,0.15);
    position: relative; z-index: 1;
}
.tli-card {
    flex: 1; background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 20px 24px;
    display: flex; align-items: center; gap: 16px;
    transition: all 0.25s; box-shadow: var(--shadow-sm);
}
.tli-card:hover {
    border-color: var(--primary); box-shadow: var(--shadow-green);
    transform: translateX(4px);
}
.tlic-icon {
    width: 48px; height: 48px; background: var(--primary-glow);
    border-radius: 14px; display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.tlic-content { flex: 1; }
.tlic-content h4 { font-size: 1rem; font-weight: 800; margin-bottom: 4px; }
.tlic-content p { font-size: 0.8rem; color: var(--text-secondary); margin-bottom: 8px; }
.tlic-tags { display: flex; gap: 6px; }
.tlic-tags span {
    font-size: 0.7rem; color: var(--primary-dark);
    background: var(--primary-glow); border: 1px solid rgba(34,197,94,0.15);
    padding: 2px 10px; border-radius: 20px;
}
.tlic-btn {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--primary); color: #fff;
    font-size: 0.8rem; font-weight: 700;
    padding: 10px 18px; border-radius: 10px;
    text-decoration: none; transition: all 0.2s;
    flex-shrink: 0; white-space: nowrap;
}
.tlic-btn:hover { background: var(--primary-dark); transform: translateY(-1px); }

/* AI聊天卡片 */
.ai-section { }
.ai-chat-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 28px; overflow: hidden;
    box-shadow: var(--shadow-md);
    max-width: 700px; margin: 0 auto;
}
.aicc-header {
    display: flex; align-items: center; gap: 14px;
    padding: 20px 28px; border-bottom: 1px solid var(--border);
    background: var(--bg-section);
}
.aicch-icon {
    width: 44px; height: 44px; background: var(--primary-glow);
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
}
.aicch-title { font-size: 0.95rem; font-weight: 800; }
.aicch-sub { font-size: 0.75rem; color: var(--text-muted); }
.aicch-online {
    margin-left: auto; display: flex; align-items: center; gap: 6px;
    font-size: 0.75rem; color: var(--success); font-weight: 600;
}
.aiccho-dot {
    width: 8px; height: 8px; background: var(--success);
    border-radius: 50%; animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

.aicc-messages { padding: 24px 28px; display: flex; flex-direction: column; gap: 16px; min-height: 200px; }
.aicm { display: flex; gap: 10px; align-items: flex-end; }
.aicm.bot { }
.aicm.user { flex-direction: row-reverse; }
.aicmb-avatar, .aicmu-avatar {
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--primary-glow); display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem; flex-shrink: 0;
}
.aicmu-avatar { background: var(--bg-section); border: 1px solid var(--border); }
.aicmb-text, .aicmu-text {
    max-width: 70%; padding: 12px 16px; border-radius: 16px;
    font-size: 0.875rem; line-height: 1.6;
}
.aicmb-text {
    background: var(--bg-section); border: 1px solid var(--border);
    border-radius: 4px 16px 16px 16px;
}
.aicmu-text {
    background: var(--primary); color: #fff;
    border-radius: 16px 4px 16px 16px;
}
.aicm-link {
    color: var(--primary-dark); text-decoration: none; font-weight: 700;
    display: inline-block; margin-top: 8px;
}
.aicm-link:hover { text-decoration: underline; }

.aicc-input {
    display: flex; gap: 8px; padding: 16px 28px; border-top: 1px solid var(--border);
}
.ai-input {
    flex: 1; background: var(--bg-section); border: 1px solid var(--border);
    border-radius: 12px; padding: 10px 16px; font-size: 0.875rem;
    color: var(--text); outline: none; transition: border-color 0.2s;
}
.ai-input:focus { border-color: var(--primary); }
.ai-send-btn {
    background: var(--primary); color: #fff; border: none;
    border-radius: 12px; padding: 10px 20px; font-size: 0.875rem;
    font-weight: 700; cursor: pointer; transition: all 0.2s;
}
.ai-send-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.5; line-height: 1; }
.step-content h3 { font-size: 1rem; font-weight: 800; margin-bottom: 6px; }
.step-content p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.7; }
.step-arrow { font-size: 1.5rem; color: var(--primary); opacity: 0.3; flex-shrink: 0; }
.quickstart-note {
    text-align: center; font-size: 0.85rem; color: var(--text-muted);
    display: flex; align-items: center; justify-content: center; gap: 6px;
}
.quickstart-note a { color: var(--primary-dark); text-decoration: none; font-weight: 700; }
.quickstart-note a:hover { text-decoration: underline; }

/* 响应式 */
@media (max-width: 1024px) {
    .dl-hero-content { grid-template-columns: 1fr; gap: 48px; text-align: center; }
    .download-panel { max-width: 480px; margin: 0 auto; }
    .mag-divider { margin: 0 auto 32px; }
    .mag-features { align-items: center; }
    .mf-item { text-align: left; }
    .mag-cta { display: flex; justify-content: center; }
    .timeline { }
}
@media (max-width: 768px) {
    .mag-title { font-size: 2.5rem; }
    .tli-card { flex-wrap: wrap; }
    .tlic-btn { width: 100%; justify-content: center; }
    .quickstart .steps { flex-direction: column; }
    .step-arrow { transform: rotate(90deg); }
}
