:root {
    --bg: #f6f8fc;
    --ink: #17203a;
    --muted: #66708c;
    --line: #e4e9f3;
    --brand: #4f7cff;
    --brand2: #7b5cff;
    --card: #ffffff;
}

* { 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;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

.announcement {
    background: linear-gradient(90deg, var(--brand), var(--brand2));
    color: #fff;
    text-align: center;
    padding: 10px 20px;
    font-size: 14px;
    letter-spacing: .2px;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6vw;
    background: rgba(246, 248, 252, .88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; }
.brand-mark { width: 34px; height: 34px; display: block; }
.brand-mark svg { width: 100%; height: 100%; display: block; }
.topbar nav { display: flex; gap: 30px; color: var(--muted); font-size: 15px; }
.topbar nav a:hover { color: var(--brand); }
.top-download {
    padding: 9px 20px;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 90px 6vw 100px;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 60px;
    align-items: center;
}
.hero-glow {
    position: absolute;
    width: 620px; height: 620px;
    right: -120px; top: -220px;
    background: radial-gradient(circle, rgba(79,124,255,.18), transparent 65%);
    pointer-events: none;
}
.hero-inner { position: relative; max-width: 620px; }
.eyebrow {
    margin: 0 0 14px;
    color: var(--brand);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
}
h1 { margin: 0; font-size: clamp(42px, 5.2vw, 68px); line-height: 1.12; letter-spacing: -2px; }
h1 span { background: linear-gradient(90deg, var(--brand), var(--brand2)); -webkit-background-clip: text; color: transparent; }
.lead { margin: 24px 0 32px; color: var(--muted); font-size: 18px; line-height: 1.8; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 13px 26px; border-radius: 12px; font-weight: 700; font-size: 15px;
    transition: transform .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand2)); color: #fff; box-shadow: 0 12px 28px rgba(79,124,255,.28); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-lg { padding: 17px 42px; font-size: 17px; border-radius: 14px; }
.hero-meta { display: flex; align-items: center; gap: 12px; margin-top: 30px; color: var(--muted); font-size: 13px; }
.hero-meta i { width: 4px; height: 4px; border-radius: 50%; background: #c5cddd; }

.hero-card { position: relative; min-height: 380px; display: flex; align-items: center; justify-content: center; }
.mock-window {
    width: 100%; max-width: 540px;
    background: #fff; border-radius: 20px;
    box-shadow: 0 30px 70px rgba(30,45,90,.16);
    border: 1px solid var(--line);
    overflow: hidden;
    transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
}
.mock-bar { height: 44px; background: #f0f3fa; display: flex; align-items: center; gap: 7px; padding: 0 16px; }
.mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: #d6dce9; }
.mock-bar b { margin-left: auto; font-size: 12px; color: #98a2ba; font-weight: 600; }
.mock-body { display: grid; grid-template-columns: 130px 1fr; height: 300px; }
.mock-side { border-right: 1px solid var(--line); padding: 20px 14px; }
.mock-avatar { width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, var(--brand), var(--brand2)); margin-bottom: 22px; }
.mock-line { height: 9px; border-radius: 5px; background: #e8ecf5; margin-bottom: 13px; }
.mock-line.w70 { width: 70%; } .mock-line.w50 { width: 50%; } .mock-line.w60 { width: 60%; }
.mock-main { padding: 22px; position: relative; }
.mock-title { width: 120px; height: 12px; border-radius: 6px; background: #dfe5f1; margin-bottom: 28px; }
.mock-bubble { max-width: 68%; height: 42px; border-radius: 12px; margin-bottom: 14px; }
.mock-bubble.left { background: #eef2fb; }
.mock-bubble.right { background: linear-gradient(135deg, var(--brand), var(--brand2)); margin-left: auto; }
.mock-bubble.short { width: 46%; }
.mock-input { position: absolute; left: 22px; right: 22px; bottom: 20px; height: 38px; border: 1px solid var(--line); border-radius: 10px; }
.float-tag {
    position: absolute; padding: 10px 16px; border-radius: 10px; background: #fff;
    box-shadow: 0 14px 34px rgba(30,45,90,.15); font-size: 13px; font-weight: 700;
}
.tag-one { top: 30px; right: 0; }
.tag-two { bottom: 40px; left: 0; }

.section { padding: 80px 6vw; max-width: 1180px; margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 { margin: 0 0 12px; font-size: 36px; letter-spacing: -1px; }
.section-head > p:last-child { color: var(--muted); margin: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 28px 24px; }
.feature:hover { box-shadow: 0 18px 40px rgba(30,45,90,.08); transform: translateY(-3px); transition: .2s; }
.feature-icon { width: 42px; height: 42px; border-radius: 12px; margin-bottom: 22px; }
.i1 { background: linear-gradient(135deg, #4f7cff, #7b5cff); }
.i2 { background: linear-gradient(135deg, #19b6a7, #37d3a0); }
.i3 { background: linear-gradient(135deg, #ff9f43, #ff6b6b); }
.i4 { background: linear-gradient(135deg, #8b7bff, #c86dff); }
.feature h3 { margin: 0 0 10px; font-size: 18px; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }

.version-card {
    display: grid; grid-template-columns: .8fr 1.2fr;
    background: #17203a; color: #fff; border-radius: 24px; overflow: hidden;
}
.version-left { padding: 44px; background: linear-gradient(135deg, #4f7cff, #7b5cff); }
.version-left h2 { margin: 0 0 8px; font-size: 42px; }
.version-tip { opacity: .85; margin-bottom: 28px; }
.version-right { padding: 44px; }
.version-right h4 { margin: 0 0 18px; font-size: 16px; }
#releaseNotes { margin: 0; white-space: pre-wrap; font: inherit; color: #c9d2e8; line-height: 1.9; font-size: 14px; }

.download-section { text-align: center; padding-top: 20px; }
.download-card {
    background: var(--card); border: 1px solid var(--line); border-radius: 24px;
    padding: 64px 24px;
}
.download-card h2 { margin: 0 0 14px; font-size: 38px; }
.download-card > p:not(.eyebrow):not(.download-note) { color: var(--muted); margin-bottom: 30px; }
.download-note { margin-top: 20px; color: #9aa3b8; font-size: 13px; }

.footer {
    display: flex; justify-content: space-between; padding: 30px 6vw;
    border-top: 1px solid var(--line); color: var(--muted); font-size: 13px;
}

@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; padding-top: 60px; }
    .hero-card { min-height: 300px; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .version-card { grid-template-columns: 1fr; }
    .topbar nav { display: none; }
}
@media (max-width: 560px) {
    .feature-grid { grid-template-columns: 1fr; }
    .mock-body { grid-template-columns: 84px 1fr; }
    .section { padding: 60px 20px; }
}
