:root {
  --paper: #f6f1e8;
  --paper-strong: #fffaf1;
  --ink: #211b18;
  --muted: #6c625b;
  --line: #ded2c2;
  --red: #8c2721;
  --red-dark: #631b18;
  --gold: #b58a3d;
  --teal: #2e6d68;
  --mist: #e8f0ed;
  --white: #fffdf8;
  --shadow: 0 18px 48px rgba(44, 32, 22, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  line-height: 1.65;
}

.english-page {
  --red: #315f58;
  --red-dark: #203f3b;
  --gold: #9a7a45;
  --teal: #315f58;
  --paper: #f4f1ea;
  --paper-strong: #fffdf7;
  --mist: #e7efeb;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.english-page .brand {
  min-width: 230px;
}

.english-page .brand-mark {
  background: #203f3b;
}

.english-page .hero-section {
  background:
    linear-gradient(90deg, rgba(244, 241, 234, 0.98) 0%, rgba(255, 253, 247, 0.92) 56%, rgba(231, 239, 235, 0.96) 100%);
}

.english-page .hero-copy h1 {
  max-width: 760px;
}

.english-board .board-note strong {
  color: #203f3b;
}

.traditional-page {
  --red: #7a2d28;
  --red-dark: #54201d;
  --gold: #a88345;
  --teal: #2f625d;
  --paper: #f5efe4;
  --paper-strong: #fffaf0;
  --mist: #e7efeb;
  font-family: "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", "Microsoft YaHei", Arial, sans-serif;
}

.traditional-page .brand {
  min-width: 210px;
}

.traditional-page .hero-section {
  background:
    linear-gradient(90deg, rgba(245, 239, 228, 0.98) 0%, rgba(255, 250, 240, 0.92) 54%, rgba(231, 239, 235, 0.96) 100%);
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 20;
  padding: 10px 14px;
  background: var(--ink);
  color: white;
  border-radius: 6px;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(222, 210, 194, 0.76);
  background: rgba(255, 253, 248, 0.94);
  backdrop-filter: blur(14px);
}

.header-inner,
.section-inner,
.hero-inner,
.footer-inner {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 190px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--paper-strong);
  background: var(--red-dark);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
  color: #4c4039;
  font-size: 15px;
}

.nav-links a {
  padding: 8px 0;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--red);
}

.header-cta,
.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 10px 18px;
  cursor: pointer;
  font-weight: 700;
  white-space: nowrap;
}

.header-cta,
.btn.primary {
  color: white;
  background: var(--red);
}

.header-cta:hover,
.btn.primary:hover {
  background: var(--red-dark);
}

.btn.secondary {
  color: var(--red-dark);
  background: var(--paper-strong);
  border-color: var(--line);
}

.btn.tertiary {
  color: var(--teal);
  background: var(--mist);
  border-color: rgba(46, 109, 104, 0.18);
}

.hero-section {
  padding: 76px 0 66px;
  background:
    linear-gradient(90deg, rgba(246, 241, 232, 0.98) 0%, rgba(246, 241, 232, 0.86) 52%, rgba(232, 240, 237, 0.95) 100%);
}

.compact-header .header-inner {
  justify-content: space-between;
}

.compact-header .brand {
  min-width: 0;
}

.landing-page .nav-links {
  display: none;
}

.douyin-hero {
  padding: 72px 0 64px;
  background:
    radial-gradient(circle at 88% 18%, rgba(46, 109, 104, 0.18), transparent 30%),
    linear-gradient(90deg, rgba(246, 241, 232, 0.98), rgba(255, 253, 248, 0.92) 52%, rgba(232, 240, 237, 0.96));
}

.douyin-hero .hero-inner {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.68fr);
}

.short-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 760px;
}

.short-proof span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(46, 109, 104, 0.18);
  border-radius: 999px;
  padding: 7px 13px;
  color: #365c58;
  background: rgba(232, 240, 237, 0.74);
  font-weight: 700;
}

.phone-panel {
  min-height: 520px;
  display: grid;
  place-items: center;
}

.phone-shell {
  width: min(100%, 360px);
  border: 10px solid #251d19;
  border-radius: 34px;
  padding: 16px;
  background: #fffdf8;
  box-shadow: 0 28px 70px rgba(34, 27, 24, 0.22);
}

