:root {
  --bg: #070707;
  --panel: #10100f;
  --panel-soft: #171512;
  --gold: #c9a86a;
  --gold-bright: #f3d38b;
  --gold-deep: #735a2c;
  --text: #f6ead2;
  --muted: #9e927d;
  --line: rgba(201, 168, 106, 0.22);
  --line-strong: rgba(243, 211, 139, 0.42);
  --danger: #7b271f;
  --jade: #22352f;
  --ember: #ff9f2f;
  --bronze: #3b2712;
  --smoke: rgba(255, 243, 211, 0.055);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  position: relative;
  min-height: 100vh;
  background:
    radial-gradient(circle at 74% 10%, rgba(243, 211, 139, 0.13), transparent 34rem),
    radial-gradient(circle at 20% 80%, rgba(115, 90, 44, 0.12), transparent 30rem),
    linear-gradient(180deg, #020202 0%, var(--bg) 42%, #0b0907 100%);
  color: var(--text);
  font-family: "Noto Serif SC", "Songti SC", "STSong", "PingFang SC", serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(243, 211, 139, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 211, 139, 0.025) 1px, transparent 1px);
  background-size: 92px 92px;
  mask-image: radial-gradient(circle at 50% 20%, black, transparent 68%);
  opacity: 0.42;
}

body > * {
  position: relative;
}

body.modal-open {
  overflow: hidden;
}

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

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

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  min-height: 78px;
  padding: 14px 38px;
  background: rgba(5, 5, 5, 0.78);
  border-bottom: 1px solid rgba(201, 168, 106, 0.18);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.brand-mark img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(201, 168, 106, 0.34));
  animation: logoPulse 4.8s ease-in-out infinite;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  color: var(--gold-bright);
  font-size: 18px;
  font-weight: 600;
}

.brand-copy small {
  color: var(--muted);
  font-size: 11px;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  color: rgba(246, 234, 210, 0.76);
}

.site-nav a {
  position: relative;
  padding: 12px 0;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 1px;
  transform: scaleX(0);
  transform-origin: center;
  background: var(--gold-bright);
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--gold-bright);
}

.site-nav a.active::after,
.site-nav a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gold-button,
.ghost-button,
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--gold-bright);
  padding: 0 22px;
  line-height: 1;
  text-align: center;
  vertical-align: middle;
  border-radius: 0;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.gold-button {
  background: linear-gradient(135deg, rgba(201, 168, 106, 0.24), rgba(115, 90, 44, 0.38));
}

.gold-button:hover,
.ghost-button:hover,
.icon-button:hover {
  border-color: var(--gold-bright);
  background: rgba(201, 168, 106, 0.12);
  transform: translateY(-1px);
}

.gold-button:disabled {
  cursor: not-allowed;
  opacity: 0.56;
  transform: none;
}

.gold-button.small,
.icon-button {
  min-height: 38px;
  padding: 0 16px;
  font-size: 13px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 6px auto;
  background: var(--gold-bright);
}

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 78% 48%, rgba(243, 211, 139, 0.1), transparent 34rem),
    radial-gradient(circle at 62% 12%, rgba(255, 159, 47, 0.1), transparent 22rem),
    linear-gradient(115deg, #020202 0%, #070604 48%, #120b04 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.84) 31%, rgba(0, 0, 0, 0.28) 66%, rgba(0, 0, 0, 0.1) 100%),
    repeating-linear-gradient(90deg, rgba(243, 211, 139, 0.034) 0 1px, transparent 1px 146px);
  opacity: 0.96;
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(180deg, transparent, rgba(7, 7, 7, 0.92));
  pointer-events: none;
  z-index: 2;
}

.hero-visual {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8% 0 0 44%;
  background:
    radial-gradient(circle at 58% 40%, rgba(255, 227, 146, 0.18), transparent 20rem),
    radial-gradient(circle at 68% 64%, rgba(255, 159, 47, 0.11), transparent 24rem);
  filter: blur(18px);
  opacity: 0.78;
  animation: phoenixGlowPulse 5.8s ease-in-out infinite;
  z-index: 1;
}

.hero-visual::after {
  content: "";
  position: absolute;
  top: -20%;
  right: -18%;
  width: 58%;
  height: 140%;
  background:
    linear-gradient(115deg, transparent 0 38%, rgba(255, 236, 180, 0.18) 45%, rgba(255, 159, 47, 0.08) 52%, transparent 64% 100%),
    linear-gradient(70deg, transparent 0 54%, rgba(243, 211, 139, 0.1), transparent 72%);
  mix-blend-mode: screen;
  filter: blur(12px);
  opacity: 0;
  transform: translateX(26%) rotate(4deg);
  animation: refinedWingLight 7.4s ease-in-out infinite;
  z-index: 3;
}

.phoenix-wrap {
  position: absolute;
  inset: 0;
  opacity: 0.98;
  filter: saturate(1.08) contrast(1.06);
  transform-origin: 72% 48%;
  animation: phoenixImagePresence 9s ease-in-out infinite;
  z-index: 0;
}

.phoenix-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  animation: none;
}

.phoenix-aura {
  position: absolute;
  top: 4%;
  right: 4%;
  width: min(52vw, 840px);
  aspect-ratio: 1;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(255, 220, 139, 0.16), transparent 54%),
    conic-gradient(from 80deg, transparent, rgba(255, 159, 47, 0.16), transparent, rgba(243, 211, 139, 0.1), transparent);
  filter: blur(34px);
  opacity: 0.56;
  animation: auraTurn 22s linear infinite;
  z-index: 1;
}

.phoenix-sweep {
  position: absolute;
  top: 18%;
  right: 8%;
  width: 38%;
  height: 58%;
  border-radius: 999px;
  background:
    conic-gradient(from 220deg, transparent, rgba(255, 234, 174, 0.18), transparent 32%, transparent 100%),
    radial-gradient(circle at 68% 44%, rgba(255, 159, 47, 0.16), transparent 48%);
  filter: blur(18px);
  opacity: 0.4;
  mix-blend-mode: screen;
  animation: flameCurrent 6.8s ease-in-out infinite;
  z-index: 2;
}

.hero-ember {
  position: absolute;
  width: 36rem;
  height: 36rem;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(243, 211, 139, 0.15) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(255, 159, 47, 0.12), transparent 62%);
  background-size: 42px 42px, auto;
  filter: blur(0.2px);
  opacity: 0.38;
  animation: emberRise 18s linear infinite;
  z-index: 3;
}

.hero-ember-one {
  top: 16%;
  right: 2%;
}

.hero-ember-two {
  right: 22%;
  bottom: 4%;
  width: 24rem;
  height: 24rem;
  animation-duration: 19s;
  animation-direction: reverse;
}

.hero-ember-three {
  top: 3%;
  left: 42%;
  width: 18rem;
  height: 18rem;
  opacity: 0.34;
  animation-duration: 22s;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
  padding: 86px 0 74px;
}

.hero-copy {
  position: relative;
  max-width: 560px;
  padding: 34px 0;
  isolation: isolate;
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: -92px -86px -78px -72px;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 16%, rgba(243, 211, 139, 0.16), transparent 8rem),
    radial-gradient(circle at 62% 66%, rgba(201, 168, 106, 0.1), transparent 15rem),
    radial-gradient(ellipse at 24% 76%, rgba(255, 159, 47, 0.055), transparent 20rem),
    linear-gradient(135deg, rgba(201, 168, 106, 0.08), transparent 44%);
  border-left: 1px solid rgba(243, 211, 139, 0.18);
  box-shadow:
    inset 1px 0 0 rgba(255, 243, 211, 0.075),
    0 0 70px rgba(201, 168, 106, 0.08);
  mask-image: linear-gradient(90deg, black, black 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, black, black 70%, transparent 100%);
  opacity: 0.78;
}

.hero-copy::after {
  content: "";
  position: absolute;
  left: -38px;
  top: 22px;
  width: 1px;
  height: 82%;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(243, 211, 139, 0.62), rgba(201, 168, 106, 0.08), transparent);
  box-shadow:
    16px 42px 0 -0.5px rgba(243, 211, 139, 0.18),
    34px 116px 0 -0.5px rgba(243, 211, 139, 0.14),
    52px 12px 0 -0.5px rgba(243, 211, 139, 0.12),
    92px 168px 0 -0.5px rgba(243, 211, 139, 0.16);
  animation: leftConstellation 5.8s ease-in-out infinite;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
}

.hero h1,
.page-banner h1 {
  margin: 0;
  color: var(--gold-bright);
  font-size: 68px;
  line-height: 1.15;
  font-weight: 500;
  text-shadow: 0 0 36px rgba(201, 168, 106, 0.2);
}

.hero h1 {
  letter-spacing: 0.02em;
  text-shadow:
    0 0 22px rgba(243, 211, 139, 0.18),
    0 28px 68px rgba(0, 0, 0, 0.58);
}

.hero p {
  max-width: 520px;
  margin: 28px 0 0;
  color: rgba(246, 234, 210, 0.72);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 2;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.hero-metrics {
  position: relative;
  z-index: 1;
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-top-color: rgba(243, 211, 139, 0.36);
  background:
    linear-gradient(90deg, rgba(201, 168, 106, 0.14), transparent 32%, rgba(201, 168, 106, 0.08)),
    rgba(8, 7, 5, 0.92);
  box-shadow:
    0 26px 80px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 243, 211, 0.08);
  backdrop-filter: blur(14px);
}

.hero-metrics div {
  min-height: 108px;
  padding: 22px 26px;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent);
}

.hero-metrics div:last-child {
  border-right: none;
}

