/* ==========================================================================
   core/views/portal.css —— 公开门户视觉：蓝紫渐变 · 玻璃拟态 · 半透明质感
   --------------------------------------------------------------------------
   设计目标（William 指定）：
     · 蓝天白云，有质感，有渐变半透明美工风格
     · 商业氛围优先，不谈技术细节
     · 浅色主题，文字必须是深色（在浅底蓝天上保证可读）
     · 色系复制 88xthink.cn 静态知识站（William 2026-10-18 指定）

   色系来源：88xthink.cn 的配色
     · 主蓝 #2563eb · 深蓝 #1d4ed8 · 强调紫 #7c3aed
     · 首屏渐变 #1e3a8a → #2563eb → #7c3aed（深蓝→蓝→紫）
   在此基础上保留平台的玻璃拟态（半透明+模糊）质感——
   静态站是纯白卡片，平台用玻璃是为了做出你要求的「有质感」。

   实现要点：
     · 云 = 多层 radial-gradient 叠加 + blur，不用任何图片资源
     · 玻璃卡片 = backdrop-filter: blur() + 半透明 + 内高光边
     · 全站零第三方依赖，所以云与质感全部用纯 CSS 渐变生成
   ========================================================================== */

.p-root {
  /* 主色系 —— 对齐 88xthink.cn */
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #dbeafe;
  --accent: #7c3aed;
  /* 保留天蓝给云层，让「蓝天白云」的感觉不丢 */
  --sky-1: #4aa8e8;
  --sky-2: #7cc4f0;
  --sky-3: #b9ddf7;
  --ink: #16283c;
  --ink-2: #4a637e;
  --ink-3: #7b90a6;
  --glass: rgba(255, 255, 255, 0.62);
  --glass-2: rgba(255, 255, 255, 0.42);
  --edge: rgba(255, 255, 255, 0.85);
  --brand: #2563eb;
  --brand-2: #7c3aed;
  min-height: 100vh;
  color: var(--ink);
  background: linear-gradient(178deg, #1e3a8a 0%, #2563eb 20%, #4d7bee 40%, #8b95f2 60%, #c0bdf6 80%, #e8e4fb 100%);
  position: relative;
  overflow-x: hidden;
  font: 15px/1.75 -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ---------- 云层：4 组不同大小的 radial-gradient，叠加出层次 ---------- */
.p-clouds {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    /* 高层薄云 */
    radial-gradient(ellipse 620px 200px at 12% 14%, rgba(255,255,255,.72) 0%, rgba(255,255,255,.34) 42%, rgba(255,255,255,0) 72%),
    radial-gradient(ellipse 520px 170px at 78% 9%,  rgba(255,255,255,.62) 0%, rgba(255,255,255,.28) 44%, rgba(255,255,255,0) 74%),
    radial-gradient(ellipse 760px 240px at 46% 30%, rgba(255,255,255,.40) 0%, rgba(255,255,255,.16) 48%, rgba(255,255,255,0) 78%),
    /* 中层大云 */
    radial-gradient(ellipse 700px 250px at 88% 44%, rgba(255,255,255,.55) 0%, rgba(255,255,255,.22) 46%, rgba(255,255,255,0) 76%),
    radial-gradient(ellipse 560px 210px at 6% 52%,  rgba(255,255,255,.50) 0%, rgba(255,255,255,.20) 46%, rgba(255,255,255,0) 76%),
    /* 低层絮状云，压在内容后面增加纵深 */
    radial-gradient(ellipse 900px 300px at 30% 72%, rgba(255,255,255,.34) 0%, rgba(255,255,255,.10) 52%, rgba(255,255,255,0) 80%),
    radial-gradient(ellipse 800px 260px at 82% 84%, rgba(255,255,255,.30) 0%, rgba(255,255,255,.09) 52%, rgba(255,255,255,0) 80%);
  filter: blur(0.4px);
}

/* 缓慢横向漂移，让天空有呼吸感 */
@keyframes p-drift {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-40px, 8px, 0); }
}
.p-clouds { animation: p-drift 64s ease-in-out infinite alternate; }

@media (prefers-reduced-motion: reduce) {
  .p-clouds { animation: none; }
}

