/* ===========================================
   V2DJ 官网 2.0 — 高级视觉版
   设计语言: Apple/Spotify 级
   技术: 原生 CSS, 玻璃拟态, 多层渐变
   性能: 仅 one-shot 入场动画, 无 30fps 循环
   =========================================== */

/* ===== 变量 ===== */
:root {
    --color-primary: #ed2623;
    --color-primary-glow: rgba(237, 38, 35, 0.5);
    --color-accent: #7c5ce7;
    --color-accent-glow: rgba(124, 92, 231, 0.4);

    --bg-base: #060608;
    --bg-elevated: #0e0e14;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --bg-glass: rgba(255, 255, 255, 0.04);
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-glass: rgba(255, 255, 255, 0.1);

    --text-primary: #f5f5f7;
    --text-secondary: #98989f;
    --text-tertiary: #5a5a63;

    --gradient-text: linear-gradient(135deg, #ff4d4a 0%, #a29bfe 100%);
    --gradient-mesh: radial-gradient(ellipse at 20% 0%, rgba(237, 38, 35, 0.15) 0%, transparent 50%),
                     radial-gradient(ellipse at 80% 50%, rgba(124, 92, 231, 0.12) 0%, transparent 50%),
                     radial-gradient(ellipse at 50% 100%, rgba(237, 38, 35, 0.08) 0%, transparent 50%);

    --max-width: 1180px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --header-h: 72px;

    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --transition: 0.4s var(--ease);
}

/* ===== 重置 ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; transition: opacity var(--transition); }
a:hover { opacity: 0.7; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { font-family: inherit; }

/* ===== 容器 ===== */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 32px; }

/* ===== 导航栏 ===== */
/* M-525(2026-07-08):修复移动端"白色一大块"问题(只去白底,保留导航)
   根因:① 默认 .navbar 无 background,文字/logo 在浅色背景下读不清
        ② @media (prefers-color-scheme: light) 下 .navbar 被设为 rgba(255,255,255,0.72) 白底
        ③ iOS Safari 移动端 status bar(17:50 + 信号 + 电量)+ 浅色 navbar 视觉融合成"一大块白色"
   修复:全端统一深色透明 navbar(无白色染白),文字/logo 用浅色与 hero 深色背景协调 */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%; height: var(--header-h);
    z-index: 1000;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: all var(--transition);
}
.navbar.scrolled {
    background: rgba(6, 6, 8, 0.72);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border-bottom: 1px solid var(--border-subtle);
}

.navbar .container {
    display: flex; align-items: center; justify-content: space-between; height: 100%;
}

.nav-logo {
    display: flex; align-items: center; gap: 10px;
    font-size: 20px; font-weight: 700; letter-spacing: -0.5px;
}
.nav-logo img { height: 32px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
    font-size: 14px; color: var(--text-secondary); font-weight: 500;
    letter-spacing: 0.2px; transition: color var(--transition);
}
.nav-links a:hover { color: var(--text-primary); opacity: 1; }
.nav-links a.active { color: var(--text-primary); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: var(--transition); }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }

/* ===== Hero ===== */
.hero {
    min-height: 100vh; display: flex; align-items: center;
    position: relative; overflow: hidden;
    /* M-525:navbar 回来了,恢复预留 72px 顶距(避免 hero 内容被 fixed navbar 遮挡) */
    padding-top: var(--header-h);
}

/* 多层渐变背景 */
.hero-bg {
    position: absolute; inset: 0; z-index: 0;
    background: var(--bg-base);
}
.hero-bg::before {
    content: ''; position: absolute; inset: 0;
    background: var(--gradient-mesh);
}
.hero-bg::after {
    content: ''; position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

/* 浮动光球 */
.hero-orb {
    position: absolute; border-radius: 50%; filter: blur(80px);
    pointer-events: none; z-index: 0;
}
.hero-orb-1 {
    width: 500px; height: 500px; top: -100px; right: -100px;
    background: radial-gradient(circle, rgba(237, 38, 35, 0.2) 0%, transparent 70%);
}
.hero-orb-2 {
    width: 400px; height: 400px; bottom: -80px; left: -80px;
    background: radial-gradient(circle, rgba(124, 92, 231, 0.15) 0%, transparent 70%);
}

.hero .container {
    display: flex; align-items: center; justify-content: space-between;
    gap: 60px; position: relative; z-index: 1;
}

.hero-content { flex: 1; max-width: 580px; }

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    border-radius: 100px;
    font-size: 12px; color: var(--text-secondary);
    margin-bottom: 28px; font-weight: 500;
    letter-spacing: 0.3px;
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.hero-badge .dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--color-primary);
    box-shadow: 0 0 12px var(--color-primary-glow);
}

