@charset "utf-8";

/* ============================================================
   悬赏帮官网样式表
   设计说明：主色为活力橙，搭配暖黄点缀；整站使用 CSS 变量
   统一管理颜色、圆角、阴影，方便后期维护换肤
   ============================================================ */

/* ---------- 全局设计变量 ---------- */
:root {
    --primary: #FF6B00;        /* 主色：活力橙 */
    --primary-dark: #E55F00;   /* 主色加深（按钮悬浮态） */
    --secondary: #FFD166;      /* 辅色：暖黄 */
    --dark: #2A2A2A;           /* 深色文字 / 页脚底色 */
    --text: #333333;           /* 正文文字色 */
    --muted: #7A7A7A;          /* 次要说明文字 */
    --light: #F9F9F9;          /* 浅灰背景 */
    --white: #FFFFFF;
    --border: #EEEEEE;

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;

    --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 16px 40px rgba(255, 107, 0, 0.15);
    --shadow-phone: 0 24px 60px rgba(0, 0, 0, 0.18);

    --container: 1200px;
}

/* ---------- 基础重置 ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* 锚点跳转时为固定导航留出高度 */
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC",
        "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

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

ul, ol {
    list-style: none;
}

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

/* 通用容器：大屏限宽居中，小屏两侧留白 */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

.text-primary {
    color: var(--primary);
}

/* ============================================================
   通用按钮
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 32px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 700;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-2px);
}

/* 主按钮：橙色实心 */
.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(255, 107, 0, 0.35);
}

.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 12px 28px rgba(255, 107, 0, 0.45);
}

/* 白色按钮（用于橙色背景 / 首屏副按钮） */
.btn-white {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.btn-white:hover {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

/* 描边按钮（浅底区域） */
.btn-outline {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: 0 8px 20px rgba(255, 107, 0, 0.12);
}

.btn-outline:hover {
    background: #FFF6EF;
}

/* 透明描边按钮（橙色横幅上） */
.btn-ghost-white {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-ghost-white:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* ============================================================
   顶部导航栏
   ============================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* 滚动后导航变为白底 */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

/* 品牌区 */
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    object-fit: cover;
}

.brand-name {
    font-size: 22px;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: 1px;
}

/* 桌面端菜单 */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 34px;
}

.nav-menu a {
    font-size: 16px;
    font-weight: 500;
    color: var(--dark);
    transition: color 0.2s ease;
}

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

/* 导航右侧“立即下载”小按钮 */
.nav-download-btn {
    background: var(--primary);
    color: var(--white) !important;
    padding: 9px 22px;
    border-radius: 999px;
    font-weight: 700 !important;
    box-shadow: 0 6px 16px rgba(255, 107, 0, 0.3);
    transition: background 0.2s ease, transform 0.2s ease;
}

.nav-download-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* 移动端汉堡按钮（默认隐藏） */
.menu-toggle {
    display: none;
    color: var(--dark);
    padding: 6px;
}

/* ============================================================
   首屏 Hero 区
   ============================================================ */
.hero {
    position: relative;
    overflow: hidden;
    padding: 150px 0 90px;
    background: linear-gradient(135deg, rgba(255, 209, 102, 0.28) 0%, rgba(255, 107, 0, 0.12) 100%);
}

/* 背景装饰光斑 */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
}

.blob-1 {
    width: 420px;
    height: 420px;
    top: -160px;
    right: -140px;
    background: rgba(255, 107, 0, 0.14);
}

.blob-2 {
    width: 320px;
    height: 320px;
    bottom: -120px;
    left: -100px;
    background: rgba(255, 209, 102, 0.35);
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: clamp(2.1rem, 4.6vw, 3.5rem);
    line-height: 1.25;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 22px;
}

.hero-desc {
    font-size: 17px;
    color: var(--muted);
    max-width: 540px;
    margin-bottom: 34px;
}

.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 38px;
}

/* 用户口碑区 */
.hero-reputation {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* 重叠头像组 */
.avatar-group {
    display: flex;
}

.avatar-group img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid var(--white);
    margin-left: -10px;
    object-fit: cover;
}

.avatar-group img:first-child {
    margin-left: 0;
}