.phone-status {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 13px;
}

.phone-status strong {
  color: var(--red-dark);
}

.report-preview {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--paper-strong);
}

.preview-label {
  margin-bottom: 14px;
  color: var(--teal);
  font-weight: 900;
}

.preview-row {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 8px;
  background: white;
}

.preview-row span {
  display: grid;
  place-items: center;
  height: 34px;
  border-radius: 50%;
  color: white;
  background: var(--red);
  font-weight: 900;
  font-size: 13px;
}

.preview-row b {
  font-size: 14px;
}

.preview-chart {
  height: 112px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  align-items: end;
  margin-top: 16px;
  padding: 14px;
  border-radius: 8px;
  background:
    linear-gradient(rgba(46, 109, 104, 0.12) 1px, transparent 1px),
    #edf4f1;
  background-size: 100% 28px;
}

.preview-chart i {
  display: block;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, #b58a3d, #8c2721);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 52px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-weight: 800;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 680px;
  color: #4d443e;
  font-size: 19px;
}

.hero-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0;
}

.cred-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 720px;
}

.cred-strip span {
  min-height: 72px;
  padding: 14px;
  border: 1px solid rgba(222, 210, 194, 0.9);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.72);
  color: var(--muted);
}

.cred-strip strong {
  display: block;
  color: var(--red-dark);
  font-size: 22px;
}

.hero-visual {
  min-height: 500px;
  display: grid;
  place-items: center;
}

.consulting-board {
  width: min(100%, 470px);
  border: 1px solid rgba(115, 80, 42, 0.24);
  border-radius: 8px;
  padding: 22px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.board-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 28px;
}

.board-top span {
  min-height: 40px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: var(--red-dark);
  background: var(--paper);
  font-weight: 700;
  font-size: 14px;
}

.decision-map {
  position: relative;
  height: 260px;
  border: 1px dashed rgba(140, 39, 33, 0.25);
  border-radius: 8px;
  background:
    linear-gradient(rgba(181, 138, 61, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(181, 138, 61, 0.11) 1px, transparent 1px);
  background-size: 28px 28px;
}

.map-node {
  position: absolute;
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(33, 27, 24, 0.14);
  color: var(--ink);
  background: var(--paper-strong);
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(44, 32, 22, 0.1);
}

.node-main {
  left: calc(50% - 41px);
  top: 88px;
  color: white;
  background: var(--red);
}

.node-one {
  left: 28px;
  top: 28px;
}

.node-two {
  right: 30px;
  top: 34px;
}

.node-three {
  left: calc(50% - 41px);
  bottom: 24px;
}

.map-line {
  position: absolute;
  height: 2px;
  transform-origin: left center;
  background: rgba(46, 109, 104, 0.5);
}

.line-a {
  left: 107px;
  top: 92px;
  width: 118px;
  transform: rotate(23deg);
}

.line-b {
  right: 112px;
  top: 100px;
  width: 118px;
  transform: rotate(157deg);
}

.line-c {
  left: calc(50% + 1px);
  top: 170px;
  width: 70px;
  transform: rotate(90deg);
}

.board-note {
  margin-top: 18px;
  padding: 16px;
  border-left: 4px solid var(--teal);
  background: var(--mist);
}

.board-note p {
  margin: 4px 0 0;
  color: #42514f;
}

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

.section-inner {
  padding: 72px 0;
}

#sample,
#booking {
  scroll-margin-top: 92px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.split-heading {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 28px;
  align-items: end;
}

.split-heading > p {
  color: var(--muted);
}

.path-grid,
.service-grid,
.case-grid,
.proof-grid {
  display: grid;
  gap: 18px;
}

.path-grid {
  grid-template-columns: repeat(4, 1fr);
}

.service-grid {
  grid-template-columns: repeat(2, 1fr);
}

.case-grid,
.proof-grid {
  grid-template-columns: repeat(3, 1fr);
}

.path-card,
.service-card,
.case-card,
.proof-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--white);
}

.path-card {
  min-height: 240px;
  display: flex;
  flex-direction: column;
}

.path-card p,
.service-card p,
.case-card p {
  color: var(--muted);
}