.hero-metrics strong {
  display: block;
  color: var(--gold-bright);
  font-size: 20px;
  font-weight: 500;
}

.hero-metrics span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 13px;
}

.section,
.page-section {
  position: relative;
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
  padding: 96px 0;
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 60px;
  align-items: end;
  margin-bottom: 38px;
}

.section-header h2,
.page-section h2 {
  margin: 0;
  color: var(--gold-bright);
  font-size: 38px;
  line-height: 1.28;
  font-weight: 500;
}

.section-header p,
.page-section > p,
.muted {
  color: rgba(246, 234, 210, 0.68);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.9;
}

.grid {
  display: grid;
  gap: 18px;
}

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

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.card,
.placeholder,
.value-card,
.timeline-item,
.course-card,
.case-card {
  position: relative;
  min-height: 176px;
  padding: 26px;
  background:
    linear-gradient(145deg, rgba(23, 21, 18, 0.95), rgba(8, 8, 8, 0.95)),
    radial-gradient(circle at 100% 0%, rgba(201, 168, 106, 0.14), transparent 22rem);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 243, 211, 0.05);
}

.card::before,
.value-card::before,
.course-card::before,
.case-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 1px solid rgba(243, 211, 139, 0.22);
  pointer-events: none;
}

.card::after,
.value-card::after,
.course-card::after,
.case-card::after,
.timeline-item::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -30%;
  width: 14rem;
  height: 14rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(243, 211, 139, 0.14), transparent 64%);
  opacity: 0;
  transition: opacity 220ms ease, transform 220ms ease;
}

.card:hover,
.course-card:hover,
.case-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.card:hover::after,
.value-card:hover::after,
.course-card:hover::after,
.case-card:hover::after,
.timeline-item:hover::after {
  opacity: 1;
  transform: translate(-12px, 12px);
}

.card small,
.course-card small,
.case-card small,
.index {
  display: block;
  margin-bottom: 18px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
}

.card h3,
.value-card h3,
.timeline-item h3,
.course-card h3,
.case-card h3 {
  margin: 0 0 14px;
  color: var(--text);
  font-size: 22px;
  font-weight: 500;
}

.card p,
.value-card p,
.timeline-item p,
.course-card p,
.case-card p,
.placeholder p {
  margin: 0;
  color: rgba(246, 234, 210, 0.64);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 1.85;
}

.placeholder {
  display: grid;
  place-items: center;
  min-height: 240px;
  color: rgba(246, 234, 210, 0.46);
  text-align: center;
  background:
    linear-gradient(135deg, rgba(201, 168, 106, 0.08), transparent),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 14px),
    #0b0b0a;
}

.founder-photo-card {
  position: relative;
  min-height: 520px;
  margin: 0;
  padding: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 70% 0%, rgba(243, 211, 139, 0.16), transparent 20rem),
    linear-gradient(145deg, rgba(23, 21, 18, 0.92), rgba(5, 5, 5, 0.96));
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 243, 211, 0.08);
}

.founder-photo-card::before {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: 2;
  pointer-events: none;
  border: 1px solid rgba(243, 211, 139, 0.18);
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.28);
}

.founder-photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 58%, rgba(0, 0, 0, 0.72)),
    radial-gradient(circle at 50% 8%, rgba(255, 243, 211, 0.12), transparent 18rem);
}

.founder-photo-card img {
  width: 100%;
  height: 560px;
  display: block;
  object-fit: cover;
  object-position: center 18%;
  filter: contrast(1.03) saturate(0.92) brightness(0.94);
}

.founder-photo-card figcaption {
  position: absolute;
  left: 34px;
  bottom: 30px;
  z-index: 3;
  color: var(--gold-bright);
  font-size: 18px;
  letter-spacing: 0.08em;
}

.founder-role {
  margin: -6px 0 18px;
  color: var(--gold-bright);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  letter-spacing: 0.18em;
}

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

.qualification-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(201, 168, 106, 0.28);
  background: linear-gradient(150deg, rgba(28, 22, 13, 0.94), rgba(7, 7, 7, 0.98));
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.3);
}

.qualification-card a {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #090806;
}

.qualification-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  transition: transform 500ms ease, filter 500ms ease;
}

.qualification-card:hover img {
  transform: scale(1.025);
  filter: brightness(1.04);
}

.qualification-card figcaption {
  display: grid;
  gap: 8px;
  padding: 22px 24px 24px;
}

.qualification-card figcaption strong {
  color: var(--text);
  font-size: 17px;
  font-weight: 500;
}

.qualification-card figcaption span {
  color: rgba(246, 234, 210, 0.56);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 13px;
  line-height: 1.7;
}

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

.page-banner {
  position: relative;
  min-height: 420px;
  display: grid;
  align-items: end;
  padding: 120px 0 70px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 18%, rgba(201, 168, 106, 0.22), transparent 30rem),
    radial-gradient(circle at 18% 94%, rgba(59, 39, 18, 0.5), transparent 26rem),
    linear-gradient(180deg, #050505, #0b0907);
}

.page-banner::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(180deg, transparent, rgba(7, 7, 7, 0.88));
  pointer-events: none;
}

.page-banner-texture {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(243, 211, 139, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 211, 139, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 26% 38%, rgba(255, 255, 255, 0.04), transparent 22rem);
  background-size: 86px 86px, 86px 86px, auto;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.55), black 38%, transparent 88%);
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.55), black 38%, transparent 88%);
  opacity: 0.5;
}

.page-banner-emblem {
  position: absolute;
  top: 48px;
  right: 9%;
  width: min(36vw, 420px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  opacity: 0.95;
  filter: drop-shadow(0 0 38px rgba(201, 168, 106, 0.18));
}

.page-banner-emblem img {
  width: 72%;
  height: 72%;
  object-fit: contain;
  opacity: 0.2;
  filter: sepia(0.85) saturate(1.35) brightness(1.1);
  animation: emblemBreath 5.5s ease-in-out infinite;
}

.emblem-orbit {
  position: absolute;
  inset: 12%;
  border-radius: 999px;
  border: 1px solid rgba(243, 211, 139, 0.16);
  background: conic-gradient(from 40deg, transparent, rgba(243, 211, 139, 0.42), transparent 34%, transparent 100%);
  mask-image: radial-gradient(circle, transparent 58%, black 59%);
  -webkit-mask-image: radial-gradient(circle, transparent 58%, black 59%);
  animation: auraTurn 12s linear infinite;
}

.emblem-orbit.outer {
  inset: 0;
  opacity: 0.52;
  animation-duration: 18s;
  animation-direction: reverse;
}

.emblem-sweep {
  position: absolute;
  inset: 17%;
  border-radius: 999px;
  background: linear-gradient(105deg, transparent 0 35%, rgba(255, 243, 211, 0.38), transparent 66% 100%);
  mix-blend-mode: screen;
  mask-image: url("./logo-original.png");
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  opacity: 0;
  animation: logoSweep 3.6s ease-in-out infinite;
}

body[data-page="culture"] .page-banner {
  background:
    radial-gradient(circle at 76% 18%, rgba(243, 211, 139, 0.18), transparent 26rem),
    repeating-radial-gradient(circle at 76% 42%, rgba(201, 168, 106, 0.08) 0 1px, transparent 1px 24px),
    linear-gradient(180deg, #060503, #100c07);
}

body[data-page="founder"] .page-banner {
  background:
    radial-gradient(ellipse at 62% 22%, rgba(243, 211, 139, 0.2), transparent 25rem),
    linear-gradient(115deg, rgba(0, 0, 0, 0.1), rgba(115, 90, 44, 0.24) 62%, transparent),
    #050505;
}

body[data-page="strategy"] .page-banner {
  background:
    linear-gradient(135deg, transparent 0 44%, rgba(201, 168, 106, 0.08) 44% 45%, transparent 45% 100%),
    radial-gradient(circle at 72% 28%, rgba(255, 159, 47, 0.16), transparent 28rem),
    linear-gradient(180deg, #050505, #0c0905);
}

body[data-page="empower"] .page-banner {
  background:
    radial-gradient(circle at 82% 18%, rgba(243, 211, 139, 0.2), transparent 28rem),
    radial-gradient(circle at 34% 76%, rgba(34, 53, 47, 0.44), transparent 30rem),
    #050505;
}

body[data-page="cases"] .page-banner {
  background:
    repeating-linear-gradient(90deg, rgba(243, 211, 139, 0.04) 0 1px, transparent 1px 120px),
    radial-gradient(circle at 78% 30%, rgba(201, 168, 106, 0.18), transparent 28rem),
    linear-gradient(180deg, #030303, #0c0907);
}

body[data-page="academy"] .page-banner {
  background:
    radial-gradient(circle at 74% 24%, rgba(243, 211, 139, 0.22), transparent 24rem),
    linear-gradient(125deg, rgba(59, 39, 18, 0.44), transparent 54%),
    #050403;
}

body[data-page="choose"] .page-banner {
  background:
    radial-gradient(circle at 82% 20%, rgba(255, 159, 47, 0.18), transparent 24rem),
    linear-gradient(90deg, #050505, #100b05 66%, #050505);
}

.page-banner-inner {
  position: relative;
  z-index: 1;
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
}

.page-banner p {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(246, 234, 210, 0.68);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.9;
}

.band {
  border-top: 1px solid rgba(201, 168, 106, 0.12);
  border-bottom: 1px solid rgba(201, 168, 106, 0.12);
  background:
    radial-gradient(circle at 82% 0%, rgba(201, 168, 106, 0.12), transparent 26rem),
    linear-gradient(90deg, rgba(34, 53, 47, 0.2), transparent 44%),
    rgba(255, 255, 255, 0.018);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
}

.stat {
  min-height: 156px;
  padding: 30px;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: none;
}

.stat strong {
  display: block;
  color: var(--gold-bright);
  font-size: 34px;
  font-weight: 500;
}

.stat span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

.seal-panel {
  min-height: 420px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle, rgba(201, 168, 106, 0.18), transparent 18rem),
    linear-gradient(145deg, rgba(23, 21, 18, 0.88), rgba(5, 5, 5, 0.96));
  border: 1px solid var(--line);
}

.seal-panel,
.placeholder {
  box-shadow:
    inset 0 1px 0 rgba(255, 243, 211, 0.06),
    0 22px 70px rgba(0, 0, 0, 0.22);
}

.seal-panel img {
  width: min(72%, 360px);
  height: auto;
  filter: drop-shadow(0 0 26px rgba(201, 168, 106, 0.26));
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline-item {
  min-height: auto;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
}

.course-card {
  min-height: 220px;
}

.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.course-meta span,
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(201, 168, 106, 0.2);
  color: var(--gold);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 12px;
}

.form-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 56px;
  align-items: start;
}

.consult-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.consult-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 13px;
}

.consult-form .full {
  grid-column: 1 / -1;
}

.consult-form input,
.consult-form select,
.consult-form textarea,
.search-input {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  padding: 13px 14px;
  outline: none;
  border-radius: 0;
}

.consult-form textarea {
  resize: vertical;
}

.consult-form input:focus,
.consult-form select:focus,
.consult-form textarea:focus,
.search-input:focus {
  border-color: var(--gold-bright);
}

.form-message {
  min-height: 24px;
  color: var(--muted);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 13px;
}

.form-message[data-state="success"] {
  color: var(--gold-bright);
}

.form-message[data-state="error"] {
  color: #f0a29a;
}

.site-footer {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
  padding: 46px 38px;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 10% 0%, rgba(201, 168, 106, 0.12), transparent 22rem),
    #040404;
}

.site-footer img {
  width: 96px;
  height: auto;
}

.site-footer p {
  margin: 0 0 8px;
  color: var(--text);
}

.site-footer small,
.site-footer nav {
  color: var(--muted);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 13px;
}

.site-footer small a {
  color: var(--gold);
}

.site-footer nav {
  display: flex;
  gap: 18px;
}

.floating-consult {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: grid;
  gap: 8px;
}

.floating-consult button,
.floating-consult a {
  min-width: 104px;
  min-height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  background: rgba(7, 7, 7, 0.86);
  color: var(--gold-bright);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 13px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.76);
  backdrop-filter: blur(12px);
}