.hero h1 {
    font-size: 64px; font-weight: 800; line-height: 1.05;
    margin-bottom: 24px; letter-spacing: -2px;
}
.hero h1 .gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 19px; color: var(--text-secondary);
    margin-bottom: 40px; line-height: 1.65; font-weight: 400;
    max-width: 500px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== 按钮 ===== */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 16px 36px; border-radius: 100px;
    font-size: 15px; font-weight: 600; cursor: pointer;
    transition: all var(--transition); border: none; white-space: nowrap;
    letter-spacing: 0.3px;
}
.btn svg { width: 20px; height: 20px; }

.btn-primary {
    background: var(--text-primary); color: #000;
}
.btn-primary:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 40px rgba(255, 255, 255, 0.15);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

/* 禁用按钮 */
.btn-disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

/* ===== Hero 视觉 — 纯 CSS 手机 Mockup (v2 高级版) ===== */
.hero-visual {
    flex: 0 0 340px;
    display: flex; justify-content: center; position: relative;
}

.phone-mockup {
    position: relative;
    transition: transform var(--transition);
}
.phone-mockup:hover { transform: translateY(-8px); }

/* 背后光晕 */
.phone-glow {
    position: absolute; inset: -40px;
    background: radial-gradient(ellipse at 50% 40%, rgba(237,38,35,0.18) 0%, transparent 60%),
                radial-gradient(ellipse at 50% 80%, rgba(124,92,231,0.12) 0%, transparent 60%);
    filter: blur(40px);
    z-index: -1;
}

