/* 抖去查官网首页 */

:root {
    --brand: #5b4cf0;
    --brand-dark: #4338ca;
    --brand-soft: #eeebff;
    --ink: #12142a;
    --ink-2: #3d4258;
    --muted: #6b7280;
    --line: #e7e8f2;
    --bg: #ffffff;
    --bg-soft: #f7f8fd;
    --radius: 16px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 15px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

.wrap {
    width: min(1160px, calc(100% - 48px));
    margin: 0 auto;
}

.mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ---------------------------------------------------------------- 按钮 */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 10px 18px;
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
    white-space: nowrap;
}

.btn-sm {
    padding: 7px 14px;
    font-size: 13.5px;
}

.btn-lg {
    padding: 14px 26px;
    font-size: 15.5px;
    border-radius: 12px;
}

.btn-primary {
    background: linear-gradient(135deg, #6c5cff, var(--brand-dark));
    color: #fff;
    box-shadow: 0 10px 24px -12px rgba(79, 70, 229, .85);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 30px -14px rgba(79, 70, 229, .9);
}

.btn-outline {
    background: #fff;
    border-color: #d9dcec;
    color: var(--ink);
}

.btn-outline:hover {
    border-color: var(--brand);
    color: var(--brand);
}

.btn-ghost {
    color: var(--ink-2);
}

.btn-ghost:hover {
    color: var(--brand);
}

/* ---------------------------------------------------------------- 导航 */

.nav {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: saturate(160%) blur(12px);
    background: rgba(255, 255, 255, .82);
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.nav.scrolled {
    border-bottom-color: var(--line);
    box-shadow: 0 8px 24px -20px rgba(16, 24, 40, .5);
}

.nav-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    height: 68px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    letter-spacing: .2px;
}

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: linear-gradient(135deg, #8b6cff, var(--brand-dark));
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    box-shadow: 0 6px 14px -8px rgba(79, 70, 229, .9);
}

.brand-name {
    font-size: 17px;
}

.nav-links {
    display: flex;
    gap: 24px;
    margin-left: 8px;
    font-size: 14px;
    color: var(--ink-2);
}

.nav-links a:hover {
    color: var(--brand);
}

.nav-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ---------------------------------------------------------------- 首屏 */

.hero {
    position: relative;
    overflow: hidden;
    padding: 76px 0 64px;
    background:
        radial-gradient(900px 520px at 12% -10%, #ece9ff 0%, rgba(236, 233, 255, 0) 62%),
        radial-gradient(760px 460px at 92% 8%, #e6f0ff 0%, rgba(230, 240, 255, 0) 60%),
        linear-gradient(180deg, #fbfbff 0%, #ffffff 78%);
}

.hero-glow {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(88, 80, 200, .05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(88, 80, 200, .05) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(720px 460px at 50% 0%, #000 0%, transparent 78%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 56px;
    align-items: center;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 14px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--ink-2);
    font-size: 12.8px;
    box-shadow: 0 8px 20px -18px rgba(16, 24, 40, .5);
}

.pill-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, .14);
}

h1 {
    margin: 22px 0 18px;
    font-size: clamp(32px, 4.1vw, 52px);
    line-height: 1.18;
    letter-spacing: -.6px;
    font-weight: 800;
}

.grad {
    background: linear-gradient(100deg, #6c5cff 10%, #a855f7 55%, #4f46e5 95%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lead {
    margin: 0;
    max-width: 540px;
    color: var(--ink-2);
    font-size: 16px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
    color: var(--muted);
    font-size: 13.5px;
}

.hero-points li {
    position: relative;
    padding-left: 18px;
}

.hero-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand);
    opacity: .55;
}

/* ---------------------------------------------------------------- 界面示意 */

.hero-visual {
    position: relative;
}

.mock {
    border-radius: 18px;
    background: #fff;
    border: 1px solid #e6e7f3;
    box-shadow: 0 40px 80px -50px rgba(31, 27, 90, .55), 0 2px 6px rgba(16, 24, 40, .04);
    overflow: hidden;
    transform: perspective(1200px) rotateY(-4deg) rotateX(1.5deg);
    transform-origin: right center;
}

.mock-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 11px 14px;
    background: #f7f7fc;
    border-bottom: 1px solid #eef0f8;
}

.mock-bar > span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #dcdff0;
}