.modal.open {
  display: grid;
}

.modal-panel {
  position: relative;
  width: min(720px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 40px;
  background:
    radial-gradient(circle at 100% 0%, rgba(201, 168, 106, 0.16), transparent 20rem),
    #0b0b0a;
  border: 1px solid var(--line-strong);
}

.modal-panel h2 {
  margin: 0 0 26px;
  color: var(--gold-bright);
  font-size: 34px;
  font-weight: 500;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--gold-bright);
  font-size: 24px;
}

.search-results {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.search-result {
  padding: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.search-result strong {
  color: var(--gold-bright);
}

.search-result p {
  margin: 8px 0 0;
  color: var(--muted);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 13px;
}

.empty-state {
  padding: 36px;
  border: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

@keyframes leftConstellation {
  0%,
  100% {
    opacity: 0.42;
    transform: translateY(0);
  }

  50% {
    opacity: 0.86;
    transform: translateY(-8px);
  }
}

@keyframes phoenixImagePresence {
  0%,
  100% {
    transform: scale(1);
    filter: saturate(1.06) contrast(1.05) brightness(0.96);
  }

  50% {
    transform: scale(1.012);
    filter: saturate(1.16) contrast(1.08) brightness(1.04);
  }
}

@keyframes phoenixGlowPulse {
  0%,
  100% {
    opacity: 0.48;
    transform: scale(0.96);
  }

  50% {
    opacity: 0.9;
    transform: scale(1.05);
  }
}

@keyframes refinedWingLight {
  0%,
  30%,
  100% {
    opacity: 0;
    transform: translateX(28%) rotate(4deg);
  }

  48% {
    opacity: 0.54;
  }

  68% {
    opacity: 0;
    transform: translateX(-46%) rotate(4deg);
  }
}

@keyframes flameCurrent {
  0%,
  100% {
    opacity: 0.24;
    transform: rotate(0deg) scale(0.96);
  }

  50% {
    opacity: 0.58;
    transform: rotate(10deg) scale(1.08);
  }
}

@keyframes emberRise {
  from {
    transform: translate3d(0, 8%, 0) rotate(0deg);
  }

  to {
    transform: translate3d(-4%, -18%, 0) rotate(360deg);
  }
}

@keyframes auraTurn {
  to {
    transform: rotate(360deg);
  }
}

@keyframes emblemBreath {
  0%,
  100% {
    opacity: 0.16;
    transform: scale(0.98);
    filter: sepia(0.85) saturate(1.2) brightness(0.94);
  }

  50% {
    opacity: 0.3;
    transform: scale(1.02);
    filter: sepia(0.95) saturate(1.55) brightness(1.22);
  }
}

@keyframes logoSweep {
  0%,
  28%,
  100% {
    opacity: 0;
    transform: translateX(-44%) rotate(-12deg);
  }

  46% {
    opacity: 0.76;
  }

  68% {
    opacity: 0;
    transform: translateX(44%) rotate(-12deg);
  }
}

@keyframes logoPulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.025);
  }
}

@supports (-webkit-mask-image: url("")) {
  .emblem-sweep {
    -webkit-mask-image: url("./logo-original.png");
    -webkit-mask-position: center;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .site-nav,
  .header-actions {
    display: none;
  }

  .site-header.nav-open .site-nav,
  .site-header.nav-open .header-actions {
    display: grid;
    grid-column: 1 / -1;
    justify-content: stretch;
  }

  .site-header.nav-open .site-nav {
    gap: 4px;
  }

  .site-header.nav-open .header-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero h1,
  .page-banner h1 {
    font-size: 54px;
  }

  .phoenix-wrap {
    inset: 0;
    width: auto;
    opacity: 0.86;
  }

  .phoenix-wrap img {
    object-position: 62% center;
  }

  .phoenix-aura {
    right: -4%;
    width: min(62vw, 620px);
  }

  .page-banner-emblem {
    right: -2%;
    width: min(48vw, 360px);
  }

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

  .grid.three,
  .section-header,
  .split,
  .form-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 12px 18px;
  }

  .brand-copy strong {
    font-size: 16px;
  }

  .hero {
    min-height: 78vh;
  }

  .hero-inner,
  .page-banner-inner,
  .section,
  .page-section {
    width: min(100% - 32px, var(--max));
  }

  .hero h1,
  .page-banner h1 {
    font-size: 40px;
  }

  .hero-copy {
    max-width: 100%;
    padding: 86px 0 42px;
  }

  .phoenix-wrap {
    inset: 0;
    width: auto;
    opacity: 0.5;
  }

  .phoenix-wrap img {
    object-position: 67% center;
  }

  .phoenix-aura,
  .hero-ember-two,
  .hero-ember-three,
  .phoenix-sweep,
  .hero-visual::after {
    display: none;
  }

  .hero-ember-one {
    right: -30%;
    opacity: 0.26;
  }

  .hero p {
    font-size: 14px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    margin-top: 0;
    width: 100%;
  }

  .page-banner {
    min-height: 360px;
    padding: 110px 0 58px;
  }

  .page-banner-emblem {
    top: 64px;
    right: -24%;
    width: 82vw;
    opacity: 0.5;
  }

  .hero-metrics div,
  .stat {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .grid.two,
  .grid.three,
  .grid.four,
  .stats,
  .consult-form {
    grid-template-columns: 1fr;
  }

  .section,
  .page-section {
    padding: 70px 0;
  }

  .section-header h2,
  .page-section h2 {
    font-size: 30px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding: 38px 20px;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }

  .floating-consult {
    left: 16px;
    right: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* Online refinement: softer hero copy backdrop, founder endorsement photo, richer page atmospheres. */
.hero-copy::before {
  background:
    radial-gradient(circle at 10% 18%, rgba(243, 211, 139, 0.13), transparent 8rem),
    radial-gradient(circle at 58% 68%, rgba(201, 168, 106, 0.09), transparent 15rem),
    radial-gradient(ellipse at 22% 78%, rgba(255, 159, 47, 0.045), transparent 20rem),
    linear-gradient(135deg, rgba(201, 168, 106, 0.065), transparent 46%) !important;
  border-left: 0 !important;
  border-bottom: 0 !important;
  opacity: 0.7 !important;
}

.hero-copy::after {
  display: none !important;
}

.founder-photo-card {
  width: min(100%, 560px);
  min-height: auto !important;
  aspect-ratio: 4 / 5;
  justify-self: center;
}

.founder-photo-card img {
  height: 100% !important;
  object-fit: cover;
  object-position: center 18%;
}

.endorsement-photo {
  width: min(100%, 520px);
  aspect-ratio: 4 / 5.35;
}

.endorsement-photo img {
  object-position: center 35%;
  filter: contrast(1.06) saturate(1.03) brightness(0.9);
}

.founder-photo-card figcaption {
  display: none !important;
}

#app {
  position: relative;
  overflow: hidden;
}

#app > * {
  position: relative;
  z-index: 1;
}

body:not([data-page="home"]) #app::before {
  content: "";
  position: fixed;
  inset: 78px 0 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 18%, rgba(243, 211, 139, 0.13), transparent 28rem),
    radial-gradient(circle at 18% 72%, rgba(115, 90, 44, 0.12), transparent 30rem),
    linear-gradient(115deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 16%),
    linear-gradient(180deg, rgba(255, 243, 211, 0.025), transparent 34%);
  opacity: 0.75;
  mix-blend-mode: screen;
}

