/*
Theme Name: Fanyipaiban Astra
Template: astra
Author: Fanyipaiban
Version: 1.0.0
Text Domain: fanyipaiban-astra
*/

:root {
  --brand: #3d57b8;
  --brand-strong: #2a3f86;
  --ink: #121a2b;
  --body: #43506a;
  --muted: #64748b;
  --line: #dde4ef;
  --soft: #f7f9fc;
  --soft-teal: #eef2f8;
  --panel: #ffffff;
  --green: #3d57b8;
  --orange: #d97706;
  --radius: 8px;
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--body);
  background: #fff;
  font-family: "Noto Sans SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.site-shell { min-height: 100vh; background: #fff; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(219, 227, 239, 0.82);
}
body.admin-bar .site-header { top: 32px; }
.site-header-inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}
.brand-link img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}
.primary-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #475569;
  font-size: 15px;
}
.primary-nav a {
  position: relative;
  transition: color 180ms ease;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 999px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}
.primary-nav a:hover,
.primary-nav a.is-current { color: var(--brand); }
.primary-nav a:hover::after,
.primary-nav a.is-current::after,
.primary-nav .current-menu-item > a::after,
.primary-nav .current_page_parent > a::after,
.primary-nav .current-page-ancestor > a::after,
.primary-nav .current-menu-ancestor > a::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { color: #fff; background: var(--brand-strong); box-shadow: 0 10px 24px rgba(42, 63, 134, 0.16); }
.btn-primary:hover { background: var(--brand-strong); color: #fff; }
.btn-outline { color: var(--brand-strong); border-color: #d7dfec; background: #fff; }
.btn-outline:hover { background: #f6f8fb; color: var(--ink); }
.btn-white { color: var(--ink); background: #fff; }
.btn-ghost { color: #e0edff; border-color: rgba(255,255,255,0.22); background: rgba(255,255,255,0.08); }

.hero {
  position: relative;
  overflow: hidden;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, #fbfcfe 0%, #ffffff 72%, #f8fafc 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(71, 85, 105, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(71, 85, 105, 0.05) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent 88%);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: 52px;
  align-items: center;
  padding: 76px 0 64px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid #d8e0eb;
  border-radius: 8px;
  color: #46556f;
  background: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  font-weight: 700;
}
.hero h1 {
  margin: 22px 0 18px;
  color: var(--ink);
  font-size: 56px;
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}
.accent { color: #2f4378; }
.hero p {
  max-width: 720px;
  color: #475467;
  font-size: 18px;
}
.hero .btn-white { border: 1px solid #d7dfec; box-shadow: 0 10px 22px rgba(15, 23, 42, 0.04); }
.hero .btn-ghost { color: var(--ink); border-color: #cbd5e1; background: rgba(255,255,255,0.72); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 28px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.hero-stat {
  padding: 14px;
  border-radius: 8px;
  background: rgba(255,255,255,0.9);
  border: 1px solid #e2e8f0;
}
.hero-stat strong { display: block; color: var(--ink); font-size: 22px; }
.hero-stat span { color: var(--muted); font-size: 13px; }
.product-frame {
  padding: 12px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 22px 40px rgba(15, 23, 42, 0.06);
}
.product-frame img { border-radius: 6px; background: #fff; }
.mini-card {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e2e8f0;
  color: var(--ink);
}
.mini-card img { width: 82px; border-radius: 6px; }
.mini-card p { margin: 3px 0 0; color: var(--muted); font-size: 14px; }

.section { padding: 72px 0; }
.section-soft { background: var(--soft); }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 30px;
}
.section-head h2, .page-title h1 {
  margin: 0;
  color: var(--ink);
  font-size: 40px;
  line-height: 1.18;
  letter-spacing: 0;
}
.section-head p, .page-title p {
  margin: 10px 0 0;
  max-width: 720px;
  color: var(--muted);
}
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.primary-nav li { list-style: none; margin: 0; }
.card {
  padding: 24px;
  border-radius: 8px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 8px 20px rgba(15,23,42,0.035);
}
.card h3 { margin: 0 0 10px; color: var(--ink); font-size: 20px; line-height: 1.35; }
.card p { margin: 0; color: var(--muted); }
.tag {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 3px 8px;
  border-radius: 6px;
  color: #516079;
  background: #f3f6fa;
  font-size: 13px;
  font-weight: 800;
}
.card[href],
a.card {
  display: block;
}
.card[href]:hover,
a.card:hover {
  transform: translateY(-2px);
  border-color: #cfd8e6;
  box-shadow: 0 14px 28px rgba(15,23,42,0.06);
}
.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}
.check-list li {
  position: relative;
  padding-left: 26px;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px var(--soft-teal);
}
.metric-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}
.metric {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.metric strong { display: block; color: var(--ink); font-size: 24px; }
.metric span { color: var(--muted); font-size: 13px; }
.showcase { display: grid; grid-template-columns: 1fr 1.08fr; gap: 28px; align-items: center; }
.showcase + .showcase { margin-top: 34px; }
.showcase-media {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 18px 38px rgba(15,23,42,0.08);
}
.steps { counter-reset: step; }
.step { position: relative; padding-left: 54px; }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 20px;
  top: 24px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--brand);
  font-weight: 800;
}
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.price-card strong { display: block; margin: 8px 0 14px; color: var(--ink); font-size: 32px; line-height: 1; }
.price-card ul, .content-page ul { padding-left: 20px; margin: 14px 0 0; }
.price-card li, .content-page li { margin: 6px 0; }
.popular { border-color: #c7d1e2; box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.faq-answer { display: none; padding: 0 0 20px; color: var(--muted); }
.faq-item.open .faq-answer { display: block; }
.cta-band {
  color: #fff;
  background: linear-gradient(135deg, #121a2b, #2a3f86);
}
.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 48px 0;
}
.cta-inner h2 { margin: 0; color: #fff; font-size: 38px; }
.cta-inner p { margin: 10px 0 0; color: #dbeafe; }
.site-footer {
  padding: 42px 0;
  color: #cbd5e1;
  background: #0f172a;
}
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 24px; }
.footer-grid h3 { margin: 0 0 10px; color: #fff; font-size: 16px; }
.footer-grid a, .footer-grid p { display: block; margin: 7px 0; color: #cbd5e1; font-size: 14px; }
.page-hero {
  background: linear-gradient(180deg, #fafbfd, #f4f7fb);
  border-bottom: 1px solid var(--line);
}
.page-title { padding: 54px 0; }
.contact-page-hero .page-title { padding: 46px 0; }
.page-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.page-meta-row span,
.page-meta-row a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #dde4ef;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}
.page-meta-row a {
  color: var(--brand-strong);
  background: #f4f7fb;
}
.content-page { padding: 58px 0 80px; }
.contact-page-shell { padding-top: 40px; }
.content-page h2 { margin: 34px 0 12px; color: var(--ink); font-size: 30px; line-height: 1.25; }
.content-page h3 { margin: 22px 0 8px; color: var(--ink); }
.content-page p { color: var(--body); }
.content-page .wp-block-image img, .content-page img {
  border-radius: 8px;
  border: 1px solid var(--line);
}
.content-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
}
.content-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--body);
  background: #fff;
  font-weight: 700;
}
.content-tabs a:hover,
.content-tabs a.active {
  color: var(--brand-strong);
  border-color: #cfd8e6;
  background: #f4f7fb;
}
.post-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.post-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(15,23,42,0.05);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.post-card:hover {
  transform: translateY(-2px);
  border-color: #cfd8e6;
  box-shadow: 0 14px 28px rgba(15,23,42,0.06);
}
.post-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.28;
}
.post-card h2 a:hover { color: var(--brand); }
.post-card p {
  margin: 0;
  color: var(--muted);
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}
.post-meta span,
.post-meta a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}
.post-meta a {
  color: var(--brand);
  font-weight: 700;
}
.text-link {
  display: inline-flex;
  margin-top: auto;
  color: var(--brand);
  font-weight: 800;
}
.pagination-wrap {
  margin-top: 28px;
}
.pagination-wrap .page-numbers {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin-right: 6px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.pagination-wrap .current {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
}
.comments-area {
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.article-layout {
  max-width: 860px;
}
.article-layout > *:not(.comments-area) {
  max-width: 760px;
}
.single-post .content-page h2 { margin-top: 42px; }
.mini-program-page {
  display: grid;
  gap: 28px;
}
.mini-program-page > * {
  margin: 0;
}
.mini-program-page .section-head {
  margin-bottom: 22px;
}
.mini-program-hero-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 480px);
  gap: 34px;
  padding: 34px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background:
    radial-gradient(circle at top left, rgba(42, 63, 134, 0.07), transparent 36%),
    linear-gradient(180deg, #fbfcfe 0%, #ffffff 60%, #f6f8fb 100%);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.06);
}
.mini-program-hero-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(148, 163, 184, 0.18), transparent 72%);
  pointer-events: none;
}
.mini-program-copy {
  position: relative;
  z-index: 1;
}
.mini-program-copy h2 {
  margin: 18px 0 14px;
  font-size: 48px;
  line-height: 1.08;
  letter-spacing: 0;
}
.mini-program-copy p {
  margin: 0;
  font-size: 18px;
  color: #475467;
}
.mini-program-visual {
  position: relative;
  min-height: 640px;
}
.mini-device {
  position: absolute;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
}
.mini-device img {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 28px;
}
.mini-device.main {
  top: 0;
  right: 0;
  width: min(100%, 320px);
}
.mini-device.task {
  left: 0;
  bottom: 118px;
  width: min(72%, 250px);
}
.mini-program-note {
  position: absolute;
  right: 18px;
  bottom: 0;
  width: min(100%, 260px);
  padding: 16px 18px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}
.mini-program-note strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
}
.mini-program-note p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}
.mini-program-panel {
  padding: 30px 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}
.mini-program-capability-grid .card,
.mini-program-role-grid .card,
.mini-program-flow .card {
  height: 100%;
}
.mini-program-showcase {
  gap: 34px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  align-items: center;
}
.mini-program-showcase.reverse .showcase-media {
  order: -1;
}
.mini-program-showcase .showcase-media {
  max-width: 430px;
  width: 100%;
  margin-inline: auto;
}
.mini-program-role-grid .card ul {
  margin-top: 14px;
}
.mini-program-qrcode-panel {
  background: linear-gradient(135deg, #121a2b, #2a3f86);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.18);
}
.mini-program-qrcode-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 30px;
  align-items: center;
}
.mini-program-qrcode-card img {
  width: 220px;
  padding: 12px;
  border-radius: 24px;
  background: #fff;
  border: 0;
}
.mini-program-qrcode-card h2 {
  margin: 14px 0 10px;
  color: #fff;
  font-size: 38px;
}
.mini-program-qrcode-card p {
  margin: 0;
  color: #dbeafe;
  font-size: 17px;
}
.mini-program-qrcode-card .page-meta-row {
  margin-top: 18px;
}
.mini-program-qrcode-card .page-meta-row span {
  color: #eff4ff;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}
.pricing-page {
  display: grid;
  gap: 40px;
}
.pricing-hero {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, #fbfcfe 0%, #f5f8fc 100%);
}
.pricing-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 420px);
  gap: 32px;
  align-items: center;
}
.pricing-hero-copy h2 {
  margin: 16px 0 12px;
  color: var(--ink);
  font-size: 46px;
  line-height: 1.08;
  letter-spacing: 0;
}
.pricing-hero-copy p {
  margin: 0;
  max-width: 720px;
  color: var(--body);
  font-size: 18px;
}
.pricing-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.pricing-hero-points {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}
.pricing-hero-points div {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--body);
  font-weight: 700;
}
.pricing-hero-points div::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px #edf1f7;
}
.pricing-summary {
  display: grid;
  gap: 14px;
}
.pricing-summary-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}
.pricing-summary-card strong {
  display: block;
  margin-top: 10px;
  color: var(--ink);
  font-size: 34px;
  line-height: 1;
}
.pricing-summary-card p {
  margin: 10px 0 0;
  color: var(--muted);
}
.pricing-summary-card.highlight {
  border-color: #c7d1e2;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fd 100%);
}
.pricing-summary-card.trial,
.pricing-plan-card.trial {
  border-color: #b9c8ec;
  background: linear-gradient(180deg, #ffffff 0%, #f4f7fd 100%);
  box-shadow: 0 16px 34px rgba(39, 61, 126, 0.08);
}
.pricing-summary-note,
.pricing-plan-note {
  display: block;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #eef3fd;
  color: var(--brand-strong);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}
.pricing-section h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 34px;
  line-height: 1.16;
}
.pricing-section p.section-intro {
  margin: 0 0 20px;
  max-width: 760px;
  color: var(--muted);
}
.pricing-plan-grid,
.pricing-token-grid,
.pricing-fit-grid {
  display: grid;
  gap: 18px;
}
.pricing-plan-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.pricing-token-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.pricing-fit-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.pricing-plan-card,
.pricing-token-card,
.pricing-fit-card,
.pricing-explain,
.pricing-cta {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.035);
}
.pricing-plan-card h3,
.pricing-fit-card h3,
.pricing-explain h3 {
  margin: 12px 0 8px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.24;
}
.pricing-plan-card p,
.pricing-fit-card p,
.pricing-explain p {
  margin: 0;
  color: var(--muted);
}
.pricing-plan-card strong {
  display: block;
  margin-top: 10px;
  color: var(--ink);
  font-size: 40px;
  line-height: 1;
}
.pricing-plan-card.highlight {
  border-color: #c7d1e2;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}
.pricing-plan-card .btn,
.pricing-fit-card .btn,
.pricing-cta .btn {
  margin-top: 18px;
}
.pricing-token-card {
  min-height: 182px;
}
.pricing-token-card .tag {
  margin-bottom: 10px;
}
.pricing-token-card strong {
  display: block;
  color: var(--ink);
  font-size: 32px;
  line-height: 1;
}
.pricing-token-card p {
  margin: 10px 0 0;
  color: var(--body);
  font-weight: 700;
}
.pricing-token-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}
.pricing-fit-card ul,
.pricing-explain ul {
  margin: 16px 0 0;
  padding-left: 20px;
}
.pricing-fit-card li,
.pricing-explain li {
  margin: 8px 0;
  color: var(--body);
}
.pricing-explain {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
  gap: 24px;
  align-items: start;
}
.pricing-explain-note {
  padding: 18px;
  border-radius: 12px;
  background: #f6f8fb;
  color: var(--body);
  font-weight: 700;
}
.pricing-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  background: linear-gradient(135deg, #121a2b, #2a3f86);
  border-color: rgba(255, 255, 255, 0.08);
}
.pricing-cta h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 34px;
  line-height: 1.14;
}
.pricing-cta p {
  margin: 0;
  color: #dbe7ff;
}
.pricing-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.pricing-cta .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
}
.pricing-cta .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.enterprise-page {
  display: grid;
  gap: 28px;
}
.enterprise-page > * {
  margin: 0;
}
.enterprise-hero-card,
.enterprise-panel {
  padding: 30px 32px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}