/* ---------- 顶部导航：玻璃条 ---------- */
.p-top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 30px;
  background: linear-gradient(180deg, rgba(255,255,255,.78), rgba(255,255,255,.46));
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid rgba(255,255,255,.62);
  box-shadow: 0 6px 26px rgba(30, 58, 138, .14);
}
.p-logo {
  display: flex; align-items: center; gap: 11px;
  font-size: 19px; font-weight: 800; letter-spacing: .6px;
  color: var(--ink);
  text-decoration: none;
}
.p-logo-mark {
  width: 36px; height: 36px; border-radius: 11px;
  background: linear-gradient(140deg, #7c3aed, #2563eb 60%, #1e3a8a);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 5px 14px rgba(30, 58, 138, .38);
  display: grid; place-items: center;
  color: #fff; font-size: 15px; font-weight: 800;
  letter-spacing: 0;
}
.p-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.p-nav a {
  padding: 8px 15px; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--ink-2);
  text-decoration: none; transition: .16s;
}
.p-nav a:hover { background: rgba(255,255,255,.68); color: var(--brand); }
.p-nav a.on { background: linear-gradient(135deg, var(--brand-2), var(--brand)); color: #fff; box-shadow: 0 4px 14px rgba(37,99,235,.38); }
.p-nav .p-cta {
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  color: #fff; box-shadow: 0 4px 14px rgba(245,139,31,.36);
}
.p-nav .p-cta:hover { filter: brightness(1.05); color: #fff; }

/* ---------- 主体 ---------- */
.p-main { position: relative; z-index: 2; }
.p-wrap { max-width: 1160px; margin: 0 auto; padding: 0 26px; }

/* ---------- 首屏 ---------- */
.p-hero {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 44px;
  align-items: center;
  padding: 68px 0 56px;
}
.p-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 15px; border-radius: 999px;
  background: rgba(255,255,255,.58);
  border: 1px solid rgba(255,255,255,.8);
  backdrop-filter: blur(8px);
  font-size: 12.5px; font-weight: 700; color: var(--brand);
  letter-spacing: .4px; margin-bottom: 18px;
}
.p-hero h1 {
  margin: 0 0 18px;
  font-size: 46px; line-height: 1.22; font-weight: 800;
  letter-spacing: -.6px; color: #0e2438;
  text-shadow: 0 2px 18px rgba(255,255,255,.5);
}
.p-hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #2563eb, #8b7ff0 55%, #6d28d9);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.p-hero p.lead {
  margin: 0 0 28px; font-size: 17px; line-height: 1.85;
  color: #2c4a67; max-width: 560px;
}
.p-hero-actions { display: flex; gap: 13px; flex-wrap: wrap; margin-bottom: 26px; }

.p-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 27px; border-radius: 13px;
  font-size: 15px; font-weight: 700; text-decoration: none;
  border: 1px solid transparent; transition: .18s; cursor: pointer;
}
.p-btn-primary {
  background: linear-gradient(135deg, #7c3aed, #1d4ed8);
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 99, 235, .40), inset 0 1px 0 rgba(255,255,255,.32);
}
.p-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(37, 99, 235, .48); }
.p-btn-ghost {
  background: rgba(255,255,255,.62);
  border-color: rgba(255,255,255,.9);
  color: var(--brand);
  backdrop-filter: blur(8px);
}
.p-btn-ghost:hover { background: rgba(255,255,255,.86); transform: translateY(-2px); }