.page-banner {
  min-height: 460px;
  background:
    radial-gradient(circle at 78% 24%, rgba(243, 211, 139, 0.18), transparent 28rem),
    radial-gradient(circle at 24% 88%, rgba(115, 90, 44, 0.24), transparent 26rem),
    linear-gradient(135deg, #040404 0%, #0c0905 58%, #130d05 100%) !important;
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 0 46%, rgba(243, 211, 139, 0.095) 46.2%, transparent 46.8% 100%),
    radial-gradient(ellipse at 72% 36%, rgba(255, 159, 47, 0.11), transparent 22rem),
    repeating-linear-gradient(90deg, rgba(243, 211, 139, 0.018) 0 1px, transparent 1px 9rem);
  opacity: 0.84;
}

.page-banner-texture {
  opacity: 0.22 !important;
  background:
    radial-gradient(circle at 26% 38%, rgba(255, 255, 255, 0.045), transparent 22rem),
    linear-gradient(135deg, rgba(243, 211, 139, 0.045), transparent 28%) !important;
}

.page-banner-emblem {
  opacity: 1;
}

.page-banner-emblem img {
  opacity: 0.28;
}

body[data-page="culture"] #app::before {
  background:
    radial-gradient(circle at 72% 20%, rgba(243, 211, 139, 0.13), transparent 26rem),
    repeating-radial-gradient(circle at 78% 42%, rgba(201, 168, 106, 0.055) 0 1px, transparent 1px 26px),
    linear-gradient(120deg, rgba(115, 90, 44, 0.12), transparent 48%);
}

body[data-page="founder"] #app::before {
  background:
    radial-gradient(ellipse at 38% 18%, rgba(243, 211, 139, 0.1), transparent 24rem),
    radial-gradient(ellipse at 82% 74%, rgba(255, 159, 47, 0.09), transparent 28rem),
    linear-gradient(100deg, rgba(255, 255, 255, 0.018), transparent 44%);
}

body[data-page="strategy"] #app::before {
  background:
    radial-gradient(circle at 74% 24%, rgba(255, 159, 47, 0.12), transparent 26rem),
    linear-gradient(135deg, transparent 0 41%, rgba(243, 211, 139, 0.05) 41.2%, transparent 42% 100%),
    linear-gradient(35deg, rgba(201, 168, 106, 0.045) 0 1px, transparent 1px 9rem);
}

body[data-page="empower"] #app::before {
  background:
    radial-gradient(circle at 78% 18%, rgba(243, 211, 139, 0.13), transparent 28rem),
    radial-gradient(circle at 22% 66%, rgba(34, 53, 47, 0.28), transparent 28rem),
    linear-gradient(90deg, rgba(201, 168, 106, 0.045), transparent 36%);
}

body[data-page="cases"] #app::before {
  background:
    radial-gradient(circle at 76% 20%, rgba(201, 168, 106, 0.11), transparent 26rem),
    linear-gradient(90deg, rgba(243, 211, 139, 0.025) 0 1px, transparent 1px 10rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 30%);
}

body[data-page="academy"] #app::before {
  background:
    radial-gradient(circle at 74% 24%, rgba(243, 211, 139, 0.14), transparent 24rem),
    linear-gradient(125deg, rgba(115, 90, 44, 0.18), transparent 50%),
    repeating-linear-gradient(135deg, rgba(243, 211, 139, 0.03) 0 1px, transparent 1px 5.5rem);
}

body[data-page="choose"] #app::before {
  background:
    radial-gradient(circle at 82% 22%, rgba(255, 159, 47, 0.14), transparent 24rem),
    radial-gradient(circle at 18% 74%, rgba(243, 211, 139, 0.08), transparent 26rem),
    linear-gradient(90deg, transparent, rgba(201, 168, 106, 0.06), transparent);
}


/* Online performance and hero cleanup: remove visible left block/grid and use softer atmosphere only. */
.hero::before {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.82) 32%, rgba(0, 0, 0, 0.24) 66%, rgba(0, 0, 0, 0.08) 100%) !important;
}

.hero-copy::before,
.hero-copy::after {
  display: none !important;
}

.hero-inner::before {
  content: "";
  position: absolute;
  left: max(-8vw, -120px);
  top: 18%;
  width: min(52vw, 760px);
  height: 58%;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 35% 42%, rgba(201, 168, 106, 0.11), transparent 38%),
    radial-gradient(circle at 18% 28%, rgba(243, 211, 139, 0.08), transparent 8rem),
    radial-gradient(circle at 68% 74%, rgba(255, 159, 47, 0.045), transparent 12rem);
  filter: blur(2px);
  opacity: 0.72;
}

@media (max-width: 680px) {
  .hero-inner::before {
    display: none;
  }
}

/* 20260615 visual polish: continuous phoenix atmosphere without hard grid blocks. */
body::before {
  background:
    radial-gradient(circle at 18% 28%, rgba(243, 211, 139, 0.16) 0 1px, transparent 1.6px),
    radial-gradient(circle at 34% 76%, rgba(255, 159, 47, 0.1) 0 1px, transparent 1.8px),
    radial-gradient(circle at 82% 18%, rgba(243, 211, 139, 0.12), transparent 28rem),
    radial-gradient(circle at 8% 78%, rgba(115, 90, 44, 0.16), transparent 34rem),
    linear-gradient(180deg, rgba(255, 243, 211, 0.018), transparent 48%);
  background-size: 128px 128px, 173px 173px, auto, auto, auto;
  mask-image: linear-gradient(180deg, black 0%, rgba(0, 0, 0, 0.9) 48%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, black 0%, rgba(0, 0, 0, 0.9) 48%, transparent 100%);
  opacity: 0.62;
}

#app {
  background:
    radial-gradient(circle at 80% 8%, rgba(243, 211, 139, 0.09), transparent 28rem),
    radial-gradient(circle at 16% 38%, rgba(255, 159, 47, 0.055), transparent 30rem),
    linear-gradient(180deg, #030303 0%, #080705 32%, #0c0804 58%, #050505 100%);
}

#app::after {
  content: "";
  position: fixed;
  inset: 80px 0 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 22%, rgba(243, 211, 139, 0.14) 0 1px, transparent 1.8px),
    radial-gradient(circle at 74% 58%, rgba(255, 159, 47, 0.11) 0 1px, transparent 1.7px),
    radial-gradient(ellipse at 76% 34%, rgba(201, 168, 106, 0.11), transparent 30rem),
    radial-gradient(ellipse at 18% 80%, rgba(115, 90, 44, 0.12), transparent 32rem);
  background-size: 142px 142px, 211px 211px, auto, auto;
  opacity: 0.42;
  mix-blend-mode: screen;
}

.hero::before {
  background:
    radial-gradient(ellipse at 18% 40%, rgba(243, 211, 139, 0.1), transparent 24rem),
    radial-gradient(circle at 14% 76%, rgba(255, 159, 47, 0.075), transparent 18rem),
    linear-gradient(90deg, rgba(0, 0, 0, 0.93) 0%, rgba(0, 0, 0, 0.78) 30%, rgba(0, 0, 0, 0.22) 64%, rgba(0, 0, 0, 0.08) 100%) !important;
}

.hero-inner::before {
  left: max(-7vw, -96px);
  top: 12%;
  width: min(50vw, 720px);
  height: 74%;
  background:
    radial-gradient(ellipse at 32% 44%, rgba(243, 211, 139, 0.16), transparent 33%),
    radial-gradient(circle at 12% 24%, rgba(255, 159, 47, 0.11) 0 1px, transparent 2px),
    radial-gradient(circle at 48% 68%, rgba(243, 211, 139, 0.1) 0 1px, transparent 1.8px),
    linear-gradient(118deg, transparent 0%, rgba(243, 211, 139, 0.045) 34%, transparent 64%);
  background-size: auto, 96px 96px, 138px 138px, auto;
  filter: blur(0.8px);
  opacity: 0.9;
  mask-image: radial-gradient(ellipse at 34% 52%, black 0%, rgba(0, 0, 0, 0.92) 36%, rgba(0, 0, 0, 0.36) 64%, transparent 82%);
  -webkit-mask-image: radial-gradient(ellipse at 34% 52%, black 0%, rgba(0, 0, 0, 0.92) 36%, rgba(0, 0, 0, 0.36) 64%, transparent 82%);
}

.hero-inner::after {
  content: "";
  position: absolute;
  left: max(-5vw, -72px);
  top: 22%;
  width: min(38vw, 520px);
  height: 52%;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 18% 50%, rgba(255, 159, 47, 0.12), transparent 18rem),
    conic-gradient(from 118deg at 10% 52%, transparent 0deg, rgba(243, 211, 139, 0.18) 18deg, transparent 46deg, transparent 360deg);
  filter: blur(18px);
  opacity: 0.46;
  animation: leftEmberBreath 8s ease-in-out infinite;
  mask-image: radial-gradient(ellipse at 22% 52%, black 0%, rgba(0, 0, 0, 0.58) 48%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse at 22% 52%, black 0%, rgba(0, 0, 0, 0.58) 48%, transparent 78%);
}

