:root {
  --qing: #0b7565;
  --qing-2: #155f58;
  --qing-dark: #082f2a;
  --gold: #d2ad62;
  --gold-soft: #eadab7;
  --warm: #f7f8f3;
  --paper: #fcfff8;
  --line: #e8e4dd;
  --text: #2f3f3b;
  --muted: #666f6b;
  --blue: #1687a0;
  --tech: #20b9c7;
  --clay: #a86f55;
  --white: #ffffff;
  --shadow: 0 18px 40px rgba(17, 59, 50, 0.08);
  --shadow-hover: 0 22px 48px rgba(17, 59, 50, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--warm);
  color: var(--text);
  font-family: "Source Han Sans SC", "Alibaba PuHuiTi", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(32, 185, 199, 0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(11, 117, 101, 0.035) 1px, transparent 1px);
  background-size: 128px 128px;
  opacity: 0.7;
}

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

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

button {
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.back-to-top {
  position: fixed;
  right: max(18px, calc((100vw - 1200px) / 2 + 18px));
  bottom: 26px;
  z-index: 30;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(210, 173, 98, 0.72);
  border-radius: 50%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(247, 248, 243, 0.78)),
    linear-gradient(135deg, rgba(11, 117, 101, 0.94), rgba(8, 47, 42, 0.96));
  color: var(--gold);
  box-shadow: 0 16px 34px rgba(17, 59, 50, 0.2);
  display: grid;
  place-items: center;
  font-size: 23px;
  font-weight: 900;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.92);
  transition: opacity 180ms ease, transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  border-color: var(--gold);
  box-shadow: 0 20px 42px rgba(17, 59, 50, 0.26);
  transform: translateY(-2px) scale(1.02);
}

.back-to-top:focus-visible {
  outline: 3px solid rgba(32, 185, 199, 0.24);
  outline-offset: 3px;
}

.shell,
.header-shell,
.hero-shell,
.footer-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 247, 242, 0.9);
  border-bottom: 1px solid rgba(232, 228, 221, 0.9);
  backdrop-filter: blur(12px) saturate(120%);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-solid {
  background: rgba(26, 92, 75, 0.96);
  border-color: rgba(26, 92, 75, 0.96);
  box-shadow: 0 14px 30px rgba(17, 59, 50, 0.12);
}

.site-header.is-solid .brand strong,
.site-header.is-solid .site-nav a,
.site-header.is-solid .brand small {
  color: #fffdf8;
}

.site-header.is-solid .btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fffdf8;
  border-color: rgba(255, 255, 255, 0.22);
}

.site-header.is-solid .btn-primary {
  background: var(--gold);
  color: var(--qing-dark);
  border-color: var(--gold);
}

.header-shell {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

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

.brand-mark {
  width: 38px;
  height: 38px;
  flex: none;
}

.brand span {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.brand strong {
  color: var(--qing-dark);
  font-size: 17px;
  line-height: 1;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.1;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
}

.site-nav a {
  color: var(--text);
}

.site-nav a:hover {
  color: var(--qing);
}

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

.btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 17px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--qing), var(--tech));
  color: #fff;
  border-color: var(--qing);
  box-shadow: 0 12px 22px rgba(11, 117, 101, 0.18);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #086457, #16a9b8);
}

.btn-secondary {
  background: #fff;
  color: var(--qing-dark);
  border-color: #ddd7cc;
}

.btn-secondary:hover {
  border-color: rgba(26, 92, 75, 0.28);
}

.section-band {
  position: relative;
  overflow: hidden;
}

.hero {
  min-height: clamp(660px, calc(100vh - 68px), 760px);
  display: flex;
  align-items: center;
  background: #f4fff9;
  border-bottom: 1px solid rgba(32, 185, 199, 0.2);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(252, 255, 248, 0.94), rgba(229, 253, 247, 0.84)),
    linear-gradient(115deg, rgba(32, 185, 199, 0.24), transparent 34%, rgba(210, 173, 98, 0.2) 72%, rgba(255, 112, 94, 0.1)),
    repeating-linear-gradient(90deg, rgba(11, 117, 101, 0.08) 0 1px, transparent 1px 120px),
    repeating-linear-gradient(0deg, rgba(32, 185, 199, 0.08) 0 1px, transparent 1px 120px),
    #f4fff9;
  background-size: auto, auto, auto, auto, auto;
}

