/* 联网管家官网 · 原生安心蓝（与 App 一致） */
:root {
  --blue: #2F6FED; --blue-dark: #1F55C4; --blue-tint: #EEF3FE;
  --orange: #F28B30; --orange-strong: #B85A0E; --orange-text: #8A4A12; --orange-tint: #FFF4EA;
  --green: #2E9E5B; --green-tint: #E8F5EE;
  --red-text: #A8281E; --red-tint: #FDECEA;
  --text: #1F2329; --text-2: #4A5260; --text-3: #5B6270; --text-4: #6B7280;
  --bg: #FFFFFF; --bg-soft: #F5F6F8; --line: #ECEEF1; --line-2: #E3E5E9; --line-3: #D5D9E0;
  --radius: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--text); background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased; line-height: 1.5;
}
a { color: var(--blue-dark); text-decoration: none; }
a:hover { color: var(--blue); }
img { max-width: 100%; }
h1, h2, h3 { margin: 0; letter-spacing: -0.2px; }
p { margin: 0; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 860px; margin: 0 auto; padding: 0 24px; }
.soft { background: var(--bg-soft); }
.section { padding: 88px 0; }
.eyebrow { font-size: 14px; font-weight: 700; color: var(--blue); }
.center { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lead { font-size: 16px; line-height: 1.7; color: var(--text-3); max-width: 640px; }
.muted { color: var(--text-4); font-size: 13px; }

/* 顶栏 */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 17px; }
.brand img { width: 34px; height: 34px; }
.nav-links { display: flex; gap: 24px; font-size: 14.5px; flex-wrap: wrap; flex: 1; }
.nav-links a { color: var(--text-2); }
.nav-links a[aria-current="page"] { color: var(--text); font-weight: 700; }

/* 按钮 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; font-size: 16px; padding: 14px 26px; border-radius: 12px; border: 1px solid transparent; cursor: pointer; font-family: inherit; }
.btn-sm { font-size: 14px; padding: 9px 18px; border-radius: 999px; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: #E07A20; color: #fff; }
.btn-ghost { background: #fff; color: var(--text); border-color: var(--line-3); }
.btn-ghost:hover { color: var(--text); border-color: #B9BEC8; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* 首屏 */
.hero { padding: 80px 0 88px; }
.hero .wrap { display: flex; gap: 56px; align-items: center; flex-wrap: wrap; }
.hero-text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero h1 { font-size: 52px; line-height: 1.18; font-weight: 800; }
.hero .lead { font-size: 18px; }
.pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 14px; font-size: 13px; color: var(--text-2); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); display: inline-block; }
.hero-shot { flex: 1 1 480px; min-width: 0; }