.hero-copy {
  max-width: 590px;
}

.hero .eyebrow {
  color: rgba(246, 234, 210, 0.78);
  letter-spacing: 0.055em;
  text-shadow: 0 0 18px rgba(243, 211, 139, 0.24);
}

.hero h1 {
  display: inline-block;
  color: transparent;
  background:
    linear-gradient(108deg, #fff4c8 0%, #f8d887 22%, #b88935 44%, #ffe8a9 56%, #d4a957 74%, #fff1bf 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.045em;
  text-shadow:
    0 0 14px rgba(255, 229, 154, 0.22),
    0 0 42px rgba(201, 168, 106, 0.24),
    0 30px 80px rgba(0, 0, 0, 0.7);
  animation: titleGoldFlow 7.5s ease-in-out infinite;
}

.hero h1::selection {
  -webkit-text-fill-color: #191106;
}

.hero p {
  color: rgba(246, 234, 210, 0.78);
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.62);
}

.hero-actions {
  align-items: center;
  gap: 18px;
  margin-top: 40px;
}

.hero-actions .gold-button,
.hero-actions .ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 136px;
  min-height: 50px;
  padding: 0 22px;
  line-height: 1;
}

.gold-button,
.ghost-button,
.icon-button {
  position: relative;
  overflow: hidden;
}

.gold-button::after,
.ghost-button::after,
.icon-button::after {
  content: "";
  position: absolute;
  inset: -2px;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 0 36%, rgba(255, 243, 211, 0.28) 48%, transparent 60% 100%);
  transform: translateX(-120%);
  transition: transform 520ms ease;
  z-index: 0;
}

.gold-button,
.ghost-button,
.icon-button {
  z-index: 0;
}

.gold-button > *,
.ghost-button > *,
.icon-button > * {
  position: relative;
  z-index: 1;
}

.gold-button:hover::after,
.ghost-button:hover::after,
.icon-button:hover::after {
  transform: translateX(120%);
}

.floating-consult {
  display: none !important;
}

.band {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(201, 168, 106, 0.08);
  border-bottom: 1px solid rgba(201, 168, 106, 0.08);
  background:
    radial-gradient(circle at 74% 8%, rgba(243, 211, 139, 0.09), transparent 28rem),
    radial-gradient(circle at 18% 88%, rgba(255, 159, 47, 0.045), transparent 24rem),
    linear-gradient(180deg, rgba(255, 243, 211, 0.018), rgba(255, 243, 211, 0.006)) !important;
}

.band::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 18% 28%, rgba(243, 211, 139, 0.11) 0 1px, transparent 1.8px),
    radial-gradient(circle at 82% 62%, rgba(255, 159, 47, 0.08) 0 1px, transparent 1.8px),
    linear-gradient(115deg, transparent 0%, rgba(243, 211, 139, 0.04) 42%, transparent 72%);
  background-size: 132px 132px, 184px 184px, auto;
  opacity: 0.5;
}

.band > * {
  position: relative;
  z-index: 1;
}

.section,
.page-section {
  isolation: isolate;
}

.section::before,
.page-section::before {
  content: "";
  position: absolute;
  inset: 22px -38px;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 84% 14%, rgba(243, 211, 139, 0.08), transparent 22rem),
    radial-gradient(ellipse at 10% 82%, rgba(255, 159, 47, 0.045), transparent 24rem),
    linear-gradient(120deg, rgba(255, 243, 211, 0.018), transparent 46%);
  opacity: 0.86;
}

.section-header h2,
.page-section h2 {
  background: linear-gradient(105deg, #fff0bf, #cba86a 44%, #fff2c7 62%, #d1a85a);
  background-size: 180% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 26px rgba(201, 168, 106, 0.15);
}

.section-header .eyebrow,
.page-section .eyebrow,
.page-banner .eyebrow {
  letter-spacing: 0.08em;
  text-shadow: 0 0 16px rgba(243, 211, 139, 0.22);
}

.card,
.placeholder,
.value-card,
.timeline-item,
.course-card,
.case-card,
.founder-photo-card,
.consult-form,
.search-panel {
  background:
    radial-gradient(circle at 92% 0%, rgba(243, 211, 139, 0.13), transparent 18rem),
    linear-gradient(150deg, rgba(28, 22, 13, 0.94), rgba(7, 7, 7, 0.96) 58%, rgba(13, 8, 4, 0.94)) !important;
  border-color: rgba(201, 168, 106, 0.28);
  box-shadow:
    0 28px 88px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 243, 211, 0.07);
}

.card::before,
.value-card::before,
.course-card::before,
.case-card::before,
.timeline-item::before {
  background:
    linear-gradient(90deg, rgba(243, 211, 139, 0.34), transparent 42%),
    radial-gradient(circle at 0 0, rgba(255, 243, 211, 0.28), transparent 5rem);
}

.card:hover,
.value-card:hover,
.course-card:hover,
.case-card:hover,
.timeline-item:hover {
  border-color: rgba(243, 211, 139, 0.56);
  box-shadow:
    0 34px 100px rgba(0, 0, 0, 0.32),
    0 0 38px rgba(201, 168, 106, 0.08),
    inset 0 1px 0 rgba(255, 243, 211, 0.1);
}

.page-banner {
  border-bottom: 0 !important;
  background:
    radial-gradient(circle at 76% 26%, rgba(255, 159, 47, 0.14), transparent 27rem),
    radial-gradient(circle at 22% 74%, rgba(243, 211, 139, 0.08), transparent 24rem),
    linear-gradient(135deg, #030303 0%, #0d0904 52%, #140c04 100%) !important;
}

.page-banner::after {
  height: 58%;
  background:
    linear-gradient(180deg, transparent 0%, rgba(7, 7, 7, 0.55) 58%, rgba(8, 7, 5, 0.96) 100%) !important;
}

.page-banner::before {
  background:
    radial-gradient(circle at 18% 38%, rgba(243, 211, 139, 0.12) 0 1px, transparent 1.8px),
    radial-gradient(circle at 78% 54%, rgba(255, 159, 47, 0.1) 0 1px, transparent 1.8px),
    radial-gradient(ellipse at 72% 36%, rgba(255, 159, 47, 0.1), transparent 22rem),
    linear-gradient(120deg, transparent 0 48%, rgba(243, 211, 139, 0.06) 48.2%, transparent 49% 100%);
  background-size: 128px 128px, 190px 190px, auto, auto;
  opacity: 0.78;
}

.page-banner-emblem img {
  filter: drop-shadow(0 0 36px rgba(243, 211, 139, 0.22));
}

@keyframes titleGoldFlow {
  0%,
  100% {
    background-position: 0% 50%;
    filter: drop-shadow(0 0 7px rgba(243, 211, 139, 0.18));
  }
  50% {
    background-position: 100% 50%;
    filter: drop-shadow(0 0 16px rgba(243, 211, 139, 0.34));
  }
}

@keyframes leftEmberBreath {
  0%,
  100% {
    opacity: 0.34;
    transform: translate3d(0, 0, 0) scale(0.98);
  }
  50% {
    opacity: 0.58;
    transform: translate3d(12px, -8px, 0) scale(1.03);
  }
}

@media (max-width: 760px) {
  .hero h1 {
    letter-spacing: 0.02em;
  }

  .hero-actions {
    gap: 12px;
  }

  .hero-actions .gold-button,
  .hero-actions .ghost-button {
    width: min(46vw, 148px);
  }

  #app::after,
  .band::before,
  .section::before,
  .page-section::before {
    opacity: 0.36;
  }
}

/* 20260615 founder restore and data emphasis. */
.hero-metrics {
  box-shadow:
    0 30px 100px rgba(0, 0, 0, 0.4),
    0 0 48px rgba(201, 168, 106, 0.08),
    inset 0 1px 0 rgba(255, 243, 211, 0.12);
}

.hero-metrics div,
.stat {
  position: relative;
  overflow: hidden;
}

.hero-metrics div::before,
.stat::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 232, 169, 0.16), transparent 7rem),
    linear-gradient(115deg, rgba(243, 211, 139, 0.07), transparent 42%);
  opacity: 0.88;
}

.hero-metrics div::after,
.stat::after {
  content: "";
  position: absolute;
  left: 26px;
  right: 26px;
  top: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 235, 177, 0.58), transparent);
  opacity: 0.72;
}

.hero-metrics strong,
.stat strong {
  position: relative;
  z-index: 1;
  display: inline-block;
  white-space: nowrap;
  color: transparent;
  background: linear-gradient(108deg, #fff4c8 0%, #f5d57f 28%, #c89537 52%, #fff0bb 72%, #d6ad58 100%);
  background-size: 180% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: Georgia, "Times New Roman", "Noto Serif SC", "Songti SC", serif;
  letter-spacing: 0.02em;
  text-shadow:
    0 0 18px rgba(255, 221, 132, 0.26),
    0 0 46px rgba(201, 168, 106, 0.22);
  animation: metricGoldFlow 7s ease-in-out infinite;
}

.hero-metrics strong {
  font-size: clamp(28px, 2.3vw, 40px);
  line-height: 1;
}

.stat strong {
  font-size: clamp(34px, 3.1vw, 50px);
  line-height: 1.08;
}

.pending-stat strong {
  max-width: 4em;
  white-space: normal;
  font-size: clamp(24px, 2vw, 34px);
  line-height: 1.18;
  letter-spacing: 0.05em;
  opacity: 0.72;
}

.metric-plus {
  display: inline;
  margin-left: 0.04em;
  background: none;
  color: #ffe8a9;
  -webkit-text-fill-color: #ffe8a9;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.58em;
  line-height: 1;
  vertical-align: super;
  transform: none;
}

.hero-metrics .metric-plus,
.stat .metric-plus {
  display: inline-block;
}

.hero-metrics span,
.stat span {
  position: relative;
  z-index: 1;
  color: rgba(246, 234, 210, 0.76);
  font-weight: 600;
}

.founder-photo-card {
  min-height: 560px;
}

.founder-photo-card img {
  display: block;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  object-position: center 18%;
}

.endorsement-photo img {
  object-position: center 35%;
}

@keyframes metricGoldFlow {
  0%,
  100% {
    background-position: 0% 50%;
    filter: drop-shadow(0 0 7px rgba(243, 211, 139, 0.16));
  }
  50% {
    background-position: 100% 50%;
    filter: drop-shadow(0 0 16px rgba(255, 220, 134, 0.34));
  }
}

/* 20260625 platform upgrade: mall, account, partner, admin and AI assistant. */
.mall-toolbar,
.dashboard-head,
.account-empty,
.admin-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 220, 139, 0.12), transparent 12rem),
    linear-gradient(135deg, rgba(23, 21, 18, 0.96), rgba(6, 6, 5, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 243, 211, 0.08),
    0 28px 80px rgba(0, 0, 0, 0.3);
}

