/* 安领荟官网 — 设计 token 与全局样式 */
:root {
  --ink: #0c1219;
  --ink-2: #141c27;
  --ink-3: #1c2736;
  --fog: #8b9bb0;
  --paper: #f4f6f8;
  --paper-2: #e8edf2;
  --line: rgba(255, 255, 255, 0.1);
  --line-dark: rgba(12, 18, 25, 0.12);
  --accent: #c4a35a;
  --accent-2: #2a9d8f;
  --accent-soft: rgba(196, 163, 90, 0.14);
  --text: #e8eef5;
  --text-on-light: #0c1219;
  --muted-on-light: #5a6b7d;
  --radius: 2px;
  --max: 1120px;
  --font-brand: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-display: "Noto Serif SC", "Songti SC", serif;
  --font-body: "Outfit", "PingFang SC", "Hiragino Sans GB", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-on-light);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--accent-2);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 0.6em;
  letter-spacing: 0.02em;
}

p {
  margin: 0 0 1em;
}

ul {
  margin: 0;
  padding-left: 1.2em;
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* —— Header —— */
.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 40;
  color: var(--text);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
}

.brand {
  font-family: var(--font-brand);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  flex-shrink: 0;
}

.brand:hover {
  color: #d4b56e;
}

.brand--logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  line-height: 0;
  flex-shrink: 0;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.brand--logo img {
  display: block;
  height: clamp(3.25rem, 5.5vw, 4.75rem);
  width: auto;
  max-width: min(22rem, 52vw);
  object-fit: contain;
  object-position: left center;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

/* 透明遮罩：挡住直接拖图 / 框选图片 */
.brand--logo__mark {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: transparent;
}

.brand--logo:hover {
  opacity: 0.92;
  color: inherit;
}

.site-footer .brand--logo img {
  height: clamp(2.75rem, 4.5vw, 3.75rem);
  max-width: 16rem;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: auto;
  flex-wrap: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex-wrap: nowrap;
}

.nav a {
  font-size: 0.88rem;
  white-space: nowrap;
  color: rgba(232, 238, 245, 0.82);
  transition: color 0.2s var(--ease);
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--accent);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.nav-cta .btn {
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  width: 2.5rem;
  height: 2.5rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1rem;
  height: 1px;
  background: currentColor;
  margin: 4px auto;
}

@media (max-width: 980px) {
  .nav {
    gap: 0.85rem;
  }

  .nav a {
    font-size: 0.82rem;
  }

  .nav-cta .btn-sm {
    padding: 0.45rem 0.7rem;
    font-size: 0.78rem;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .nav-panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-left: 0;
    background: var(--ink-2);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.5rem;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    flex-wrap: wrap;
  }

  .nav-panel.is-open {
    display: flex;
  }

  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    flex-wrap: wrap;
  }

  .nav-cta {
    flex-direction: column;
    align-items: stretch;
  }
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: var(--ink);
}

.btn-primary:hover {
  background: #d4b56a;
  color: var(--ink);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(232, 238, 245, 0.35);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-ghost-dark {
  background: transparent;
  border-color: var(--line-dark);
  color: var(--text-on-light);
}

.btn-ghost-dark:hover {
  border-color: var(--accent-2);
  color: var(--accent-2);
}

.btn-solid-dark {
  background: var(--ink);
  color: var(--text);
}

.btn-solid-dark:hover {
  background: var(--ink-3);
  color: var(--accent);
}

.btn-sm {
  padding: 0.55rem 0.95rem;
  font-size: 0.85rem;
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  color: var(--text);
  background: var(--ink);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(42, 157, 143, 0.22), transparent 55%),
    radial-gradient(ellipse 70% 50% at 15% 80%, rgba(196, 163, 90, 0.18), transparent 50%),
    linear-gradient(165deg, #0a1017 0%, #121a24 45%, #0c1520 100%);
  z-index: 0;
}

.hero__grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 85%);
  pointer-events: none;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  z-index: 1;
  animation: drift 14s var(--ease) infinite alternate;
}

.hero__orb--a {
  width: 42vw;
  height: 42vw;
  max-width: 520px;
  max-height: 520px;
  background: rgba(42, 157, 143, 0.35);
  top: -8%;
  right: -5%;
}

.hero__orb--b {
  width: 36vw;
  height: 36vw;
  max-width: 420px;
  max-height: 420px;
  background: rgba(196, 163, 90, 0.28);
  bottom: 5%;
  left: -8%;
  animation-delay: -4s;
}

@keyframes drift {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(2%, 3%) scale(1.06);
  }
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 8rem 0 5.5rem;
  max-width: 40rem;
}

.hero__brand {
  font-family: var(--font-brand);
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  margin: 0 0 1.25rem;
  color: var(--accent);
}

