/* ==========================================================================
   官网门户首页专用样式（依赖 app.css 的主题变量）
   ========================================================================== */
.p-nav { position: sticky; top: 0; z-index: 60; background: var(--topbar); -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid var(--line); }
.p-nav-in { display: flex; align-items: center; gap: 22px; height: 66px; }
.p-nav .links { display: flex; gap: 4px; }
.p-nav .links a { padding: 8px 13px; border-radius: 9px; font-size: 13.5px; font-weight: 550; color: var(--sub); }
.p-nav .links a:hover { background: var(--soft); color: var(--ink); }
.p-nav .acts { margin-left: auto; display: flex; align-items: center; gap: 9px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 62px 0 30px; }
.hero::before {
  content: ""; position: absolute; inset: -30% -10% auto -10%; height: 620px; pointer-events: none;
  background:
    radial-gradient(560px 300px at 18% 22%, color-mix(in srgb, var(--pri) 16%, transparent), transparent 70%),
    radial-gradient(480px 260px at 82% 8%, color-mix(in srgb, var(--pri) 10%, transparent), transparent 70%);
  filter: blur(6px);
}
.hero-in { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 13px 5px 9px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; color: var(--sub);
  box-shadow: var(--shadow-s); margin-bottom: 20px;
}
.pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px var(--ok-bg); display: block; }
.hero h1 { font-size: 46px; line-height: 1.16; letter-spacing: -.035em; margin-bottom: 16px; }
.hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero .lead { font-size: 15px; line-height: 1.85; color: var(--sub); max-width: 520px; margin-bottom: 26px; }
.hero .lead b { color: var(--ink); font-weight: 650; }
.hero-btns { display: flex; gap: 11px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-meta { display: flex; align-items: center; gap: 0; flex-wrap: wrap; font-size: 12.5px; color: var(--sub); }
.hero-meta span { padding: 0 15px; border-right: 1px solid var(--line); }
.hero-meta span:first-child { padding-left: 0; }
.hero-meta span:last-child { border-right: 0; }
.hero-meta b { color: var(--ink); font-size: 15px; font-weight: 700; margin-right: 4px; letter-spacing: -.02em; }

/* Hero 价格卡 */
.hero-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 22px 22px 18px;
  box-shadow: var(--shadow-l); position: relative;
}
.hero-card::after {
  content: ""; position: absolute; inset: -1px; border-radius: 22px; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, color-mix(in srgb, var(--pri) 45%, transparent), transparent 42%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.hc-h { display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 650; color: var(--ink); margin-bottom: 12px; }
.hc-h span { font-size: 11.5px; color: var(--ok); font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }
.hc-h span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); display: block; }
.hc-row { display: flex; align-items: center; justify-content: space-between; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; }
.hc-row:last-of-type { border-bottom: 0; }
.hc-name { color: var(--text); font-weight: 550; }
.hc-price { font-weight: 700; color: var(--ink); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.hc-price small { font-size: 11px; color: var(--faint); font-weight: 500; margin-left: 2px; }
.hc-foot { text-align: center; font-size: 11.5px; color: var(--faint); margin-top: 10px; }

/* 区块 */
.sec { padding: 54px 0; }
.sec-h { margin-bottom: 26px; }
.sec-h h2 { font-size: 27px; letter-spacing: -.03em; margin-bottom: 7px; }
.sec-h p { font-size: 13.5px; color: var(--sub); margin: 0; }
.sec-h .kick { font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--pri); text-transform: uppercase; margin-bottom: 8px; display: block; }

/* 价格卡 */
.grid-p { display: grid; grid-template-columns: repeat(auto-fill, minmax(238px, 1fr)); gap: 14px; }
.pcard {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 18px 16px;
  display: flex; flex-direction: column; transition: .18s; box-shadow: var(--shadow-s);
}
.pcard:hover { border-color: var(--pri-line); transform: translateY(-2px); box-shadow: var(--shadow); }
.pc-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.pc-top b { font-size: 14.5px; color: var(--ink); font-weight: 650; }
.pc-price { font-size: 26px; font-weight: 700; letter-spacing: -.035em; color: var(--ink); line-height: 1.2; }
.pc-price small { font-size: 12px; color: var(--faint); font-weight: 500; letter-spacing: 0; }
.pc-sub { font-size: 12px; color: var(--ok); font-weight: 600; margin: 5px 0 2px; }
.pc-note { font-size: 12px; color: var(--faint); min-height: 20px; margin-bottom: 14px; }
.pcard .btn { margin-top: auto; }