.mock-url {
    margin-left: 10px;
    flex: 1;
    height: 22px;
    border-radius: 6px;
    background: #fff;
    border: 1px solid #e9ebf5;
    color: #9aa0b5;
    font-size: 10.5px;
    display: flex;
    align-items: center;
    padding-left: 10px;
}

.mock-body {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    min-height: 300px;
}

.mock-side {
    background: #16172b;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.mock-brand {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: linear-gradient(135deg, #8b6cff, var(--brand-dark));
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    display: grid;
    place-items: center;
}

.mock-side i {
    width: 30px;
    height: 7px;
    border-radius: 4px;
    background: rgba(255, 255, 255, .16);
}

.mock-side i.on {
    background: rgba(255, 255, 255, .55);
}

.mock-main {
    padding: 18px 18px 20px;
    background: #fbfbfe;
}

.mock-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.mock-stats > div {
    background: #fff;
    border: 1px solid #eceef8;
    border-radius: 10px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
}

.mock-stats b {
    font-size: 15px;
    letter-spacing: -.3px;
}

.mock-stats span {
    color: #9aa0b5;
    font-size: 10.5px;
}

.mock-row {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) 64px;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 9px;
}

.mock-row + .mock-row {
    border-top: 1px solid #f1f2fa;
    border-radius: 0;
}

.mock-row.head {
    color: #9aa0b5;
    font-size: 10.5px;
    padding-top: 0;
    border: none;
}

.mock-row .rank {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    background: #eeebff;
    color: var(--brand);
    font-size: 10.5px;
    font-weight: 700;
    display: grid;
    place-items: center;
}

.mock-row .cell {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.mock-row .thumb {
    width: 22px;
    height: 28px;
    border-radius: 5px;
    background: linear-gradient(160deg, #d9d4ff, #b9b0ff);
    flex: 0 0 auto;
}

.mock-row em {
    height: 7px;
    width: 70%;
    border-radius: 4px;
    background: #e8eaf6;
}

.mock-row .num {
    height: 7px;
    border-radius: 4px;
    background: #dfe2f4;
}

.mock-row .num.short {
    width: 60%;
    justify-self: end;
}

.float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #eceef8;
    box-shadow: 0 18px 34px -26px rgba(31, 27, 90, .7);
    font-size: 12.5px;
    color: var(--ink-2);
    white-space: nowrap;
}

.float-a {
    left: -18px;
    bottom: 34px;
}

.float-b {
    right: -10px;
    top: 22px;
}

.float-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, .16);
}

.float-dot.alt {
    background: var(--brand);
    box-shadow: 0 0 0 4px rgba(91, 76, 240, .16);
}

/* ---------------------------------------------------------------- 数据条 */

.stats {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #fff;
}

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

.stat {
    text-align: center;
}