.path-card a,
.text-link {
  margin-top: auto;
  color: var(--red-dark);
  font-weight: 800;
}

.path-index {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 50%;
  color: var(--teal);
  background: var(--mist);
  font-weight: 900;
}

.service-card {
  min-height: 330px;
}

.service-card.accent {
  border-color: rgba(140, 39, 33, 0.32);
  box-shadow: var(--shadow);
}

.card-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.card-head span {
  flex: 0 0 auto;
  color: var(--red-dark);
  font-weight: 800;
}

.service-card ul,
.prep-list ul {
  padding-left: 20px;
  color: #4d443e;
}

.dark-band {
  color: var(--paper-strong);
  background: #241d1a;
}

.dark-band .eyebrow {
  color: #d0b478;
}

.proof-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 34px;
  align-items: start;
}

.proof-item {
  border-color: rgba(255, 250, 241, 0.16);
  background: rgba(255, 250, 241, 0.07);
}

.proof-item span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  border-radius: 50%;
  color: #241d1a;
  background: #d0b478;
  font-weight: 900;
}

.proof-item p {
  color: #d7cdc1;
}

.case-card span {
  color: var(--teal);
  font-weight: 800;
}

.fit-section {
  background: var(--white);
}

.ziwei-hero {
  padding: 76px 0 66px;
  background:
    radial-gradient(circle at 74% 18%, rgba(181, 138, 61, 0.22), transparent 28%),
    linear-gradient(90deg, rgba(246, 241, 232, 0.98), rgba(255, 253, 248, 0.92) 48%, rgba(232, 240, 237, 0.94));
}

.ziwei-hero .hero-inner {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
}

.ziwei-hero h1 {
  font-size: clamp(34px, 5vw, 56px);
}

.ziwei-guard strong {
  color: var(--teal);
}

.ziwei-input-panel {
  display: grid;
  place-items: center;
}

.hero-console-preview {
  width: min(100%, 560px);
  border: 1px solid rgba(255, 61, 93, 0.26);
  border-radius: 8px;
  padding: 18px;
  color: #e9f0fb;
  background: linear-gradient(135deg, #10182d 0%, #142d4a 100%);
  box-shadow: 0 28px 72px rgba(16, 23, 40, 0.26);
}

.hero-preview-top {
  display: grid;
  gap: 4px;
  border-bottom: 1px solid rgba(255, 61, 93, 0.28);
  padding-bottom: 12px;
}

.hero-preview-top span {
  color: #aab7cf;
  font-size: 13px;
  font-weight: 800;
}

.hero-preview-top strong {
  color: #ff4b66;
  font-size: 22px;
  line-height: 1.25;
}

.hero-preview-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.hero-preview-meta span {
  border: 1px solid rgba(39, 183, 97, 0.34);
  border-radius: 999px;
  padding: 5px 9px;
  color: #dff7e8;
  background: rgba(39, 183, 97, 0.12);
  font-size: 13px;
  font-weight: 800;
}

.hero-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.hero-mini-palace,
.hero-mini-center {
  min-height: 118px;
  border: 1px solid rgba(22, 189, 212, 0.58);
  border-radius: 8px;
  padding: 10px;
  background: rgba(7, 14, 28, 0.92);
}

.hero-mini-palace.focus {
  border-color: rgba(255, 205, 94, 0.82);
  box-shadow: 0 0 0 2px rgba(255, 205, 94, 0.18);
}

.hero-mini-palace b,
.hero-mini-center b,
.hero-mini-palace span,
.hero-mini-center span {
  display: block;
}

.hero-mini-palace b {
  color: #ff4b66;
  font-size: 15px;
}

.hero-mini-palace span {
  color: #dce6f7;
  font-size: 13px;
  line-height: 1.35;
}

.hero-mini-center {
  color: #25303a;
  background: #ece9e2;
  border-color: #cfc5b8;
}

.hero-mini-center b {
  color: #101520;
  font-size: 15px;
}

.hero-mini-center span {
  color: #62594f;
  font-size: 13px;
}

.hero-preview-note {
  margin: 14px 0 0;
  border-left: 4px solid #27b761;
  padding: 10px 12px;
  color: #c6d8d4;
  background: rgba(39, 183, 97, 0.12);
  font-size: 14px;
}

.mini-form-card {
  width: min(100%, 410px);
  border: 1px solid rgba(140, 39, 33, 0.22);
  border-radius: 8px;
  padding: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.mini-form-card h2 {
  margin-bottom: 18px;
  font-size: 26px;
}

.mini-form-card label {
  display: grid;
  gap: 7px;
  margin-bottom: 13px;
  color: #463a34;
  font-weight: 800;
}

.mini-form-card input,
.mini-form-card textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  color: #5f554e;
  background: var(--paper-strong);
}

.mini-form-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.ziwei-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(4, minmax(138px, auto));
  gap: 8px;
  border: 1px solid rgba(115, 80, 42, 0.26);
  border-radius: 8px;
  padding: 10px;
  background: #d7c4a2;
  box-shadow: var(--shadow);
}