.enterprise-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 380px);
  gap: 28px;
  background:
    radial-gradient(circle at top left, rgba(42, 63, 134, 0.07), transparent 38%),
    linear-gradient(180deg, #fbfcfe 0%, #ffffff 58%, #f5f8fc 100%);
}
.enterprise-hero-copy h2 {
  margin: 18px 0 14px;
  color: var(--ink);
  font-size: 48px;
  line-height: 1.08;
}
.enterprise-hero-copy p {
  margin: 0;
  color: #475467;
  font-size: 18px;
}
.enterprise-hero-summary {
  display: grid;
  gap: 14px;
}
.enterprise-summary-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}
.enterprise-summary-card strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.18;
}
.enterprise-summary-card p {
  margin: 10px 0 0;
  color: var(--muted);
}
.enterprise-panel .section-head {
  margin-bottom: 22px;
}
.enterprise-editor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.enterprise-editor-shot {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}
.enterprise-editor-shot img {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
}
.enterprise-editor-shot figcaption {
  display: grid;
  gap: 8px;
  padding: 16px 18px 18px;
}
.enterprise-editor-shot strong {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.3;
}
.enterprise-editor-shot span {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}
.enterprise-problem-grid .card,
.enterprise-fit-grid .card,
.enterprise-workflow .card {
  height: 100%;
}
.enterprise-fit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.enterprise-fit-grid .card ul {
  margin-top: 14px;
}
.enterprise-contact-panel {
  margin-top: 10px;
  scroll-margin-top: 96px;
}
.enterprise-contact-panel .section-head {
  margin-bottom: 16px;
}
.enterprise-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(300px, 0.86fr);
  gap: 20px;
  align-items: start;
}
.enterprise-contact-notice {
  margin-bottom: 20px;
  display: grid;
  gap: 14px;
  padding: 20px 22px;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.06);
  scroll-margin-top: 110px;
}
.enterprise-contact-notice:focus {
  outline: none;
}
.enterprise-contact-notice-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}
.enterprise-contact-notice-head {
  display: grid;
  gap: 6px;
}
.enterprise-contact-notice strong {
  display: block;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.2;
}
.enterprise-contact-notice p {
  margin: 0;
  color: var(--body);
}
.enterprise-contact-notice-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.enterprise-contact-notice-points span {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.18);
  color: #334155;
  font-size: 14px;
  font-weight: 700;
}
.enterprise-contact-notice-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.enterprise-contact-notice.success {
  background: linear-gradient(180deg, #f4fbf7 0%, #ecf9f1 100%);
  border-color: #b7e3c5;
}
.enterprise-contact-notice.success .enterprise-contact-notice-eyebrow {
  color: #166534;
  background: rgba(34, 197, 94, 0.12);
}
.enterprise-contact-notice.error {
  background: linear-gradient(180deg, #fff7f7 0%, #fff1f1 100%);
  border-color: #f0c2c2;
}
.enterprise-contact-notice.error .enterprise-contact-notice-eyebrow {
  color: #b42318;
  background: rgba(239, 68, 68, 0.10);
}
.enterprise-contact-form-wrap {
  display: grid;
  gap: 18px;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid #dfe7f2;
  background: linear-gradient(180deg, #fafcff 0%, #f3f7fc 100%);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.05);
}
.enterprise-contact-copy {
  display: grid;
  gap: 10px;
}
.enterprise-contact-copy h3,
.enterprise-contact-wechat h3 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.2;
}
.enterprise-contact-copy p,
.enterprise-contact-wechat p {
  margin: 0;
  color: var(--muted);
}
.enterprise-contact-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}
.enterprise-contact-points span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid #d6e1ee;
  color: #52607a;
  font-size: 13px;
  font-weight: 700;
}
.enterprise-contact-form {
  display: grid;
  gap: 18px;
  padding: 22px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #d9e2ee;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}
.enterprise-contact-form-head {
  display: grid;
  gap: 4px;
  padding-bottom: 4px;
}
.enterprise-contact-form-head strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.2;
}
.enterprise-contact-form-head span {
  color: var(--muted);
  font-size: 13px;
}
.enterprise-contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.enterprise-contact-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 700;
}
.enterprise-contact-form label span {
  color: #364152;
  font-size: 13px;
}
.enterprise-contact-form .full-width {
  grid-column: 1 / -1;
}
.enterprise-contact-form input,
.enterprise-contact-form textarea {
  width: 100%;
  border: 1px solid #d8e2ef;
  border-radius: 12px;
  background: #f9fbfd;
  color: var(--ink);
  padding: 14px 15px;
  font: inherit;
  line-height: 1.5;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.02);
}
.enterprise-contact-form input::placeholder,
.enterprise-contact-form textarea::placeholder {
  color: #98a6ba;
}
.enterprise-contact-form input:focus,
.enterprise-contact-form textarea:focus {
  outline: none;
  background: #fff;
  border-color: #9fb3df;
  box-shadow: 0 0 0 5px rgba(61, 87, 184, 0.10);
}
.enterprise-contact-form textarea {
  min-height: 172px;
  resize: vertical;
}
.enterprise-contact-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 2px;
}
.enterprise-contact-actions p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  flex: 1 1 240px;
}
.enterprise-contact-wechat {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 20px;
  border-radius: 16px;
  background: linear-gradient(180deg, #f8fbff 0%, #f1f5fb 100%);
  border: 1px solid #dde6f2;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.04);
}
.enterprise-contact-qrcode {
  display: grid;
  place-items: center;
  overflow: hidden;
  max-width: 340px;
  margin: 2px auto 0;
  padding: 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #dbe4ef;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
}
.enterprise-contact-qrcode img {
  width: min(100%, 286px);
  border: 0;
}
.enterprise-contact-wechat-note {
  padding: 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(220, 229, 240, 0.92);
}
.enterprise-contact-wechat-note strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
}
.enterprise-contact-wechat-note .check-list {
  margin-top: 12px;
}
.single-post .content-page p,
.single-post .content-page li {
  font-size: 18px;
  line-height: 1.9;
}
.single-post .content-page ul,
.single-post .content-page ol { margin-top: 18px; }
.comments-area h2,
.comment-reply-title {
  color: var(--ink);
  font-size: 24px;
}
.comment-list {
  padding-left: 20px;
}
.comment-list li {
  margin: 14px 0;
}
.comment-form input,
.comment-form textarea {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
}
.comment-form textarea { min-height: 160px; }
.comment-form .submit {
  width: auto;
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  color: #fff;
  background: var(--brand);
  font-weight: 800;
  cursor: pointer;
}

