/* ============================================
   Lovemo - 主样式表
   配色：紫粉梦幻渐变（符合 App 清新梦幻定位）
   ============================================ */

/* ---------- CSS 变量 ---------- */
:root {
    /* 主色调 */
    --primary: #a855f7;
    --primary-light: #c084fc;
    --primary-dark: #7c3aed;
    --accent: #ec4899;
    --accent-light: #f472b6;
    --gold: #fbbf24;

    /* 背景色 */
    --bg-base: #0a0717;
    --bg-section: #0f0a23;
    --bg-card: rgba(255, 255, 255, 0.04);
    --bg-card-hover: rgba(255, 255, 255, 0.07);
    --bg-glass: rgba(15, 10, 35, 0.7);

    /* 文字色 */
    --text-primary: #f5f3ff;
    --text-secondary: #c4b5fd;
    --text-muted: #8b85a8;

    /* 边框 */
    --border: rgba(168, 85, 247, 0.18);
    --border-hover: rgba(168, 85, 247, 0.45);

    /* 渐变 */
    --grad-main: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    --grad-soft: linear-gradient(135deg, #c084fc 0%, #f472b6 100%);
    --grad-text: linear-gradient(120deg, #c084fc 0%, #f472b6 50%, #fbbf24 100%);

    /* 阴影 */
    --shadow-glow: 0 10px 40px rgba(168, 85, 247, 0.35);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);

    /* 布局 */
    --container: 1200px;
    --radius: 16px;
    --radius-lg: 24px;
    --nav-h: 72px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-h);
}

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

img {
    max-width: 100%;
    display: block;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- 背景光晕装饰 ---------- */
.bg-decor {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.5;
    animation: floatOrb 18s ease-in-out infinite;
}

.orb-1 {
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, #a855f7, transparent 70%);
    top: -120px;
    left: -100px;
}

.orb-2 {
    width: 460px;
    height: 460px;
    background: radial-gradient(circle, #ec4899, transparent 70%);
    top: 30%;
    right: -120px;
    animation-delay: -6s;
}

.orb-3 {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, #6366f1, transparent 70%);
    bottom: -100px;
    left: 30%;
    animation-delay: -12s;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(168, 85, 247, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(168, 85, 247, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

@keyframes floatOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, -40px) scale(1.1); }
}

/* ---------- 导航栏 ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-h);
    z-index: 1000;
    background: rgba(10, 7, 23, 0.6);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 7, 23, 0.9);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 20px;
}

.logo-img {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    object-fit: cover;
    background: var(--grad-main);
    box-shadow: var(--shadow-glow);
}

.logo-text {
    background: var(--grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 15px;
    color: var(--text-secondary);
    transition: all 0.25s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--text-primary);
    background: var(--bg-card);
}

.nav-link.nav-active {
    color: var(--accent-light);
}

.nav-download {
    background: var(--grad-main);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(168, 85, 247, 0.4);
}

.nav-download:hover {
    background: var(--grad-main);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(168, 85, 247, 0.55);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---------- 按钮 ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background: var(--grad-main);
    color: #fff;
    box-shadow: 0 8px 24px rgba(168, 85, 247, 0.45);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(168, 85, 247, 0.6);
}

.btn-ghost {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-3px);
}

.btn-icon {
    font-size: 18px;
}

/* ---------- 首屏 Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--nav-h) + 40px) 0 60px;
    overflow: hidden;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 50px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-light);
    box-shadow: 0 0 12px var(--accent-light);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.gradient-text {
    background: var(--grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 560px;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.meta-label {
    font-size: 12px;
    color: var(--text-muted);
}

.meta-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.meta-divider {
    width: 1px;
    height: 32px;
    background: var(--border);
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-stat {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.stat-num {
    font-size: 32px;
    font-weight: 800;
    background: var(--grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-num .plus {
    font-size: 24px;
}

.stat-text {
    color: var(--text-muted);
    font-size: 14px;
}

/* ---------- 首屏截图叠加 ---------- */
.hero-shots {
    position: relative;
    height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shots-glow {
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.4), transparent 70%);
    filter: blur(40px);
    z-index: 0;
}

.shot {
    position: absolute;
    width: 230px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08);
    background: var(--bg-section);
    z-index: 2;
    transition: transform 0.4s ease;
}