.phone-frame {
    width: 310px; height: 640px;
    background: linear-gradient(135deg, #3a3a3e 0%, #1c1c20 20%, #0e0e12 80%, #1a1a1e 100%);
    border-radius: 50px;
    padding: 10px;
    position: relative;
    box-shadow:
        inset 0 0 0 1.5px rgba(255,255,255,0.12),
        inset 0 3px 8px rgba(255,255,255,0.15),
        inset 0 -3px 8px rgba(0,0,0,0.5),
        0 0 0 1px rgba(255,255,255,0.04),
        0 60px 120px rgba(0,0,0,0.7),
        0 30px 60px rgba(0,0,0,0.5);
}

/* 侧边按钮 */
.phone-frame::before {
    content: ''; position: absolute; left: -3px; top: 130px;
    width: 3px; height: 28px; background: linear-gradient(90deg, #0a0a0e, #2a2a2e);
    border-radius: 2px 0 0 2px;
}
.phone-frame::after {
    content: ''; position: absolute; right: -3px; top: 160px;
    width: 3px; height: 52px; background: linear-gradient(270deg, #0a0a0e, #2a2a2e);
    border-radius: 0 2px 2px 0;
}

.phone-notch {
    position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
    width: 110px; height: 28px;
    background: #000; border-radius: 0 0 16px 16px;
    z-index: 10;
    box-shadow: inset 0 -1px 2px rgba(255,255,255,0.05);
}

.phone-screen {
    width: 100%; height: 100%;
    background: linear-gradient(180deg, #0a0a0f 0%, #12101a 40%, #0a0a0f 100%);
    border-radius: 42px;
    overflow: hidden; position: relative;
    display: flex; flex-direction: column;
}

/* 状态栏 */
.app-status-bar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 28px 4px;
    color: var(--text-primary);
    font-size: 13px; font-weight: 600;
    flex-shrink: 0;
}
.app-status-icons { display: flex; gap: 6px; align-items: center; }

/* 顶部导航 */
.app-topbar {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 20px 8px;
    flex-shrink: 0;
}
.app-icon-btn { color: var(--text-secondary); cursor: pointer; }
.app-topbar-label {
    font-size: 12px; font-weight: 600; color: var(--text-tertiary);
    letter-spacing: 1px; text-transform: uppercase;
}

/* 封面 */
.app-cover-wrap {
    margin: 8px 28px 16px;
    display: flex; justify-content: center;
    flex-shrink: 0;
}
.app-cover {
    width: 200px; height: 200px; border-radius: 20px;
    position: relative; overflow: hidden;
    background:
        radial-gradient(circle at 25% 25%, #ff6b3d 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, #7c5ce7 0%, transparent 50%),
        linear-gradient(135deg, #ed2623 0%, #c41e3a 30%, #4a1a5e 70%, #1a0a2e 100%);
    box-shadow:
        0 20px 60px rgba(237,38,35,0.35),
        0 8px 24px rgba(0,0,0,0.4),
        inset 0 1px 1px rgba(255,255,255,0.2);
}
/* 封面装饰图案: 几何圆环 */
.app-cover-pattern {
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 50% 50%, transparent 30px, rgba(255,255,255,0.06) 31px, rgba(255,255,255,0.06) 33px, transparent 34px),
        radial-gradient(circle at 50% 50%, transparent 50px, rgba(255,255,255,0.04) 51px, rgba(255,255,255,0.04) 53px, transparent 54px),
        radial-gradient(circle at 50% 50%, transparent 70px, rgba(255,255,255,0.03) 71px, rgba(255,255,255,0.03) 73px, transparent 74px);
}
/* 封面网格纹理 */
.app-cover-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 20px 20px;
    mask-image: radial-gradient(circle at center, black 20%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 20%, transparent 80%);
}

/* 歌曲信息 */
.app-track {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 28px; margin-bottom: 12px; flex-shrink: 0;
}
.app-track-title { font-size: 16px; font-weight: 700; color: var(--text-primary); margin-bottom: 3px; letter-spacing: -0.3px; }
.app-track-artist { font-size: 12px; color: var(--text-tertiary); }
.app-heart { flex-shrink: 0; cursor: pointer; filter: drop-shadow(0 0 8px rgba(237,38,35,0.4)); }

/* 音波可视化 */
.app-waveform {
    display: flex; align-items: center; justify-content: center; gap: 3px;
    padding: 0 28px; margin-bottom: 14px; height: 36px; flex-shrink: 0;
}
.app-waveform span {
    flex: 1; max-width: 6px;
    background: linear-gradient(180deg, #ed2623, #7c5ce7);
    border-radius: 2px; opacity: 0.7;
    animation: wave 1.2s ease-in-out infinite alternate;
}
.app-waveform span:nth-child(odd) { animation-delay: 0.2s; }
.app-waveform span:nth-child(3n) { animation-delay: 0.4s; }
.app-waveform span:nth-child(4n) { animation-delay: 0.6s; }
.app-waveform span:nth-child(5n) { animation-delay: 0.1s; }
@keyframes wave {
    0% { transform: scaleY(0.4); opacity: 0.4; }
    100% { transform: scaleY(1); opacity: 0.8; }
}

/* 进度条 */
.app-progress { padding: 0 28px; margin-bottom: 14px; flex-shrink: 0; }
.app-progress-bar {
    height: 4px; background: rgba(255,255,255,0.08); border-radius: 3px;
    position: relative; margin-bottom: 8px;
}
.app-progress-fill {
    height: 100%; width: 35%; border-radius: 3px;
    background: linear-gradient(90deg, #ed2623, #ff4d4a, #7c5ce7);
    box-shadow: 0 0 8px rgba(237,38,35,0.5);
}
.app-progress-thumb {
    position: absolute; top: 50%; left: 35%; transform: translate(-50%, -50%);
    width: 12px; height: 12px; border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.app-progress-time {
    display: flex; justify-content: space-between;
    font-size: 10px; color: var(--text-tertiary); font-weight: 500;
}

/* 播放控制 */
.app-controls {
    display: flex; align-items: center; justify-content: center;
    gap: 20px; margin-bottom: 14px; flex-shrink: 0;
}
.app-ctrl-small { color: var(--text-tertiary); opacity: 0.6; }
.app-ctrl-mid { color: var(--text-secondary); }
.app-play-btn {
    width: 56px; height: 56px; border-radius: 50%;
    background: linear-gradient(135deg, #ed2623 0%, #ff4d4a 50%, #ed2623 100%);
    display: flex; align-items: center; justify-content: center;
    box-shadow:
        0 8px 32px rgba(237,38,35,0.5),
        0 4px 16px rgba(237,38,35,0.3),
        inset 0 1px 1px rgba(255,255,255,0.3);
    transition: transform 0.2s var(--ease);
}
.app-play-btn:hover { transform: scale(1.06); }
.app-play-btn svg { margin-left: 3px; }

/* 底部 Tab Bar */
.app-tabbar {
    margin-top: auto;
    display: flex; justify-content: space-around; align-items: center;
    padding: 10px 20px 22px;
    border-top: 1px solid rgba(255,255,255,0.04);
    flex-shrink: 0;
}
.app-tab {
    color: var(--text-tertiary); opacity: 0.4;
    display: flex; align-items: center; justify-content: center;
    padding: 6px 10px; border-radius: 8px;
    transition: opacity var(--transition);
}
.app-tab.active {
    color: var(--text-primary); opacity: 1;
}

/* ===== 统计 ===== */
.stats {
    display: flex; gap: 56px; margin-top: 56px;
    padding-top: 40px; border-top: 1px solid var(--border-subtle);
}
.stat-number {
    font-size: clamp(28px, 3.2vw, 38px);
    font-weight: 800;
    letter-spacing: -1px;
    white-space: nowrap;
    background: var(--gradient-text);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-label { font-size: 13px; color: var(--text-tertiary); margin-top: 6px; letter-spacing: 0.3px; }

/* ===== 区段通用 ===== */
.section { padding: 140px 0; position: relative; }
.section-header { text-align: center; margin-bottom: 80px; }
.section-eyebrow {
    font-size: 13px; color: var(--color-primary); font-weight: 600;
    letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 16px;
}
.section-title {
    font-size: 48px; font-weight: 800; letter-spacing: -1.5px; line-height: 1.1;
}
.section-desc {
    font-size: 18px; color: var(--text-secondary);
    max-width: 560px; margin: 20px auto 0; line-height: 1.6;
}

/* ===== Bento 功能网格 ===== */
.features { background: var(--bg-elevated); }

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 280px;
    gap: 16px;
}

.bento-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    display: flex; flex-direction: column; justify-content: space-between;
    transition: all var(--transition);
    position: relative; overflow: hidden;
}
.bento-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-glass);
    transform: translateY(-4px);
}

/* 大卡片跨2格 */
.bento-card.large { grid-column: span 2; }
.bento-card.tall { grid-row: span 2; }

/* 卡片装饰光效 */
.bento-card::before {
    content: ''; position: absolute; top: 0; right: 0;
    width: 200px; height: 200px; border-radius: 50%;
    background: radial-gradient(circle, rgba(237, 38, 35, 0.06) 0%, transparent 70%);
    transform: translate(60px, -60px);
    transition: transform var(--transition);
}
.bento-card:hover::before { transform: translate(40px, -40px); }

.bento-card.accent::before {
    background: radial-gradient(circle, rgba(124, 92, 231, 0.08) 0%, transparent 70%);
}

.bento-icon {
    width: 48px; height: 48px; border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-glass);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 24px; flex-shrink: 0;
}
.bento-icon svg { width: 24px; height: 24px; color: var(--text-primary); opacity: 0.9; }
.bento-title { font-size: 22px; font-weight: 700; letter-spacing: -0.5px; margin-bottom: 8px; }
.bento-card.large .bento-title { font-size: 28px; }
.bento-desc { font-size: 15px; color: var(--text-secondary); line-height: 1.6; }

/* 大卡片带视觉元素 */
.bento-visual {
    margin-top: 24px; height: 80px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(237, 38, 35, 0.08) 0%, rgba(124, 92, 231, 0.08) 100%);
    border: 1px solid var(--border-subtle);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.bento-visual svg { width: 64px; height: 40px; color: var(--text-primary); opacity: 0.5; }

/* ===== 下载区 ===== */
.download-section {
    position: relative; overflow: hidden; text-align: center;
    padding: 160px 0;
}
.download-bg {
    position: absolute; inset: 0; z-index: 0;
    background: var(--bg-base);
}
.download-bg::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at center, rgba(237, 38, 35, 0.12) 0%, transparent 60%);
}
.download-bg::after {
    content: ''; position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.012) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.012) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

