:root {
  --brand: #2F6BFF;
  --brand-dark: #1F4FD1;
  --ink: #0F1B33;
  --ink-2: #4A5876;
  --ink-3: #8A96AE;
  --line: #E6EBF5;
  --bg: #FFFFFF;
  --bg-soft: #F5F8FF;
  --radius: 18px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* 顶栏 */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav-links { display: flex; gap: 26px; font-size: 15px; }
.nav-links a { color: var(--ink-2); }
.nav-links a:hover { color: var(--brand); text-decoration: none; }

/* 首屏 */
.hero { background: radial-gradient(1200px 500px at 85% -10%, #DCE6FF 0%, rgba(220,230,255,0) 60%), linear-gradient(180deg, #F7F9FF 0%, #FFFFFF 100%); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.eyebrow { display: inline-block; padding: 4px 12px; border-radius: 999px; background: #E8EFFF; color: var(--brand-dark); font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.hero h1 { font-size: 46px; line-height: 1.2; margin: 18px 0 16px; letter-spacing: -.01em; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero p.lead { font-size: 18px; color: var(--ink-2); margin: 0 0 30px; max-width: 520px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 12px; font-size: 16px; font-weight: 600; border: 1px solid transparent; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(47,107,255,.25); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn svg { width: 20px; height: 20px; }
.cta-note { font-size: 13px; color: var(--ink-3); margin-top: 12px; }

.phones { position: relative; height: 520px; }
.phone { position: absolute; width: 240px; border-radius: 34px; padding: 8px; background: #0F1B33; box-shadow: 0 30px 60px rgba(15,27,51,.22); }
.phone img { border-radius: 27px; }
.phone.front { right: 40px; top: 0; z-index: 2; }
.phone.back { right: 220px; top: 60px; transform: rotate(-6deg); opacity: .96; }

/* 区块 */
section { padding: 84px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: 32px; margin: 0 0 12px; }
.section-head p { color: var(--ink-2); margin: 0; font-size: 16px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 14px 34px rgba(15,27,51,.08); transform: translateY(-2px); }
.icon { width: 46px; height: 46px; border-radius: 12px; background: #EEF3FF; color: var(--brand); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.icon svg { width: 24px; height: 24px; }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--ink-2); font-size: 15px; }

.soft { background: var(--bg-soft); }
.safety { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.safety h2 { font-size: 32px; margin: 0 0 16px; }
.safety p { color: var(--ink-2); }
.checks { list-style: none; padding: 0; margin: 20px 0 0; }
.checks li { position: relative; padding-left: 30px; margin: 12px 0; color: var(--ink-2); }
.checks li::before { content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; }
.shield { background: linear-gradient(145deg, #2F6BFF 0%, #5B8CFF 100%); border-radius: 28px; padding: 40px; color: #fff; }
.shield .stat { font-size: 40px; font-weight: 700; line-height: 1.1; }
.shield .stat-label { opacity: .85; font-size: 14px; margin-bottom: 22px; }
.shield .stat:last-of-type { margin-top: 0; }

.contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact .card h3 { font-size: 16px; color: var(--ink-3); font-weight: 600; margin-bottom: 6px; }
.contact .card p { color: var(--ink); font-size: 16px; word-break: break-all; }

/* 页脚 */
footer { border-top: 1px solid var(--line); padding: 36px 0 44px; font-size: 14px; color: var(--ink-3); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
footer .links { display: flex; flex-wrap: wrap; gap: 18px; }
footer .links a { color: var(--ink-2); }

/* 文档页（协议、支持） */
.doc { max-width: 820px; margin: 0 auto; padding: 48px 20px 80px; }
.doc h1 { font-size: 30px; margin: 0 0 8px; }
.doc .meta { color: var(--ink-3); font-size: 14px; margin-bottom: 28px; }
.doc-body { color: var(--ink); font-size: 15px; overflow-wrap: anywhere; }
.doc-body img { height: auto; }
.doc-body table { max-width: 100%; display: block; overflow-x: auto; }
.doc-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.doc-tabs a { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); font-size: 14px; }
.doc-tabs a.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.doc-tabs a:hover { text-decoration: none; border-color: var(--brand); }
.loading { color: var(--ink-3); padding: 40px 0; text-align: center; }
.faq h2 { font-size: 20px; margin: 36px 0 10px; }
.faq p, .faq li { color: var(--ink-2); }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 48px; }
  .hero h1 { font-size: 34px; }
  .phones { height: 440px; max-width: 420px; margin: 0 auto; width: 100%; }
  .phone { width: 200px; }
  .phone.front { right: 10px; }
  .phone.back { right: 160px; }
  .features, .contact { grid-template-columns: 1fr; }
  .safety { grid-template-columns: 1fr; }
  .nav-links { gap: 16px; font-size: 14px; }
  .nav-links .hide-sm { display: none; }
  section { padding: 60px 0; }
}
@media (max-width: 420px) {
  .phone { width: 170px; }
  .phone.back { right: 130px; }
  .phones { height: 380px; }
}
