/* ============================================================
    众赏帮APP 官网样式
   主题色：橘红渐变 | 布局：CSS Grid + Flex | 全站自适应
   ------------------------------------------------------------
   目录：
   01. 变量与基础重置
   02. 通用工具类
   03. 顶部导航栏
   04. Hero 首屏（双手机展示）
   05. 三大核心卖点
   06. 应用截图展示
   07. 下载区域
   08. 页脚
   09. 浮动下载按钮
   10. 入场动画
   11. 响应式适配（平板 / 手机）
   ============================================================ */

/* ============ 01. 变量与基础重置 ============ */
:root {
    /* 主题色 */
    --c-primary: #FF6B35;
    --c-primary-deep: #FF3D00;
    --c-primary-light: #FF8C42;
    --c-gold: #FFB800;

    /* 文字颜色 */
    --c-text: #333;
    --c-text-sub: #666;
    --c-text-light: #999;
    --c-text-dark: #222;

    /* 装饰色 */
    --c-bg-soft: #FFF8F5;
    --c-shadow: rgba(255, 107, 53, 0.35);
}

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

html {
    scroll-behavior: smooth;              /* 锚点平滑滚动，无需JS */
    scroll-padding-top: 70px;             /* 预留固定导航高度 */
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC",
                 "Helvetica Neue", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--c-text);
    background: #fff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    -webkit-tap-highlight-color: transparent;
}

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

ul {
    list-style: none;
}

::selection {
    background: rgba(255, 107, 53, 0.18);
}

/* ============ 02. 通用工具类 ============ */

/* 仅供屏幕阅读器，视觉上隐藏 */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* 键盘焦点可直达正文的跳转链接 */
.skip-link {
    position: fixed;
    top: -48px;
    left: 16px;
    z-index: 2000;
    background: var(--c-primary);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 0 0 10px 10px;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
}

/* ============ 03. 顶部导航栏 ============ */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 107, 53, 0.12);
    transition: box-shadow 0.3s ease;
}

.top-bar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(255, 107, 53, 0.1);
}

.top-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

/* Logo 区域 */
.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    object-fit: contain;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.logo-img:hover {
    transform: scale(1.05);
}

.logo-text {
    font-size: 20px;
    font-weight: 800;
    color: var(--c-primary);
    letter-spacing: 1px;
}

/* 导航链接 */
.top-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.top-nav a {
    position: relative;
    font-size: 15px;
    color: #555;
    font-weight: 500;
    transition: color 0.2s;
}

.top-nav a:hover {
    color: var(--c-primary);
}

/* 悬停下划线动画 */
.top-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--c-primary);
    transition: width 0.3s;
}

.top-nav a:hover::after {
    width: 100%;
}

/* 导航栏下载按钮 */
.top-download-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--c-primary), var(--c-primary-light));
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    padding: 8px 22px;
    border-radius: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px var(--c-shadow);
}

.top-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 107, 53, 0.5);
}

.download-icon {
    animation: bounceDown 2s infinite;
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(3px); }
}

/* ============ 04. Hero 首屏（双手机展示） ============ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 24px 50px;
    background: linear-gradient(180deg, #FFF8F5 0%, #FFF0E8 40%, #FFE4D6 100%);
    overflow: hidden;
}

/* 背景装饰 */
.hero-bg-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.circle-deco {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
}

.circle-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--c-primary), transparent);
    top: -100px;
    left: -150px;
}

.circle-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #FFD93D, transparent);
    bottom: 50px;
    right: -80px;
}

.circle-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--c-primary-light), transparent);
    top: 40%;
    left: 60%;
}

/* 浮动金币表情 */
.coin {
    position: absolute;
    font-size: 28px;
    opacity: 0.6;
    animation: floatCoin 6s ease-in-out infinite;
}

.coin-1 { top: 15%;     left: 8%;          animation-delay: 0s; }
.coin-2 { top: 25%;     right: 12%;        animation-delay: 1.5s; font-size: 22px; }
.coin-3 { bottom: 20%;  left: 15%;         animation-delay: 3s;   font-size: 24px; }
.coin-4 { bottom: 30%;  right: 8%;         animation-delay: 2s;   font-size: 20px; }
.coin-5 { top: 50%;     left: 5%;          animation-delay: 4s;   font-size: 18px; }