.mall-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 22px;
  padding: 22px 26px;
}

.mall-toolbar strong,
.dashboard-head h2,
.admin-card h3 {
  color: var(--gold-bright);
}

.mall-toolbar span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 13px;
}

.product-card {
  position: relative;
  display: grid;
  gap: 16px;
  min-height: 420px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 159, 47, 0.14), transparent 13rem),
    linear-gradient(150deg, rgba(22, 18, 12, 0.96), rgba(4, 4, 4, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 243, 211, 0.08),
    0 30px 86px rgba(0, 0, 0, 0.28);
}

.product-card.featured {
  border-color: rgba(243, 211, 139, 0.52);
  box-shadow:
    0 0 38px rgba(201, 168, 106, 0.1),
    inset 0 1px 0 rgba(255, 243, 211, 0.12);
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 0 44%, rgba(255, 232, 169, 0.12), transparent 56% 100%),
    radial-gradient(circle at 18% 88%, rgba(201, 168, 106, 0.08), transparent 14rem);
  opacity: 0.72;
}

.product-card > * {
  position: relative;
  z-index: 1;
}

.product-topline,
.product-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.product-topline small,
.product-topline span {
  color: var(--gold);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 12px;
}

.product-card h3 {
  margin: 0;
  color: var(--gold-bright);
  font-size: 27px;
  line-height: 1.28;
}

.product-card p,
.product-card li {
  color: rgba(246, 234, 210, 0.72);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.8;
}

.product-card ul {
  margin: 0;
  padding-left: 18px;
}

.product-price {
  width: fit-content;
  padding: 10px 0 4px;
  color: transparent;
  background: linear-gradient(105deg, #fff1bd, #f3d38b, #c89537, #fff0bd);
  background-size: 180% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
  font-size: 34px;
  line-height: 1;
  animation: metricGoldFlow 7s ease-in-out infinite;
}

.dashboard-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin-bottom: 26px;
  padding: 26px;
}

.data-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: rgba(4, 4, 4, 0.62);
}

.data-table-wrap.compact {
  max-height: 360px;
}

.data-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

.data-table th,
.data-table td {
  padding: 15px 16px;
  border-bottom: 1px solid rgba(201, 168, 106, 0.16);
  color: rgba(246, 234, 210, 0.72);
  text-align: left;
}

.data-table th {
  color: var(--gold-bright);
  background: rgba(201, 168, 106, 0.08);
  font-weight: 600;
}

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

.admin-card {
  padding: 24px;
}

.feature-form,
.partner-create-form {
  display: grid;
  gap: 14px;
}

.switch-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(201, 168, 106, 0.12);
  color: rgba(246, 234, 210, 0.76);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

.switch-row input {
  width: 20px;
  height: 20px;
  accent-color: var(--gold);
}

.auth-panel {
  max-width: 760px;
}

.auth-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(201, 168, 106, 0.16);
}

.auth-register {
  margin-top: 26px;
}

.ai-assistant {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

.ai-toggle {
  display: grid;
  gap: 2px;
  min-width: 116px;
  min-height: 58px;
  padding: 10px 16px;
  border: 1px solid rgba(243, 211, 139, 0.48);
  color: var(--gold-bright);
  background:
    radial-gradient(circle at 16% 0, rgba(255, 232, 169, 0.18), transparent 5rem),
    rgba(6, 6, 5, 0.92);
  box-shadow: 0 0 30px rgba(201, 168, 106, 0.12);
}

.ai-toggle span {
  color: var(--gold);
  font-size: 12px;
}

.ai-toggle strong {
  font-size: 15px;
}

.ai-panel {
  position: absolute;
  right: 0;
  bottom: 76px;
  display: none;
  width: min(380px, calc(100vw - 32px));
  overflow: hidden;
  border: 1px solid rgba(243, 211, 139, 0.42);
  background:
    radial-gradient(circle at 100% 0, rgba(255, 159, 47, 0.16), transparent 13rem),
    linear-gradient(160deg, rgba(18, 15, 10, 0.98), rgba(3, 3, 3, 0.98));
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.52);
}

.ai-assistant.open .ai-panel {
  display: block;
}

.ai-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border-bottom: 1px solid rgba(201, 168, 106, 0.18);
}

.ai-head h3 {
  margin: 0;
  color: var(--gold-bright);
}

.ai-head button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  color: var(--gold-bright);
  background: transparent;
}

.ai-messages {
  display: grid;
  gap: 10px;
  max-height: 320px;
  overflow-y: auto;
  padding: 16px;
}

.ai-message {
  max-width: 92%;
  padding: 11px 13px;
  color: rgba(246, 234, 210, 0.84);
  line-height: 1.7;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(201, 168, 106, 0.14);
}

.ai-message-user {
  justify-self: end;
  color: #16120a;
  background: linear-gradient(135deg, #f3d38b, #b88735);
}

.ai-message.error {
  border-color: rgba(255, 120, 94, 0.42);
}

.ai-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px 14px;
}

.ai-quick button {
  border: 1px solid rgba(201, 168, 106, 0.2);
  color: var(--gold-bright);
  background: rgba(201, 168, 106, 0.08);
  padding: 8px 10px;
}

.ai-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 14px 16px 16px;
  border-top: 1px solid rgba(201, 168, 106, 0.14);
}

.ai-form input {
  min-width: 0;
}

.ai-form button {
  border: 1px solid var(--line-strong);
  color: var(--gold-bright);
  background: rgba(201, 168, 106, 0.12);
  padding: 0 14px;
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .site-nav {
    order: 3;
    grid-column: 1 / -1;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .mall-toolbar,
  .dashboard-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-grid,
  .auth-form {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: auto;
  }

  .ai-assistant {
    right: 12px;
    bottom: 12px;
  }
}

/* phase2: separated backends and premium mall cards */
.product-card {
  background-image:
    linear-gradient(150deg, rgba(8, 6, 3, 0.93), rgba(2, 2, 2, 0.88)),
    radial-gradient(circle at 92% 8%, rgba(255, 159, 47, 0.16), transparent 13rem),
    url('/assets/product-card-bg.webp');
  background-size: cover, auto, cover;
  background-position: center, center, center;
}
.product-card:nth-child(3n+2) {
  background-position: center, center, 60% 50%;
}
.product-card:nth-child(3n+3) {
  background-position: center, center, 42% 50%;
}
.product-price,
.hero-metrics strong,
.stat strong {
  font-family: "Bodoni 72", "Didot", "DIN Condensed", Georgia, "Times New Roman", "Noto Serif SC", serif;
  font-variant-numeric: lining-nums tabular-nums;
}
.product-price {
  letter-spacing: 0.015em;
  text-shadow: 0 0 26px rgba(243, 211, 139, 0.22);
}
.site-nav a[href="#partner"]{
  display: none !important;
}

/* user system polish */
.header-actions [data-open-auth]{display:inline-flex}
.site-nav a[href="#admin"],.site-nav a[href="#partner"]{display:none!important}
.account-empty{border:1px solid rgba(230,190,112,.22);padding:2rem;background:linear-gradient(145deg,rgba(25,20,12,.86),rgba(6,5,4,.9))}

.wechat-pay-box{display:grid;grid-template-columns:220px 1fr;gap:1.5rem;align-items:center}.wechat-pay-qr{width:220px;height:220px;background:#fff;padding:.7rem;border:1px solid rgba(230,190,112,.35)}@media(max-width:720px){.wechat-pay-box{grid-template-columns:1fr}.wechat-pay-qr{margin:auto}}

.auth-switch-line{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-top:1rem;color:rgba(255,247,223,.68)}.captcha-row strong{color:#f4d789;font-size:1.05rem}.role-editor{display:grid;grid-template-columns:repeat(2,minmax(130px,1fr));gap:.45rem;min-width:360px}.role-editor input,.role-editor select{padding:.45rem .55rem;font-size:.86rem}.role-editor .full{grid-column:1/-1}

/* 20260626 AI advisor section and message typography polish */
.ai-experience {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(243, 211, 139, 0.28);
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 232, 169, 0.14), transparent 15rem),
    radial-gradient(circle at 88% 18%, rgba(255, 159, 47, 0.16), transparent 18rem),
    linear-gradient(135deg, rgba(20, 16, 9, 0.94), rgba(5, 5, 4, 0.92) 52%, rgba(20, 11, 3, 0.86));
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.34);
}