.hero-pattern::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: linear-gradient(105deg, transparent 0 43%, rgba(32, 185, 199, 0.2) 49%, transparent 56% 100%);
  transform: translateX(-38%);
  animation: heroSweep 8s linear infinite;
}

.hero-pattern::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0, transparent 46%, rgba(255, 255, 255, 0.68) 100%),
    linear-gradient(90deg, rgba(32, 185, 199, 0.08), transparent 45%, rgba(210, 173, 98, 0.1));
}

.hero-tech-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.hero-circuit {
  position: absolute;
  left: 50%;
  bottom: 74px;
  width: min(760px, 70vw);
  height: 150px;
  transform: translateX(-50%);
  opacity: 0.28;
  background:
    linear-gradient(90deg, transparent 0 10%, rgba(32, 185, 199, 0.56) 10% 10.3%, transparent 10.3% 24%, rgba(255, 112, 94, 0.44) 24% 24.3%, transparent 24.3% 100%),
    linear-gradient(0deg, transparent 0 48%, rgba(11, 117, 101, 0.42) 48% 49%, transparent 49% 100%);
  clip-path: polygon(0 62%, 10% 62%, 16% 28%, 27% 28%, 33% 78%, 45% 78%, 51% 36%, 62% 36%, 69% 70%, 82% 70%, 88% 42%, 100% 42%, 100% 100%, 0 100%);
}

.hero-scan-beam {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, rgba(32, 185, 199, 0.14));
  animation: scanLift 3.8s ease-in-out infinite;
}

.hero-shell {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 78px 0 28px;
}

.hero-logo-lockup {
  width: min(640px, 92vw);
  margin: 0 auto 22px;
  filter: drop-shadow(0 18px 34px rgba(17, 59, 50, 0.14));
}

.hero-logo-lockup svg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 26px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 9px 13px;
  border: 1px solid rgba(32, 185, 199, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--qing);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 12px 32px rgba(32, 185, 199, 0.14);
}

.eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--qing-dark);
  letter-spacing: 0;
}

h1 {
  font-size: 56px;
  line-height: 1.06;
}

.hero h1 {
  color: #063a35;
  text-shadow: 0 14px 32px rgba(32, 185, 199, 0.16);
}

.hero-title {
  margin: 8px 0 0;
  color: transparent;
  background: linear-gradient(90deg, var(--qing-dark), var(--tech) 44%, var(--gold) 75%, #ff705e);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: 42px;
  line-height: 1.16;
  font-weight: 800;
  text-shadow: none;
}

.hero-copy {
  width: min(820px, 100%);
  margin: 20px auto 26px;
  color: #39544f;
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
  font-size: 18px;
  line-height: 1.78;
}

.hero-actions {
  justify-content: center;
  margin-bottom: 18px;
}

.brand-origin {
  width: min(760px, 100%);
  margin: 0 auto 22px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  text-align: left;
  padding: 12px 14px;
  border: 1px solid rgba(32, 185, 199, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(32, 185, 199, 0.12), rgba(255, 112, 94, 0.06)),
    rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 42px rgba(17, 59, 50, 0.1);
  backdrop-filter: blur(12px);
}

.brand-origin strong {
  display: block;
  color: var(--qing-dark);
  font-size: 15px;
  margin-bottom: 4px;
}

.brand-origin p {
  margin: 0;
  color: #536d67;
  font-size: 13px;
  line-height: 1.58;
}

.match-sprite {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--tech), var(--qing));
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2), 0 0 28px rgba(32, 185, 199, 0.3), 0 12px 24px rgba(8, 47, 42, 0.12);
  animation: spriteFloat 1.35s cubic-bezier(.45, 0, .35, 1) infinite;
}

