/* ============ 基础变量与重置 ============ */
:root {
    --primary: #0a6cff;
    --primary-dark: #0047b3;
    --primary-light: #e8f1ff;
    --accent: #00c2a8;
    --accent-dark: #00876f;
    --text-dark: #0e1b34;
    --text-body: #46506b;
    --text-light: #8a93a8;
    --bg-light: #f6f8fc;
    --bg-white: #ffffff;
    --border: #e6eaf2;
    --shadow-sm: 0 2px 8px rgba(14, 27, 52, .06);
    --shadow-md: 0 8px 24px rgba(14, 27, 52, .08);
    --shadow-lg: 0 18px 50px rgba(14, 27, 52, .12);
    --radius: 14px;
    --radius-lg: 22px;
    --max: 1200px;
    --gradient: linear-gradient(135deg, #0a6cff 0%, #00c2a8 100%);
}

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

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: var(--text-body);
    background: var(--bg-white);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

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

/* ============ 导航 ============ */
.header {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .85);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid transparent;
    transition: all .3s ease;
}
.header.scrolled {
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}
.nav-wrap {
    display: flex; align-items: center; justify-content: space-between;
    height: 68px;
}
.logo {
    display: flex; align-items: center; gap: 10px;
    font-weight: 700; font-size: 20px; color: var(--text-dark);
}
.logo-mark {
    width: 36px; height: 36px;
    background: var(--gradient);
    color: #fff; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; font-weight: 800;
    box-shadow: 0 4px 12px rgba(10, 108, 255, .35);
}
.nav {
    display: flex; align-items: center; gap: 8px;
}
.nav-link {
    padding: 8px 14px; border-radius: 8px;
    font-size: 15px; color: var(--text-body);
    transition: all .2s ease;
}
.nav-link:hover { color: var(--primary); background: var(--primary-light); }
.nav-cta {
    background: var(--gradient); color: #fff;
    padding: 10px 22px; margin-left: 8px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(10, 108, 255, .3);
}
.nav-cta:hover { color: #fff; opacity: .92; background: var(--gradient); }

.menu-toggle {
    display: none;
    flex-direction: column; gap: 5px;
    padding: 8px;
}
.menu-toggle span {
    display: block; width: 24px; height: 2px;
    background: var(--text-dark); border-radius: 2px;
    transition: all .3s ease;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ Hero ============ */
.hero {
    position: relative;
    padding: 120px 0 80px;
    background: linear-gradient(180deg, #f0f6ff 0%, #ffffff 100%);
    overflow: hidden;
}
.hero::before {
    content: ""; position: absolute; top: -200px; right: -200px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(10, 108, 255, .15), transparent 70%);
    border-radius: 50%;
}
.hero-inner {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: 1.1fr 1fr;
    gap: 60px; align-items: center;
}
.hero-tag {
    display: inline-block;
    padding: 6px 14px; margin-bottom: 18px;
    background: var(--primary-light); color: var(--primary);
    border-radius: 100px;
    font-size: 13px; font-weight: 500;
    letter-spacing: .3px;
}
.hero-title {
    font-size: 52px; line-height: 1.2;
    font-weight: 800; color: var(--text-dark);
    margin-bottom: 22px;
    letter-spacing: -1px;
}
.hero-title .accent {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-desc {
    font-size: 17px; margin-bottom: 32px;
    max-width: 540px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 32px; border-radius: 100px;
    font-size: 16px; font-weight: 600;
    transition: all .25s ease;
}
.btn-primary {
    background: var(--gradient); color: #fff;
    box-shadow: 0 8px 24px rgba(10, 108, 255, .35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(10, 108, 255, .45); }
.btn-ghost {
    background: #fff; color: var(--text-dark);
    border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }

.hero-stats {
    display: flex; gap: 36px; margin-top: 50px;
    padding-top: 30px; border-top: 1px solid var(--border);
}
.stat { display: flex; flex-direction: column; }
.stat strong { font-size: 24px; color: var(--text-dark); font-weight: 800; }
.stat span { font-size: 13px; color: var(--text-light); }

.hero-visual {
    position: relative; display: flex; justify-content: center;
}
.phone-frame {
    position: relative;
    width: 280px; height: 560px;
    background: #1a1a2e; border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-lg), 0 0 0 8px rgba(255, 255, 255, .5);
    animation: float 6s ease-in-out infinite;
}
.phone-notch {
    position: absolute; top: 18px; left: 50%;
    transform: translateX(-50%);
    width: 110px; height: 22px;
    background: #1a1a2e; border-radius: 0 0 14px 14px;
    z-index: 3;
}
.phone-screen {
    width: 100%; height: 100%;
    border-radius: 30px; overflow: hidden;
    background: #fff;
}
.phone-screen img { width: 100%; height: 100%; object-fit: cover; }

.hero-bubble {
    position: absolute;
    padding: 8px 16px;
    background: #fff;
    border-radius: 100px;
    box-shadow: var(--shadow-md);
    font-size: 14px; font-weight: 600; color: var(--text-dark);
    animation: float 5s ease-in-out infinite;
}
.bubble-1 { top: 80px; left: -20px; animation-delay: 0s; color: var(--primary); }
.bubble-2 { top: 240px; right: -30px; animation-delay: 1.5s; color: var(--accent); }
.bubble-3 { bottom: 100px; left: -10px; animation-delay: 3s; color: var(--primary-dark); }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.hero-wave {
    position: absolute; bottom: -1px; left: 0; right: 0;
    height: 80px;
    background: linear-gradient(180deg, transparent, #fff);
}

/* ============ 痛点 ============ */
.pain { padding: 80px 0; background: #fff; }
.pain-inner {
    display: flex; align-items: stretch; justify-content: center;
    gap: 20px;
}
.pain-card {
    flex: 1; padding: 36px 28px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--border);
    transition: all .3s ease;
}
.pain-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pain-solution {
    background: var(--gradient);
    color: #fff; border-color: transparent;
}
.pain-solution h3, .pain-solution p { color: #fff; }
.pain-icon { font-size: 40px; margin-bottom: 14px; }
.pain-card h3 {
    font-size: 19px; color: var(--text-dark);
    margin-bottom: 10px;
}
.pain-card p { font-size: 14px; }
.pain-arrow {
    display: flex; align-items: center;
    font-size: 28px; color: var(--text-light);
    font-weight: 300;
}
.pain-result { color: var(--accent); }

/* ============ 通用 section head ============ */
.section-head {
    text-align: center; max-width: 720px;
    margin: 0 auto 56px;
}
.section-tag {
    display: inline-block; margin-bottom: 14px;
    color: var(--primary); font-size: 13px;
    font-weight: 600; letter-spacing: 2px;
}
.section-title {
    font-size: 36px; font-weight: 800;
    color: var(--text-dark); margin-bottom: 14px;
    letter-spacing: -.5px;
}
.section-desc {
    font-size: 16px; color: var(--text-light);
}
.section-head-light .section-tag,
.section-head-light .section-title,
.section-head-light .section-desc { color: #fff; }
.section-head-light .section-desc { color: rgba(255, 255, 255, .85); }

/* ============ 功能 ============ */
.features { padding: 100px 0; background: var(--bg-light); }
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feature-card {
    padding: 36px 28px;
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: all .3s ease;
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: ""; position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: var(--gradient);
    transform: scaleX(0); transform-origin: left;
    transition: transform .35s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.feature-card:hover::before { transform: scaleX(1); }
.feature-emoji {
    font-size: 40px; margin-bottom: 18px;
    display: inline-block;
}
.feature-card h3 {
    font-size: 19px; color: var(--text-dark);
    margin-bottom: 10px; font-weight: 700;
}
.feature-card p { font-size: 14.5px; }

/* ============ 流程 ============ */
.flow {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a2540 0%, #0a3a6f 100%);
    color: #fff; position: relative; overflow: hidden;
}
.flow::before {
    content: ""; position: absolute;
    top: -100px; left: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(0, 194, 168, .15), transparent 70%);
    border-radius: 50%;
}
.flow-steps {
    display: flex; align-items: stretch; justify-content: center;
    gap: 16px; position: relative; z-index: 2;
}
.flow-step {
    flex: 1; max-width: 240px;
    padding: 32px 24px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    transition: all .3s ease;
}
.flow-step:hover {
    background: rgba(255, 255, 255, .12);
    transform: translateY(-4px);
}
.flow-num {
    font-size: 32px; font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 14px;
}
.flow-step h3 {
    font-size: 18px; color: #fff; margin-bottom: 10px;
}
.flow-step p { font-size: 14px; color: rgba(255, 255, 255, .75); }
.flow-line {
    align-self: center;
    width: 40px; height: 2px;
    background: linear-gradient(90deg, rgba(0, 194, 168, .6), rgba(10, 108, 255, .6));
}

/* ============ 关于 ============ */
.about { padding: 100px 0; background: #fff; }
.about-inner {
    display: grid; grid-template-columns: 1fr 1.1fr;
    gap: 60px; align-items: center;
}
.about-visual img {
    width: 100%; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.about-text .section-tag,
.about-text .section-title { text-align: left; }
.about-text .section-title { margin-bottom: 18px; }
.about-lead {
    font-size: 18px; color: var(--text-dark);
    margin-bottom: 18px; font-weight: 500;
}
.about-text p { margin-bottom: 16px; }
.about-text strong { color: var(--primary); }
.about-values {
    display: flex; flex-wrap: wrap; gap: 10px;
    margin-top: 26px;
}
.value-item {
    padding: 8px 18px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 100px;
    font-size: 14px; font-weight: 600;
}

/* ============ 下载 ============ */
.download {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a6cff 0%, #00c2a8 100%);
    color: #fff; position: relative; overflow: hidden;
}
.download::before {
    content: ""; position: absolute;
    bottom: -200px; right: -200px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, .1), transparent 70%);
    border-radius: 50%;
}
.download-inner {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: 1.2fr 1fr;
    gap: 50px; align-items: center;
}
.download-text .section-tag { color: rgba(255, 255, 255, .85); }
.download-text .section-title { color: #fff; }
.download-text .section-desc { color: rgba(255, 255, 255, .9); margin-bottom: 32px; }
.download-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.download-btn {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 14px 26px;
    background: #fff; color: var(--text-dark);
    border-radius: 14px;
    transition: all .25s ease;
}
.download-btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.dl-icon { color: var(--text-dark); display: flex; }
.apple .dl-icon { color: #000; }
.android .dl-icon { color: #0a9d4f; }
.dl-text { display: flex; flex-direction: column; line-height: 1.1; }
.dl-text small { font-size: 11px; color: var(--text-light); }
.dl-text strong { font-size: 17px; color: var(--text-dark); }
.download-tip {
    margin-top: 18px; font-size: 13px;
    color: rgba(255, 255, 255, .75);
}
.download-qr {
    display: flex; gap: 20px; justify-content: center;
}
.qr-card { text-align: center; }
.qr-img {
    width: 140px; height: 140px;
    background: #fff; border-radius: var(--radius);
    padding: 10px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 10px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}
.qr-img img { width: 100%; height: 100%; object-fit: contain; border-radius: 6px; }
.qr-placeholder {
    width: 100%; height: 100%;
    border: 2px dashed rgba(10, 108, 255, .3);
    border-radius: 8px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    color: var(--primary);
}
.qr-platform { font-weight: 700; font-size: 16px; }
.qr-hint { font-size: 11px; color: var(--text-light); margin-top: 4px; }
.qr-card p { color: #fff; font-size: 14px; }

/* ============ 页脚 ============ */
.footer { background: #0a1d3a; color: rgba(255, 255, 255, .7); padding: 60px 0 0; }
.footer-inner {
    display: grid; grid-template-columns: 1.5fr 2fr;
    gap: 40px; padding-bottom: 40px;
}
.footer-brand .logo { color: #fff; margin-bottom: 14px; }
.footer-brand p { font-size: 14px; }
.footer-cols {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
}
.footer-col h4 {
    color: #fff; font-size: 15px; margin-bottom: 16px; font-weight: 600;
}
.footer-col a, .footer-col span {
    display: block; font-size: 14px; color: rgba(255, 255, 255, .65);
    margin-bottom: 10px; transition: color .2s;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
    padding: 20px 0; text-align: center;
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: 13px;
}

/* ============ 回到顶部 ============ */
.back-top {
    position: fixed; bottom: 30px; right: 30px;
    width: 48px; height: 48px;
    background: var(--gradient); color: #fff;
    border-radius: 50%;
    font-size: 20px; font-weight: 700;
    box-shadow: var(--shadow-md);
    z-index: 50;
    opacity: 0; visibility: hidden;
    transition: all .3s ease;
}
.back-top.show { opacity: 1; visibility: visible; }
.back-top:hover { transform: translateY(-3px); }

/* ============ Toast ============ */
.toast {
    position: fixed; top: 88px; left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: rgba(10, 108, 255, .95);
    color: #fff; padding: 12px 24px;
    border-radius: 100px;
    font-size: 14px; font-weight: 500;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    opacity: 0; visibility: hidden;
    transition: all .3s ease;
}
.toast.show {
    opacity: 1; visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* ============ 滚动动画 ============ */
.reveal {
    opacity: 0; transform: translateY(30px);
    transition: opacity .8s ease, transform .8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============ 响应式 - 平板 ============ */
@media (max-width: 960px) {
    .hero { padding: 110px 0 60px; }
    .hero-inner { grid-template-columns: 1fr; gap: 50px; text-align: center; }
    .hero-text { order: 2; }
    .hero-visual { order: 1; }
    .hero-actions, .hero-stats { justify-content: center; }
    .hero-desc { margin-left: auto; margin-right: auto; }
    .hero-title { font-size: 42px; }
    .phone-frame { width: 240px; height: 480px; }

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

    .about-inner { grid-template-columns: 1fr; gap: 40px; }
    .about-visual { max-width: 480px; margin: 0 auto; }

    .download-inner { grid-template-columns: 1fr; text-align: center; }
    .download-text .section-tag,
    .download-text .section-title,
    .download-text .section-desc { text-align: center; }
    .download-btns { justify-content: center; }

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

    .pain-inner { flex-wrap: wrap; }
    .pain-arrow { display: none; }
    .pain-card { flex: 1 1 45%; }
}

/* ============ 响应式 - 手机 ============ */
@media (max-width: 640px) {
    .container { padding: 0 18px; }

    .nav {
        position: fixed; top: 68px; left: 0; right: 0;
        flex-direction: column; align-items: stretch;
        background: #fff; padding: 12px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
        transform: translateY(-120%);
        transition: transform .3s ease;
        gap: 4px;
    }
    .nav.open { transform: translateY(0); }
    .nav-link { padding: 12px 14px; }
    .nav-cta { margin: 8px 0 0; text-align: center; }
    .menu-toggle { display: flex; }

    .hero { padding: 100px 0 50px; }
    .hero-title { font-size: 32px; }
    .hero-desc { font-size: 15px; }
    .btn { padding: 12px 24px; font-size: 15px; }
    .hero-stats { gap: 20px; flex-wrap: wrap; }
    .stat strong { font-size: 20px; }
    .phone-frame { width: 220px; height: 440px; padding: 10px; }
    .bubble-1, .bubble-2, .bubble-3 { font-size: 12px; padding: 6px 12px; }

    .section-title { font-size: 28px; }
    .section-head { margin-bottom: 36px; }

    .pain-inner { gap: 14px; }
    .pain-card { flex: 1 1 100%; padding: 28px 20px; }
    .pain-icon { font-size: 34px; }

    .features, .flow, .about, .download { padding: 60px 0; }
    .feature-grid { grid-template-columns: 1fr; gap: 16px; }
    .feature-card { padding: 28px 22px; }

    .flow-steps { flex-direction: column; gap: 12px; }
    .flow-step { max-width: 100%; padding: 24px 20px; }
    .flow-line { width: 2px; height: 24px;
        background: linear-gradient(180deg, rgba(0, 194, 168, .6), rgba(10, 108, 255, .6));
    }

    .download-qr { gap: 14px; }
    .qr-img { width: 120px; height: 120px; }

    .footer-cols { grid-template-columns: 1fr 1fr; gap: 24px; }
    .back-top { width: 42px; height: 42px; bottom: 20px; right: 20px; font-size: 18px; }
}

/* ============ 响应式 - 小屏 ============ */
@media (max-width: 380px) {
    .hero-title { font-size: 28px; }
    .hero-stats { gap: 16px; }
    .stat strong { font-size: 18px; }
    .footer-cols { grid-template-columns: 1fr; }
}
