:root {
    --bg-base: #130E30;
    --text-main: #F4F1FF;
    --text-sub: #B9B3D6;
    --accent-orange: #FF7A2F;
    --accent-pink: #FF4F79;
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.14);
    --container-width: 1080px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-base);
    background-image: linear-gradient(168deg, #1C1245 0%, #231356 50%, #130E30 100%);
    color: var(--text-main);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}
body.motion-off * { animation: none !important; transition: none !important; }

.bg-blobs {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -1; overflow: hidden; pointer-events: none;
}
.blob {
    position: absolute; border-radius: 50%; filter: blur(58px); opacity: 0.6;
}
.blob.orange {
    background: rgba(255, 122, 47, 0.4); width: 60vw; height: 60vw;
    top: -20vw; left: -10vw; animation: drift 20s infinite alternate ease-in-out;
}
.blob.pink {
    background: rgba(255, 79, 121, 0.3); width: 50vw; height: 50vw;
    bottom: -10vw; right: -10vw; animation: drift 26s infinite alternate-reverse ease-in-out;
}
@keyframes drift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(10vw, 10vh); }
}

.container { max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; color: inherit; }

/* 导航 */
header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(26, 18, 60, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    height: 60px; display: flex; align-items: center;
}
.nav-inner { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo { font-size: 18px; font-weight: bold; display: flex; align-items: center; gap: 8px; }
.logo img { height: 32px; width: auto; border-radius: 6px; }
.logo span.tv { color: var(--accent-orange); }
.nav-links { display: none; gap: 20px; font-size: 14px; color: var(--text-sub); }
.nav-links a:hover { color: var(--text-main); }
.nav-btn {
    background: var(--accent-orange); color: #fff; padding: 8px 16px; border-radius: 20px;
    font-size: 14px; font-weight: bold; transition: transform 0.2s;
}
.nav-btn:hover { transform: scale(1.05); }

/* 按钮 */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 24px; border-radius: 24px; font-weight: bold; font-size: 15px;
    cursor: pointer; transition: 0.2s; border: none; outline: none;
}
.btn-orange { background: var(--accent-orange); color: #fff; }
.btn-orange:hover { background: #ff8c4d; }
.btn-glass {
    background: var(--glass-bg); border: 1px solid var(--glass-border); color: var(--text-main);
    backdrop-filter: blur(10px);
}
.btn-glass:hover { background: rgba(255, 255, 255, 0.15); }

/* 卡片通用 */
.glass-card {
    background: var(--glass-bg); border: 1px solid var(--glass-border);
    backdrop-filter: blur(18px) saturate(1.25); border-radius: 22px;
    padding: 24px; transition: transform 0.3s, box-shadow 0.3s;
}
.glass-card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,0.3); }

/* 模块通用 */
section { padding: 60px 0; scroll-margin-top: 76px; }
.section-title { font-size: 26px; font-weight: bold; text-align: center; margin-bottom: 40px; }
.section-title span { color: var(--accent-orange); }