.match-sprite::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(32, 185, 199, 0.28);
  border-radius: 6px;
}

.sprite-face {
  position: absolute;
  left: 50%;
  top: 13px;
  transform: translateX(-50%);
  width: 31px;
  height: 24px;
  border-radius: 12px;
  background: rgba(255, 253, 248, 0.88);
}

.sprite-face::before,
.sprite-face::after {
  content: "";
  position: absolute;
  top: 10px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--qing-dark);
}

.sprite-face::before {
  left: 8px;
}

.sprite-face::after {
  right: 8px;
}

.sprite-pulse {
  position: absolute;
  left: 9px;
  right: 9px;
  bottom: 12px;
  height: 18px;
}

.sprite-pulse::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 8px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--tech));
  clip-path: polygon(0 50%, 20% 50%, 30% 0, 43% 100%, 58% 18%, 70% 50%, 100% 50%, 100% 65%, 70% 65%, 58% 32%, 43% 100%, 30% 15%, 20% 65%, 0 65%);
  animation: spritePulse .82s ease-in-out infinite;
}

@keyframes spriteFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes spritePulse {
  0%, 100% { opacity: 0.64; transform: scaleX(0.92); }
  50% { opacity: 1; transform: scaleX(1); }
}

.ability-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 auto;
  width: min(980px, 100%);
}

.ability-strip article {
  text-align: left;
  border: 1px solid rgba(32, 185, 199, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  padding: 16px;
  box-shadow: 0 18px 42px rgba(17, 59, 50, 0.1);
  backdrop-filter: blur(12px);
}

.ability-strip h2 {
  margin-top: 12px;
  color: var(--qing-dark);
  font-size: 19px;
}

.ability-strip p {
  margin: 8px 0 0;
  color: #536d67;
  font-size: 14px;
  line-height: 1.65;
}

.ability-icon {
  display: inline-flex;
  min-width: 42px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(32, 185, 199, 0.16), rgba(255, 112, 94, 0.08));
  color: var(--qing-dark);
  font-family: Inter, Roboto, Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
}

.pulse-line {
  width: min(900px, 100%);
  height: 54px;
  display: block;
  position: relative;
  margin: 16px auto 0;
  opacity: 0.9;
  pointer-events: none;
}

.pulse-track,
.pulse-scan {
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pulse-track {
  stroke: rgba(11, 117, 101, 0.2);
  stroke-width: 3.5;
}

.pulse-scan {
  stroke: url(#pulseGradient);
  stroke-width: 4.2;
  stroke-dasharray: 120 780;
  animation: pulseScan 4.2s linear infinite;
}

.pulse-dot {
  fill: var(--gold);
  animation: pulseGlow 1.6s ease-in-out infinite;
}

@keyframes pulseScan {
  from { stroke-dashoffset: 900; }
  to { stroke-dashoffset: 0; }
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.45; transform: scale(0.92); }
  50% { opacity: 1; transform: scale(1.12); }
}

@keyframes heroSweep {
  from { transform: translateX(-42%); }
  to { transform: translateX(42%); }
}

@keyframes scanLift {
  0%, 100% { opacity: 0.34; transform: translateY(10px); }
  50% { opacity: 0.72; transform: translateY(-6px); }
}

.section {
  padding: 76px 0 18px;
  position: relative;
}

.section-head {
  margin-bottom: 28px;
  max-width: 840px;
}

.section-head.two-col {
  max-width: none;
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  align-items: end;
  gap: 24px;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--blue);
  font-family: Inter, Roboto, Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.section-head h2 {
  font-size: 34px;
  line-height: 1.18;
}

.section-head p:not(.section-kicker) {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

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

.capability-card,
.product-card,
.experience-console,
.human-stage,
.contact-panel,
.case-media,
.case-copy {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.capability-card {
  min-height: 292px;
  padding: 18px;
  transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease;
}

.capability-card:hover,
.product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(32, 185, 199, 0.48);
  box-shadow: var(--shadow-hover);
}

.card-head {
  display: grid;
  grid-template-columns: 38px 1fr 38px;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.card-index {
  justify-self: start;
  color: var(--gold);
  font-family: Inter, Roboto, Arial, sans-serif;
  font-size: 13px;
  font-weight: 900;
}

.card-head h3 {
  grid-column: 2;
  justify-self: center;
  text-align: center;
}

.capability-card h3 {
  font-size: 20px;
}

.capability-card p {
  margin: 14px 0 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.72;
}

.capability-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.capability-card li {
  position: relative;
  padding-left: 18px;
  color: #465a55;
  font-size: 13px;
  line-height: 1.55;
}

.capability-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.workflow-diagram {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) 60px 1.2fr 60px repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: center;
  will-change: transform;
}

.flow-node,
.flow-core {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--qing-dark);
  font-weight: 700;
  font-size: 14px;
}

.flow-core {
  background: var(--qing);
  color: #fff;
  border-color: var(--qing);
}

.flow-arrow {
  height: 2px;
  background: linear-gradient(90deg, var(--gold), rgba(26, 92, 75, 0.2));
  position: relative;
}

.flow-arrow::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -4px;
  width: 0;
  height: 0;
  border-left: 8px solid rgba(26, 92, 75, 0.5);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

.ecosystem-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 16px;
  align-items: stretch;
}