/* 示意窗口 */
.window { background: #fff; border: 1px solid var(--line-2); border-radius: 16px; box-shadow: 0 24px 60px rgba(15,35,80,.12); overflow: hidden; }
.window-bar { height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.window-bar i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.window-bar span { flex: 1; text-align: center; font-size: 12px; font-weight: 600; color: var(--text-3); margin-right: 46px; }
.window-body { padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.app-row { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 10px; }
.app-row.sel { background: var(--blue-tint); }
.app-ic { width: 30px; height: 30px; border-radius: 8px; color: #fff; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.app-name { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; font-size: 13.5px; font-weight: 600; }
.tag { align-self: flex-start; font-size: 11px; font-weight: 600; padding: 1px 8px; border-radius: 999px; background: #F0F1F4; color: var(--text-2); }
.tag.warn { background: var(--orange-tint); color: var(--orange-text); }
.tag.danger { background: var(--red-tint); color: var(--red-text); }
.switch { width: 32px; height: 19px; border-radius: 10px; background: var(--blue); position: relative; flex-shrink: 0; }
.switch::after { content: ""; position: absolute; top: 2px; left: 15px; width: 15px; height: 15px; border-radius: 50%; background: #fff; }
.switch.off { background: #C9CDD4; }
.switch.off::after { left: 2px; }
.traffic { font-size: 12px; color: var(--text-3); width: 60px; text-align: right; }

/* 网格与卡片 */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.card.soft { background: var(--bg-soft); border: 0; }
.card h3 { font-size: 17px; font-weight: 800; }
.card p { font-size: 14px; line-height: 1.7; color: var(--text-2); }
.pillars { padding: 28px 0; border-bottom: 1px solid var(--line); }
.pillar { display: flex; align-items: center; gap: 12px; }
.pillar b { display: block; font-size: 15px; }
.pillar span { font-size: 13px; color: var(--text-3); }
.ic { width: 36px; height: 36px; border-radius: 10px; background: var(--blue-tint); color: var(--blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feature { background: var(--bg-soft); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.feature .ic { width: 48px; height: 48px; border-radius: 14px; color: #fff; }
.feature h3 { font-size: 22px; font-weight: 800; }
.feature p { font-size: 15px; line-height: 1.7; color: var(--text-2); }
.feature ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }

.split { display: flex; gap: 56px; align-items: center; flex-wrap: wrap; }
.split > * { flex: 1 1 420px; min-width: 0; }
.split h2, .section h2 { font-size: 36px; line-height: 1.25; font-weight: 800; }

/* 隐私区块 */
.privacy-band { background: var(--blue-dark); border-radius: 24px; padding: 56px; display: flex; gap: 48px; flex-wrap: wrap; color: #fff; }
.privacy-band > div { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.privacy-band p { color: #DCE6FB; line-height: 1.75; }
.privacy-band a { color: #fff; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.5); align-self: flex-start; }
.privacy-band .grid-2 { flex: 1 1 420px; gap: 16px; }
.privacy-band .card { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.18); color: #fff; }
.privacy-band .card p { color: #DCE6FB; }

/* 价格 */
.plans { display: flex; gap: 20px; flex-wrap: wrap; align-items: stretch; }
.plan-free { flex: 1 1 300px; }
.plan-pro { flex: 2 1 520px; border: 2px solid var(--blue); }
.price { font-size: 40px; font-weight: 800; }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.checks li::before { content: "✓"; color: var(--blue); font-weight: 700; margin-right: 10px; }
.plan-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.plan-option { display: flex; flex-direction: column; gap: 4px; border: 1px solid var(--line-2); border-radius: 14px; padding: 18px 16px; color: var(--text); background: #fff; text-align: left; font-family: inherit; cursor: pointer; }
.plan-option.featured, .plan-option[aria-checked="true"] { border: 2px solid var(--orange); background: #FFF8F1; }
.plan-option .name { font-size: 13px; font-weight: 700; color: var(--text-3); }
.plan-option.featured .name, .plan-option[aria-checked="true"] .name { color: var(--orange-strong); }
.plan-option .amount { font-size: 28px; font-weight: 800; }
.plan-option .unit { font-size: 13px; color: var(--text-3); font-weight: 400; }
.plan-option .note { font-size: 12px; color: var(--text-3); }

/* 问答 */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 4px; font-size: 16.5px; font-weight: 700; display: flex; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; color: var(--text-4); font-weight: 400; font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 4px 18px; font-size: 14.5px; line-height: 1.8; color: var(--text-2); }
.faq-group { border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; border-top: 0; }
.faq-group details summary { padding: 18px 20px; }
.faq-group details p { padding: 0 20px 18px; }

/* 文章 */
.doc { display: flex; gap: 48px; flex-wrap: wrap; align-items: flex-start; padding: 48px 0 72px; }
.doc-toc { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 4px; font-size: 14px; position: sticky; top: 90px; }
.doc-toc a { color: var(--text-2); padding: 7px 10px; border-radius: 8px; }
.doc-toc a:hover { background: var(--bg-soft); }
.doc article { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.doc h1 { font-size: 36px; font-weight: 800; }
.doc h2 { font-size: 21px; font-weight: 800; scroll-margin-top: 90px; }
.doc p { font-size: 15px; line-height: 1.85; color: #33393F; }
.doc ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; line-height: 1.8; color: #33393F; }
.note { background: var(--blue-tint); border-radius: 16px; padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.note b { color: var(--blue-dark); font-size: 16px; }

/* 页脚 */
.footer { border-top: 1px solid var(--line); }
.footer .wrap { padding-top: 28px; padding-bottom: 28px; display: flex; gap: 24px; flex-wrap: wrap; align-items: center; font-size: 13px; color: var(--text-3); }
.footer a { color: var(--text-3); }
.footer .spacer { flex: 1; }

/* 结账 */
.steps { display: flex; gap: 10px; flex-wrap: wrap; }
.step { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff; color: var(--text-4); font-size: 13.5px; font-weight: 600; }
.step i { width: 20px; height: 20px; border-radius: 50%; background: #C9CDD4; color: #fff; font-size: 12px; font-style: normal; display: flex; align-items: center; justify-content: center; }
.step.current { background: var(--blue-tint); color: var(--blue-dark); }
.step.current i { background: var(--blue); }
.step.done { color: #1E6B43; }
.step.done i { background: var(--green); }
.checkout { display: flex; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.checkout-main { flex: 999 1 560px; min-width: 0; background: #fff; border: 1px solid var(--line-2); border-radius: 18px; padding: 32px; display: flex; flex-direction: column; gap: 22px; }
.checkout-side { flex: 1 1 280px; min-width: 0; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; }
.input { font-size: 15px; padding: 12px 14px; border: 1px solid var(--line-3); border-radius: 10px; font-family: inherit; outline: none; }
.input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47,111,237,.15); }
.code-input { font-size: 24px; letter-spacing: 10px; text-align: center; font-weight: 700; max-width: 260px; }
.error { color: var(--red-text); font-size: 13.5px; }
.qr { width: 220px; height: 220px; border-radius: 16px; border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center; background: #fff; }
.hidden { display: none !important; }

@media (max-width: 760px) {
  .hero h1 { font-size: 38px; }
  .section { padding: 64px 0; }
  .grid-3, .grid-2, .plan-options { grid-template-columns: minmax(0, 1fr); }
  .privacy-band { padding: 32px 24px; }
  .split h2, .section h2 { font-size: 28px; }
}