.palace {
  position: relative;
  min-height: 138px;
  border: 1px solid rgba(115, 80, 42, 0.26);
  border-radius: 6px;
  padding: 14px;
  background: #fffaf0;
}

.palace b,
.palace span,
.palace em,
.palace small {
  display: block;
}

.palace b {
  color: var(--red-dark);
  font-size: 18px;
}

.palace span {
  margin-top: 6px;
  color: #2d524f;
  font-weight: 800;
}

.palace em {
  margin-top: 12px;
  color: var(--muted);
  font-style: normal;
}

.palace i {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--red);
  font-style: normal;
  font-weight: 900;
}

.center-palace {
  grid-column: 2 / span 2;
  grid-row: 2 / span 2;
  min-height: 284px;
  display: grid;
  place-items: center;
  text-align: center;
  background:
    linear-gradient(rgba(181, 138, 61, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(181, 138, 61, 0.12) 1px, transparent 1px),
    #fff0c9;
  background-size: 28px 28px;
}

.center-palace strong {
  color: var(--red-dark);
  font-size: 28px;
}

.center-palace span {
  color: var(--ink);
  font-size: 19px;
}

.center-palace small {
  color: var(--muted);
}

.palace-1 {
  grid-column: 1;
  grid-row: 1;
}

.palace-2 {
  grid-column: 2;
  grid-row: 1;
}

.palace-3 {
  grid-column: 3;
  grid-row: 1;
}

.palace-4 {
  grid-column: 4;
  grid-row: 1;
}

.palace-5 {
  grid-column: 1;
  grid-row: 2;
}

.palace-6 {
  grid-column: 4;
  grid-row: 2;
}

.palace-7 {
  grid-column: 1;
  grid-row: 3;
}

.palace-8 {
  grid-column: 4;
  grid-row: 3;
}

.palace-9 {
  grid-column: 1;
  grid-row: 4;
}

.palace-10 {
  grid-column: 2;
  grid-row: 4;
}

.palace-11 {
  grid-column: 3;
  grid-row: 4;
}

.palace-12 {
  grid-column: 4;
  grid-row: 4;
}

.ziwei-boundary-section {
  background: var(--white);
}

.ziwei-sample-section .section-inner {
  width: min(1600px, calc(100% - 40px));
}

.professional-section {
  background: var(--white);
}

.professional-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.professional-card {
  min-height: 260px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--paper-strong);
}

.professional-card span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  color: white;
  background: var(--teal);
  font-weight: 900;
}

.professional-card p {
  color: var(--muted);
}

.ziwei-workbench {
  overflow: hidden;
  border: 1px solid rgba(255, 61, 93, 0.25);
  border-radius: 8px;
  color: #e7edf8;
  background: #10182d;
  box-shadow: 0 24px 72px rgba(16, 23, 40, 0.22);
}

.workbench-topbar {
  min-height: 48px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  border-bottom: 2px solid #ff3155;
  padding: 12px 18px;
  color: #d8e3f5;
  background: #0f162a;
}

.workbench-brandline {
  display: grid;
  gap: 2px;
}

.workbench-brandline span {
  color: #aab7cf;
  font-size: 13px;
  font-weight: 800;
}

.workbench-brandline strong {
  color: #ff4b66;
  font-size: 20px;
  line-height: 1.2;
}