@media (max-width: 920px) {
  .primary-nav { display: none; }
  .hero-inner, .showcase, .grid-2, .grid-3, .grid-4, .pricing-grid, .footer-grid, .metric-row, .post-list, .pricing-plan-grid, .pricing-fit-grid, .pricing-explain, .pricing-cta, .pricing-hero-inner, .enterprise-hero-card, .enterprise-fit-grid, .enterprise-editor-grid { grid-template-columns: 1fr; }
  .pricing-token-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-inner { padding: 54px 0; }
  .hero h1 { font-size: 44px; }
  .section-head h2, .page-title h1 { font-size: 34px; }
  .cta-inner h2 { font-size: 34px; }
  .section-head, .cta-inner { align-items: flex-start; flex-direction: column; }
  .mini-program-hero-card,
  .mini-program-qrcode-card { grid-template-columns: 1fr; }
  .mini-program-visual { min-height: 0; padding-top: 10px; }
  .mini-device,
  .mini-program-note { position: static; width: 100%; }
  .mini-device + .mini-device,
  .mini-device + .mini-program-note,
  .mini-program-note { margin-top: 18px; }
  .mini-program-showcase .showcase-media {
    max-width: 420px;
    width: 100%;
  }
  .mini-program-showcase.reverse > .showcase-media { order: 2; }
  .mini-program-showcase.reverse > div:not(.showcase-media) { order: 1; }
  .mini-program-copy h2 { font-size: 40px; }
  .enterprise-hero-copy h2 { font-size: 40px; }
  .pricing-hero-copy h2,
  .pricing-cta h2 { font-size: 38px; }
  .enterprise-contact-layout,
  .enterprise-contact-form-grid { grid-template-columns: 1fr; }
  .enterprise-contact-notice-points { grid-template-columns: 1fr; }
  .enterprise-contact-form-wrap {
    padding: 20px;
  }
  .enterprise-contact-qrcode {
    max-width: 320px;
  }
}