/* 首屏数据条 */
.p-stats { display: flex; gap: 30px; flex-wrap: wrap; }
.p-stat b {
  display: block; font-size: 30px; font-weight: 800; line-height: 1.1;
  background: linear-gradient(120deg, #1d4ed8, #7c3aed);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.p-stat span { font-size: 13px; color: #5c7a96; }

/* 首屏右侧：叠层玻璃卡，展示「可感知的能力」而非技术 */
.p-stack { position: relative; height: 380px; }
.p-float {
  position: absolute; border-radius: 19px; padding: 20px 22px;
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(170%);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  border: 1px solid var(--edge);
  box-shadow: 0 18px 46px rgba(49, 46, 129, .20), inset 0 1px 0 rgba(255,255,255,.9);
  animation: p-float 7s ease-in-out infinite alternate;
}
@keyframes p-float {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-13px); }
}
.p-float.a { top: 4px;  left: 0;  right: 66px; animation-delay: 0s; }
.p-float.b { top: 132px; right: 0; left: 44px; animation-delay: .9s; }
.p-float.c { top: 254px; left: 18px; right: 96px; animation-delay: 1.7s; }
.p-float h4 { margin: 0 0 7px; font-size: 15.5px; font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.p-float p { margin: 0; font-size: 13px; color: var(--ink-2); line-height: 1.7; }
.p-float .ic {
  width: 30px; height: 30px; border-radius: 9px; flex: 0 0 30px;
  background: linear-gradient(140deg, #8b7ff0, #2563eb);
  display: grid; place-items: center; color: #fff; font-size: 14px;
  box-shadow: 0 3px 9px rgba(20,104,187,.3);
}
.p-float .mini-bar { height: 6px; border-radius: 4px; background: rgba(255,255,255,.6); margin-top: 11px; overflow: hidden; }
.p-float .mini-bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #8b7ff0, #2563eb); }
.p-float .pill {
  display: inline-block; margin-top: 10px; padding: 3px 11px; border-radius: 999px;
  background: rgba(255,255,255,.72); font-size: 11.5px; font-weight: 700; color: var(--brand);
}

/* ---------- 通用区块 ---------- */
.p-sec { padding: 62px 0; }
.p-sec-head { text-align: center; margin-bottom: 40px; }
.p-sec-head .kicker {
  display: inline-block; font-size: 12.5px; font-weight: 800; letter-spacing: 1.4px;
  color: var(--brand); text-transform: uppercase; margin-bottom: 11px;
}
.p-sec-head h2 {
  margin: 0 0 12px; font-size: 33px; font-weight: 800; letter-spacing: -.4px; color: #0e2438;
}
.p-sec-head p { margin: 0 auto; max-width: 660px; font-size: 15.5px; color: #43617e; line-height: 1.8; }

/* ---------- 玻璃卡网格 ---------- */
.p-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); gap: 20px; }
.p-card {
  padding: 27px 25px;
  border-radius: 19px;
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(165%);
  -webkit-backdrop-filter: blur(18px) saturate(165%);
  border: 1px solid var(--edge);
  box-shadow: 0 14px 38px rgba(49, 46, 129, .16), inset 0 1px 0 rgba(255,255,255,.85);
  transition: .2s; position: relative; overflow: hidden;
  text-decoration: none; color: inherit; display: block;
}
.p-card::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, #7c3aed, #a5b4fc, transparent);
  opacity: 0; transition: .2s;
}
.p-card:hover { transform: translateY(-4px); box-shadow: 0 22px 50px rgba(49, 46, 129, .24), inset 0 1px 0 rgba(255,255,255,.9); }
.p-card:hover::before { opacity: 1; }
.p-card .ic {
  width: 46px; height: 46px; border-radius: 14px; margin-bottom: 15px;
  background: linear-gradient(140deg, #8b7ff0, #4c1d95);
  display: grid; place-items: center; color: #fff; font-size: 21px;
  box-shadow: 0 6px 16px rgba(20,104,187,.3), inset 0 1px 0 rgba(255,255,255,.34);
}
.p-card h3 { margin: 0 0 9px; font-size: 18.5px; font-weight: 700; color: var(--ink); }
.p-card p { margin: 0 0 14px; font-size: 14px; color: var(--ink-2); line-height: 1.78; }
.p-card ul { margin: 0; padding: 0; list-style: none; }
.p-card li {
  font-size: 13px; color: #43617e; padding: 4px 0 4px 19px; position: relative;
}
.p-card li::before {
  content: ''; position: absolute; left: 3px; top: 12px;
  width: 6px; height: 6px; border-radius: 50%;
  background: linear-gradient(140deg, #7c3aed, #2563eb);
}
.p-card .more {
  margin-top: 15px; font-size: 13.5px; font-weight: 700; color: var(--brand);
  display: inline-flex; align-items: center; gap: 6px;
}

/* ---------- GEO 免费体验区强调 ---------- */
.p-card.p-feature {
  background: linear-gradient(150deg, rgba(255,255,255,.8), rgba(214,238,253,.62));
  border-color: rgba(255,255,255,.95);
}
.p-card.p-feature .ribbon {
  position: absolute; top: 15px; right: 15px;
  padding: 4px 12px; border-radius: 999px;
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .5px;
  box-shadow: 0 3px 10px rgba(245,139,31,.4);
}

/* ---------- 合作方式 ---------- */
.p-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; align-items: start; }
.p-plan {
  padding: 30px 27px 28px; border-radius: 21px; position: relative;
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(165%);
  -webkit-backdrop-filter: blur(18px) saturate(165%);
  border: 1px solid var(--edge);
  box-shadow: 0 14px 38px rgba(49, 46, 129, .16), inset 0 1px 0 rgba(255,255,255,.85);
  transition: .2s;
}
.p-plan:hover { transform: translateY(-4px); }
.p-plan.default {
  background: linear-gradient(155deg, rgba(255,255,255,.86), rgba(206,236,253,.7));
  border-color: rgba(255,255,255,.98);
  box-shadow: 0 20px 48px rgba(20,104,187,.22), inset 0 1px 0 rgba(255,255,255,.95);
}
.p-plan .tagline {
  position: absolute; top: -11px; left: 27px;
  padding: 4px 13px; border-radius: 999px;
  background: linear-gradient(135deg, #7c3aed, #1d4ed8); color: #fff;
  font-size: 11.5px; font-weight: 800; letter-spacing: .4px;
  box-shadow: 0 4px 13px rgba(20,104,187,.4);
}
.p-plan .tagline.alt { background: linear-gradient(135deg, #8fa6ba, #6b8299); box-shadow: 0 4px 13px rgba(90,115,140,.32); }
.p-plan h3 { margin: 0 0 5px; font-size: 21px; font-weight: 800; color: var(--ink); }
.p-plan .sub { margin: 0 0 17px; font-size: 13px; color: var(--ink-3); }
.p-plan .price { margin-bottom: 18px; }
.p-plan .price b { font-size: 32px; font-weight: 800; color: var(--brand); letter-spacing: -.6px; }
.p-plan .price span { font-size: 13px; color: var(--ink-3); }
.p-plan ul { margin: 0 0 20px; padding: 0; list-style: none; }
.p-plan li {
  font-size: 13.5px; color: #3d5a76; padding: 7px 0 7px 23px; position: relative;
  border-bottom: 1px dashed rgba(255,255,255,.75);
}
.p-plan li:last-child { border-bottom: none; }
.p-plan li::before {
  content: '✓'; position: absolute; left: 0; top: 7px;
  width: 16px; height: 16px; border-radius: 50%;
  background: linear-gradient(140deg, #8b7ff0, #2563eb); color: #fff;
  font-size: 10px; font-weight: 800; display: grid; place-items: center;
}

/* ---------- 导航「更多知识」下拉 ---------- */
.p-more { position: relative; }
.p-more > summary {
  list-style: none; cursor: pointer;
  padding: 8px 13px; border-radius: 999px;
  font-size: 13.5px; font-weight: 600; color: var(--ink-2);
  transition: .16s; white-space: nowrap;
}
.p-more > summary::-webkit-details-marker { display: none; }
.p-more > summary:hover { background: rgba(255,255,255,.68); color: var(--brand); }
.p-more[open] > summary { background: rgba(255,255,255,.8); color: var(--brand); }
.p-more-menu {
  position: absolute; right: 0; top: calc(100% + 9px);
  min-width: 172px; padding: 7px;
  border-radius: 15px;
  background: linear-gradient(160deg, rgba(255,255,255,.92), rgba(214,238,253,.84));
  backdrop-filter: blur(20px) saturate(170%);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  border: 1px solid var(--edge);
  box-shadow: 0 16px 40px rgba(49,46,129,.22), inset 0 1px 0 rgba(255,255,255,.9);
  z-index: 30;
}
.p-more-menu a {
  display: block; padding: 9px 13px; border-radius: 10px;
  font-size: 13.5px; font-weight: 600; color: var(--ink-2);
  text-decoration: none; transition: .14s; white-space: nowrap;
}
.p-more-menu a:hover { background: rgba(255,255,255,.9); color: var(--brand); }

/* ---------- 钩子区：说明"还有服务"但不露任何入口 ---------- */
.p-hook .p-sec-head .kicker { color: #d97706; }
.p-hook-foot {
  margin-top: 26px; text-align: center;
  padding: 24px 26px; border-radius: 19px;
  background: linear-gradient(150deg, rgba(255,255,255,.72), rgba(214,238,253,.5));
  border: 1px dashed rgba(42,163,232,.42);
}
.p-hook-foot p { margin: 0 0 14px; font-size: 14.5px; color: #3f5f7b; line-height: 1.8; }
.p-hook-foot .p-privacy { margin: 12px 0 0; }
@media (max-width: 640px) {
  .p-hook-foot { padding: 20px 18px; }
}

/* ---------- 表单 ---------- */
.p-form-wrap {
  max-width: 720px; margin: 0 auto; padding: 34px 34px 30px;
  border-radius: 23px;
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(170%);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  border: 1px solid var(--edge);
  box-shadow: 0 18px 48px rgba(49,46,129,.20), inset 0 1px 0 rgba(255,255,255,.9);
}
.p-form-wrap h3 { margin: 0 0 6px; font-size: 21px; font-weight: 800; color: var(--ink); }
.p-form-wrap > p { margin: 0 0 22px; font-size: 13.5px; color: var(--ink-2); }
.p-field { margin-bottom: 16px; }
.p-field label { display: block; font-size: 13px; font-weight: 700; color: var(--ink-2); margin-bottom: 7px; }
.p-field input, .p-field select, .p-field textarea {
  width: 100%; padding: 12px 15px; font: inherit; font-size: 14.5px;
  border-radius: 11px; border: 1px solid rgba(255,255,255,.9);
  background: rgba(255,255,255,.82); color: var(--ink);
  transition: .16s; -webkit-appearance: none; appearance: none;
}
.p-field textarea { min-height: 108px; resize: vertical; }
.p-field input:focus, .p-field select:focus, .p-field textarea:focus {
  outline: none; border-color: var(--brand-2);
  box-shadow: 0 0 0 4px rgba(42,163,232,.16);
  background: #fff;
}
.p-field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' stroke='%234a637e' stroke-width='1.8' fill='none' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat; background-position: right 15px center; padding-right: 38px;
}
.p-row { display: flex; gap: 14px; flex-wrap: wrap; }
.p-row > * { flex: 1; min-width: 180px; }
.p-submit { width: 100%; padding: 14px; font-size: 15.5px; margin-top: 6px; }

.p-ok {
  padding: 15px 19px; border-radius: 13px; margin-bottom: 20px;
  background: rgba(255,255,255,.82); border: 1px solid rgba(56,182,140,.5);
  color: #059669; font-size: 14px; font-weight: 600;
}
.p-privacy { margin: 14px 0 0; font-size: 12px; color: var(--ink-3); line-height: 1.7; }

/* ---------- 内容页（GEO 方法论等） ---------- */
.p-doc { max-width: 860px; margin: 0 auto; }
.p-doc-hero {
  padding: 52px 40px 44px; border-radius: 25px; margin-bottom: 30px;
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(170%);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  border: 1px solid var(--edge);
  box-shadow: 0 18px 48px rgba(49,46,129,.20), inset 0 1px 0 rgba(255,255,255,.9);
}
.p-doc-hero .kicker {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 1.4px;
  color: var(--brand); text-transform: uppercase; margin-bottom: 12px;
}
.p-doc-hero h1 { margin: 0 0 14px; font-size: 36px; font-weight: 800; letter-spacing: -.5px; color: #0e2438; }
.p-doc-hero p { margin: 0; font-size: 16px; color: #35536e; line-height: 1.85; }

.p-panel {
  padding: 30px 32px; border-radius: 21px; margin-bottom: 20px;
  background: var(--glass-2);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(255,255,255,.75);
  box-shadow: 0 10px 30px rgba(49,46,129,.13), inset 0 1px 0 rgba(255,255,255,.75);
}
.p-panel h2 { margin: 0 0 14px; font-size: 22px; font-weight: 800; color: var(--ink); }
.p-panel h3 { margin: 22px 0 9px; font-size: 16.5px; font-weight: 700; color: var(--ink); }
.p-panel p { margin: 0 0 12px; font-size: 15px; color: #3a5873; line-height: 1.85; }
.p-panel p:last-child { margin-bottom: 0; }
.p-panel ul, .p-panel ol { margin: 0 0 12px; padding-left: 21px; }
.p-panel li { font-size: 14.5px; color: #3a5873; margin-bottom: 8px; line-height: 1.8; }
.p-panel li:last-child { margin-bottom: 0; }
.p-panel strong { color: var(--ink); font-weight: 700; }

.p-quote {
  padding: 24px 28px; border-radius: 17px; margin: 20px 0;
  background: linear-gradient(135deg, rgba(255,255,255,.86), rgba(212,238,253,.6));
  border-left: 4px solid var(--brand-2);
  box-shadow: 0 8px 24px rgba(49,46,129,.12);
}
.p-quote p { margin: 0; font-size: 16px; font-weight: 600; color: #1e4462; line-height: 1.8; }
.p-quote cite { display: block; margin-top: 10px; font-size: 12.5px; font-style: normal; color: var(--ink-3); }

.p-steps { counter-reset: pstep; }
.p-step { position: relative; padding-left: 56px; margin-bottom: 26px; }
.p-step:last-child { margin-bottom: 0; }
.p-step::before {
  counter-increment: pstep; content: counter(pstep);
  position: absolute; left: 0; top: 0;
  width: 38px; height: 38px; border-radius: 12px;
  background: linear-gradient(140deg, #8b7ff0, #4c1d95); color: #fff;
  display: grid; place-items: center; font-size: 16px; font-weight: 800;
  box-shadow: 0 5px 14px rgba(20,104,187,.32), inset 0 1px 0 rgba(255,255,255,.34);
}
.p-step h3 { margin: 4px 0 6px; font-size: 17px; font-weight: 700; color: var(--ink); }
.p-step p { margin: 0; font-size: 14.5px; color: #3a5873; line-height: 1.82; }

/* 对比表 */
.p-table-wrap { overflow-x: auto; border-radius: 15px; border: 1px solid rgba(255,255,255,.8); }
.p-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 540px; background: rgba(255,255,255,.5); }
.p-table th, .p-table td { padding: 13px 17px; text-align: left; border-bottom: 1px solid rgba(255,255,255,.7); }
.p-table th { background: rgba(255,255,255,.62); font-weight: 700; color: var(--ink); font-size: 13.5px; }
.p-table td { color: #3a5873; }
.p-table tr:last-child td { border-bottom: none; }
.p-table .yes { color: #059669; font-weight: 700; }
.p-table .no { color: #d97706; font-weight: 700; }

/* ---------- 页脚 ---------- */
.p-foot {
  position: relative; z-index: 2;
  margin-top: 30px; padding: 40px 0 30px;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.5));
  border-top: 1px solid rgba(255,255,255,.7);
}
.p-foot-in {
  max-width: 1160px; margin: 0 auto; padding: 0 26px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px;
}
.p-foot h5 { margin: 0 0 13px; font-size: 14px; font-weight: 800; color: var(--ink); }
.p-foot p, .p-foot a { font-size: 13px; color: var(--ink-2); line-height: 2; text-decoration: none; display: block; }
.p-foot a:hover { color: var(--brand); }
.p-foot .brand-note { font-size: 13px; color: #3f5f7b; line-height: 1.85; margin: 0 0 12px; }
.p-foot-bottom {
  max-width: 1160px; margin: 26px auto 0; padding: 18px 26px 0;
  border-top: 1px solid rgba(255,255,255,.7);
  font-size: 12.5px; color: var(--ink-3); text-align: center; line-height: 2;
}
.p-foot-bottom a { color: var(--ink-3); text-decoration: none; }
.p-foot-bottom a:hover { color: var(--brand); }

/* 备案号：工信部要求，缺失属违规 */
.p-icp { display: inline-flex; align-items: center; gap: 5px; }
.p-icp svg { width: 13px; height: 13px; opacity: .65; }

/* ---------- 响应式 ---------- */
@media (max-width: 940px) {
  .p-hero { grid-template-columns: 1fr; gap: 30px; padding: 44px 0 36px; }
  .p-stack { height: auto; position: static; }
  .p-float { position: static; margin-bottom: 13px; animation: none; }
  .p-hero h1 { font-size: 34px; }
  .p-foot-in { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 640px) {
  .p-top { padding: 12px 18px; }
  .p-nav { gap: 2px; }
  .p-nav a { padding: 7px 11px; font-size: 13px; }
  .p-wrap { padding: 0 18px; }
  .p-hero h1 { font-size: 28px; }
  .p-sec-head h2 { font-size: 25px; }
  .p-sec { padding: 42px 0; }
  .p-doc-hero { padding: 32px 24px 28px; }
  .p-doc-hero h1 { font-size: 27px; }
  .p-panel { padding: 22px 20px; }
  .p-form-wrap { padding: 24px 20px; }
  .p-row > * { min-width: 100%; }
}

/* ---------- 打印：不需要天空 ---------- */
@media print {
  .p-clouds { display: none; }
  .p-root { background: #fff; }
}

/* ==========================================================================
   知识站版式 —— 对齐 geo-station/123 的结构与观感
   123 的写法：居中渐变 hero + 居中栏目标题 + 网格卡片 + 阅读路径
   这里用n- 前缀另起一套类名，避免与门户原有的 .p-* 样式冲突
   ========================================================================== */

/* ---- 顶部导航：白底、细横排、当前页高亮（同 123 .site-nav）---- */
.n-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .08);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 40px;
}
.n-nav .n-logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: #2563eb;
  text-decoration: none;
  white-space: nowrap;
}
.n-nav .n-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
}
.n-nav .n-links a {
  color: #64748b;
  font-weight: 500;
  font-size: .875rem;
  text-decoration: none;
  padding: 4px 2px;
  border-bottom: 2px solid transparent;
}
.n-nav .n-links a:hover,
.n-nav .n-links a.on {
  color: #2563eb;
  border-bottom-color: #2563eb;
}

/* ---- Hero：居中，蓝紫渐变（同 123 .hero）---- */
.n-hero {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #7c3aed 100%);
  color: #fff;
  text-align: center;
  padding: 72px 32px;
}
.n-hero h1 { font-size: 2.25rem; margin-bottom: 16px; line-height: 1.35; }
.n-hero p {
  font-size: 1.05rem;
  opacity: .92;
  max-width: 760px;
  margin: 0 auto 28px;
}
.n-hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.n-btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 8px;
  border: 2px solid transparent;
  font-weight: 600;
  font-size: .9375rem;
  text-decoration: none;
  cursor: pointer;
  transition: .2s;
}
.n-btn:hover { text-decoration: none; opacity: .92; }
.n-btn-white { background: #fff; color: #2563eb; }
.n-btn-outline-white { background: transparent; color: #fff; border-color: #fff; }
.n-btn-primary { background: #2563eb; color: #fff; }
.n-btn-primary:hover { background: #1d4ed8; color: #fff; }

/* ---- 内容区：浅底白卡（同 123 .section / .card-grid / .card）---- */
.n-sec {
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 32px;
}
.n-sec.tight { padding-top: 0; }
.n-sec-head { text-align: center; margin-bottom: 36px; }
.n-sec-head h2 { font-size: 1.75rem; margin-bottom: 8px; }
.n-sec-head p { color: #64748b; }
.n-sec-head .kicker {
  display: inline-block;
  font-size: .8125rem;
  color: #2563eb;
  background: #dbeafe;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.n-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.n-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .08);
  display: block;
  color: inherit;
  text-decoration: none;
}
a.n-card:hover {
  border-color: #2563eb;
  box-shadow: 0 10px 40px rgba(37, 99, 235, .12);
}
.n-card .n-ic { font-size: 2rem; margin-bottom: 12px; }
.n-card h4 { margin-bottom: 10px; font-size: 1.0625rem; }
.n-card p { color: #64748b; font-size: .9375rem; }
.n-card .n-tag {
  display: inline-block;
  margin-top: 12px;
  font-size: .8125rem;
  color: #2563eb;
  font-weight: 600;
}

/* ---- 推荐阅读路径（同 123 .related-links）---- */
.n-path {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px 56px;
}
.n-path-box {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .08);
  padding: 32px 28px;
  text-align: center;
}
.n-path-box h3 { margin-bottom: 12px; font-size: 1.3rem; }
.n-path-box p { color: #64748b; margin-bottom: 20px; }
.n-path-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.n-path-links a {
  display: inline-block;
  padding: 10px 16px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  color: #0f172a;
  text-decoration: none;
  font-size: .875rem;
  font-weight: 500;
}
.n-path-links a:hover { border-color: #2563eb; color: #2563eb; }

/* ---- 页脚：白底居中（同 123 .site-footer）---- */
.n-foot {
  text-align: center;
  padding: 28px;
  color: #64748b;
  font-size: .875rem;
  border-top: 1px solid #e2e8f0;
  background: #fff;
}
.n-foot a { color: inherit; }
.n-foot .n-icp { margin-top: 8px; display: block; }

/* 知识站版式下，白底卡片区域不需要云层，压掉以免干扰阅读 */
.n-root .p-clouds { display: none; }

@media (max-width: 768px) {
  .n-nav { padding: 12px 20px; }
  .n-nav .n-logo { font-size: 1.15rem; }
  .n-hero { padding: 48px 20px; }
  .n-hero h1 { font-size: 1.6rem; }
  .n-sec { padding: 40px 20px; }
  .n-sec-head h2 { font-size: 1.4rem; }
  .n-path { padding: 0 20px 40px; }
}