.workbench-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.workbench-badges span {
  border: 1px solid rgba(39, 183, 97, 0.34);
  border-radius: 999px;
  padding: 5px 9px;
  color: #dff7e8;
  background: rgba(39, 183, 97, 0.12);
  font-size: 13px;
  font-weight: 800;
}

.workbench-body {
  display: grid;
  grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
  background: linear-gradient(135deg, #171b31 0%, #172d4a 100%);
}

.workbench-sidebar {
  max-height: calc(100vh - 90px);
  overflow: auto;
  border: 1px solid rgba(255, 61, 93, 0.28);
  border-radius: 8px;
  padding: 18px;
  background: rgba(17, 23, 42, 0.9);
}

.workbench-panel {
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255, 61, 93, 0.25);
}

.workbench-panel h3,
.workbench-chart-title h3 {
  color: #ff4b66;
  font-size: 20px;
}

.workbench-panel label,
.workbench-panel p {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin: 10px 0;
  color: #cdd7e8;
}

.workbench-panel label span {
  color: #8da4c4;
}

.console-field {
  display: grid;
  gap: 7px;
}

.console-field input,
.console-field select {
  width: 100%;
  border: 1px solid rgba(255, 61, 93, 0.45);
  border-radius: 6px;
  padding: 9px 10px;
  color: #e7edf8;
  background: #111a30;
}

.console-button {
  width: 100%;
  border: 1px solid #ff4b66;
  border-radius: 8px;
  padding: 10px 12px;
  color: #fff;
  background: #972633;
  cursor: pointer;
  font-weight: 800;
}

.console-status {
  min-height: 38px;
  color: #9fb0ca;
  font-size: 14px;
}

.console-trust-card {
  display: grid;
  gap: 5px;
  margin-top: 12px;
  border: 1px solid rgba(39, 183, 97, 0.34);
  border-radius: 8px;
  padding: 12px;
  color: #dff7e8;
  background: rgba(39, 183, 97, 0.12);
}

.console-trust-card strong {
  color: #ffffff;
  font-size: 15px;
}

.console-trust-card span {
  color: #b8e9c9;
  font-size: 13px;
  line-height: 1.45;
}

.toggle-row {
  align-items: center;
  justify-content: flex-start;
  cursor: pointer;
}

.toggle-row input {
  width: 18px;
  height: 18px;
  accent-color: #168bff;
}

.console-note {
  margin: 0;
  color: #9fb0ca;
  font-size: 14px;
}

.workbench-chart {
  position: relative;
  padding: 20px;
  border: 1px solid rgba(255, 61, 93, 0.25);
  border-radius: 8px;
  background: rgba(28, 39, 68, 0.92);
  min-width: 0;
}

.workbench-chart-title {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255, 61, 93, 0.28);
}

.workbench-chart-title span {
  color: #aab7cf;
}

.dark-chart-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  width: min(620px, 100%);
  margin: 0 auto;
}

.demo-link-layer {
  position: absolute;
  inset: 78px 40px 92px;
  pointer-events: none;
  z-index: 1;
}

.demo-link {
  position: absolute;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 45, 81, 0.58);
  transform-origin: left center;
}

.demo-link-a {
  left: 10%;
  top: 28%;
  width: 52%;
  transform: rotate(11deg);
}

.demo-link-b {
  left: 34%;
  top: 52%;
  width: 38%;
  transform: rotate(-18deg);
  background: rgba(39, 183, 97, 0.54);
}

.demo-link-c {
  left: 14%;
  top: 76%;
  width: 66%;
  transform: rotate(-4deg);
  background: rgba(22, 189, 212, 0.42);
}

.workbench-chart.hide-lines .demo-link-layer {
  display: none;
}

.chart-cell {
  min-height: 0;
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(63, 90, 130, 0.72);
  border-radius: 8px;
  padding: 7px;
  color: #dce6f7;
  background: rgba(7, 14, 28, 0.92);
  cursor: pointer;
}