.ai-experience::after {
  content: "";
  position: absolute;
  right: -10%;
  top: -20%;
  width: 44%;
  height: 80%;
  pointer-events: none;
  background:
    conic-gradient(from 210deg at 50% 50%, transparent 0 58deg, rgba(243, 211, 139, 0.2) 76deg, transparent 108deg 360deg),
    radial-gradient(circle, rgba(255, 159, 47, 0.18), transparent 62%);
  filter: blur(20px);
  opacity: 0.55;
  animation: leftEmberBreath 9s ease-in-out infinite;
}

.ai-experience-copy,
.ai-experience-console {
  position: relative;
  z-index: 1;
}

.ai-experience-copy h2 {
  max-width: 8em;
  margin: 0 0 18px;
  color: transparent;
  background: linear-gradient(110deg, #fff4c8, #f2cf7b 42%, #b9822f 64%, #fff0b8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: clamp(2.15rem, 5vw, 4.35rem);
  line-height: 1.05;
  letter-spacing: 0.04em;
  text-shadow: 0 0 34px rgba(243, 211, 139, 0.18);
}

.ai-experience-copy > p:not(.eyebrow) {
  max-width: 540px;
  color: rgba(246, 234, 210, 0.76);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 1.02rem;
  line-height: 2;
}

.ai-capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 30px;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

.ai-capability-grid span {
  min-height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(243, 211, 139, 0.24);
  color: var(--gold-bright);
  background: rgba(255, 255, 255, 0.045);
}

.ai-experience-console {
  overflow: hidden;
  border: 1px solid rgba(243, 211, 139, 0.34);
  background:
    radial-gradient(circle at 12% 0, rgba(243, 211, 139, 0.13), transparent 12rem),
    linear-gradient(160deg, rgba(11, 10, 8, 0.98), rgba(3, 3, 3, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 200, 0.08),
    0 22px 70px rgba(0, 0, 0, 0.38);
}

.ai-console-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(243, 211, 139, 0.16);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

.ai-console-head small {
  display: block;
  color: rgba(246, 234, 210, 0.52);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ai-console-head strong {
  display: block;
  margin-top: 4px;
  color: var(--gold-bright);
  font-size: 18px;
}

.ai-console-head > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #93f0b0;
  font-size: 13px;
}

.ai-console-head > span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #74e99a;
  box-shadow: 0 0 16px rgba(116, 233, 154, 0.75);
}

.ai-messages-home {
  min-height: 292px;
  max-height: 410px;
  padding: 20px;
}

.ai-quick-home {
  padding: 0 20px 16px;
}

.ai-form-home {
  padding: 16px 20px 20px;
}

.ai-message {
  border-radius: 18px;
  font-size: 14px;
}

.ai-message p {
  margin: 0;
}

.ai-message p + p,
.ai-message ul + p,
.ai-message ol + p,
.ai-message p + ul,
.ai-message p + ol {
  margin-top: 10px;
}

.ai-message ul,
.ai-message ol {
  margin: 0;
  padding-left: 1.25rem;
}

.ai-message li + li {
  margin-top: 6px;
}

.ai-message-bot {
  border-color: rgba(243, 211, 139, 0.18);
  background:
    radial-gradient(circle at 0 0, rgba(243, 211, 139, 0.08), transparent 8rem),
    rgba(255, 255, 255, 0.055);
}

.ai-message-user {
  border-color: rgba(255, 232, 169, 0.52);
  box-shadow: 0 12px 30px rgba(201, 168, 106, 0.14);
}

.ai-message.pending {
  color: rgba(246, 234, 210, 0.62);
}

.ai-message.error {
  color: #ffd3cc;
  background: rgba(123, 39, 31, 0.18);
}

@media (max-width: 960px) {
  .ai-experience {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 560px) {
  .ai-experience {
    padding-left: 20px;
    padding-right: 20px;
  }

  .ai-capability-grid {
    grid-template-columns: 1fr;
  }

  .ai-form-home {
    grid-template-columns: 1fr;
  }

  .ai-form-home button {
    min-height: 42px;
  }
}

/* 20260626 final auth and AI command-center redesign */
#authModal .modal-panel,
#registerModal .modal-panel {
  width: min(520px, calc(100vw - 32px));
  max-width: 520px;
}

.auth-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 42px);
  border-radius: 28px;
  border-color: rgba(243, 211, 139, 0.34);
  background:
    radial-gradient(circle at 0 0, rgba(255, 232, 169, 0.16), transparent 12rem),
    radial-gradient(circle at 100% 16%, rgba(255, 159, 47, 0.1), transparent 13rem),
    linear-gradient(145deg, rgba(19, 16, 11, 0.98), rgba(3, 3, 3, 0.96));
  box-shadow:
    0 34px 100px rgba(0, 0, 0, 0.58),
    inset 0 1px 0 rgba(255, 244, 210, 0.08);
}

.auth-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(243, 211, 139, 0.12), transparent 22%, transparent 76%, rgba(243, 211, 139, 0.07)),
    radial-gradient(circle at 22% 92%, rgba(255, 159, 47, 0.11), transparent 13rem);
  opacity: 0.72;
}

.auth-panel > * {
  position: relative;
  z-index: 1;
}

.auth-panel .eyebrow {
  color: rgba(243, 211, 139, 0.82);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
}

.auth-panel h2 {
  margin: 10px 0 10px;
  color: transparent;
  background: linear-gradient(112deg, #fff4c8, #f2cf7b 48%, #b9822f 72%, #fff1be);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: clamp(2rem, 5vw, 3.15rem);
  line-height: 1.05;
  letter-spacing: 0.04em;
}

.auth-subtitle {
  max-width: 360px;
  margin: 0 0 24px;
  color: rgba(246, 234, 210, 0.62);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 0.95rem;
  line-height: 1.8;
}

.auth-form,
.auth-register {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 0;
  padding-top: 22px;
  border-top: 1px solid rgba(243, 211, 139, 0.18);
}

.auth-form label {
  display: grid;
  gap: 9px;
  color: rgba(246, 234, 210, 0.66);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 0.9rem;
}

.auth-form input {
  width: 100%;
  height: 52px;
  border-radius: 14px;
  border: 1px solid rgba(243, 211, 139, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
    rgba(4, 4, 3, 0.86);
  color: var(--text);
  padding: 0 16px;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 1rem;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 244, 210, 0.04);
}

.auth-form input::placeholder,
.ai-form input::placeholder {
  color: transparent;
}

.auth-form input:focus {
  border-color: rgba(255, 232, 169, 0.68);
  box-shadow:
    0 0 0 3px rgba(243, 211, 139, 0.1),
    inset 0 1px 0 rgba(255, 244, 210, 0.08);
}

.auth-form .gold-button {
  width: 100%;
  min-height: 54px;
  margin-top: 4px;
  border-radius: 14px;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.auth-switch-line {
  margin-top: 22px !important;
  padding-top: 18px;
  border-top: 1px solid rgba(243, 211, 139, 0.12);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

.auth-switch-line .ghost-button {
  min-height: 42px;
  border-radius: 999px;
  padding: 0 18px;
}

.captcha-row strong {
  display: inline-flex;
  margin-left: 6px;
  color: var(--gold-bright);
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.form-message[data-state="pending"] {
  color: rgba(243, 211, 139, 0.82);
}

.ai-experience {
  position: relative;
  width: min(100% - 48px, 1420px);
  min-height: min(880px, calc(100vh - 96px));
  display: grid;
  grid-template-rows: auto 1fr;
  gap: clamp(28px, 4vw, 54px);
  margin: clamp(30px, 6vw, 72px) auto;
  padding: clamp(28px, 5vw, 72px);
  border-radius: 34px;
  border: 1px solid rgba(243, 211, 139, 0.26);
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 232, 169, 0.18), transparent 18rem),
    radial-gradient(circle at 84% 18%, rgba(255, 159, 47, 0.16), transparent 24rem),
    radial-gradient(circle at 50% 100%, rgba(115, 70, 18, 0.28), transparent 30rem),
    linear-gradient(145deg, rgba(18, 15, 10, 0.96), rgba(3, 3, 3, 0.98) 54%, rgba(18, 10, 3, 0.94));
  box-shadow:
    0 42px 120px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 244, 210, 0.08);
  overflow: hidden;
}

.ai-orb {
  position: absolute;
  right: -10%;
  top: -18%;
  width: min(48vw, 680px);
  height: min(48vw, 680px);
  border-radius: 999px;
  pointer-events: none;
  background:
    conic-gradient(from 210deg, transparent 0 22%, rgba(243, 211, 139, 0.28) 34%, transparent 48% 100%),
    radial-gradient(circle, rgba(255, 159, 47, 0.18), transparent 64%);
  filter: blur(12px);
  opacity: 0.75;
  animation: leftEmberBreath 8s ease-in-out infinite;
}

.ai-stage-head {
  position: relative;
  z-index: 1;
  max-width: 980px;
}

.ai-stage-head h2 {
  max-width: 10em;
  margin: 10px 0 18px;
  color: transparent;
  background: linear-gradient(110deg, #fff5ce, #f4d789 38%, #b9822f 68%, #fff0ba);
  background-size: 180% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: clamp(2.8rem, 7.2vw, 6.8rem);
  line-height: 0.98;
  letter-spacing: 0.045em;
  animation: titleGoldFlow 8s ease-in-out infinite;
}

.ai-stage-head > p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(246, 234, 210, 0.72);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 2;
}

.ai-stage-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(520px, 1.22fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: stretch;
}

.ai-scenario-panel,
.ai-command-center {
  border: 1px solid rgba(243, 211, 139, 0.2);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.014)),
    rgba(5, 5, 4, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 244, 210, 0.055);
}