@keyframes floatCoin {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%      { transform: translateY(-20px) rotate(10deg); }
}

/* 三栏布局：手机 - 文案 - 手机 */
.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    align-items: center;
    gap: 30px;
}

.phone-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

/* 手机外壳模型 */
.phone-frame {
    position: relative;
    width: 260px;
    height: 540px;
    padding: 12px;
    background: #1a1a1a;
    border-radius: 40px;
    box-shadow:
        0 0 0 2px #333,
        0 0 0 4px #555,
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 80px rgba(255, 107, 53, 0.15);
    transition: transform 0.4s ease;
}

.phone-frame:hover {
    transform: translateY(-8px);
}

/* 刘海造型 */
.phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    z-index: 5;
    width: 100px;
    height: 24px;
    background: #1a1a1a;
    border-radius: 0 0 16px 16px;
    transform: translateX(-50%);
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 30px;
    overflow: hidden;
    background: #fff;
}

.phone-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

/* 左右手机默认带一点 3D 倾角，桌面端由脚本跟随鼠标微调 */
.phone-left .phone-frame  { transform: perspective(800px) rotateY(8deg)  rotateX(2deg); }
.phone-right .phone-frame { transform: perspective(800px) rotateY(-8deg) rotateX(2deg); }

.phone-left .phone-frame:hover {
    transform: perspective(800px) rotateY(4deg) translateY(-8px);
}

.phone-right .phone-frame:hover {
    transform: perspective(800px) rotateY(-4deg) translateY(-8px);
}

/* 手机下方标签 */
.phone-label {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    padding: 6px 16px;
    border-radius: 50px;
    border: 1px solid rgba(255, 107, 53, 0.1);
    font-size: 14px;
    font-weight: 600;
    color: var(--c-primary);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.15);
}

.phone-label-icon {
    font-size: 16px;
}

/* 中间文案区 */
.hero-text {
    text-align: center;
    padding: 0 10px;
}

.hero-title {
    margin-bottom: 14px;
    line-height: 1.2;
}

.title-main {
    display: block;
    font-size: 56px;
    font-weight: 900;
    letter-spacing: 2px;
    background: linear-gradient(135deg, var(--c-primary), var(--c-primary-deep));
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--c-primary); /* 不支持文字裁切时的兜底色 */
}

.title-sub {
    display: block;
    margin-top: 4px;
    font-size: 28px;
    font-weight: 700;
    color: #666;
}

.hero-slogan {
    margin-bottom: 30px;
    font-size: 18px;
    line-height: 1.8;
    color: #888;
}

/* 数据统计栏 */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background: #fff;
    padding: 18px 28px;
    border-radius: 20px;
    border: 1px solid rgba(255, 107, 53, 0.06);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.08);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.stat-num {
    font-size: 32px;
    font-weight: 900;
    line-height: 1.1;
    color: var(--c-primary);
    font-variant-numeric: tabular-nums;
}

.stat-unit {
    font-size: 16px;
    font-weight: 700;
    color: var(--c-primary);
}

.stat-label {
    margin-top: 4px;
    font-size: 13px;
    color: var(--c-text-light);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 107, 53, 0.2);
}

/* 向下滑动提示 */
.scroll-hint {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--c-primary);
    font-size: 13px;
    opacity: 0.7;
    animation: fadeInUp 1s ease 1s both;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 3px solid var(--c-primary);
    border-bottom: 3px solid var(--c-primary);
    transform: rotate(45deg);
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: rotate(45deg) translate(0, 0);       opacity: 0.7; }
    50%      { transform: rotate(45deg) translate(4px, 4px);   opacity: 1; }
}

@keyframes fadeInUp {
    from { opacity: 0;   transform: translate(-50%, 20px); }
    to   { opacity: 0.7; transform: translate(-50%, 0); }
}

/* ============ 05. 三大核心卖点 ============ */
.features-section {
    position: relative;
    padding: 60px 24px;
    background: #fff;
}

.features-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border: 2px solid transparent;
    border-radius: 24px;
    padding: 40px 28px 36px;
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

/* 卡片顶部彩色饰条 */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    border-radius: 24px 24px 0 0;
}