.hero__title {
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  font-weight: 500;
  margin: 0 0 0.85rem;
  color: rgba(232, 238, 245, 0.95);
}

.hero__lead {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--fog);
  margin: 0 0 2rem;
  max-width: 28rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.hero__note {
  font-size: 0.8rem;
  color: rgba(139, 155, 176, 0.9);
  margin: 0;
  max-width: min(46rem, 100%);
  text-wrap: pretty;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

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

/* —— Sections —— */
.section {
  padding: 5rem 0;
}

.section--ink {
  background: var(--ink-2);
  color: var(--text);
}

.section--paper {
  background: var(--paper);
  color: var(--text-on-light);
}

.section--muted {
  background: var(--paper-2);
}

.section__eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.section--ink .section__eyebrow {
  color: var(--accent);
}

.section__title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 0.75rem;
}

.section__lead {
  color: var(--muted-on-light);
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

.section--ink .section__lead {
  color: var(--fog);
}

/* Capability rows — not pricing cards */
.capability-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-dark);
}

.capability {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem 2rem;
  align-items: center;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line-dark);
}

.capability h3 {
  font-size: 1.2rem;
  margin: 0 0 0.35rem;
}

.capability p {
  margin: 0;
  color: var(--muted-on-light);
  font-size: 0.95rem;
}

@media (max-width: 640px) {
  .capability {
    grid-template-columns: 1fr;
  }
}

/* Path chooser */
.paths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.path {
  padding: 0;
  border: none;
  background: transparent;
}

.path__index {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
  line-height: 1;
}

.path h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.path p {
  color: var(--muted-on-light);
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.path a {
  color: var(--accent-2);
  font-size: 0.9rem;
  font-weight: 600;
  border-bottom: 1px solid currentColor;
}

@media (max-width: 800px) {
  .paths {
    grid-template-columns: 1fr;
  }
}

/* Trust */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 3rem;
}

.trust-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.trust-item p {
  color: var(--fog);
  font-size: 0.95rem;
  margin: 0;
}

@media (max-width: 700px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }
}

/* CTA band */
.cta-band {
  padding: 4.5rem 0;
  text-align: left;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.cta-band--circle {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
}

.cta-band--circle .cta-band__copy {
  flex: 1 1 16rem;
  min-width: 0;
}

.circle-qr {
  flex: 0 0 auto;
  text-align: center;
  padding: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

.circle-qr img {
  display: block;
  width: 160px;
  height: 160px;
  object-fit: contain;
  background: #fff;
}

.circle-qr__hint {
  margin: 0.55rem 0 0;
  font-size: 0.8rem;
  color: var(--fog);
}

/* Page hero (inner pages) */
.page-hero {
  background: var(--ink);
  color: var(--text);
  padding: 8.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 90% 20%, rgba(42, 157, 143, 0.2), transparent 60%),
    radial-gradient(ellipse 40% 60% at 0% 100%, rgba(196, 163, 90, 0.12), transparent 55%);
  pointer-events: none;
}

.page-hero .wrap {
  position: relative;
}

.page-hero h1 {
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  margin-bottom: 0.75rem;
  max-width: min(52rem, 100%);
  text-wrap: balance;
  word-break: keep-all;
  line-height: 1.3;
}

.page-hero .page-hero__sub {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.82em;
  font-weight: 600;
  color: var(--fog);
}

.page-hero .page-hero__en {
  margin: -0.35rem 0 0.85rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.page-hero p {
  color: var(--fog);
  max-width: min(48rem, 100%);
  margin: 0;
  text-wrap: pretty;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.page-hero .page-hero__lead {
  max-width: min(42rem, 100%);
  margin: 0;
}

.page-hero .page-hero__lead-primary {
  margin: 0 0 0.75rem;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.55;
  color: rgba(232, 238, 245, 0.95);
  font-weight: 500;
  max-width: none;
}

.page-hero .page-hero__lead-meta {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--fog);
  max-width: none;
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0 1rem;
  border: 1px solid var(--line-dark);
  background: #fff;
  -webkit-overflow-scrolling: touch;
}

.table-wrap--tight {
  max-width: 52rem;
}

.table-wrap--tight table {
  min-width: 0;
  width: 100%;
  table-layout: fixed;
}

.table-wrap--tight th,
.table-wrap--tight td {
  padding: 0.65rem 0.7rem;
  font-size: 0.86rem;
}

.table-wrap--compare {
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(12, 18, 25, 0.03);
}

.table-wrap--compare table {
  min-width: 720px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 640px;
}

th,
td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line-dark);
  vertical-align: top;
}

td .cell-main,
th .cell-main {
  display: block;
  font-weight: 560;
  line-height: 1.35;
  color: var(--text-on-light);
}