.ai-scenario-panel {
  padding: clamp(24px, 3.2vw, 42px);
}

.ai-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(243, 211, 139, 0.26);
  border-radius: 999px;
  color: var(--gold-bright);
  background: rgba(243, 211, 139, 0.08);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 0.86rem;
}

.ai-scenario-panel h3 {
  margin: 28px 0 16px;
  color: var(--text);
  font-size: clamp(1.45rem, 2.5vw, 2.35rem);
  line-height: 1.25;
}

.ai-scenario-panel p {
  color: rgba(246, 234, 210, 0.68);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.9;
}

.ai-command-center {
  display: grid;
  grid-template-rows: auto minmax(300px, 1fr) auto auto;
  overflow: hidden;
  min-height: 560px;
  background:
    radial-gradient(circle at 0 0, rgba(243, 211, 139, 0.12), transparent 16rem),
    linear-gradient(160deg, rgba(13, 12, 10, 0.98), rgba(2, 2, 2, 0.98));
}

.ai-messages-home {
  min-height: 360px;
  max-height: none;
  padding: clamp(18px, 2.5vw, 30px);
}

.ai-messages-home .ai-message {
  max-width: 86%;
}

.ai-form-home {
  grid-template-columns: minmax(0, 1fr) auto;
}

.ai-form input {
  border-radius: 14px;
  border-color: rgba(243, 211, 139, 0.22);
  background: rgba(4, 4, 3, 0.84);
  color: var(--text);
}

@media (max-width: 980px) {
  .ai-experience {
    width: min(100% - 28px, 1420px);
    min-height: auto;
  }

  .ai-stage-grid {
    grid-template-columns: 1fr;
  }
}

/* 20260626 auth flow and full-width AI consultant fix */
.header-actions .icon-button.is-logged-in {
  min-width: 132px;
  border-color: rgba(243, 211, 139, 0.46);
  background:
    linear-gradient(135deg, rgba(243, 211, 139, 0.16), rgba(115, 74, 20, 0.24)),
    rgba(7, 7, 6, 0.72);
  color: #ffe7a3;
}

.ai-experience {
  width: min(100% - 48px, 1500px);
  min-height: auto;
  grid-template-rows: auto auto;
  gap: clamp(22px, 3vw, 36px);
  padding: clamp(30px, 4.2vw, 58px);
}

.ai-stage-head {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(20px, 4vw, 56px);
  align-items: end;
}

.ai-stage-head .eyebrow,
.ai-stage-head h2,
.ai-stage-head > p:not(.eyebrow) {
  grid-column: 1;
}

.ai-stage-head h2 {
  max-width: none;
  margin-bottom: 12px;
  font-size: clamp(2.7rem, 5.6vw, 5.8rem);
  line-height: 1.02;
}

.ai-stage-head > p:not(.eyebrow) {
  max-width: 820px;
}

.ai-stage-head .ai-capability-grid {
  grid-column: 2;
  grid-row: 1 / span 3;
  width: min(34vw, 420px);
  align-self: center;
  margin-top: 0;
}

.ai-command-center {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 0;
  height: clamp(560px, 62vh, 760px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  border-radius: 30px;
  overflow: hidden;
}

.ai-auth-gate {
  position: absolute;
  inset: 92px 22px 22px;
  z-index: 8;
  display: grid;
  place-items: center;
  padding: 24px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 20%, rgba(243, 211, 139, 0.16), transparent 18rem),
    rgba(4, 4, 3, 0.9);
  backdrop-filter: blur(16px);
}

.ai-auth-gate[hidden] {
  display: none;
}

.ai-auth-gate-card {
  width: min(100%, 560px);
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid rgba(243, 211, 139, 0.25);
  border-radius: 24px;
  color: rgba(246, 234, 210, 0.74);
  text-align: center;
  background: linear-gradient(155deg, rgba(32, 25, 14, 0.96), rgba(8, 7, 5, 0.98));
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
}

.ai-auth-lock {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(243, 211, 139, 0.46);
  border-radius: 50%;
  color: #ffe3a0;
  background: rgba(243, 211, 139, 0.1);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
}

.ai-auth-gate-card strong {
  color: #ffe3a0;
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
}

.ai-auth-gate-card p {
  max-width: 430px;
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.8;
}

.ai-auth-gate-card > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.ai-auth-gate-card button {
  min-width: 132px;
}

.ai-auth-gate-floating {
  inset: 74px 12px 12px;
  padding: 12px;
  border-radius: 0;
}

.ai-auth-gate-floating .ai-auth-gate-card {
  gap: 12px;
  padding: 24px 18px;
}

.ai-auth-gate-floating .ai-auth-gate-card strong {
  font-size: 1.15rem;
}

.ai-auth-gate-floating .ai-auth-gate-card button {
  min-width: 108px;
  padding-inline: 14px;
}

.ai-console-head {
  padding: clamp(18px, 2vw, 26px) clamp(20px, 2.6vw, 34px);
}

.ai-console-head small {
  font-size: 0.78rem;
}

.ai-console-head strong {
  margin-top: 6px;
  font-size: clamp(1.15rem, 1.8vw, 1.65rem);
}

.ai-messages-home {
  min-height: 0;
  max-height: none;
  height: 100%;
  align-content: start;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(20px, 2.5vw, 34px);
  scroll-behavior: smooth;
}

.ai-messages-home::-webkit-scrollbar {
  width: 8px;
}

.ai-messages-home::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(243, 211, 139, 0.28);
}

.ai-messages-home .ai-message {
  width: fit-content;
  max-width: min(860px, 82%);
}

.ai-message {
  display: grid;
  gap: 10px;
  padding: 16px 18px;
  border-radius: 20px;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.85;
}

.ai-message h4 {
  margin: 0;
  color: #ffe7a3;
  font-size: 1.02rem;
  line-height: 1.5;
}

.ai-message p {
  margin: 0;
}

.ai-message strong {
  color: #ffe7a3;
  font-weight: 700;
}

.ai-message ul,
.ai-message ol {
  margin: 0;
  padding-left: 1.35rem;
}

.ai-message li {
  padding-left: 0.15rem;
}

.ai-message li + li {
  margin-top: 8px;
}

.ai-message-user {
  justify-self: end;
  max-width: min(720px, 72%);
  color: #151008;
  background: linear-gradient(135deg, #ffe3a0, #c8943f);
}

.ai-message-user strong {
  color: #151008;
}

.ai-message-bot {
  background:
    radial-gradient(circle at 0 0, rgba(243, 211, 139, 0.12), transparent 10rem),
    rgba(255, 255, 255, 0.052);
}

.ai-quick-home {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 clamp(20px, 2.5vw, 34px) 16px;
}

.ai-quick-home button {
  min-height: 42px;
  border-radius: 999px;
  padding: 0 16px;
}

.ai-form-home {
  grid-template-columns: minmax(0, 1fr) 132px;
  gap: 12px;
  padding: 18px clamp(20px, 2.5vw, 34px) clamp(20px, 2.5vw, 30px);
  background: rgba(3, 3, 2, 0.78);
}

.ai-form-home input {
  min-height: 52px;
  padding: 0 18px;
}

.ai-form-home button {
  min-height: 52px;
  border-radius: 14px;
}

@media (max-width: 980px) {
  .ai-stage-head {
    grid-template-columns: 1fr;
  }

  .ai-stage-head .ai-capability-grid {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
  }

  .ai-command-center {
    height: 620px;
  }
}

@media (max-width: 560px) {
  .ai-experience {
    width: min(100% - 24px, 1500px);
    padding: 24px 16px;
    border-radius: 24px;
  }

  .ai-stage-head h2 {
    font-size: clamp(2.2rem, 14vw, 3.4rem);
  }

  .ai-command-center {
    height: 640px;
    border-radius: 22px;
  }

  .ai-messages-home .ai-message,
  .ai-message-user {
    max-width: 92%;
  }

  .ai-form-home {
    grid-template-columns: 1fr;
  }
}

/* 20260626 AI intro above chat final layout */
.ai-experience {
  width: min(100% - 48px, 1360px);
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  gap: clamp(24px, 3vw, 38px);
  min-height: auto;
  padding: clamp(34px, 4.5vw, 64px);
}

.ai-stage-head {
  display: block;
  max-width: 980px;
}

.ai-stage-head .eyebrow {
  margin-bottom: 18px;
}

.ai-stage-head h2 {
  display: block;
  max-width: none;
  width: max-content;
  margin: 0 0 18px;
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
  font-size: clamp(2.2rem, 3.2vw, 3.8rem);
  line-height: 1;
}

.ai-stage-head > p:not(.eyebrow) {
  max-width: 880px;
  margin: 0;
  color: rgba(246, 234, 210, 0.76);
}

.ai-stage-head .ai-capability-grid {
  width: min(100%, 760px);
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 12px;
  margin-top: clamp(22px, 3vw, 34px);
}

.ai-command-center {
  width: 100%;
  height: clamp(560px, 64vh, 740px);
  align-self: stretch;
}

@media (max-width: 820px) {
  .ai-stage-head h2 {
    width: auto;
    white-space: normal;
    font-size: clamp(2rem, 10vw, 3.2rem);
  }

  .ai-stage-head .ai-capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .ai-experience {
    width: min(100% - 24px, 1360px);
    padding: 24px 16px;
  }

  .ai-stage-head .ai-capability-grid {
    grid-template-columns: 1fr;
  }
}