.agent-core,
.skill-apply-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.agent-core {
  padding: 20px;
  background:
    linear-gradient(135deg, rgba(32, 185, 199, 0.08), rgba(210, 173, 98, 0.06)),
    rgba(255, 255, 255, 0.78);
}

.agent-core-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(232, 228, 221, 0.9);
}

.agent-core-head span {
  display: inline-flex;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(32, 185, 199, 0.12);
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.agent-core-head strong {
  color: var(--qing-dark);
  font-size: 15px;
  text-align: right;
}

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

.skill-card {
  min-height: 156px;
  border: 1px solid rgba(232, 228, 221, 0.95);
  border-radius: 8px;
  background: var(--paper);
  padding: 14px;
  transition: transform 170ms ease, border-color 170ms ease, box-shadow 170ms ease;
}

.skill-card:hover {
  transform: translateY(-2px);
  border-color: rgba(32, 185, 199, 0.46);
  box-shadow: 0 18px 34px rgba(8, 47, 42, 0.1);
}

.skill-card span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(11, 117, 101, 0.08);
  color: var(--qing);
  font-size: 12px;
  font-weight: 800;
}

.skill-card.built-in span {
  background: rgba(210, 173, 98, 0.16);
  color: var(--clay);
}

.skill-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.skill-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.skill-apply-card {
  padding: 20px;
}

.skill-apply-card h3 {
  font-size: 22px;
  margin-bottom: 9px;
}

.skill-apply-card p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.72;
}

.skill-apply-card ol {
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
  padding-left: 20px;
  color: var(--text);
  font-size: 13px;
  line-height: 1.58;
}

.skill-apply-form {
  display: grid;
  gap: 12px;
}

.skill-apply-form .btn {
  justify-self: start;
}

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

.product-card {
  overflow: hidden;
  transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease;
}

.product-media,
.case-media {
  min-height: 170px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(26, 92, 75, 0.11), rgba(47, 111, 130, 0.06)),
    var(--paper);
}

.product-media::before,
.case-media::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px dashed rgba(26, 92, 75, 0.28);
  border-radius: 8px;
}

.product-media span,
.case-media span {
  position: relative;
  z-index: 1;
  color: rgba(17, 59, 50, 0.7);
  font-size: 13px;
  font-weight: 800;
}

.product-content {
  padding: 16px;
}

.product-content h3 {
  font-size: 18px;
}

.product-content p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 13px;
}

.tag-row span {
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(26, 92, 75, 0.08);
  color: var(--qing);
  font-size: 12px;
}

.commerce-section {
  isolation: isolate;
  overflow: hidden;
}