/* 分站方案 */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; box-shadow: var(--shadow-s); }
.plan-hot { border-color: transparent; box-shadow: 0 0 0 1.5px var(--pri), var(--shadow); }
.pl-badge { position: absolute; right: 18px; top: 18px; padding: 2px 9px; border-radius: 999px; background: var(--pri-l); color: var(--pri-d); font-size: 11px; font-weight: 700; }
.pl-name { font-size: 14px; font-weight: 650; color: var(--sub); margin-bottom: 10px; }
.pl-price { font-size: 32px; font-weight: 700; letter-spacing: -.04em; color: var(--ink); line-height: 1.1; margin-bottom: 18px; }
.pl-price small { font-size: 12.5px; color: var(--faint); font-weight: 500; letter-spacing: 0; }
.plan ul { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.plan li { font-size: 13px; color: var(--text); padding-left: 22px; position: relative; line-height: 1.55; }
.plan li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 13px; height: 13px; border-radius: 50%;
  background: var(--ok-bg); box-shadow: inset 0 0 0 1.5px var(--ok);
}
.plan li::after { content: ""; position: absolute; left: 4px; top: 9.5px; width: 5px; height: 2.5px; border-left: 1.5px solid var(--ok); border-bottom: 1.5px solid var(--ok); transform: rotate(-45deg); }
.plan .btn { margin-top: auto; }

/* 流程 */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px; position: relative; box-shadow: var(--shadow-s); }
.step .sn { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: var(--pri-l); color: var(--pri-d); font-size: 13px; font-weight: 700; margin-bottom: 12px; }
.step b { display: block; font-size: 14px; color: var(--ink); margin-bottom: 4px; }
.step p { font-size: 12.5px; color: var(--sub); margin: 0; line-height: 1.65; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 10px; max-width: 880px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; box-shadow: var(--shadow-s); }
.faq summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--ink); list-style: none; display: flex; align-items: center; justify-content: space-between; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 17px; color: var(--faint); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 10px 0 0; font-size: 13px; color: var(--sub); line-height: 1.8; }
.faq p b { color: var(--ink); }

/* 页脚 */
.foot { background: var(--side-bg); color: #9aa4b4; padding: 40px 0 18px; margin-top: 20px; }
.foot-in { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-bottom: 26px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.foot .logo .txt b { color: #fff; }
.foot .logo .txt span { color: #7d879a; }
.foot .brand-line { font-size: 12.5px; color: #7d879a; margin: 12px 0 0; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-links a { font-size: 13px; color: #b6bfcd; }
.foot-links a:hover { color: #fff; }
.foot-bot { font-size: 12px; color: #6b7688; padding-top: 16px; }
.foot-contact { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; padding: 14px 0 6px; font-size: 12.5px; color: #8b95a6; }
.foot-contact b { color: #e6ebf3; font-weight: 650; }
.foot-contact .muted { color: #626d7e; }
.foot-qr { display: inline-flex; padding: 4px; border-radius: 8px; background: rgba(255, 255, 255, .08); }
.foot-qr img { border-radius: 5px; display: block; }

@media (max-width: 1020px) {
  .hero-in { grid-template-columns: 1fr; gap: 34px; }
  .hero h1 { font-size: 36px; }
  .plans { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .p-nav .links { display: none; }
  .hero { padding: 40px 0 20px; }
  .hero h1 { font-size: 30px; }
  .hero-meta span { padding: 0 10px; font-size: 11.5px; }
  .hero-btns .btn { flex: 1; }
  .sec { padding: 38px 0; }
  .sec-h h2 { font-size: 22px; }
  .steps { grid-template-columns: 1fr; }
  .grid-p { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .grid-p { grid-template-columns: 1fr; }
}