.shot img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    display: block;
}

.shot figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px 16px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}

.shot-1 {
    transform: translate(-90px, 30px) rotate(-8deg);
    animation: floatShot 6s ease-in-out infinite;
    z-index: 1;
}

.shot-2 {
    transform: translateY(0) rotate(0deg);
    animation: floatShot 6s ease-in-out infinite -2s;
    z-index: 3;
}

.shot-3 {
    transform: translate(90px, 30px) rotate(8deg);
    animation: floatShot 6s ease-in-out infinite -4s;
    z-index: 1;
}

@keyframes floatShot {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -18px; }
}

.shot:hover {
    z-index: 10;
}

/* 滚动提示 */
.scroll-hint {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.mouse {
    display: block;
    width: 26px;
    height: 42px;
    border: 2px solid var(--text-muted);
    border-radius: 14px;
    position: relative;
}

.wheel {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--text-secondary);
    border-radius: 2px;
    animation: scrollWheel 1.8s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% { opacity: 1; transform: translate(-50%, 0); }
    100% { opacity: 0; transform: translate(-50%, 14px); }
}

/* ---------- 通用 Section ---------- */
.section {
    padding: 100px 0;
    position: relative;
}

.section-screenshots {
    background: linear-gradient(180deg, transparent, rgba(168, 85, 247, 0.04), transparent);
}

.section-head {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 50px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--accent-light);
    margin-bottom: 18px;
    font-weight: 600;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    font-size: 16px;
}

/* ---------- 功能卡片 ---------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.feature-card {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--grad-main);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-card);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    font-size: 28px;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-desc {
    color: var(--text-secondary);
    font-size: 14.5px;
    line-height: 1.7;
}

/* ---------- 截图展示 ---------- */
.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.screenshot-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-card);
    transition: all 0.4s ease;
}

.screenshot-card img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.screenshot-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: 0 20px 50px rgba(168, 85, 247, 0.25);
}

.screenshot-card:hover img {
    transform: scale(1.06);
}

.screenshot-card figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 20px 20px;
    background: linear-gradient(to top, rgba(10, 7, 23, 0.95), transparent);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 600;
}

.shot-num {
    font-size: 13px;
    font-weight: 800;
    color: var(--accent-light);
    background: rgba(236, 72, 153, 0.15);
    padding: 4px 10px;
    border-radius: 6px;
}

/* ---------- 用户评价 ---------- */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.review-card {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.35s ease;
    position: relative;
}

.review-card::after {
    content: "\201D";
    position: absolute;
    top: 24px;
    right: 28px;
    font-size: 60px;
    line-height: 1;
    color: var(--primary);
    opacity: 0.2;
    font-family: Georgia, serif;
}

.review-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.review-stars {
    color: var(--gold);
    font-size: 16px;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.review-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 24px;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--grad-main);
    color: #fff;
    font-weight: 700;
    font-size: 18px;
}

.author-name {
    font-weight: 700;
    font-size: 15px;
}

.author-role {
    font-size: 13px;
    color: var(--text-muted);
}

/* ---------- FAQ ---------- */
.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-item.active {
    border-color: var(--border-hover);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 28px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--accent-light);
}

.faq-icon {
    font-size: 24px;
    font-weight: 300;
    color: var(--accent-light);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer p {
    padding: 0 28px 24px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
}

/* ---------- 下载区域 ---------- */
.section-download {
    padding: 80px 0 120px;
}

.download-card {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
    padding: 64px 40px;
    text-align: center;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.12), rgba(236, 72, 153, 0.12));
    border: 1px solid var(--border-hover);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(168, 85, 247, 0.2);
}

.download-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.3), transparent 60%);
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
}

.download-card > * {
    position: relative;
    z-index: 1;
}

.download-badge {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 50px;
    background: rgba(236, 72, 153, 0.15);
    border: 1px solid rgba(236, 72, 153, 0.4);
    font-size: 12px;
    color: var(--accent-light);
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.download-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.download-subtitle {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 36px;
}

.download-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 20px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: var(--radius);
    margin-bottom: 36px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-label {
    font-size: 12px;
    color: var(--text-muted);
}

.info-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
}

.info-divider {
    width: 1px;
    height: 28px;
    background: var(--border);
}