.stat b {
    display: block;
    font-size: 26px;
    letter-spacing: -.6px;
    background: linear-gradient(120deg, #4f46e5, #9333ea);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

/* ---------------------------------------------------------------- 通用区块 */

.section {
    padding: 84px 0;
}

.section-tint {
    background: var(--bg-soft);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section-head {
    max-width: 640px;
    margin-bottom: 42px;
}

.eyebrow {
    display: inline-block;
    color: var(--brand);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.section-head h2 {
    margin: 10px 0 12px;
    font-size: clamp(24px, 2.6vw, 34px);
    line-height: 1.3;
    letter-spacing: -.4px;
}

.section-head p {
    margin: 0;
    color: var(--muted);
}

/* ---------------------------------------------------------------- 功能卡片 */

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px 22px;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.card:hover {
    transform: translateY(-3px);
    border-color: #d9d4ff;
    box-shadow: 0 24px 48px -38px rgba(46, 38, 120, .8);
}

.card-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: var(--brand-soft);
    color: var(--brand);
    font-size: 17px;
    margin-bottom: 14px;
}

.card h3 {
    margin: 0 0 8px;
    font-size: 16.5px;
}

.card p {
    margin: 0;
    color: var(--muted);
    font-size: 13.8px;
}

/* ---------------------------------------------------------------- 流程 */

.flow {
    display: grid;
    grid-template-columns: 1fr 40px 1fr 40px 1fr;
    align-items: start;
    gap: 8px;
}

.step {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px 22px;
    height: 100%;
}

.step-no {
    font-size: 12.5px;
    font-weight: 800;
    color: var(--brand);
    letter-spacing: 1px;
}

.step h3 {
    margin: 6px 0 8px;
    font-size: 17px;
}

.step p {
    margin: 0;
    color: var(--muted);
    font-size: 13.8px;
}

.step-arrow {
    text-align: center;
    color: #c5c9e0;
    font-size: 20px;
    padding-top: 44px;
}

/* ---------------------------------------------------------------- 下载 */

.download-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: 56px;
    align-items: center;
}

.download-copy h2 {
    margin: 10px 0 12px;
    font-size: clamp(24px, 2.6vw, 32px);
    letter-spacing: -.4px;
}

.download-copy > p {
    margin: 0;
    color: var(--ink-2);
    max-width: 560px;
}

.download-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.download-meta span {
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    color: var(--ink-2);
    font-size: 12.5px;
}

.fineprint {
    margin-top: 18px;
    color: var(--muted);
    font-size: 12.8px;
}

.download-side {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px 22px;
    box-shadow: 0 30px 60px -50px rgba(31, 27, 90, .7);
}

.os-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 16px;
    border-bottom: 1px dashed var(--line);
}

.os-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--brand-soft);
    color: var(--brand);
    font-size: 19px;
}

.os-card strong {
    display: block;
    font-size: 15px;
}

.os-card span {
    color: var(--muted);
    font-size: 12.8px;
}

.check-list {
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 24px;
    color: var(--ink-2);
    font-size: 13.5px;
    margin-bottom: 10px;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 1px;
    color: var(--brand);
    font-weight: 700;
}

/* ---------------------------------------------------------------- 页脚 */

.footer {
    border-top: 1px solid var(--line);
    background: #0f1020;
    color: #fff;
    padding: 40px 0 26px;
}

.footer-inner {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.footer .brand-mark {
    box-shadow: none;
}

.footer .muted {
    color: rgba(255, 255, 255, .55);
    margin: 0;
    font-size: 13px;
}

.footer-links {
    margin-left: auto;
    display: flex;
    gap: 20px;
    font-size: 13px;
}

.footer-links a {
    color: rgba(255, 255, 255, .68);
}

.footer-links a:hover {
    color: #fff;
}

.copyright {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .42);
    font-size: 12.5px;
}

/* ---------------------------------------------------------------- 响应式 */

@media (max-width: 980px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .mock {
        transform: none;
    }

    .float-a {
        left: 10px;
    }

    .float-b {
        right: 10px;
    }

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

    .flow {
        grid-template-columns: 1fr;
    }

    .step-arrow {
        padding: 0;
        transform: rotate(90deg);
    }

    .download-wrap {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }
}

@media (max-width: 620px) {
    .hero {
        padding: 48px 0 40px;
    }

    /* 手机宽度下隐藏界面示意图，避免挤爆首屏 */
    .hero-visual {
        display: none;
    }

    .nav-actions .btn-ghost {
        display: none;
    }

    h1 {
        font-size: 30px;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px 6px;
    }

    .section {
        padding: 56px 0;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-links {
        margin-left: 0;
    }
}