.commerce-section::before {
  content: "";
  position: absolute;
  inset: 18px -26px 0;
  z-index: 0;
  border: 1px solid rgba(210, 173, 98, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(105deg, rgba(247, 248, 243, 0.86), rgba(247, 248, 243, 0.66) 46%, rgba(247, 248, 243, 0.84)),
    linear-gradient(135deg, rgba(32, 185, 199, 0.08), rgba(210, 173, 98, 0.12)),
    url("assets/food-medicine-bg.png") center / cover no-repeat;
  box-shadow: 0 22px 54px rgba(17, 59, 50, 0.08);
}

.commerce-section::after {
  content: "";
  position: absolute;
  inset: 18px -26px 0;
  z-index: 0;
  border-radius: 8px;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(32, 185, 199, 0.055) 1px, transparent 1px),
    linear-gradient(0deg, rgba(11, 117, 101, 0.04) 1px, transparent 1px);
  background-size: 96px 96px;
  mix-blend-mode: multiply;
}

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

.commerce-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 16px;
  align-items: stretch;
}

.commerce-main,
.supplier-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.commerce-main {
  padding: 20px;
}

.commerce-slogan {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(200, 164, 92, 0.14);
  color: var(--clay);
  font-weight: 900;
  font-size: 14px;
}

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

.recommend-step {
  min-height: 142px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--warm);
  padding: 14px;
}

.recommend-step strong {
  display: block;
  color: var(--qing-dark);
  font-size: 14px;
  margin-bottom: 8px;
}

.recommend-step span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.62;
}

.backend-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.backend-list div {
  border: 1px solid rgba(26, 92, 75, 0.12);
  border-radius: 8px;
  background: rgba(26, 92, 75, 0.055);
  padding: 13px;
}

.backend-list strong {
  display: block;
  color: var(--qing-dark);
  font-size: 14px;
  margin-bottom: 5px;
}

.backend-list span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.58;
}

.supplier-card {
  padding: 20px;
}

.supplier-card h3 {
  font-size: 22px;
  margin-bottom: 9px;
}

.supplier-card p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.72;
}

.supplier-form {
  display: grid;
  gap: 12px;
}

.supplier-form .btn {
  justify-self: start;
  margin-top: 2px;
}

.scenario-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 16px;
}

.scenario-tabs {
  display: grid;
  gap: 9px;
}

.scenario-tab {
  min-height: 46px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  text-align: left;
  font-weight: 700;
}

.scenario-tab.active {
  background: var(--qing);
  color: #fff;
  border-color: var(--qing);
}

.scenario-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 22px;
  min-height: 220px;
}

.scenario-pane {
  display: none;
}

.scenario-pane.active {
  display: block;
}

.scenario-pane h3 {
  font-size: 25px;
  margin-bottom: 12px;
}

.scenario-pane p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.78;
  max-width: 780px;
}

.experience-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 16px;
}

.human-stage,
.experience-console {
  min-height: 560px;
  overflow: hidden;
}

.human-stage {
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(26, 92, 75, 0.08), rgba(200, 164, 92, 0.06)),
    var(--paper);
}

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

.stage-head h3,
.console-head h3 {
  font-size: 21px;
  margin-bottom: 7px;
}

.stage-head p,
.console-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.live-state,
.usage {
  flex: none;
  border: 1px solid rgba(26, 92, 75, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--qing);
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 800;
}

.usage b {
  color: var(--qing-dark);
  font-family: Inter, Roboto, Arial, sans-serif;
}