.stars {
    display: flex;
    align-items: center;
    gap: 2px;
    color: #F5B301;
}

.stars .score {
    color: var(--dark);
    margin-left: 8px;
    font-size: 16px;
}

.reputation-text {
    font-size: 14px;
    color: var(--muted);
    margin-top: 2px;
}

/* 右侧手机展示 */
.hero-show {
    flex: 0 0 42%;
    display: flex;
    justify-content: center;
}

.phone-wrap {
    position: relative;
}

.phone-img {
    width: 100%;
    max-width: 300px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-phone);
    margin: 30px auto;
}

/* 浮动收益卡片 */
.float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-card);
    padding: 12px 18px;
}

.float-card-top {
    top: -10px;
    right: -24px;
}

.float-card-bottom {
    bottom: -10px;
    left: -24px;
}

.float-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-green {
    background: #E6F7EC;
    color: #22B55A;
}

.icon-blue {
    background: #E8F0FE;
    color: #3B82F6;
}

.float-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
}

.float-money {
    font-size: 14px;
    color: var(--muted);
}

/* ============================================================
   数据统计
   ============================================================ */
.stats {
    background: var(--white);
    padding: 56px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-item {
    background: var(--light);
    border-radius: var(--radius-md);
    padding: 30px 16px;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.stat-item strong {
    display: block;
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 6px;
}

.stat-item span {
    color: var(--muted);
    font-size: 15px;
}

/* ============================================================
   通用区块 & 区块标题
   ============================================================ */
.section {
    padding: 84px 0;
}

.section-gray {
    background: var(--light);
}

.section-warm {
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.05) 0%, rgba(255, 209, 102, 0.18) 100%);
}

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

.section-head h2 {
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 14px;
}

.section-head p {
    color: var(--muted);
    font-size: 17px;
    max-width: 640px;
    margin: 0 auto;
}

/* ============================================================
   任务特色卡片
   ============================================================ */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: rgba(255, 107, 0, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}

.feature-card h3 {
    font-size: 19px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--muted);
    font-size: 15px;
}

/* ============================================================
   赚钱步骤
   ============================================================ */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    counter-reset: step;
}

.step-item {
    text-align: center;
    padding: 0 12px;
    position: relative;
}

.step-num {
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    font-size: 24px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(255, 107, 0, 0.3);
}

.step-item h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.step-item p {
    color: var(--muted);
    font-size: 14.5px;
}

/* ============================================================
   任务类型卡片
   ============================================================ */
.task-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.task-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.task-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

/* 卡片封面图 + 悬浮蒙层 */
.task-cover {
    position: relative;
    height: 190px;
    overflow: hidden;
}

.task-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.task-card:hover .task-cover img {
    transform: scale(1.08);
}

/* 底部渐变蒙层（悬停时淡入） */
.task-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0) 55%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.task-card:hover .task-cover::after {
    opacity: 1;
}