.feature-card-1::before { background: linear-gradient(90deg, var(--c-primary), var(--c-primary-light)); }
.feature-card-2::before { background: linear-gradient(90deg, var(--c-primary-deep), var(--c-primary)); }
.feature-card-3::before { background: linear-gradient(90deg, var(--c-gold), var(--c-primary-light)); }

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 50px rgba(255, 107, 53, 0.12);
}

.feature-card-1:hover { border-color: rgba(255, 107, 53, 0.2); }
.feature-card-2:hover { border-color: rgba(255, 61, 0, 0.2); }
.feature-card-3:hover { border-color: rgba(255, 184, 0, 0.2); }

/* 圆形图标底座 */
.feature-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    border-radius: 50%;
    transition: transform 0.3s;
}

.feature-card:hover .feature-icon-wrap {
    transform: scale(1.1) rotate(5deg);
}

.icon-orange {
    background: linear-gradient(135deg, #FFF0E8, #FFE4D6);
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.15);
}

.icon-red {
    background: linear-gradient(135deg, #FFF0E8, #FFD6CC);
    box-shadow: 0 4px 20px rgba(255, 61, 0, 0.15);
}

.icon-gold {
    background: linear-gradient(135deg, #FFF8E1, #FFE8A1);
    box-shadow: 0 4px 20px rgba(255, 184, 0, 0.15);
}

.feature-emoji {
    font-size: 32px;
}

.feature-title {
    width: 100%;
    margin-bottom: 6px;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.4;
    color: var(--c-text-dark);
}

.feature-desc {
    margin-bottom: 20px;
    font-size: 15px;
    font-weight: 600;
    color: var(--c-primary);
}

/* 特性列表项 */
.feature-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 12px;
    background: #FAFAFA;
    border-radius: 10px;
    font-size: 14px;
    color: var(--c-text-sub);
    transition: background 0.2s, color 0.2s;
}

.feature-list li:hover {
    background: var(--c-bg-soft);
    color: var(--c-text);
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--c-primary), var(--c-primary-light));
    flex-shrink: 0;
}

/* ============ 06. 应用截图展示 ============ */
.showcase-section {
    padding: 60px 24px;
    background: linear-gradient(180deg, #fff 0%, var(--c-bg-soft) 100%);
    text-align: center;
}

.showcase-container {
    max-width: 1000px;
    margin: 0 auto;
}

.section-title {
    margin-bottom: 10px;
    font-size: 30px;
    font-weight: 800;
    color: var(--c-text-dark);
}

.section-title span {
    display: block;
    margin-top: 6px;
    font-size: 15px;
    font-weight: normal;
    color: var(--c-text-light);
}

.section-desc {
    margin-bottom: 36px;
    font-size: 15px;
    color: #888;
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 800px;
    margin: 0 auto;
}

.screenshot-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.screenshot-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 50px rgba(255, 107, 53, 0.15);
}

.screenshot-item img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    object-position: top center;
}

/* 截图底部渐变标签 */
.screenshot-tag {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 16px 14px;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.7));
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
}