/* #home */
#home { padding-top: 40px; padding-bottom: 60px; }
.hero-layout { display: flex; flex-direction: column; gap: 40px; }
.hero-text { flex: 1; }
.pill {
    display: inline-block; padding: 6px 14px; border-radius: 20px; font-size: 13px;
    color: var(--accent-orange); border: 1px solid var(--accent-orange); margin-bottom: 20px;
}
.hero-text h1 { font-size: 36px; line-height: 1.3; margin-bottom: 16px; }
.hero-text h1 span { color: var(--accent-orange); }
.hero-desc { font-size: 15px; color: var(--text-sub); margin-bottom: 30px; max-width: 480px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.hero-tip { font-size: 12px; color: var(--text-sub); }

.hero-room { flex: 1; max-width: 480px; width: 100%; }
.room-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.room-status { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.dot { width: 8px; height: 8px; background: #25D366; border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0% { opacity: 0.6; } 50% { opacity: 1; } 100% { opacity: 0.6; } }
.room-code {
    font-family: monospace; background: rgba(0,0,0,0.2); padding: 4px 8px; border-radius: 6px;
    font-size: 12px; cursor: pointer; border: 1px solid var(--glass-border);
}
.room-progress { margin-bottom: 20px; }
.progress-text { display: flex; justify-content: space-between; font-size: 12px; font-family: monospace; margin-bottom: 8px; }
.progress-bar { height: 6px; background: rgba(255,255,255,0.1); border-radius: 3px; overflow: hidden; }
.progress-fill { height: 100%; width: 71%; background: var(--accent-orange); }
.room-sub { font-size: 12px; color: var(--text-sub); margin-top: 8px; }
.room-members { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.avatar {
    width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center; font-size: 14px;
}
.avatar.active { border: 2px solid var(--accent-orange); }
.avatar.empty { border: 1px dashed rgba(255,255,255,0.3); }
.voice-tag { margin-left: auto; font-size: 12px; padding: 4px 10px; border-radius: 12px; background: rgba(255,255,255,0.1); }
.room-actions { display: flex; gap: 12px; }
.room-actions .btn { flex: 1; font-size: 13px; padding: 10px; }

/* 功能亮点 */
.features-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: 30px; }
.feature-card h3 { font-size: 18px; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--text-sub); }
.switch-panel h3 { font-size: 16px; margin-bottom: 16px; }
.switch-row {
    display: flex; justify-content: space-between; align-items: center; padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05); cursor: pointer; font-size: 14px;
}
.switch-row:last-child { border-bottom: none; }
.switch {
    width: 44px; height: 24px; background: rgba(255,255,255,0.2); border-radius: 12px; position: relative; transition: 0.3s;
}
.switch::after {
    content: ''; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px;
    background: #fff; border-radius: 50%; transition: 0.3s;
}
.switch.on { background: var(--accent-orange); }
.switch.on::after { transform: translateX(20px); }

/* 片库 */
.library-card { padding: 30px; }
.list-title { font-size: 16px; font-weight: bold; margin-bottom: 16px; color: var(--accent-orange); }
.sync-list { margin-bottom: 40px; }
.sync-item {
    display: flex; align-items: center; gap: 16px; margin-bottom: 16px;
    background: rgba(0,0,0,0.1); padding: 12px; border-radius: 12px;
}
.sync-item img { width: 52px; height: 70px; border-radius: 6px; object-fit: cover; }
.sync-info { flex: 1; }
.sync-info h4 { font-size: 15px; margin-bottom: 4px; }
.sync-info p { font-size: 12px; color: var(--text-sub); }
.sync-tag { font-size: 10px; color: var(--accent-orange); background: rgba(255,122,47,0.1); padding: 2px 6px; border-radius: 4px; display: inline-block; margin-top: 4px; }
.sync-status { color: #25D366; font-size: 12px; white-space: nowrap; }

.grid-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 16px; }
.gallery-item { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 3/4; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: 0.3s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item .img-title {
    position: absolute; bottom: 0; left: 0; width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 20px 10px 10px; font-size: 12px; text-align: center;
}

/* 画面 */
.scenes-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.scene-card { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 16/9; }
.scene-card img { width: 100%; height: 100%; object-fit: cover; transition: 0.4s; }
.scene-card:hover img { transform: scale(1.04); }
.scene-text {
    position: absolute; bottom: 0; left: 0; width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 30px 20px 16px;
}
.scene-text h3 { font-size: 16px; margin-bottom: 4px; }
.scene-text p { font-size: 13px; color: rgba(255,255,255,0.7); }

/* 界面 */
.ui-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.ui-card { background: rgba(0,0,0,0.3); padding: 12px; border-radius: 16px; border: 1px solid var(--glass-border); }
.ui-card img { width: 100%; border-radius: 8px; display: block; margin-bottom: 12px; }
.ui-card p { font-size: 13px; text-align: center; color: var(--text-sub); }

/* 口碑 */
.reviews-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.review-card .stars { color: #FFD700; font-size: 16px; margin-bottom: 12px; letter-spacing: 2px; }
.review-card p { font-size: 14px; margin-bottom: 16px; line-height: 1.5; }
.review-author { font-size: 12px; color: var(--text-sub); text-align: right; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { margin-bottom: 12px; }
.faq-q {
    display: flex; justify-content: space-between; align-items: center;
    cursor: pointer; font-size: 15px; font-weight: bold; padding: 4px 0;
}
.faq-q .icon { color: var(--accent-orange); transition: 0.3s; }
.faq-a { display: none; font-size: 14px; color: var(--text-sub); padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.1); margin-top: 12px; }
.faq-item.active .faq-a { display: block; }
.faq-item.active .faq-q .icon { transform: rotate(45deg); }

/* 下载区 */
.download-card { text-align: center; padding: 40px 20px; max-width: 600px; margin: 0 auto; }
.download-card h2 { font-size: 24px; margin-bottom: 16px; }
.download-card p { font-size: 14px; color: var(--text-sub); margin-bottom: 30px; }
.download-btns { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.download-note { font-size: 12px; color: var(--text-sub); opacity: 0.7; }

/* 底部固定条 */
.mobile-bottom-bar {
    display: flex; position: fixed; bottom: 0; left: 0; width: 100%; z-index: 100;
    background: rgba(26, 18, 60, 0.9); backdrop-filter: blur(10px);
    border-top: 1px solid var(--glass-border); padding: 10px 16px;
    justify-content: space-between; align-items: center;
}
.mobile-bar-text { font-size: 12px; color: var(--text-sub); max-width: 60%; line-height: 1.3; }
.mobile-bar-btn { padding: 8px 16px; font-size: 14px; border-radius: 16px; background: var(--accent-orange); color: #fff; font-weight: bold; }

/* 页脚 */
footer { padding: 40px 0 80px; text-align: center; font-size: 12px; color: var(--text-sub); border-top: 1px solid rgba(255,255,255,0.05); margin-top: 40px; }
footer p { margin-bottom: 8px; }
footer a { color: var(--text-sub); text-decoration: underline; }
.update-time { display: block; margin-top: 10px; opacity: 0.6; }

/* 遮罩 */
.hot-orange-mask { position: fixed; inset: 0; background: rgba(255,100,0,0.2); mix-blend-mode: soft-light; pointer-events: none; z-index: 9999; transition: opacity 0.4s; opacity: 0; }
.mask-on { opacity: 1; }

/* 媒体查询 */
@media (min-width: 768px) {
    .nav-links { display: flex; }
    .features-grid { grid-template-columns: 1fr 1fr; }
    .scenes-grid { grid-template-columns: 1fr 1fr; }
    .reviews-grid { grid-template-columns: 1fr 1fr; }
    .ui-grid { grid-template-columns: repeat(3, 1fr); }
    .download-btns { flex-direction: row; }
    .download-btns .btn { flex: 1; }
    .mobile-bottom-bar { display: none; }
    footer { padding-bottom: 40px; }
}
@media (min-width: 1000px) {
    .hero-layout { flex-direction: row; align-items: center; }
    .hero-text h1 { font-size: 48px; }
    .features-grid { grid-template-columns: repeat(4, 1fr); }
    .scenes-grid { grid-template-columns: repeat(3, 1fr); }
    .glass-card { padding: 30px; }
}