td .cell-sub,
th .cell-sub {
  display: block;
  margin-top: 0.28rem;
  font-size: 0.8em;
  line-height: 1.4;
  color: var(--muted-on-light);
  font-weight: 400;
}

td .cell-price {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--accent-2);
  line-height: 1.2;
}

td .cell-empty {
  display: block;
  color: var(--fog);
  font-weight: 400;
  line-height: 1.35;
}

/* 专家包 / 圈层对比矩阵：等宽档位列 + 主副行对齐 */
.table-compare {
  table-layout: fixed;
  min-width: 720px;
  width: 100%;
}

.table-compare .col-label {
  width: 7.5rem;
}

.table-compare .col-tier {
  width: auto;
}

.table-compare thead th {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
  padding: 1rem 0.9rem;
  background: rgba(12, 18, 25, 0.035);
  color: var(--text-on-light);
  border-bottom: 1px solid var(--line-dark);
  vertical-align: bottom;
}

.table-compare thead th:first-child {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-on-light);
}

.table-compare tbody th {
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 560;
  color: var(--muted-on-light);
  background: rgba(12, 18, 25, 0.02);
  padding: 1rem 0.9rem;
  vertical-align: top;
  white-space: nowrap;
}

.table-compare tbody td {
  padding: 1rem 0.9rem;
  vertical-align: top;
  font-size: 0.9rem;
}

.table-compare tbody tr:last-child th,
.table-compare tbody tr:last-child td {
  border-bottom: none;
}

.table-compare .row-price td {
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}

.table-compare td.is-featured,
.table-compare thead th.is-featured {
  background: rgba(42, 157, 143, 0.07);
}

.table-compare thead th.is-featured {
  color: var(--ink);
  box-shadow: inset 0 -2px 0 var(--accent-2);
}

@media (max-width: 720px) {
  .table-compare .col-label {
    width: 5.5rem;
  }

  .table-compare thead th,
  .table-compare tbody th,
  .table-compare tbody td {
    padding: 0.85rem 0.65rem;
  }

  .table-compare tbody th {
    white-space: normal;
    font-size: 0.78rem;
  }

  td .cell-price {
    font-size: 0.98rem;
  }
}

.table-notes {
  margin-top: 0.75rem;
  max-width: 48rem;
}

.table-notes--compare {
  max-width: none;
}

.table-notes .note + .note {
  margin-top: 0.35rem;
}

th {
  font-family: var(--font-display);
  font-weight: 600;
  background: rgba(12, 18, 25, 0.04);
}

tr:last-child td {
  border-bottom: none;
}

.price {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--accent-2);
  margin: 0.25rem 0 1rem;
}

.plan-stack {
  display: grid;
  gap: 2.5rem;
}

.plan {
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line-dark);
}

.plan:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.plan h3 {
  font-size: 1.35rem;
  margin-bottom: 0.15rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.feature-list li {
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(12, 18, 25, 0.06);
  font-size: 0.95rem;
}

.feature-list li:last-child {
  border-bottom: none;
}

.split-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

@media (max-width: 760px) {
  .split-2 {
    grid-template-columns: 1fr;
  }
}

.note {
  font-size: 0.82rem;
  color: var(--muted-on-light);
}

.prose {
  max-width: 42rem;
}

.prose p {
  color: var(--muted-on-light);
}

.prose strong {
  color: var(--text-on-light);
  font-weight: 600;
}

.tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--accent-2);
  margin-bottom: 0.5rem;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(232, 238, 245, 0.7);
  padding: 3rem 0 2rem;
  font-size: 0.88rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 0.9fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 900px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
  }
}

.wechat-box {
  text-align: left;
}

.wechat-box img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #fff;
  margin: 0.5rem 0 0.65rem;
}

.wechat-box .zsxq-link {
  display: inline-block;
  color: var(--accent);
  font-size: 0.85rem;
  border-bottom: 1px solid currentColor;
}

.wechat-box .zsxq-link.is-empty {
  opacity: 0.55;
  pointer-events: none;
  border-bottom: none;
}

/* Reveal motion */

.site-footer .brand {
  font-family: var(--font-brand);
  color: var(--accent);
  margin-bottom: 0.75rem;
  display: inline-block;
}

.site-footer p {
  margin: 0;
  max-width: 26rem;
  line-height: 1.55;
  text-wrap: pretty;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.site-footer__meta {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1.1rem;
}

.icp-link {
  color: inherit;
  opacity: 0.85;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.icp-link:hover {
  color: var(--accent);
  opacity: 1;
}

.site-footer h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fog);
  margin-bottom: 0.85rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.45rem;
}

.site-footer a:hover {
  color: var(--accent);
}

.site-footer__bottom {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  color: rgba(139, 155, 176, 0.85);
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