.human-avatar {
  width: 250px;
  height: 250px;
  border-radius: 8px;
  border: 1px solid rgba(26, 92, 75, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(250, 247, 242, 0.78)),
    linear-gradient(90deg, rgba(26, 92, 75, 0.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(26, 92, 75, 0.06) 1px, transparent 1px);
  background-size: auto, 42px 42px, 42px 42px;
  margin: 36px auto 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 38px rgba(16, 47, 42, 0.1);
}

.h5-frame-shell {
  min-height: 360px;
  margin: 24px 0;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(26, 92, 75, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(250, 247, 242, 0.78)),
    linear-gradient(90deg, rgba(26, 92, 75, 0.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(26, 92, 75, 0.06) 1px, transparent 1px);
  background-size: auto, 42px 42px, 42px 42px;
  box-shadow: 0 18px 38px rgba(16, 47, 42, 0.1);
}

.h5-frame-shell iframe {
  width: 100%;
  height: 100%;
  min-height: 520px;
  display: block;
  border: 0;
  background: #fff;
}

.locked .h5-frame-shell iframe {
  opacity: 0;
  pointer-events: none;
}

.unlocked .h5-frame-shell iframe {
  opacity: 1;
}

.h5-placeholder {
  min-height: 360px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 28px;
  text-align: center;
  color: var(--muted);
}

.h5-placeholder strong {
  color: var(--qing-dark);
  font-size: 18px;
}

.h5-placeholder p {
  max-width: 360px;
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}

.avatar-head {
  position: absolute;
  left: 50%;
  top: 34px;
  transform: translateX(-50%);
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: #f1d9c3;
  border: 2px solid rgba(26, 92, 75, 0.18);
}

.avatar-head::before,
.avatar-head::after {
  content: "";
  position: absolute;
  top: 42px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--qing-dark);
}

.avatar-head::before {
  left: 27px;
}

.avatar-head::after {
  right: 27px;
}

.avatar-body {
  position: absolute;
  left: 46px;
  right: 46px;
  bottom: 28px;
  height: 112px;
  border-radius: 56px 56px 8px 8px;
  background: linear-gradient(180deg, var(--qing), var(--qing-dark));
}

.avatar-body::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -7px;
  transform: translateX(-50%);
  width: 74px;
  height: 34px;
  border-radius: 0 0 36px 36px;
  background: var(--gold-soft);
  border: 1px solid rgba(200, 164, 92, 0.6);
}

.avatar-signal {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  height: 42px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 5px;
}

.avatar-signal span {
  width: 7px;
  border-radius: 999px;
  background: var(--gold);
  animation: voice 1.2s ease-in-out infinite;
}

.avatar-signal span:nth-child(1) { height: 17px; }
.avatar-signal span:nth-child(2) { height: 30px; animation-delay: .1s; }
.avatar-signal span:nth-child(3) { height: 22px; animation-delay: .2s; }
.avatar-signal span:nth-child(4) { height: 36px; animation-delay: .3s; }
.avatar-signal span:nth-child(5) { height: 20px; animation-delay: .4s; }

@keyframes voice {
  0%, 100% { transform: scaleY(.72); opacity: .75; }
  50% { transform: scaleY(1); opacity: 1; }
}

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

.stage-metrics span {
  padding: 12px;
  border: 1px solid rgba(232, 228, 221, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.64);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.stage-metrics strong {
  display: block;
  color: var(--qing-dark);
  font-size: 13px;
  margin-bottom: 4px;
}

.experience-console {
  display: grid;
  grid-template-rows: auto auto 1fr;
  background: #fff;
}

.console-head {
  padding: 17px;
  border-bottom: 1px solid var(--line);
}

.gate-form {
  padding: 17px;
  background: var(--warm);
  border-bottom: 1px solid var(--line);
}

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

label {
  display: grid;
  gap: 7px;
  color: var(--qing-dark);
  font-size: 13px;
  font-weight: 800;
}

label.full {
  grid-column: 1 / -1;
}

.sms-code-row span {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  gap: 8px;
}

.sms-code-row .btn {
  min-height: 42px;
  padding: 0 12px;
}

[hidden] {
  display: none !important;
}

input,
select,
textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid #dcd7ce;
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  padding: 10px 12px;
  outline: none;
}

textarea {
  min-height: 118px;
  resize: vertical;
  line-height: 1.65;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(26, 92, 75, 0.52);
  box-shadow: 0 0 0 3px rgba(26, 92, 75, 0.09);
}

.form-error {
  display: none;
  margin: 10px 0 0;
  color: #9b3b32;
  font-size: 12px;
}