@media (max-width: 560px) {
  .container { width: min(100% - 28px, 1180px); }
  body.admin-bar .site-header { top: 46px; }
  .site-header-inner { height: auto; min-height: 64px; padding: 10px 0; }
  .brand-link span { max-width: 7em; overflow: hidden; text-overflow: ellipsis; }
  .hero h1 { font-size: 34px; }
  .section-head h2, .page-title h1 { font-size: 28px; }
  .cta-inner h2 { font-size: 28px; }
  .header-actions .btn-outline { display: none; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn, .cta-inner .btn { width: 100%; }
  .header-actions .btn { width: auto; padding: 0 14px; }
  .page-meta-row { gap: 8px; }
  .single-post .content-page p,
  .single-post .content-page li { font-size: 16px; }
  .mini-program-panel,
  .mini-program-hero-card,
  .enterprise-hero-card,
  .enterprise-panel,
  .pricing-hero,
  .pricing-plan-card,
  .pricing-token-card,
  .pricing-fit-card,
  .pricing-explain,
  .pricing-cta { padding: 22px 18px; }
  .mini-program-showcase { gap: 20px; }
  .mini-program-showcase .showcase-media {
    max-width: 240px;
    border-radius: 14px;
  }
  .mini-program-copy h2 { font-size: 32px; }
  .mini-program-copy p,
  .mini-program-qrcode-card p { font-size: 16px; }
  .mini-program-qrcode-card img { width: min(100%, 220px); }
  .mini-program-qrcode-card h2 { font-size: 30px; }
  .pricing-token-grid { grid-template-columns: 1fr; }
  .enterprise-hero-copy h2,
  .enterprise-contact-copy h3,
  .enterprise-contact-wechat h3,
  .pricing-hero-copy h2,
  .pricing-section h2,
  .pricing-cta h2 { font-size: 30px; }
  .enterprise-summary-card strong { font-size: 24px; }
  .enterprise-editor-shot figcaption { padding: 14px 14px 16px; }
  .pricing-plan-card strong { font-size: 34px; }
  .pricing-summary-card strong { font-size: 30px; }
  .enterprise-contact-actions .btn { width: 100%; }
  .enterprise-contact-notice-actions .btn { width: 100%; }
  .enterprise-contact-form,
  .enterprise-contact-wechat,
  .enterprise-contact-form-wrap { padding: 18px; }
  .enterprise-contact-qrcode {
    max-width: 280px;
    padding: 14px;
  }
  .enterprise-contact-qrcode img {
    width: min(100%, 248px);
  }
}