.chart-cell.rim {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.chart-cell.violet {
  border-color: #b744d6;
}

.chart-cell.cyan {
  border-color: #16bdd4;
}

.chart-cell.green {
  border-color: #27b761;
}

.chart-cell.red {
  border-color: #c13a4c;
}

.chart-cell header {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  margin-bottom: 6px;
}

.chart-cell b {
  color: #ff4b66;
}

.chart-cell header span {
  color: #48d47c;
  font-weight: 800;
}

.chart-cell p {
  margin: 0;
  line-height: 1.2;
  font-size: 0.86em;
}

.chart-cell small {
  position: absolute;
  right: 10px;
  bottom: 8px;
  color: rgba(255, 255, 255, 0.26);
}

.chart-cell.is-selected {
  outline: 3px solid rgba(255, 205, 94, 0.82);
  outline-offset: 2px;
}

.workbench-chart.hide-marks .mark-text {
  display: none;
}

.workbench-chart.hide-limits .chart-cell header span {
  display: none;
}

.workbench-chart.hide-review .chart-cell small,
.workbench-chart.hide-review .server-lock {
  display: none;
}

.center-card {
  color: #25303a;
  background: #ece9e2;
  border-color: #cfc5b8;
}

.center-card strong,
.center-card span {
  display: block;
}

.center-card strong {
  color: #0c111a;
  font-size: 18px;
}

.center-card.muted {
  color: #62594f;
}

.server-lock {
  display: grid;
  gap: 4px;
  margin-top: 14px;
  border-left: 4px solid #27b761;
  padding: 13px 15px;
  background: rgba(39, 183, 97, 0.12);
}

.server-lock strong {
  color: #f4fbf8;
}

.server-lock span {
  color: #c6d8d4;
}

.replica-left-note,
.replica-right-note {
  top: 98px;
}

.replica-left-note {
  left: 18px;
}

.replica-right-note {
  right: 18px;
  text-align: right;
}

.palace-detail-panel {
  display: grid;
  gap: 4px;
  margin-top: 14px;
  border: 1px solid rgba(255, 205, 94, 0.34);
  border-radius: 8px;
  padding: 13px 15px;
  color: #f2ead8;
  background: rgba(255, 205, 94, 0.1);
}

.palace-detail-panel strong {
  color: #ffd67a;
}

.chain-detail-panel {
  margin-top: 14px;
  border: 1px solid rgba(255, 61, 93, 0.25);
  border-radius: 8px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
}

.chain-title {
  margin-bottom: 10px;
  color: #ff4b66;
  font-weight: 900;
}

.chain-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.chain-filter {
  border: 1px solid rgba(255, 61, 93, 0.38);
  border-radius: 5px;
  padding: 4px 9px;
  color: #cfd8eb;
  background: rgba(0, 0, 0, 0.26);
  cursor: pointer;
}

.chain-filter.active {
  color: #ff4b66;
  background: rgba(255, 61, 93, 0.18);
}

.chain-row {
  display: grid;
  grid-template-columns: 1fr 64px 1fr 92px;
  gap: 8px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 7px 0;
  color: #bfcbe1;
  font-size: 14px;
}

.chain-row b {
  color: #ffd67a;
}

.chain-row em {
  color: rgba(255, 255, 255, 0.42);
  font-style: normal;
}

.chain-row.is-hidden {
  display: none;
}

.fit-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  gap: 34px;
  align-items: start;
}

.fit-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.fit-card {
  min-height: 330px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--paper-strong);
}

.fit-card.positive {
  border-color: rgba(46, 109, 104, 0.28);
}

.fit-card.caution {
  border-color: rgba(140, 39, 33, 0.24);
}

.fit-card ul {
  padding-left: 20px;
  color: #4d443e;
}

.booking-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(320px, 1.18fr);
  gap: 36px;
  align-items: start;
}

.booking-copy p {
  color: var(--muted);
}