/* “立即参与”悬浮胶囊按钮 */
.task-cover-mask {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translate(-50%, 14px);
    background: var(--primary);
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    padding: 9px 28px;
    border-radius: 999px;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.task-card:hover .task-cover-mask {
    opacity: 1;
    transform: translate(-50%, 0);
}

/* 卡片正文 */
.task-body {
    padding: 22px 22px 24px;
}

.task-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.task-title-row h3 {
    font-size: 19px;
    font-weight: 700;
    color: var(--dark);
}

/* 难度标签 */
.tag {
    font-size: 12.5px;
    padding: 3px 12px;
    border-radius: 999px;
    font-weight: 600;
}

.tag-orange { background: rgba(255, 107, 0, 0.12); color: var(--primary); }
.tag-blue   { background: #E8F0FE; color: #2563EB; }
.tag-green  { background: #E7F7EC; color: #16A34A; }
.tag-purple { background: #F1EAFE; color: #7C3AED; }

.task-desc {
    color: var(--muted);
    font-size: 14px;
    min-height: 66px;
    margin-bottom: 16px;
}

.task-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.task-price {
    color: var(--primary);
    font-weight: 800;
    font-size: 17px;
}

.task-link {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    color: var(--primary);
    font-weight: 600;
    font-size: 14.5px;
    transition: gap 0.2s ease;
}

.task-link:hover {
    gap: 6px;
}

/* 区块底部下载按钮组 */
.section-cta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 48px;
}

/* ============================================================
   用户赚钱案例
   ============================================================ */
.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.case-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 30px;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.case-user {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.case-user img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.case-user h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
}

.case-user p {
    font-size: 14px;
    color: var(--muted);
}

.case-words {
    color: var(--text);
    font-size: 15px;
    margin-bottom: 22px;
}

.case-foot {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.case-label {
    display: block;
    font-size: 13px;
    color: var(--muted);
}

.case-money {
    font-size: 26px;
    font-weight: 800;
    color: var(--primary);
}

/* ============================================================
   下载引导横幅
   ============================================================ */
.download-banner {
    background: linear-gradient(120deg, var(--primary) 0%, #FF8A3D 100%);
    border-radius: 32px;
    padding: 64px 60px;
    display: flex;
    align-items: center;
    gap: 40px;
    box-shadow: 0 24px 60px rgba(255, 107, 0, 0.3);
}

.download-text {
    flex: 1;
}

.download-text h2 {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.download-text > p {
    color: rgba(255, 255, 255, 0.92);
    font-size: 17px;
    margin-bottom: 30px;
    max-width: 520px;
}

.download-users {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 34px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 15px;
}

.download-users strong {
    color: var(--white);
}

.download-show {
    flex: 0 0 340px;
    display: flex;
    justify-content: center;
}

.download-show img {
    width: 100%;
    max-width: 270px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-phone);
    transform: rotate(3deg);
}

/* ============================================================
   常见问题（手风琴）
   ============================================================ */
.faq-list {
    max-width: 820px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    margin-bottom: 16px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 26px;
    text-align: left;
}

.faq-question h3 {
    font-size: 16.5px;
    font-weight: 700;
    color: var(--dark);
}

.faq-icon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 107, 0, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

/* 展开时加号旋转为叉号视觉 */
.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 26px;
}

.faq-item.open .faq-answer {
    max-height: 400px;
    padding-bottom: 24px;
}

.faq-answer p {
    color: var(--muted);
    font-size: 15px;
}

/* ============================================================
   页脚
   ============================================================ */
.footer {
    background: var(--dark);
    color: #B8B8B8;
    padding: 70px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 40px;
}

.footer .brand-name {
    color: var(--white);
}

.footer-slogan {
    margin: 20px 0 22px;
    font-size: 14.5px;
    line-height: 1.9;
}

/* 社交图标按钮 */
.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid #444;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #B8B8B8;
    transition: all 0.25s ease;
}

.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.footer-col h3 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 20px;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    font-size: 14.5px;
    transition: color 0.2s ease;
}

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

.footer-contact li {
    font-size: 14.5px;
    line-height: 1.8;
}

/* 版权条 */
.footer-bottom {
    border-top: 1px solid #3D3D3D;
    margin-top: 50px;
    padding-top: 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 13.5px;
    color: #888;
}

/* ============================================================
   右下角悬浮工具：联系客服 + 回到顶部
   ============================================================ */
.float-tools {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 90;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.tool-btn {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tool-btn:hover {
    transform: translateY(-3px);
}

/* 回到顶部：白底橙图标，滚动后才显示 */
.tool-top {
    background: var(--white);
    color: var(--primary);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.2s ease;
}

.tool-top.show {
    opacity: 1;
    visibility: visible;
}

/* 联系客服：橙底白图标 */
.tool-service {
    background: var(--primary);
    color: var(--white);
}

.tool-text {
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

/* 客服弹出面板 */
.service-box {
    position: relative;
}

.service-panel {
    position: absolute;
    right: 0;
    bottom: 72px;
    width: 264px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    padding: 22px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.3s ease;
}

.service-panel.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.service-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--dark);
}

.service-tip {
    font-size: 13px;
    color: var(--muted);
    margin: 6px 0 14px;
}

.service-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 0;
    border-bottom: 1px dashed var(--border);
    font-size: 14px;
}

.service-label {
    color: var(--muted);
}

.service-row strong {
    color: var(--dark);
}

.service-chat-btn {
    display: block;
    text-align: center;
    background: var(--primary);
    color: var(--white);
    font-weight: 700;
    border-radius: 999px;
    padding: 11px 0;
    margin-top: 16px;
    transition: background 0.2s ease;
}

.service-chat-btn:hover {
    background: var(--primary-dark);
}

.service-note {
    text-align: center;
    font-size: 12.5px;
    color: var(--muted);
    margin-top: 10px;
}

/* ============================================================
   电脑端下载二维码弹窗
   ============================================================ */
.modal-open {
    overflow: hidden;
}

.download-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.download-modal.open {
    opacity: 1;
    visibility: visible;
}

.download-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(42, 42, 42, 0.62);
}

.download-modal-content {
    position: relative;
    width: min(100%, 360px);
    padding: 32px 28px 30px;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
    text-align: center;
    transform: translateY(12px) scale(0.96);
    transition: transform 0.25s ease;
}

.download-modal.open .download-modal-content {
    transform: translateY(0) scale(1);
}

.download-modal-close {
    position: absolute;
    top: 10px;
    right: 14px;
    width: 34px;
    height: 34px;
    color: var(--muted);
    font-size: 28px;
    line-height: 1;
}

.download-modal-close:hover {
    color: var(--dark);
}

.download-modal-content h2 {
    margin-bottom: 6px;
    color: var(--dark);
    font-size: 22px;
}

.download-modal-content p {
    margin-bottom: 20px;
    color: var(--muted);
    font-size: 14px;
}

.download-modal-content img {
    width: 240px;
    height: 240px;
    max-width: 100%;
    margin: 0 auto;
    border-radius: var(--radius-sm);
}

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

/* ----- 平板及以下（≤1024px） ----- */
@media (max-width: 1024px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .task-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 28px;
    }

    .case-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin: 0 auto;
    }

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

    .download-banner {
        padding: 48px 40px;
    }
}