.form-error.show {
  display: block;
}

.form-feedback {
  grid-column: 1 / -1;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.form-feedback[data-state="success"] {
  color: var(--qing);
}

.form-feedback[data-state="error"] {
  color: #9b3b32;
}

.gate-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}

.gate-actions p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
  max-width: 420px;
}

.quick-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 13px 17px 0;
  background: #fff;
}

.quick-prompts button {
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid #dcd7ce;
  background: #fff;
  color: var(--text);
  font-size: 12px;
}

.quick-prompts button:hover {
  color: var(--qing);
  border-color: rgba(26, 92, 75, 0.3);
}

.chat-log {
  display: grid;
  gap: 12px;
  align-content: start;
  max-height: 350px;
  overflow: auto;
  padding: 16px 17px;
  background: #fff;
}

.message {
  max-width: 88%;
  border-radius: 8px;
  border: 1px solid var(--line);
  padding: 11px 12px;
  font-size: 14px;
  line-height: 1.65;
}

.message.assistant {
  justify-self: start;
  background: var(--warm);
}

.message.user {
  justify-self: end;
  background: rgba(26, 92, 75, 0.1);
  border-color: rgba(26, 92, 75, 0.18);
  color: var(--qing-dark);
}

.composer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 13px 17px 17px;
  background: #fff;
}

.locked .quick-prompts,
.locked .chat-log,
.locked .composer {
  display: none;
}

.unlocked .gate-form {
  display: none;
}

.h5-status-card {
  margin: 16px 17px;
  align-self: start;
  border: 1px solid rgba(26, 92, 75, 0.14);
  border-radius: 8px;
  background: rgba(247, 248, 243, 0.78);
  padding: 15px;
}

.h5-status-card strong {
  display: block;
  color: var(--qing-dark);
  font-size: 14px;
  margin-bottom: 6px;
}

.h5-status-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.medical-note {
  margin: 14px 0 0;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid rgba(47, 111, 130, 0.14);
  background: rgba(47, 111, 130, 0.08);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.case-list {
  display: grid;
  gap: 18px;
}

.case-item {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 16px;
  align-items: stretch;
}

.case-item.reverse {
  grid-template-columns: 1.1fr 0.9fr;
}

.case-item.reverse .case-media {
  order: 2;
}

.case-copy {
  padding: 24px;
}

.case-label {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 9px;
  border-radius: 999px;
  background: rgba(200, 164, 92, 0.14);
  color: var(--clay);
  font-size: 12px;
  font-weight: 800;
}

.case-copy h3 {
  font-size: 25px;
  line-height: 1.25;
}

.case-copy p {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.76;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-list summary {
  min-height: 54px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  color: var(--qing-dark);
  font-weight: 800;
  cursor: pointer;
}

.faq-list p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.76;
}

.contact-panel {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 22px;
  padding: 24px;
}

.contact-panel h2 {
  font-size: 34px;
}

.contact-panel p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.contact-form {
  align-content: start;
}

.privacy {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.contact-form .btn {
  justify-self: start;
}

.site-footer {
  margin-top: 70px;
  background: var(--qing-dark);
  color: #f8efe0;
}

.footer-shell {
  padding: 30px 0 36px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
}

.site-footer strong {
  display: block;
  color: var(--gold);
  margin-bottom: 8px;
  font-size: 18px;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 253, 248, 0.8);
  font-size: 14px;
  line-height: 1.65;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: #fffdf8;
  font-size: 14px;
}

.footer-records {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 14px 0 18px;
  border-top: 1px solid rgba(255, 253, 248, 0.12);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 22px;
  color: rgba(255, 253, 248, 0.72);
  font-family: Inter, Roboto, Arial, sans-serif;
  font-size: 13px;
  line-height: 1.6;
}

.footer-records a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  transition: color 160ms ease;
}

.footer-records a:hover {
  color: var(--gold);
}

.footer-records img {
  width: 18px;
  height: 18px;
  flex: none;
  object-fit: contain;
}