.prep-list {
  margin-top: 28px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.booking-form {
  display: grid;
  gap: 16px;
  border: 1px solid rgba(140, 39, 33, 0.24);
  border-radius: 8px;
  padding: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.booking-form label {
  display: grid;
  gap: 8px;
  color: #463a34;
  font-weight: 800;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fffdf9;
  outline: none;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(46, 109, 104, 0.12);
}

.form-actions {
  margin: 4px 0 0;
}

.form-status {
  min-height: 28px;
  margin: 0;
  color: var(--teal);
  font-weight: 800;
}

.copy-output {
  min-height: 130px;
  display: none;
  color: #473d37;
  background: var(--paper-strong);
}

.copy-output.is-visible {
  display: block;
}

.site-footer {
  padding: 34px 0 78px;
  color: #d9d0c5;
  background: #1c1715;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 26px;
}

.footer-inner p {
  margin: 8px 0 0;
  color: #bfb2a8;
}

.footer-contact {
  display: grid;
  gap: 8px;
}

.footer-contact a {
  color: #f6e7d6;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-hero {
  min-height: auto;
}

.mobile-sticky {
  display: none;
}

@media (max-width: 980px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .nav-links {
    order: 3;
    width: 100%;
    overflow-x: auto;
    margin-left: 0;
    padding-bottom: 2px;
  }

  .hero-inner,
  .split-heading,
  .proof-layout,
  .booking-layout,
  .fit-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
  }

  .path-grid,
  .service-grid,
  .case-grid,
  .proof-grid,
  .fit-columns,
  .professional-grid {
    grid-template-columns: 1fr;
  }

  .douyin-hero .hero-inner {
    grid-template-columns: 1fr;
  }

  .ziwei-hero .hero-inner {
    grid-template-columns: 1fr;
  }

  .ziwei-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }

  .palace,
  .center-palace,
  .palace-1,
  .palace-2,
  .palace-3,
  .palace-4,
  .palace-5,
  .palace-6,
  .palace-7,
  .palace-8,
  .palace-9,
  .palace-10,
  .palace-11,
  .palace-12 {
    grid-column: auto;
    grid-row: auto;
  }

  .center-palace {
    min-height: 180px;
    grid-column: 1 / -1;
    order: -1;
  }

  .phone-panel {
    min-height: auto;
  }

  .workbench-body {
    grid-template-columns: 1fr;
  }

  .dark-chart-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .replica-left-note,
  .replica-right-note {
    display: none;
  }
}

@media (max-width: 680px) {
  .header-inner,
  .section-inner,
  .hero-inner,
  .footer-inner {
    width: min(100% - 28px, 1160px);
  }

  .site-header {
    position: static;
  }

  .header-cta {
    display: none;
  }

  .hero-section {
    padding: 42px 0 44px;
  }

  .section-inner {
    padding: 54px 0;
  }

  h1 {
    font-size: 38px;
  }

  .douyin-hero h1 {
    font-size: 34px;
    line-height: 1.14;
  }

  .ziwei-hero h1 {
    font-size: 34px;
    line-height: 1.14;
  }

  .hero-mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-mini-palace,
  .hero-mini-center {
    min-height: 104px;
  }

  h2 {
    font-size: 30px;
  }

  .hero-lede {
    font-size: 17px;
  }

  .hero-actions,
  .form-actions {
    display: grid;
  }

  .cred-strip {
    grid-template-columns: 1fr;
  }

  .consulting-board {
    padding: 16px;
  }

  .board-top {
    grid-template-columns: 1fr;
  }

  .decision-map {
    height: 230px;
  }

  .map-node {
    width: 70px;
    height: 70px;
    font-size: 14px;
  }

  .node-main {
    left: calc(50% - 35px);
    top: 82px;
  }

  .node-one {
    left: 18px;
  }

  .node-two {
    right: 18px;
  }

  .node-three {
    left: calc(50% - 35px);
  }

  .line-a,
  .line-b,
  .line-c {
    display: none;
  }

  .card-head {
    display: grid;
  }

  .site-footer {
    padding-bottom: 96px;
  }

  .mobile-sticky {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 12;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid rgba(222, 210, 194, 0.9);
    background: var(--white);
  }

  .mobile-sticky a {
    min-height: 58px;
    display: grid;
    place-items: center;
    font-weight: 900;
  }

  .mobile-sticky a:first-child {
    color: var(--red-dark);
    background: var(--paper-strong);
  }

  .mobile-sticky a:last-child {
    color: white;
    background: var(--red);
  }

  .ziwei-workbench {
    margin-left: -14px;
    margin-right: -14px;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }

  .workbench-topbar {
    display: grid;
    justify-items: start;
  }

  .workbench-body {
    padding: 14px;
  }

  .workbench-sidebar {
    display: none;
  }

  .workbench-chart {
    padding: 12px;
  }

  .dark-chart-grid {
    grid-template-columns: 1fr;
  }

  .chart-cell {
    min-height: 108px;
  }
}