.btn-download-main {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 20px 48px;
    background: var(--grad-main);
    color: #fff;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 12px 40px rgba(168, 85, 247, 0.55);
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.btn-download-main:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 60px rgba(236, 72, 153, 0.7);
}

.btn-download-main .btn-icon {
    font-size: 24px;
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.btn-text-main {
    font-size: 18px;
}

.btn-text-sub {
    font-size: 12px;
    font-weight: 400;
    opacity: 0.85;
}

.download-tip {
    font-size: 13px;
    color: var(--text-muted);
}

/* ---------- 页脚 ---------- */
.footer {
    border-top: 1px solid var(--border);
    background: var(--bg-section);
    padding-top: 50px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
    padding-bottom: 30px;
}

.footer-brand .logo {
    margin-bottom: 14px;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 14px;
    max-width: 320px;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-nav a {
    color: var(--text-secondary);
    font-size: 14px;
    transition: color 0.25s ease;
}

.footer-nav a:hover {
    color: var(--accent-light);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 20px 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-meta {
    color: var(--primary-light) !important;
}

/* ---------- 返回顶部 ---------- */
.back-top {
    position: fixed;
    right: 28px;
    bottom: 28px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--grad-main);
    color: #fff;
    font-size: 22px;
    box-shadow: 0 8px 24px rgba(168, 85, 247, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 900;
}

.back-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-top:hover {
    transform: translateY(-4px);
}

/* ---------- 滚动渐入动画 ---------- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- 响应式 ---------- */
@media (max-width: 992px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-text {
        order: 2;
    }

    .hero-shots {
        order: 1;
        height: 460px;
    }

    .hero-desc,
    .hero-meta {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta,
    .hero-stat {
        justify-content: center;
    }

    .shot {
        width: 190px;
    }

    .shot img {
        height: 380px;
    }

    .shot-1 {
        transform: translate(-70px, 20px) rotate(-8deg);
    }

    .shot-3 {
        transform: translate(70px, 20px) rotate(8deg);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: var(--nav-h);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: rgba(10, 7, 23, 0.98);
        backdrop-filter: blur(20px);
        padding: 16px 24px 24px;
        border-bottom: 1px solid var(--border);
        transform: translateY(-150%);
        transition: transform 0.4s ease;
        max-height: calc(100vh - var(--nav-h));
        overflow-y: auto;
    }

    .nav-links.open {
        transform: translateY(0);
    }

    .nav-link {
        padding: 14px 16px;
        border-radius: 10px;
        font-size: 16px;
    }

    .nav-download {
        margin-top: 8px;
        text-align: center;
    }

    .section {
        padding: 70px 0;
    }

    .section-head {
        margin-bottom: 40px;
    }

    .screenshots-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .screenshot-card img {
        height: 420px;
    }

    .hero-meta {
        gap: 12px;
        padding: 14px 18px;
    }

    .meta-divider {
        display: none;
    }

    .hero {
        min-height: auto;
        padding-top: calc(var(--nav-h) + 30px);
    }

    .hero-shots {
        height: 400px;
    }

    .shot {
        width: 160px;
    }

    .shot img {
        height: 320px;
    }

    .shot-1 {
        transform: translate(-60px, 20px) rotate(-8deg);
    }

    .shot-3 {
        transform: translate(60px, 20px) rotate(8deg);
    }

    .download-card {
        padding: 40px 24px;
    }

    .download-info {
        gap: 14px;
    }

    .info-divider {
        display: none;
    }

    .btn-download-main {
        padding: 16px 36px;
        font-size: 16px;
    }

    .footer-inner {
        flex-direction: column;
    }

    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
    }
}

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

    .hero-cta .btn {
        flex: 1;
        padding: 14px 20px;
    }

    .shot {
        width: 140px;
    }

    .shot img {
        height: 280px;
    }

    .shot-1 {
        transform: translate(-50px, 20px) rotate(-8deg);
    }

    .shot-3 {
        transform: translate(50px, 20px) rotate(8deg);
    }

    .hero-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .download-info {
        flex-direction: column;
        gap: 12px;
    }

    .btn-download-main {
        width: 100%;
        padding: 16px 24px;
    }

    .back-top {
        right: 16px;
        bottom: 16px;
        width: 44px;
        height: 44px;
    }
}

/* ---------- 减少动画偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