.footer-company {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 14px 0 18px;
  border-top: 1px solid rgba(255, 253, 248, 0.12);
  color: rgba(255, 253, 248, 0.72);
  font-family: Inter, Roboto, Arial, sans-serif;
  font-size: 13px;
  line-height: 1.6;
}

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

@media (max-width: 1080px) {
  .site-nav {
    display: none;
  }

  h1 {
    font-size: 48px;
  }

  .hero-logo-lockup {
    width: min(580px, 92vw);
  }

  .hero-title {
    font-size: 36px;
  }

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

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

  .flow-arrow {
    display: none;
  }

  .scenario-layout,
  .experience-grid,
  .contact-panel,
  .commerce-layout,
  .ecosystem-layout,
  .section-head.two-col {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 720px) {
  .back-to-top {
    right: 16px;
    bottom: 18px;
    width: 44px;
    height: 44px;
    font-size: 21px;
  }

  .shell,
  .header-shell,
  .hero-shell,
  .footer-shell {
    width: min(100% - 24px, 420px);
  }

  .header-shell {
    min-height: 64px;
  }

  .brand small {
    display: none;
  }

  .header-actions {
    gap: 8px;
  }

  .header-actions .btn {
    min-height: 36px;
    padding: 0 11px;
    font-size: 13px;
  }

  .hero {
    min-height: auto;
  }

  .hero-tech-layer {
    display: none;
  }

  .hero-shell {
    padding: 30px 0 18px;
  }

  .hero-logo-lockup {
    width: min(100%, 420px);
    margin-bottom: 16px;
  }

  .hero-logo-lockup svg {
    border-radius: 20px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-title {
    font-size: 31px;
  }

  .hero-copy {
    font-size: 16px;
    line-height: 1.66;
    margin: 16px auto 18px;
  }

  .hero-actions {
    margin-bottom: 14px;
  }

  .pulse-line {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    height: 54px;
    margin: 6px auto 0;
  }

  .brand-origin {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    margin-bottom: 14px;
    padding: 10px 12px;
  }

  .match-sprite {
    width: 54px;
    height: 54px;
  }

  .ability-strip,
  .capability-grid,
  .product-grid,
  .stage-metrics,
  .gate-grid,
  .contact-form,
  .recommend-flow,
  .backend-list,
  .skill-grid,
  .case-item,
  .case-item.reverse {
    grid-template-columns: 1fr;
  }

  .hero .ability-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .hero .ability-strip article {
    min-height: 86px;
    padding: 10px;
  }

  .hero .ability-icon {
    min-width: 32px;
    height: 28px;
    font-size: 10px;
  }

  .hero .ability-strip h2 {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.25;
  }

  .hero .ability-strip p {
    display: none;
  }

  .commerce-section::before {
    background:
      linear-gradient(105deg, rgba(247, 248, 243, 0.84), rgba(247, 248, 243, 0.68) 46%, rgba(247, 248, 243, 0.86)),
      linear-gradient(135deg, rgba(32, 185, 199, 0.08), rgba(210, 173, 98, 0.12)),
      url("assets/food-medicine-bg.png") left top / auto 100% no-repeat;
  }

  .agent-core-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .agent-core-head strong {
    text-align: left;
  }

  .case-item.reverse .case-media {
    order: 0;
  }

  .section {
    padding-top: 52px;
  }

  .section-head h2,
  .contact-panel h2 {
    font-size: 29px;
  }

  .scenario-tabs {
    grid-template-columns: 1fr 1fr;
  }

  .human-stage,
  .experience-console {
    min-height: auto;
  }

  .human-avatar {
    width: 214px;
    height: 214px;
  }

  .h5-frame-shell {
    min-height: 300px;
    margin: 18px 0;
  }

  .h5-frame-shell iframe {
    min-height: 480px;
  }

  .composer,
  .gate-actions {
    grid-template-columns: 1fr;
  }

  .composer {
    display: grid;
  }

  .footer-shell {
    flex-direction: column;
  }

  .footer-records {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}