/* ============ 07. 下载区域 ============ */
.download-section {
    position: relative;
    overflow: hidden;
    padding: 80px 24px;
    background: linear-gradient(135deg, var(--c-primary) 0%,
                             var(--c-primary-deep) 50%, #E53900 100%);
    text-align: center;
}

/* 高光装饰 */
.download-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.download-container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.download-title {
    margin-bottom: 14px;
    font-size: 40px;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.download-subtitle {
    margin-bottom: 40px;
    font-size: 17px;
    color: rgba(255, 255, 255, 0.85);
}

.download-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 32px;
    border-radius: 60px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

/* 安卓按钮（实底） */
.download-btn-primary {
    background: #fff;
    color: var(--c-primary-deep);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.download-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

/* iOS 按钮（毛玻璃描边） */
.download-btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.download-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

.btn-icon {
    flex-shrink: 0;
}

.btn-emoji {
    font-size: 24px;
}

.btn-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.btn-text small {
    font-size: 12px;
    font-weight: 500;
    opacity: 0.8;
}

.btn-text strong {
    font-size: 18px;
    font-weight: 800;
}

/* 按钮下的提示信息 */
.download-tips {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.tip-item {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.tip-dot {
    color: rgba(255, 255, 255, 0.4);
}

/* ============ 08. 页脚 ============ */
.footer {
    padding: 40px 24px 28px;
    background: #1a1a1a;
    text-align: center;
}

.footer-container {
    max-width: 800px;
    margin: 0 auto;
}

.footer-brand {
    margin-bottom: 16px;
}

.footer-logo {
    font-size: 22px;
    font-weight: 800;
    color: var(--c-primary);
}

.footer-desc {
    margin-left: 8px;
    font-size: 14px;
    color: #888;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 14px;
    color: #aaa;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--c-primary);
}

.footer-links span {
    color: #444;
}

.footer-copy {
    border-top: 1px solid #333;
    padding-top: 16px;
}

.footer-copy p {
    font-size: 13px;
    color: #666;
}

/* ============ 09. 浮动操作按钮 ============ */
.floating-actions {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.floating-support,
.floating-download {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--c-primary), var(--c-primary-deep));
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 6px 25px rgba(255, 61, 0, 0.4);
    /* 默认隐藏，滚动超过一屏后由脚本加入 visible 显示 */
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-support {
    padding: 12px 22px;
    background: linear-gradient(135deg, #2F80ED, #1665C1);
    box-shadow: 0 6px 25px rgba(22, 101, 193, 0.35);
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.floating-support:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(22, 101, 193, 0.45);
}

.floating-download.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.floating-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(255, 61, 0, 0.5);
}

/* ============ 10. 入场动画（配合 main.js 的 IntersectionObserver） ============ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* 尊重系统"减少动态效果"设置，关闭所有装饰动画 */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ============ 11. 响应式适配 ============ */

/* --- 平板及以下（<=1024px）：三栏改单列纵向排列 --- */
@media (max-width: 1024px) {
    .top-nav {
        display: none;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .hero-text  { order: 1; }
    .phone-left,
    .phone-right { order: 2; }

    .phone-frame {
        width: 220px;
        height: 460px;
    }

    .phone-left .phone-frame,
    .phone-right .phone-frame {
        transform: none;               /* 小屏取消3D倾斜 */
    }

    .features-container {
        grid-template-columns: 1fr;
        max-width: 480px;
        gap: 20px;
    }

    .screenshot-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        gap: 20px;
    }

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

    .title-main {
        font-size: 44px;
    }
}

/* --- 大屏手机 / 小屏手机（<=640px） --- */
@media (max-width: 640px) {
    .top-bar-inner {
        height: 52px;
        padding: 8px 16px;
    }

    .logo-text {
        font-size: 16px;
    }

    .top-download-btn {
        padding: 7px 14px;
        font-size: 13px;
    }

    .skip-link {
        left: 12px;
    }

    .hero-section {
        padding: 70px 16px 36px;
    }

    .title-main {
        font-size: 36px;
    }

    .title-sub {
        font-size: 20px;
    }

    .hero-slogan {
        font-size: 16px;
    }

    .hero-stats {
        gap: 10px;
        padding: 12px 16px;
    }

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

    .stat-divider {
        height: 34px;
    }

    .phone-frame {
        width: 180px;
        height: 380px;
        padding: 8px;
        border-radius: 32px;
    }

    .phone-notch {
        top: 8px;
        width: 70px;
        height: 18px;
    }

    .feature-card {
        padding: 32px 22px 28px;
    }

    .feature-title {
        font-size: 19px;
    }

    .section-title {
        font-size: 25px;
    }

    .section-desc {
        margin-bottom: 28px;
    }

    .download-section {
        padding: 64px 20px;
    }

    .download-title {
        font-size: 28px;
    }

    .download-subtitle {
        font-size: 15px;
    }

    .download-btn {
        padding: 12px 26px;
    }

    .floating-actions {
        right: 16px;
        bottom: 16px;
        gap: 8px;
    }

    .floating-support,
    .floating-download {
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* --- 超小屏（<=360px）：数据栏改为可换行，防止挤压 --- */
@media (max-width: 360px) {
    .hero-stats {
        flex-wrap: wrap;
    }

    .stat-divider {
        display: none;
    }

    .stat-item {
        min-width: 92px;
    }
}