.download-section .container { position: relative; z-index: 1; }

.download-section h2 {
    font-size: 56px; font-weight: 800; letter-spacing: -2px; line-height: 1.1;
    margin-bottom: 20px;
}
.download-section .section-desc { margin-bottom: 56px; }

.download-options {
    display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; align-items: center;
}

.download-btn {
    display: flex; align-items: center; gap: 14px;
    padding: 18px 36px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius);
    transition: all var(--transition);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.download-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}
.download-btn-disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.download-btn svg { width: 28px; height: 28px; }
.download-btn-label { font-size: 11px; color: var(--text-tertiary); letter-spacing: 0.3px; }
.download-btn-name { font-size: 17px; font-weight: 600; }

.download-qrcode { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.download-qrcode img {
    width: 130px; height: 130px; border-radius: var(--radius);
    background: #fff; padding: 10px;
}
.download-qrcode span { font-size: 13px; color: var(--text-tertiary); }

/* ===== 页脚 ===== */
.footer {
    background: var(--bg-base);
    border-top: 1px solid var(--border-subtle);
    padding: 56px 0 32px;
}
.footer-content {
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 24px; margin-bottom: 32px;
}
.footer-links { display: flex; gap: 32px; font-size: 14px; }
.footer-links a { color: var(--text-secondary); }
.footer-legal {
    width: 100%;
    padding-top: 16px;
    border-top: 1px solid var(--border-subtle);
    gap: 20px;
    font-size: 13px;
    flex-wrap: wrap;
}
.footer-info {
    text-align: center; font-size: 13px; color: var(--text-tertiary);
    padding-top: 32px; border-top: 1px solid var(--border-subtle);
}
.footer-info p { margin-bottom: 6px; }
.footer-info a { color: var(--text-tertiary); }
.footer-info a:hover { color: var(--text-secondary); opacity: 1; }

/* M-526(2026-07-08):移动端 footer 备案号"错落不齐"优化
   根因:4 件备案号用 · 串联在 1 个 <p> 里,移动端强行断行时 · 出现在行首/行尾
   修复:把 4 件拆成独立 <a>/<span>,外层 .footer-licenses 用 flex-wrap
        移动端每件独立一行(行间距 4px,无列间距),桌面端 gap 紧密 */
.footer-info .footer-licenses {
    display: flex; flex-wrap: wrap; justify-content: center;
    align-items: center; gap: 4px 14px;  /* 行 4px,列 14px */
}
.footer-info .footer-licenses a,
.footer-info .footer-licenses span { color: var(--text-tertiary); word-break: break-all; }
.footer-info .footer-licenses a:hover { color: var(--text-secondary); }

/* ===== 子页面 Hero ===== */
.page-hero {
    padding: 160px 0 80px; text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
    content: ''; position: absolute; inset: 0; z-index: 0;
    background: var(--gradient-mesh);
}
.page-hero::after {
    content: ''; position: absolute; inset: 0; z-index: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: 52px; font-weight: 800; letter-spacing: -1.5px; margin-bottom: 16px; }
.page-hero p { font-size: 18px; color: var(--text-secondary); max-width: 560px; margin: 0 auto; }

/* ===== About ===== */
.about-content { max-width: 760px; margin: 0 auto; padding: 80px 32px; }
.about-content p { font-size: 17px; color: var(--text-secondary); line-height: 1.85; margin-bottom: 24px; }
.about-content h3 { font-size: 24px; font-weight: 700; margin: 48px 0 20px; letter-spacing: -0.5px; }

.about-timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 48px 0; }
.timeline-item {
    background: var(--bg-card); border: 1px solid var(--border-subtle);
    border-radius: var(--radius); padding: 32px 24px;
    transition: all var(--transition);
}
.timeline-item:hover { background: var(--bg-card-hover); border-color: var(--border-glass); }
.timeline-year {
    font-size: 32px; font-weight: 800; letter-spacing: -1px;
    background: var(--gradient-text);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; margin-bottom: 12px;
}
.timeline-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-item { display: flex; gap: 18px; align-items: flex-start; }
.contact-icon {
    width: 48px; height: 48px; border-radius: 12px;
    background: var(--bg-card); border: 1px solid var(--border-glass);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; font-size: 22px;
}
.contact-label { font-size: 13px; color: var(--text-tertiary); margin-bottom: 4px; }
.contact-value { font-size: 16px; color: var(--text-primary); font-weight: 500; }
.contact-qrcode { text-align: center; }
.qrcode-group { display: flex; gap: 32px; justify-content: center; flex-wrap: wrap; }
.qrcode-item { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.qrcode-item img {
    width: 160px; height: 160px; border-radius: var(--radius-lg);
    background: #fff; padding: 10px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}
.qrcode-item:hover img { transform: translateY(-4px); }
.qrcode-item p { font-size: 14px; color: var(--text-secondary); }

/* ===== Privacy ===== */
.privacy-content { max-width: 760px; margin: 0 auto; padding: 80px 32px; }
.privacy-content h3 { font-size: 19px; font-weight: 700; margin: 40px 0 14px; }
.privacy-content p { font-size: 15px; color: var(--text-secondary); line-height: 1.85; margin-bottom: 14px; }
.privacy-updated { font-size: 14px; color: var(--text-tertiary); margin-bottom: 40px; }

/* ===== 入场动画 (one-shot, 不循环) ===== */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.reveal { animation: fadeUp 0.8s var(--ease) both; }
.reveal-1 { animation-delay: 0.1s; }
.reveal-2 { animation-delay: 0.2s; }
.reveal-3 { animation-delay: 0.3s; }
.reveal-4 { animation-delay: 0.4s; }
.reveal-5 { animation-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
    .reveal { animation: none; }
    .app-waveform span { animation: none; }
    * { transition: none !important; }
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
    .hero h1 { font-size: 48px; }
    .section-title { font-size: 36px; }
    .download-section h2 { font-size: 40px; }
    .about-timeline { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .container { padding: 0 20px; }

    .nav-links {
        display: none; position: absolute; top: var(--header-h); left: 0; width: 100%;
        background: rgba(6, 6, 8, 0.95);
        backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px);
        flex-direction: column; padding: 24px 20px; gap: 20px;
        border-bottom: 1px solid var(--border-subtle);
    }
    .nav-links.show { display: flex; }
    .nav-toggle { display: flex; }

    /* M-525:navbar 回来了,恢复移动端 hero 顶部预留 112px(72 + 40) */
    .hero { padding-top: calc(var(--header-h) + 40px); }
    .hero .container { flex-direction: column-reverse; text-align: center; }
    .hero-content { max-width: 100%; }
    .hero h1 { font-size: 38px; }
    .hero-subtitle { font-size: 16px; margin: 0 auto 36px; }
    .hero-actions { justify-content: center; }
    .hero-visual { flex: 0 0 auto; margin-bottom: 32px; }
    .phone-frame { width: 270px; height: 560px; border-radius: 42px; }
    .phone-screen { border-radius: 34px; }
    .app-cover { width: 170px; height: 170px; }
    .app-waveform { height: 28px; }
    .app-play-btn { width: 48px; height: 48px; }
    .stats { justify-content: center; gap: 36px; }
    .stat-number { font-size: 28px; }

    .section { padding: 80px 0; }
    .section-title { font-size: 30px; }
    .section-header { margin-bottom: 48px; }

    .bento-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
    .bento-card { min-height: 240px; }
    .bento-card.large { grid-column: span 1; }

    .download-section { padding: 100px 0; }
    .download-section h2 { font-size: 32px; }
    .download-options { flex-direction: column; }

    .footer-content { flex-direction: column; text-align: center; }
    .footer-links { flex-wrap: wrap; justify-content: center; gap: 20px; }

    .contact-grid { grid-template-columns: 1fr; }
    .contact-info { order: 2; }   /* 移动端:二维码优先(扫码高频),联系信息次之 */
    .contact-qrcode { order: 1; }
    .about-timeline { grid-template-columns: 1fr; }
    .page-hero h1 { font-size: 36px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 32px; }
    .btn { padding: 14px 28px; font-size: 14px; }
    .section-title { font-size: 26px; }
    .download-section h2 { font-size: 28px; }
}

/* ===== M-510 性能铁律:补齐响应式断点 ===== */

/* 超小屏: iPhone SE 1代 (360px 及以下) */
@media (max-width: 360px) {
    .container { padding: 0 14px; }
    .hero h1 { font-size: 28px; line-height: 1.2; }
    .hero-subtitle { font-size: 14px; }
    .btn { padding: 12px 22px; font-size: 13px; }
    .stat-number { font-size: 24px; }
    .bento-title { font-size: 18px; }
    .bento-desc { font-size: 13px; }
    .footer-links { gap: 12px; font-size: 13px; }
    /* M-526 移动端 footer 备案号:每件独立一行,字号略小,行高更松 */
    .footer-info { font-size: 12px; line-height: 1.8; }
    .footer-info .footer-licenses { gap: 4px 0; }  /* 移动端无列间距,每件独立一行 */
}

/* 大屏: 2K 显示器 (1440px 及以上) */
@media (min-width: 1440px) {
    .container { max-width: 1320px; }
    .hero h1 { font-size: 64px; }
    .section-title { font-size: 48px; }
    .download-section h2 { font-size: 56px; }
    .bento-grid { gap: 28px; }
}

/* 4K 屏: 200% 缩放 (1920px 及以上) */
@media (min-width: 1920px) {
    .container { max-width: 1560px; }
    .hero h1 { font-size: 76px; }
    .hero-subtitle { font-size: 20px; }
    .section-title { font-size: 56px; }
    .download-section h2 { font-size: 64px; }
    .bento-grid { gap: 32px; }
    .stat-number { font-size: 40px; }
    .stat-label { font-size: 14px; }
}

/* 横屏手机: 防止 vh 单位被地址栏遮挡 */
@supports (height: 100dvh) {
    .hero { min-height: 100dvh; }
}

/* 暗色模式: 默认主题(深色背景) */
@media (prefers-color-scheme: dark) {
    :root { color-scheme: dark; }
}

/* 亮色模式: 用户系统为浅色时增强文本对比度 */
/* M-525:亮色模式下 .navbar 也保持深色透明,无白色染白(与暗色模式统一) */
@media (prefers-color-scheme: light) {
    :root { color-scheme: light; }
    .navbar { background: transparent !important; border-bottom: 1px solid transparent !important; }
    .navbar.scrolled { background: rgba(6, 6, 8, 0.72) !important; border-bottom-color: var(--border-subtle) !important; }
    .nav-links { background: rgba(6, 6, 8, 0.95) !important; border-bottom-color: var(--border-subtle) !important; }
    .reveal { opacity: 1; transform: none; } /* 亮色模式避免动画白屏闪烁 */
}

/* 触摸设备优化: 移除 hover 效果, 防止移动端点击后残留 */
@media (hover: none) {
    a:hover { opacity: 1; }
    .btn:hover { transform: none; }
}

/* 打印样式: 隐藏导航/装饰元素 */
@media print {
    .navbar, .hero-orb, .footer { display: none; }
    body { background: #fff; color: #000; }
    a { color: #000; text-decoration: underline; }
}
