/* ============================================================
   PasswordBureau · 密码规划局 — 官网样式
   纯静态 · 响应式 · 浅色为主 / 深色 hero
   ============================================================ */

:root {
  /* 品牌色：取自 App 智能分类主色 */
  --pb-primary: #3B6EF6;        /* 蓝 */
  --pb-primary-dark: #185FA5;
  --pb-accent: #7F77DD;         /* 紫 */
  --pb-accent-2: #06B6D4;       /* 青 */
  --pb-warn: #F2A213;
  --pb-danger: #E24B4A;

  --ink-900: #0B1220;
  --ink-700: #2A3444;
  --ink-500: #4B5565;
  --ink-400: #6B7280;
  --ink-300: #9AA3B2;
  --line: #E6E9EF;
  --line-soft: #EEF1F5;

  --bg: #FFFFFF;
  --bg-soft: #F7F8FB;
  --bg-hero: #0B1220;

  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1160px;
  --shadow-sm: 0 1px 2px rgba(11,18,32,.06);
  --shadow-md: 0 10px 30px rgba(11,18,32,.08);
  --shadow-lg: 0 24px 60px rgba(11,18,32,.14);

  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--ink-700);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--pb-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 66px; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink-900); }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px; flex: 0 0 auto;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--pb-primary), var(--pb-accent));
  color: #fff; font-weight: 700; font-size: 17px;
}
.brand-name { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name b { font-size: 16px; }
.brand-name span { font-size: 11px; color: var(--ink-400); font-weight: 400; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  color: var(--ink-500); font-size: 15px; padding: 8px 13px; border-radius: 8px;
}
.nav-links a:hover { background: var(--bg-soft); text-decoration: none; color: var(--ink-900); }
.nav-links a.active { color: var(--pb-primary); font-weight: 500; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-burger { display: none; background: none; border: 1px solid var(--line);
  width: 40px; height: 40px; border-radius: 8px; cursor: pointer; }
.nav-burger svg { width: 20px; height: 20px; stroke: var(--ink-700); }

@media (max-width: 860px) {
  .nav-links {
    position: absolute; top: 66px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 10px 16px 14px;
    gap: 2px; display: none; box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 10px; border-radius: 8px; }
  .nav-cta .btn-ghost-dark, .nav-cta .btn-dark { display: none; }
  .nav-burger { display: inline-flex; align-items: center; justify-content: center; }
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 15px; line-height: 1;
  padding: 14px 22px; border-radius: 12px; cursor: pointer; border: 1px solid transparent;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--pb-primary); color: #fff; }
.btn-primary:hover { background: var(--pb-primary-dark); text-decoration: none; box-shadow: var(--shadow-md); }
.btn-light { background: #fff; color: var(--ink-900); }
.btn-light:hover { text-decoration: none; box-shadow: var(--shadow-md); }
.btn-dark { background: var(--ink-900); color: #fff; }
.btn-dark:hover { background: #1c2436; text-decoration: none; }
.btn-ghost-dark { background: transparent; color: var(--ink-700); border-color: var(--line); }
.btn-ghost-dark:hover { background: var(--bg-soft); text-decoration: none; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost-light:hover { border-color: #fff; text-decoration: none; }
.btn-lg { padding: 17px 30px; font-size: 16px; }
.btn-sm { padding: 9px 15px; font-size: 14px; }
.btn .ico { width: 18px; height: 18px; }

/* ---------- Hero (深色) ---------- */
.hero { background: var(--bg-hero); color: #fff; overflow: hidden; position: relative; }
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(0); opacity: .5;
}
.hero::before {
  width: 520px; height: 520px; right: -120px; top: -160px;
  background: radial-gradient(circle at 30% 30%, rgba(63,110,246,.5), transparent 65%);
}
.hero::after {
  width: 420px; height: 420px; left: -140px; bottom: -180px;
  background: radial-gradient(circle at 60% 40%, rgba(127,119,221,.4), transparent 65%);
}
.hero-inner { position: relative; padding: 88px 0 40px; display: grid;
  grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 {
  font-size: clamp(32px, 5vw, 52px); line-height: 1.15; font-weight: 700;
  letter-spacing: -.01em; color: #fff; margin-bottom: 20px;
}
.hero h1 .grad {
  background: linear-gradient(90deg,#7FB4FF,#A99FF0,#5FD9EA);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p.lead { font-size: 18px; color: #B9C2D4; max-width: 560px; margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; color: #8A94A8; font-size: 13.5px; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust svg { width: 16px; height: 16px; stroke: #5FD9EA; }

/* Hero 右侧 Mockup */
.hero-visual { position: relative; }
.mockup {
  background: linear-gradient(160deg,#16203A,#10182B);
  border: 1px solid rgba(255,255,255,.12); border-radius: 22px;
  padding: 22px; box-shadow: var(--shadow-lg);
}
.mockup-bar { display: flex; align-items: center; gap: 6px; margin-bottom: 18px; }
.mockup-bar i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.mockup-bar i:nth-child(1){ background:#FF5F57;} .mockup-bar i:nth-child(2){ background:#FEBC2E;}
.mockup-bar i:nth-child(3){ background:#28C840;}
.mockup-bar span { margin-left: 8px; font-size: 12px; color: #6B7690; }
.mockup-row { display: flex; justify-content: space-between; align-items: center;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px; padding: 13px 15px; margin-bottom: 11px; }
.mockup-row .site { display: flex; align-items: center; gap: 12px; }
.mockup-row .site .dot { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items:center; color:#fff; font-size:13px; font-weight:600; }
.mockup-row .site b { display:block; color:#E7ECF6; font-size:14px; font-weight:500;}
.mockup-row .site span { color:#7C86A0; font-size:12px; }
.mockup-row .score { display:flex; align-items:center; gap:8px; color:#5FD9EA; font-size:13px; font-weight:600;}
.mockup-float {
  position:absolute; right:-16px; bottom:-20px;
  background:#fff; color:var(--ink-900); border-radius:16px; padding:16px 18px;
  box-shadow: var(--shadow-lg); font-size:13px; display:flex; gap:12px; align-items:center;
}
.mockup-float .ring { width:46px;height:46px;border-radius:50%; display:grid;place-items:center;
  color:#0F6E56; font-weight:700; font-size:14px;
  background: radial-gradient(circle, #E1F5EE 58%, #1D9E75 60%); }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding-top: 56px; }
  .hero-visual { max-width: 480px; }
}

/* ---------- 通用区块 ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-soft); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head .eyebrow {
  display:inline-block; font-size:13px; font-weight:600; color: var(--pb-primary);
  background:#EDF2FE; padding:5px 12px; border-radius:999px; margin-bottom:16px;
  letter-spacing:.02em;
}
.section-head h2 { font-size: clamp(26px,3.6vw,38px); font-weight:700; color:var(--ink-900);
  letter-spacing:-.01em; margin-bottom:14px; line-height:1.2;}
.section-head p { color: var(--ink-400); font-size: 17px; }

/* ---------- 特性卡 ---------- */
.grid-3 { display:grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.grid-2 { display:grid; grid-template-columns: repeat(2,1fr); gap: 22px; }
.card {
  background:#fff; border:1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #DDE3EC; }
.card .ico { width: 46px; height: 46px; border-radius: 12px; display:grid; place-items:center;
  margin-bottom: 18px; }
.card .ico svg { width: 24px; height: 24px; stroke: #fff; }
.card h3 { font-size: 18px; font-weight: 600; color:var(--ink-900); margin-bottom: 9px; }
.card p { color: var(--ink-400); font-size: 15px; }
.ico-blue { background: linear-gradient(135deg,#3B6EF6,#6A8EF7); }
.ico-purple { background: linear-gradient(135deg,#7F77DD,#A99FF0); }
.ico-teal { background: linear-gradient(135deg,#06B6D4,#3DD6B0); }
.ico-amber { background: linear-gradient(135deg,#F2A213,#F5B944); }
.ico-red { background: linear-gradient(135deg,#E24B4A,#F0766F); }
.ico-slate { background: linear-gradient(135deg,#4B5565,#6B7A94); }

/* ---------- 步骤 ---------- */
.steps { display:grid; grid-template-columns: repeat(3,1fr); gap: 22px; counter-reset: step; }
.step { text-align:center; padding: 10px 8px; position: relative; }
.step-num { width:52px;height:52px;margin:0 auto 18px;border-radius:14px;
  background:#fff;border:1px solid var(--line);display:grid;place-items:center;
  font-weight:700;font-size:20px;color:var(--pb-primary); box-shadow: var(--shadow-sm);}
.step h3 { font-size:18px; color:var(--ink-900); margin-bottom:8px; font-weight:600;}
.step p { color:var(--ink-400); font-size:15px; max-width: 280px; margin: 0 auto;}

/* ---------- 价格 ---------- */
.pricing-cards { display:grid; grid-template-columns: repeat(2,minmax(0,400px));
  gap: 24px; justify-content:center; }
.plan {
  background:#fff; border:1px solid var(--line); border-radius: 20px; padding: 30px 28px;
  position: relative; display:flex; flex-direction:column;
}
.plan.featured {
  border:2px solid var(--pb-primary); box-shadow: var(--shadow-lg);
}
.plan-badge { position:absolute; top:-13px; left:50%; transform:translateX(-50%);
  background: linear-gradient(135deg,var(--pb-primary),var(--pb-accent));
  color:#fff; font-size:12.5px; font-weight:600; padding:5px 14px; border-radius:999px;}
.plan .p-name { font-size:17px; font-weight:600; color:var(--ink-900); margin-bottom:4px;}
.plan .p-desc { font-size:14px; color:var(--ink-400); margin-bottom:20px;}
.plan .p-price { display:flex; align-items:baseline; gap:6px; margin-bottom:6px;}
.plan .p-price .cur { font-size:20px; font-weight:600; color:var(--ink-700);}
.plan .p-price .amount { font-size:42px; font-weight:700; color:var(--ink-900); letter-spacing:-.02em;}
.plan .p-price .unit { font-size:15px; color:var(--ink-400);}
.plan .p-note { font-size:13px; color:var(--ink-400); margin-bottom: 8px; min-height: 20px;}
.plan .p-save { color: var(--pb-danger); font-weight:600; font-size:13px;}
.plan ul { margin: 20px 0 26px; }
.plan ul li { display:flex; gap:10px; align-items:flex-start; padding: 7px 0;
  color:var(--ink-500); font-size:15px;}
.plan ul svg { width:18px;height:18px;stroke:var(--pb-primary); flex:0 0 auto; margin-top:3px;}
.plan .btn { margin-top: auto; }
.price-foot { text-align:center; margin-top: 30px; font-size:14px; color:var(--ink-400);}
@media (max-width: 800px){ .pricing-cards{ grid-template-columns: 1fr; } }

/* ---------- 下载 / CTA ---------- */
.cta-band { background: linear-gradient(135deg,#0B1220,#16203A); color:#fff; text-align:center;
  padding: 76px 24px; position:relative; overflow:hidden;}
.cta-band h2 { font-size: clamp(26px,3.6vw,38px); font-weight:700; margin-bottom:16px; }
.cta-band p { color:#B9C2D4; font-size:17px; max-width:560px; margin:0 auto 32px;}
.cta-band .store-btns { display:flex; gap:14px; justify-content:center; flex-wrap:wrap;}
.store-btn { display:inline-flex; align-items:center; gap:12px; background:#000;
  border:1px solid rgba(255,255,255,.2); border-radius:14px; padding:11px 22px; color:#fff; }
.store-btn:hover { text-decoration:none; background:#0c0c0c; border-color:rgba(255,255,255,.4);}
.store-btn svg { width:26px;height:26px; fill:#fff;}
.store-btn .sb-t { display:block; font-size:11px; color:#A8AEB9; text-align:left; line-height:1;}
.store-btn .sb-b { display:block; font-size:16px; font-weight:600; margin-top:3px; line-height:1;}

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border:1px solid var(--line); border-radius: 14px; margin-bottom: 12px;
  background:#fff; overflow:hidden;}
.faq-q { width:100%; text-align:left; background:none; border:none; padding: 18px 20px;
  font-size:16px; font-weight:600; color:var(--ink-900); cursor:pointer;
  display:flex; justify-content:space-between; align-items:center; gap:14px;}
.faq-q .plus { font-size:22px; color:var(--ink-400); font-weight:400; line-height:1;
  transition: transform .2s ease;}
.faq-item.open .plus { transform: rotate(45deg); }
.faq-a { max-height:0; overflow:hidden; transition:max-height .25s ease;
  padding: 0 20px; color:var(--ink-500); font-size:15px;}
.faq-item.open .faq-a { max-height: 480px; padding-bottom: 18px; }
.faq-a a { font-weight:500; }

/* ---------- 页脚 ---------- */
.site-footer { background: #0B1220; color:#AEB6C5; padding: 60px 0 34px; }
.footer-grid { display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.footer-brand b{ color:#fff; font-size:16px; }
.footer-brand p { font-size:14px; margin-top:12px; max-width: 260px; color:#7E8798;}
.footer-col h4 { color:#E7ECF6; font-size:14px; margin-bottom:16px; font-weight:600;}
.footer-col a { display:block; color:#AEB6C5; font-size:14px; padding:5px 0;}
.footer-col a:hover { color:#fff; }
.footer-bottom { margin-top:44px; padding-top:22px; border-top:1px solid rgba(255,255,255,.1);
  display:flex; justify-content:space-between; align-items:center; font-size:13px; color:#7E8798;}
@media (max-width: 860px){ .footer-grid{ grid-template-columns: 1fr 1fr; } .footer-bottom{flex-direction:column;gap:10px;align-items:flex-start;} }

/* ---------- 内页通用 ---------- */
.page-hero { background: linear-gradient(160deg,#10182B,#0B1220); color:#fff;
  padding: 64px 0 54px; }
.page-hero .container { position:relative; z-index:1; }
.page-hero h1 { font-size: clamp(26px,4vw,40px); font-weight:700; margin-bottom:12px; }
.page-hero p { color:#B9C2D4; font-size:17px; max-width:640px; }
.breadcrumb { font-size:13px; color:#7E8798; margin-bottom:14px;}
.breadcrumb a { color:#AEB6C5; }
.breadcrumb a:hover { color:#fff; }

.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { font-size:24px; color:var(--ink-900); font-weight:700; margin:36px 0 14px;
  padding-top: 8px;}
.prose h3 { font-size:18px; color:var(--ink-900); font-weight:600; margin:24px 0 10px;}
.prose p { color:var(--ink-500); font-size:16px; margin-bottom: 14px;}
.prose ul { list-style: disc; padding-left: 22px; margin-bottom: 14px; }
.prose li { color:var(--ink-500); font-size:16px; margin-bottom:6px;}
.prose .updated { color:var(--ink-300); font-size:13px; }

/* ---------- 联系表单 ---------- */
.support-grid { display:grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items:start; }
.support-card { border:1px solid var(--line); border-radius:16px; padding:22px; margin-bottom:14px;
  display:flex; gap:16px; background:#fff;}
.support-card .ico { width:44px;height:44px;border-radius:11px;flex:0 0 auto;
  display:grid;place-items:center;}
.support-card .ico svg{ width:22px;height:22px;stroke:#fff;}
.support-card h4 { font-size:16px; color:var(--ink-900); margin-bottom:4px; font-weight:600;}
.support-card p { font-size:14px; color:var(--ink-400); margin-bottom:8px;}
.form-wrap { background:#fff; border:1px solid var(--line); border-radius:18px; padding:28px;
  box-shadow: var(--shadow-md); }
.form-row { margin-bottom:18px; }
.form-row label { display:block; font-size:14px; font-weight:600; color:var(--ink-700); margin-bottom:8px;}
.form-row input, .form-row select, .form-row textarea {
  width:100%; padding:13px 14px; border:1px solid var(--line); border-radius:10px;
  font-size:15px; font-family:inherit; color:var(--ink-700); background:#fff; transition:border .12s;}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline:none; border-color: var(--pb-primary); box-shadow:0 0 0 3px rgba(59,110,246,.12);}
.form-row textarea { min-height: 120px; resize:vertical; }
.form-note { font-size:13px; color:var(--ink-300); margin-top:10px; text-align:center;}
.field-tip { font-size:12.5px; color:var(--ink-300); margin-top:5px;}
@media (max-width: 860px){ .support-grid{ grid-template-columns:1fr;} }

/* ---------- 徽章标签 ---------- */
.tag { display:inline-block; font-size:12px; font-weight:600; padding:3px 9px;
  border-radius:6px; margin-left:8px; vertical-align:2px;}
.tag-pro { background:#EEEDFE; color:#534AB7; }
.tag-new { background:#E6F1FB; color:#185FA5; }
.tag-free { background:#EAF3DE; color:#3B6D11; }

/* 效果 & 其它 */
.mt-8{margin-top:8px}.mt-16{margin-top:16px}.mt-24{margin-top:24px}.mt-32{margin-top:32px}.mb-8{margin-bottom:8px}.mb-16{margin-bottom:16px}.mb-24{margin-bottom:24px}.mb-32{margin-bottom:32px}
.text-center{text-align:center}.text-muted{color:var(--ink-400)}
/* 滚动渐显：默认完全可见，确保无 JS / 截图 / 弱环境也能看到内容 */
.fade-up{opacity:1;transform:none;transition:opacity .5s ease,transform .5s ease}
.fade-up.in{opacity:1;transform:none}
@media (prefers-reduced-motion: reduce){
  .fade-up{transition:none}
}