/* ----- 手机（≤768px） ----- */
@media (max-width: 768px) {
    /* 移动端下拉菜单 */
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px 20px 18px;
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
        display: none;
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-menu a {
        padding: 13px 4px;
        border-bottom: 1px solid var(--border);
    }

    .nav-menu a:last-child {
        border-bottom: none;
    }

    .nav-download-btn {
        text-align: center;
        margin-top: 12px;
        padding: 12px !important;
    }

    /* 首屏改为上下堆叠 */
    .hero {
        padding: 120px 0 64px;
    }

    .hero-inner {
        flex-direction: column;
        text-align: center;
    }

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

    .hero-btns {
        justify-content: center;
    }

    .hero-reputation {
        justify-content: center;
    }

    .hero-show {
        flex: none;
        width: 100%;
    }

    /* 浮动卡片收进图片内侧，避免溢出屏幕 */
    .float-card-top {
        right: 2px;
        top: 6px;
    }

    .float-card-bottom {
        left: 2px;
        bottom: 6px;
    }

    .float-card {
        padding: 8px 12px;
    }

    .float-icon {
        width: 34px;
        height: 34px;
    }

    /* 统计两列 */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .section {
        padding: 60px 0;
    }

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

    /* 特色、步骤、任务全部单列 */
    .feature-grid,
    .task-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .task-cover {
        height: 210px;
    }

    /* 下载横幅堆叠 */
    .download-banner {
        flex-direction: column;
        text-align: center;
        padding: 44px 24px;
        gap: 28px;
    }

    .download-text > p {
        margin-left: auto;
        margin-right: auto;
    }

    .download-users {
        justify-content: center;
    }

    .download-show {
        flex: none;
        width: 100%;
    }

    /* 页脚单列 */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        justify-content: center;
        text-align: center;
    }

    /* 悬浮按钮略小，面板防溢出 */
    .float-tools {
        right: 14px;
        bottom: 14px;
    }

    .tool-btn {
        width: 52px;
        height: 52px;
    }

    .service-panel {
        position: fixed;
        right: 14px;
        bottom: 80px;
        width: calc(100vw - 28px);
        max-width: 280px;
    }
}
