/* ===== 基础 ===== */
:root {
    --ink: #18181b;
    --ink-2: #495366;
    --ink-3: #818999;
    --ink-4: #a2abbd;
    --line: #e5e9ed;
    --bg: #ffffff;
    --bg-soft: #f7f9fc;
    --bg-tint: #f2f5fa;
    --brand: #405cff;
    --brand-2: #5c61ff;
    --brand-deep: #352eff;
    --radius: 20px;
    --radius-sm: 14px;
    --shadow-sm: 0 1px 2px rgba(24, 24, 27, .04), 0 4px 16px rgba(24, 24, 27, .04);
    --shadow-md: 0 12px 36px rgba(53, 46, 255, .10), 0 2px 8px rgba(24, 24, 27, .05);
    --shadow-lg: 0 30px 80px rgba(24, 24, 27, .14);
    --font: "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; letter-spacing: -.02em; line-height: 1.15; }
p { margin: 0; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.grain {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: .5;
    background-image: radial-gradient(rgba(24, 24, 27, .035) 1px, transparent 1px);
    background-size: 3px 3px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .55), transparent 60%);
}

/* ===== 按钮 ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 42px;
    padding: 0 20px;
    border-radius: 12px;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
}

.btn--lg { height: 52px; padding: 0 28px; font-size: 15px; border-radius: 14px; }

.btn--primary {
    color: #fff;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
    box-shadow: 0 10px 24px rgba(64, 92, 255, .28);
}

.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(64, 92, 255, .34); }

.btn--ghost {
    color: var(--ink-2);
    background: #fff;
    border-color: var(--line);
}

.btn--ghost:hover { border-color: #c9d2e3; color: var(--ink); transform: translateY(-1px); }

.btn--light { background: #fff; color: var(--brand-deep); box-shadow: 0 12px 30px rgba(10, 12, 60, .22); }
.btn--light:hover { transform: translateY(-1px); }

.btn--outline-light { color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn--outline-light:hover { background: rgba(255, 255, 255, .12); }

/* ===== 导航 ===== */
.nav {
    position: sticky;
    top: 0;
    z-index: 60;
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    background: rgba(255, 255, 255, .72);
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease, background-color .2s ease;
}

.nav.is-stuck { border-bottom-color: var(--line); background: rgba(255, 255, 255, .86); }

.nav__inner { display: flex; align-items: center; gap: 28px; height: 72px; }

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

.brand__mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(24, 24, 27, .14);
}

.brand__name { font-size: 17px; }
.brand__name em { font-style: normal; color: var(--brand); }

.nav__links { display: flex; gap: 6px; margin-left: 8px; }

.nav__links a {
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 14px;
    color: var(--ink-2);
    transition: background-color .16s ease, color .16s ease;
}

.nav__links a:hover { background: var(--bg-tint); color: var(--ink); }

.nav__actions { display: flex; gap: 10px; margin-left: auto; }

.nav__toggle { display: none; }

/* ===== Hero ===== */
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; }

.hero__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    z-index: 0;
}

.hero__glow--a {
    width: 620px;
    height: 620px;
    left: -180px;
    top: -260px;
    background: radial-gradient(circle, rgba(64, 92, 255, .22), transparent 68%);
}

.hero__glow--b {
    width: 560px;
    height: 560px;
    right: -140px;
    top: -120px;
    background: radial-gradient(circle, rgba(92, 97, 255, .18), transparent 70%);
}

.hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    gap: 56px;
    align-items: center;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 32px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(64, 92, 255, .08);
    color: var(--brand-deep);
    font-size: 13px;
    font-weight: 600;
}

.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 3px rgba(64, 92, 255, .16); }

.hero h1 {
    margin: 22px 0 20px;
    font-size: clamp(38px, 4.6vw, 62px);
    line-height: 1.08;
    letter-spacing: -.035em;
    background: linear-gradient(180deg, #101018 20%, #2b3044 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero__sub { max-width: 520px; color: var(--ink-2); font-size: 16.5px; line-height: 1.85; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero__stats {
    display: flex;
    gap: 34px;
    margin: 40px 0 0;
    padding-top: 26px;
    border-top: 1px solid var(--line);
}

.hero__stats div { display: flex; flex-direction: column; gap: 2px; }
.hero__stats dt { font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.hero__stats dd { margin: 0; font-size: 13px; color: var(--ink-3); }

/* ===== 应用窗口模拟 ===== */
.hero__visual { position: relative; }

.mock {
    position: relative;
    z-index: 1;
    border-radius: 22px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transform: perspective(1400px) rotateY(-4deg) rotateX(1.5deg);
    transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}

.hero__visual:hover .mock { transform: perspective(1400px) rotateY(0) rotateX(0); }

.mock__bar {
    display: flex;
    align-items: center;
    gap: 7px;
    height: 38px;
    padding: 0 14px;
    background: #fbfcfe;
    border-bottom: 1px solid var(--line);
}

.mock__dot { width: 10px; height: 10px; border-radius: 50%; }
.mock__dot--r { background: #ff5f57; }
.mock__dot--y { background: #febc2e; }
.mock__dot--g { background: #28c840; }
.mock__title { margin-left: 8px; font-size: 12px; color: var(--ink-3); }

.mock__body { display: grid; grid-template-columns: 52px 176px 1fr; height: 396px; }

/* 左侧图标栏 */
.mock__rail {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    background: #1f2230;
}

.rail__ava img { width: 30px; height: 30px; border-radius: 9px; display: block; }

.rail__item {
    width: 18px;
    height: 18px;
    border-radius: 6px;
    background: rgba(255, 255, 255, .22);
}

.rail__item.is-on { background: #07c160; box-shadow: 0 0 0 6px rgba(7, 193, 96, .18); }

/* 会话列表 */
.mock__list { background: #f6f7f9; border-right: 1px solid var(--line); overflow: hidden; }

.list__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 42px;
    padding: 0 12px;
    font-size: 12px;
    font-weight: 700;
    color: var(--ink);
}

.list__head span { font-weight: 400; color: var(--ink-4); font-size: 10px; }

.list__row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 10px;
    position: relative;
}

.list__row.is-on { background: #e9ebef; }

.list__txt { min-width: 0; flex: 1; }
.list__txt b { display: block; font-size: 11.5px; color: var(--ink); font-weight: 600; }
.list__txt i { display: block; font-style: normal; font-size: 10px; color: var(--ink-4); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.list__row em {
    position: absolute;
    right: 8px;
    top: 8px;
    min-width: 15px;
    height: 15px;
    padding: 0 4px;
    border-radius: 8px;
    background: #ff5438;
    color: #fff;
    font-style: normal;
    font-size: 9px;
    line-height: 15px;
    text-align: center;
}

.ava { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 9px; }
.ava--a { background: linear-gradient(135deg, #6d8bff, #405cff); }
.ava--b { background: linear-gradient(135deg, #ffb86b, #ff7a45); }
.ava--c { background: linear-gradient(135deg, #68d391, #22a06b); }
.ava--d { background: linear-gradient(135deg, #b794f4, #805ad5); }

/* 聊天区 */
.mock__chat { display: flex; flex-direction: column; background: #f2f4f7; min-width: 0; }

.chat__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 42px;
    padding: 0 14px;
    background: #fbfcfe;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
}

.chat__tools { display: flex; gap: 8px; }
.chat__tools i { width: 12px; height: 12px; border-radius: 4px; background: #dfe4ec; }

.chat__body {
    flex: 1;
    padding: 14px 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: hidden;
}

.msg { display: flex; gap: 7px; align-items: flex-start; }
.msg--out { justify-content: flex-end; }
.msg time { display: block; margin-top: 4px; font-size: 9px; color: var(--ink-4); }
.msg--out time { text-align: right; }

.bubble {
    max-width: 232px;
    padding: 8px 11px;
    border-radius: 10px;
    background: #fff;
    color: #2a2f3a;
    font-size: 11.5px;
    line-height: 1.6;
    box-shadow: 0 1px 2px rgba(24, 24, 27, .05);
}

.msg--out .bubble { background: #c9f0d5; }

.bubble--card { display: flex; flex-direction: column; gap: 3px; border: 1px solid #e7ebf1; }
.bubble--card b { font-size: 11.5px; }
.bubble--card small { color: var(--ink-4); font-size: 10px; }

.msg--call { justify-content: center; }
.msg--call span {
    font-size: 10px;
    color: var(--ink-3);
    background: rgba(0, 0, 0, .05);
    border-radius: 999px;
    padding: 3px 10px;
}

.chat__input {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 46px;
    margin: 0 10px 10px;
    padding: 0 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
}

.input__icons { display: flex; gap: 8px; }
.input__icons i { width: 13px; height: 13px; border-radius: 4px; background: #e2e7ef; }

.input__send {
    padding: 4px 12px;
    border-radius: 8px;
    background: #07c160;
    color: #fff;
    font-size: 10.5px;
}

/* 浮层卡片 */
.float {
    position: absolute;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .86);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
    animation: floaty 6s ease-in-out infinite;
}

.float b { font-size: 12px; }
.float span { font-size: 11px; color: var(--ink-3); }

.float--a { left: -56px; top: 108px; }
.float--b { right: -34px; bottom: 64px; animation-delay: -3s; }

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

/* ===== 通用 section ===== */
.section { position: relative; padding: 108px 0; scroll-margin-top: 80px; }

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

.sec-head { max-width: 720px; margin-bottom: 52px; }

.eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--brand);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .14em;
}

.sec-head h2 { font-size: clamp(28px, 3.1vw, 40px); letter-spacing: -.03em; }

.sec-head p { margin-top: 16px; color: var(--ink-2); font-size: 16px; }

/* ===== 卡片 ===== */
.cards { display: grid; gap: 22px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }

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

.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d6ddef; }

.card__ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 18px;
    border-radius: 14px;
    font-size: 20px;
}

.card__ico--blue { background: rgba(64, 92, 255, .10); }
.card__ico--violet { background: rgba(128, 90, 213, .10); }
.card__ico--green { background: rgba(34, 160, 107, .10); }

.card h3 { font-size: 19px; margin-bottom: 10px; }

.card > p { color: var(--ink-2); font-size: 14.5px; margin-bottom: 14px; }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }

.ticks li {
    position: relative;
    padding-left: 20px;
    color: var(--ink-2);
    font-size: 13.5px;
    line-height: 1.6;
}

.ticks li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(64, 92, 255, .18);
    box-shadow: inset 0 0 0 2px var(--brand);
}

.ticks--lg li { font-size: 14.5px; padding-left: 24px; margin-bottom: 12px; }
.ticks--lg li b { color: var(--ink); font-weight: 600; }

/* ===== mini 卡片网格 ===== */
.grid { display: grid; gap: 18px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

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

.mini:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }

.mini h3 { display: flex; align-items: center; gap: 10px; font-size: 16px; margin-bottom: 8px; }
.mini h3 span { font-size: 17px; }
.mini p { color: var(--ink-2); font-size: 13.5px; line-height: 1.7; }

/* ===== 安全 ===== */
.security { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }

.security__copy h2 { font-size: clamp(28px, 3.1vw, 38px); letter-spacing: -.03em; margin-bottom: 18px; }
.security__copy > p { color: var(--ink-2); font-size: 15.5px; margin-bottom: 26px; max-width: 520px; }

.security__panel {
    padding: 10px 24px 20px;
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.panel__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
}

.panel__row span { color: var(--ink-3); }
.panel__row b { font-weight: 600; color: var(--ink); }

.panel__note {
    margin-top: 18px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(64, 92, 255, .06);
    color: var(--brand-deep);
    font-size: 12.5px;
    font-weight: 600;
    text-align: center;
    letter-spacing: .02em;
}

/* ===== 下载 ===== */
.download { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.dl-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px;
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease;
}

.dl-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.dl-card__os {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: rgba(64, 92, 255, .10);
    color: var(--brand-deep);
    font-size: 22px;
    flex: 0 0 auto;
}

.dl-card__body { flex: 1; min-width: 0; }
.dl-card__body h3 { font-size: 17px; margin-bottom: 4px; }
.dl-card__body p { color: var(--ink-3); font-size: 13px; }

.dl-card__note { margin-top: 2px; color: var(--ink-4) !important; font-size: 12px !important; }

.download__hint { margin-top: 18px; color: var(--ink-4); font-size: 12.5px; }

/* ===== 底部 CTA ===== */
.cta {
    position: relative;
    padding: 96px 0;
    overflow: hidden;
    background: linear-gradient(135deg, #3b4dff 0%, #352eff 60%, #2b22e0 100%);
    color: #fff;
}

.cta__glow {
    position: absolute;
    width: 720px;
    height: 720px;
    right: -220px;
    top: -320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, .22), transparent 65%);
    filter: blur(40px);
}

.cta__inner { position: relative; z-index: 1; text-align: center; }

.cta h2 { font-size: clamp(28px, 3.4vw, 42px); letter-spacing: -.03em; }
.cta p { margin-top: 14px; color: rgba(255, 255, 255, .78); font-size: 16px; }

.cta__btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* ===== 页脚 ===== */
.footer { padding: 40px 0; background: #fff; border-top: 1px solid var(--line); }

.footer__inner { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }

.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer__brand img { width: 36px; height: 36px; border-radius: 10px; }
.footer__brand b { display: block; font-size: 14px; }
.footer__brand span { display: block; color: var(--ink-3); font-size: 12px; }

.footer__links { display: flex; gap: 22px; margin-left: auto; }
.footer__links a { color: var(--ink-3); font-size: 13px; }
.footer__links a:hover { color: var(--ink); }

.footer__meta { display: flex; gap: 16px; color: var(--ink-4); font-size: 12px; }

/* ===== 动效 ===== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ===== 响应式 ===== */
@media (max-width: 1080px) {
    .hero__inner { grid-template-columns: 1fr; gap: 48px; }
    .hero__visual { max-width: 640px; }
    .mock { transform: none; }
    .security { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 900px) {
    .cards--3, .grid--3 { grid-template-columns: 1fr 1fr; }
    .download { grid-template-columns: 1fr; }
    .nav__links { display: none; }
    .nav__toggle {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 40px;
        height: 40px;
        margin-left: auto;
        border: 1px solid var(--line);
        border-radius: 10px;
        background: #fff;
        cursor: pointer;
    }
    .nav__toggle span { display: block; width: 16px; height: 1.6px; margin: 0 auto; background: var(--ink-2); }
    .nav__actions { display: none; }
    .nav.is-open .nav__links {
        display: flex;
        position: absolute;
        left: 16px;
        right: 16px;
        top: 72px;
        flex-direction: column;
        padding: 12px;
        border-radius: 16px;
        background: #fff;
        border: 1px solid var(--line);
        box-shadow: var(--shadow-md);
    }
}

@media (max-width: 640px) {
    .section { padding: 76px 0; }
    .cards--3, .grid--3 { grid-template-columns: 1fr; }
    .hero { padding-top: 44px; }
    .hero__stats { gap: 22px; }
    .hero__stats dt { font-size: 20px; }
    .mock__body { grid-template-columns: 46px 1fr; height: 340px; }
    .mock__list { display: none; }
    .float--a { left: 8px; }
    .float--b { right: 8px; }
    .footer__links { margin-left: 0; }
}

.ico-svg { display: block; }
.mini h3 span { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 9px; background: rgba(64,92,255,.08); color: var(--brand-deep); flex: 0 0 auto; }
