:root {
  --lh-bg: #02070d;
  --lh-surface: #07111c;
  --lh-surface-strong: #0a1724;
  --lh-border: rgba(133, 211, 255, 0.18);
  --lh-text: #f4fbff;
  --lh-muted: #8ea7b8;
  --lh-blue: #2b8cff;
  --lh-cyan: #50d5ff;
  --lh-ice: #dff8ff;
  --lh-green: #48d69a;
}

body.longhua-home-active {
  background: var(--lh-bg) !important;
  color: var(--lh-text) !important;
}

.longhua-home-original {
  display: none !important;
}

body.longhua-home-active [data-longhua-banner="public"] {
  display: none !important;
}

body.longhua-home-active header {
  border-bottom: 1px solid rgba(133, 211, 255, 0.12);
  background: rgba(2, 7, 13, 0.82);
  backdrop-filter: blur(18px);
}

body.longhua-home-active header nav > a:first-child > div:first-child {
  display: none !important;
}

body.longhua-home-active header nav > a:first-child {
  gap: 0 !important;
}

.longhua-home {
  width: 100%;
  overflow: hidden;
  background:
    linear-gradient(rgba(2, 7, 13, 0.3), rgba(2, 7, 13, 0.3)),
    var(--lh-bg);
  color: var(--lh-text);
  font-family: "IBM Plex Sans", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

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

.longhua-home a {
  color: inherit;
  text-decoration: none;
}

.longhua-home-hero {
  position: relative;
  min-height: calc(100svh - 7.5rem);
  padding: clamp(5.5rem, 9vw, 8rem) clamp(1.25rem, 4vw, 4.5rem) 0;
  isolation: isolate;
}

.longhua-home-hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(2, 7, 13, 0.96) 0%, rgba(2, 7, 13, 0.64) 36%, rgba(2, 7, 13, 0.08) 68%),
    linear-gradient(rgba(108, 200, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108, 200, 255, 0.035) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
  content: "";
  mask-image: linear-gradient(to bottom, #000 84%, transparent);
}

.longhua-home-hero::after {
  position: absolute;
  right: 8%;
  bottom: 12%;
  left: 34%;
  z-index: -1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(80, 213, 255, 0.7), transparent);
  box-shadow: 0 0 32px rgba(43, 140, 255, 0.5);
  content: "";
}

.longhua-home-hero__grid {
  display: grid;
  grid-template-columns: minmax(340px, 0.76fr) minmax(640px, 1.24fr);
  gap: clamp(1rem, 2vw, 2.5rem);
  align-items: center;
  width: min(1540px, 100%);
  min-height: 590px;
  margin: 0 auto;
}

.longhua-home-hero__copy {
  position: relative;
  z-index: 5;
  padding-bottom: 4rem;
}

.longhua-home-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.25rem;
  color: #87cfff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  animation: longhua-home-reveal 0.8s ease both;
}

.longhua-home-eyebrow span {
  width: 1.4rem;
  height: 1px;
  background: var(--lh-cyan);
  box-shadow: 0 0 10px var(--lh-cyan);
}

.longhua-home-hero h1 {
  margin: 0;
  color: var(--lh-text);
  font-family: "Bahnschrift", "Noto Sans SC", sans-serif;
  font-size: clamp(4rem, 7vw, 7.5rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.98;
  text-shadow: 0 12px 48px rgba(43, 140, 255, 0.22);
  animation: longhua-home-reveal 0.8s 0.08s ease both;
}

.longhua-home-hero__slogan {
  max-width: 680px;
  margin: 1.5rem 0 0;
  color: var(--lh-ice);
  font-family: "Bahnschrift", "Noto Sans SC", sans-serif;
  font-size: clamp(1.4rem, 2vw, 2.25rem);
  font-weight: 650;
  line-height: 1.35;
  animation: longhua-home-reveal 0.8s 0.16s ease both;
}

.longhua-home-hero__slogan span {
  color: #25b9ff;
}

.longhua-home-hero__slogan::after {
  display: block;
  width: 7rem;
  height: 2px;
  margin-top: 1rem;
  background: linear-gradient(90deg, var(--lh-cyan), transparent);
  content: "";
}

.longhua-home-hero__summary {
  max-width: 610px;
  margin: 1.5rem 0 0;
  color: var(--lh-muted);
  font-size: 1rem;
  line-height: 1.85;
  animation: longhua-home-reveal 0.8s 0.24s ease both;
}

.longhua-home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.25rem;
  animation: longhua-home-reveal 0.8s 0.32s ease both;
}

.longhua-home-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  min-width: 9.5rem;
  height: 3.25rem;
  border-radius: 0.45rem;
  padding: 0 1.35rem;
  font-size: 0.95rem;
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.longhua-home-button span {
  transition: transform 180ms ease;
}

.longhua-home-button:hover {
  transform: translateY(-2px);
}

.longhua-home-button:hover span {
  transform: translateX(3px);
}

.longhua-home-button--primary {
  border: 1px solid #67d4ff;
  background: linear-gradient(135deg, #1476ff, #36c8ff);
  color: #fff !important;
  box-shadow: 0 14px 40px rgba(36, 151, 255, 0.26);
}

.longhua-home-button--secondary {
  border: 1px solid rgba(172, 226, 255, 0.3);
  background: rgba(7, 17, 28, 0.6);
  color: var(--lh-ice) !important;
}

.longhua-home-button--secondary:hover {
  border-color: rgba(129, 218, 255, 0.72);
  background: rgba(12, 35, 55, 0.76);
}

.longhua-home-protocol {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.5rem;
  color: #7eb7d4;
  font-family: "Cascadia Code", "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  animation: longhua-home-reveal 0.8s 0.4s ease both;
}

.longhua-home-protocol i,
.longhua-home-metrics small i,
.longhua-model-status i,
.longhua-response-tool__head i {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--lh-green);
  box-shadow: 0 0 10px rgba(72, 214, 154, 0.75);
}

.longhua-routing-scene {
  --pointer-x: 0;
  --pointer-y: 0;
  position: relative;
  min-width: 0;
  height: min(660px, 68svh);
  min-height: 560px;
  transform: perspective(1100px) rotateX(calc(var(--pointer-y) * -1.8deg)) rotateY(calc(var(--pointer-x) * 2.4deg));
  transform-style: preserve-3d;
  transition: transform 140ms ease-out;
  animation: longhua-home-reveal 1s 0.15s ease both;
}

.longhua-routing-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.longhua-provider-list,
.longhua-compute-list {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: grid;
  gap: 0.62rem;
  width: 9.8rem;
  transform: translateY(-50%);
}

.longhua-provider-list {
  left: 1.5%;
}

.longhua-compute-list {
  right: 0;
  width: 11.2rem;
}

.longhua-provider-list span,
.longhua-compute-list span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 2.65rem;
  border: 1px solid var(--lh-border);
  border-radius: 0.35rem;
  padding: 0 0.8rem;
  background: rgba(5, 15, 25, 0.72);
  color: #cceeff;
  font-size: 0.77rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25), inset 0 0 22px rgba(66, 177, 255, 0.03);
  animation: longhua-node-enter 0.65s var(--node-delay, 0ms) both;
}

.longhua-provider-list span::after {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--lh-green);
  box-shadow: 0 0 10px rgba(72, 214, 154, 0.65);
  content: "";
}

.longhua-compute-list small {
  display: block;
  width: 100%;
  margin-top: 0.2rem;
  color: #65d0ff;
  font-family: "Cascadia Code", monospace;
  font-size: 0.64rem;
}

.longhua-compute-list span {
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
}

.longhua-routing-core {
  position: absolute;
  z-index: 4;
  top: 49%;
  left: 54%;
  width: clamp(11rem, 18vw, 15rem);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
}

.longhua-routing-core::before,
.longhua-routing-core::after,
.longhua-routing-core__ring {
  position: absolute;
  border: 1px solid rgba(100, 205, 255, 0.42);
  border-radius: 50%;
  content: "";
}

.longhua-routing-core::before {
  inset: 0;
  box-shadow:
    0 0 0 0.5rem rgba(48, 154, 255, 0.035),
    0 0 70px rgba(24, 137, 255, 0.28),
    inset 0 0 38px rgba(69, 199, 255, 0.18);
  animation: longhua-core-breathe 2.8s ease-in-out infinite;
}

.longhua-routing-core::after {
  inset: 13%;
  border-style: dashed;
  animation: longhua-core-spin 16s linear infinite;
}

.longhua-routing-core__ring {
  inset: 23%;
  border-width: 2px;
  border-color: rgba(137, 226, 255, 0.65);
  box-shadow: 0 0 28px rgba(74, 185, 255, 0.28);
  animation: longhua-core-spin 10s linear infinite reverse;
}

.longhua-routing-core__ring--two {
  inset: 33%;
  border-style: dotted;
  animation-duration: 7s;
}

.longhua-routing-core__center {
  position: absolute;
  inset: 39%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(196, 242, 255, 0.68);
  border-radius: 50%;
  background: #071b2c;
  box-shadow: 0 0 38px rgba(62, 187, 255, 0.5);
}

.longhua-routing-core__center strong {
  position: absolute;
  top: calc(100% + 1.5rem);
  left: 50%;
  width: 10rem;
  transform: translateX(-50%);
  color: var(--lh-ice);
  font-size: 0.92rem;
  text-align: center;
  white-space: nowrap;
}

.longhua-routing-core__center span {
  position: absolute;
  top: calc(100% + 3rem);
  left: 50%;
  width: 11rem;
  transform: translateX(-50%);
  color: #6f9cb5;
  font-size: 0.66rem;
  text-align: center;
  white-space: nowrap;
}

.longhua-home-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: calc(100% + clamp(2.5rem, 8vw, 9rem));
  margin-left: calc(clamp(1.25rem, 4vw, 4.5rem) * -1);
  border-top: 1px solid rgba(133, 211, 255, 0.18);
  border-bottom: 1px solid rgba(133, 211, 255, 0.13);
  background: rgba(3, 11, 19, 0.84);
}

.longhua-home-metrics > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.3rem 1rem;
  min-height: 7rem;
  border-right: 1px solid rgba(133, 211, 255, 0.14);
  padding: 1.35rem clamp(1rem, 3vw, 3.25rem);
}

.longhua-home-metrics > div:last-child {
  border-right: 0;
}

.longhua-home-metrics span {
  color: var(--lh-muted);
  font-size: 0.78rem;
}

.longhua-home-metrics strong {
  grid-row: 1 / 3;
  grid-column: 2;
  align-self: center;
  font-family: "Bahnschrift", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 600;
  letter-spacing: 0;
}

.longhua-home-metrics small {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #5f8297;
  font-size: 0.7rem;
}

.longhua-home-api,
.longhua-home-models {
  position: relative;
  padding: clamp(5rem, 8vw, 8rem) clamp(1.25rem, 4vw, 4.5rem);
}

.longhua-home-api {
  background:
    linear-gradient(180deg, rgba(12, 35, 54, 0.38), transparent 44%),
    #030a12;
}

.longhua-home-section-heading,
.longhua-home-models__head,
.longhua-api-workbench,
.longhua-home-final {
  width: min(1440px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.longhua-home-section-heading {
  margin-bottom: 2.75rem;
}

.longhua-home-section-heading p,
.longhua-home-models__head p {
  margin: 0 0 0.65rem;
  color: #62c8f8;
  font-size: 0.75rem;
  font-weight: 700;
}

.longhua-home-section-heading h2,
.longhua-home-models__head h2,
.longhua-home-final h2 {
  margin: 0;
  font-family: "Bahnschrift", "Noto Sans SC", sans-serif;
  font-size: clamp(2rem, 3.6vw, 3.8rem);
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.1;
}

.longhua-home-section-heading > span,
.longhua-home-models__head > div > span {
  display: block;
  margin-top: 0.8rem;
  color: var(--lh-muted);
  font-size: 0.95rem;
}

.longhua-api-workbench {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(160px, 0.42fr) minmax(0, 0.95fr);
  align-items: stretch;
  min-height: 32rem;
}

.longhua-code-tool,
.longhua-response-tool {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(117, 207, 255, 0.22);
  border-radius: 0.5rem;
  background: rgba(3, 12, 21, 0.88);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.longhua-code-tabs {
  display: flex;
  overflow-x: auto;
  border-bottom: 1px solid rgba(117, 207, 255, 0.16);
  padding: 0 0.8rem;
}

.longhua-code-tabs button {
  position: relative;
  height: 3.2rem;
  border: 0;
  padding: 0 1rem;
  background: transparent;
  color: #6f93a7;
  font: 600 0.76rem "IBM Plex Sans", sans-serif;
  cursor: pointer;
}

.longhua-code-tabs button::after {
  position: absolute;
  right: 0.8rem;
  bottom: 0;
  left: 0.8rem;
  height: 2px;
  background: transparent;
  content: "";
}

.longhua-code-tabs button.is-active {
  color: var(--lh-ice);
}

.longhua-code-tabs button.is-active::after {
  background: var(--lh-cyan);
  box-shadow: 0 0 12px rgba(80, 213, 255, 0.7);
}

.longhua-code-tool pre {
  min-height: 25rem;
  margin: 0;
  overflow: auto;
  padding: 1.5rem;
  color: #9fdaff;
  font: 0.78rem/1.75 "Cascadia Code", "IBM Plex Mono", monospace;
  white-space: pre;
}

.longhua-code-tool__foot,
.longhua-response-tool__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.4rem;
  border-top: 1px solid rgba(117, 207, 255, 0.14);
  padding: 0 1rem;
  color: #6f98ae;
  font: 0.7rem "Cascadia Code", monospace;
}

.longhua-code-tool__foot strong {
  color: var(--lh-cyan);
  font-family: "IBM Plex Sans", sans-serif;
}

.longhua-route-pipeline {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-width: 0;
}

.longhua-route-pipeline::before {
  position: absolute;
  top: 10%;
  bottom: 10%;
  left: 50%;
  width: 1px;
  background: rgba(83, 199, 255, 0.28);
  box-shadow: 0 0 18px rgba(43, 140, 255, 0.38);
  content: "";
}

.longhua-route-pipeline span {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 7rem;
  min-height: 2.6rem;
  border: 1px solid rgba(97, 205, 255, 0.38);
  border-radius: 0.35rem;
  padding: 0 0.7rem;
  background: #071522;
  color: #c7efff;
  font-size: 0.76rem;
}

.longhua-route-pipeline span i {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--lh-green);
  box-shadow: 0 0 8px var(--lh-green);
}

.longhua-route-pipeline b {
  position: relative;
  z-index: 2;
  width: 2px;
  height: 2.1rem;
  overflow: hidden;
  background: rgba(74, 185, 255, 0.22);
}

.longhua-route-pipeline b::after {
  position: absolute;
  inset: -100% 0 auto;
  height: 70%;
  background: linear-gradient(transparent, var(--lh-cyan), transparent);
  content: "";
  animation: longhua-pipeline-flow 1.6s linear infinite;
}

.longhua-response-tool {
  display: flex;
  flex-direction: column;
}

.longhua-response-tool__head {
  border-top: 0;
  border-bottom: 1px solid rgba(117, 207, 255, 0.14);
}

.longhua-response-tool__head span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #9fe7c6;
}

.longhua-stream-text {
  position: relative;
  flex: 1;
  padding: 1.5rem;
  color: #b6d3e3;
  font: 0.8rem/1.85 "Cascadia Code", monospace;
}

.longhua-stream-text::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 36%, rgba(80, 213, 255, 0.06) 50%, transparent 64%);
  background-size: 220% 100%;
  content: "";
  pointer-events: none;
  animation: longhua-response-scan 3.2s linear infinite;
}

.longhua-stream-text p {
  margin: 0 0 0.65rem;
}

.longhua-stream-cursor {
  display: inline-block;
  width: 0.45rem;
  height: 0.9rem;
  margin-left: 0.25rem;
  background: var(--lh-cyan);
  vertical-align: -0.1rem;
  animation: longhua-cursor 0.8s steps(1) infinite;
}

.longhua-response-tool dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  border-top: 1px solid rgba(117, 207, 255, 0.14);
}

.longhua-response-tool dl div {
  padding: 1rem;
  border-right: 1px solid rgba(117, 207, 255, 0.12);
}

.longhua-response-tool dl div:last-child {
  border-right: 0;
}

.longhua-response-tool dt {
  color: #5e8193;
  font-size: 0.65rem;
}

.longhua-response-tool dd {
  margin: 0.35rem 0 0;
  color: #8adfff;
  font: 600 0.85rem "Cascadia Code", monospace;
}

.longhua-home-models {
  border-top: 1px solid rgba(133, 211, 255, 0.13);
  background: #02070d;
}

.longhua-home-models__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.25rem;
}

.longhua-home-models__head a {
  flex: 0 0 auto;
  color: #70d2ff;
  font-size: 0.82rem;
  font-weight: 700;
}

.longhua-model-marquee {
  position: relative;
  width: calc(100% + clamp(2.5rem, 8vw, 9rem));
  margin-left: calc(clamp(1.25rem, 4vw, 4.5rem) * -1);
  overflow: hidden;
  padding: 0.5rem 0 1rem;
}

.longhua-model-marquee::before,
.longhua-model-marquee::after {
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  width: min(12vw, 10rem);
  content: "";
  pointer-events: none;
}

.longhua-model-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--lh-bg), transparent);
}

.longhua-model-marquee::after {
  right: 0;
  background: linear-gradient(-90deg, var(--lh-bg), transparent);
}

.longhua-model-track {
  display: flex;
  gap: 0.85rem;
  width: max-content;
  padding-left: 0.85rem;
  animation: longhua-model-marquee 34s linear infinite;
}

.longhua-model-track:hover {
  animation-play-state: paused;
}

.longhua-model-item {
  width: 18rem;
  flex: 0 0 auto;
  border: 1px solid rgba(120, 208, 255, 0.18);
  border-radius: 0.45rem;
  padding: 1.1rem;
  background: rgba(7, 17, 28, 0.82);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.longhua-model-item:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 210, 255, 0.5);
  background: #0a1926;
}

.longhua-model-item__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(120, 208, 255, 0.12);
}

.longhua-model-item h3 {
  margin: 0;
  color: #e7f8ff;
  font-size: 0.95rem;
}

.longhua-model-item p {
  margin: 0.25rem 0 0;
  color: #678a9c;
  font-size: 0.67rem;
}

.longhua-model-status {
  display: flex;
  align-items: center;
  gap: 0.38rem;
  color: #76d9ae;
  font-size: 0.65rem;
  white-space: nowrap;
}

.longhua-model-item dl {
  display: grid;
  gap: 0.55rem;
  margin: 0.85rem 0 0;
}

.longhua-model-item dl div {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.longhua-model-item dt {
  color: #638296;
  font-size: 0.67rem;
}

.longhua-model-item dd {
  margin: 0;
  color: #b9eaff;
  font: 0.68rem "Cascadia Code", monospace;
}

.longhua-home-final {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: clamp(5rem, 8vw, 8rem);
  border-top: 1px solid rgba(133, 211, 255, 0.16);
  padding-top: 3rem;
}

.longhua-home-final p {
  margin: 0 0 0.6rem;
  color: #6fcfff;
  font-size: 0.76rem;
  font-weight: 700;
}

.longhua-home-final h2 {
  max-width: 760px;
  font-size: clamp(1.6rem, 3vw, 3rem);
}

@keyframes longhua-home-reveal {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes longhua-node-enter {
  from { opacity: 0; transform: translateX(16px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes longhua-core-spin {
  to { transform: rotate(360deg); }
}

@keyframes longhua-core-breathe {
  50% { transform: scale(1.035); box-shadow: 0 0 0 0.7rem rgba(48, 154, 255, 0.045), 0 0 90px rgba(24, 137, 255, 0.38), inset 0 0 48px rgba(69, 199, 255, 0.22); }
}

@keyframes longhua-pipeline-flow {
  to { transform: translateY(320%); }
}

@keyframes longhua-response-scan {
  to { background-position: -220% 0; }
}

@keyframes longhua-cursor {
  50% { opacity: 0; }
}

@keyframes longhua-model-marquee {
  to { transform: translateX(calc(-50% - 0.425rem)); }
}

@media (max-width: 1180px) {
  .longhua-home-hero__grid {
    grid-template-columns: 1fr;
  }

  .longhua-home-hero__copy {
    max-width: 760px;
    padding-bottom: 0;
  }

  .longhua-routing-scene {
    height: 600px;
  }

  .longhua-api-workbench {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .longhua-route-pipeline {
    flex-direction: row;
    min-height: 6rem;
  }

  .longhua-route-pipeline::before {
    top: 50%;
    right: 10%;
    bottom: auto;
    left: 10%;
    width: auto;
    height: 1px;
  }

  .longhua-route-pipeline b {
    width: clamp(1rem, 6vw, 4rem);
    height: 2px;
  }

  .longhua-route-pipeline b::after {
    inset: 0 auto 0 -100%;
    width: 70%;
    height: auto;
    animation-name: longhua-pipeline-flow-horizontal;
  }
}

@keyframes longhua-pipeline-flow-horizontal {
  to { transform: translateX(320%); }
}

@media (max-width: 720px) {
  .longhua-home-hero {
    min-height: auto;
    padding-top: 7rem;
  }

  .longhua-home-hero__grid {
    min-height: 0;
  }

  .longhua-home-hero h1 {
    font-size: clamp(3.5rem, 18vw, 5.2rem);
  }

  .longhua-home-hero__slogan {
    font-size: 1.3rem;
  }

  .longhua-home-hero__summary {
    font-size: 0.9rem;
  }

  .longhua-home-hero__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .longhua-home-button {
    min-width: 0;
    padding: 0 0.8rem;
  }

  .longhua-routing-scene {
    height: 470px;
    min-height: 470px;
    margin-top: 1.5rem;
  }

  .longhua-provider-list,
  .longhua-compute-list {
    width: 7.3rem;
  }

  .longhua-provider-list span,
  .longhua-compute-list span {
    min-height: 2.2rem;
    padding: 0 0.55rem;
    font-size: 0.64rem;
  }

  .longhua-provider-list span:nth-child(n + 5),
  .longhua-compute-list span:nth-child(n + 4) {
    display: none;
  }

  .longhua-routing-core {
    left: 52%;
    width: 9.6rem;
  }

  .longhua-routing-core__center strong {
    top: calc(100% + 1rem);
    font-size: 0.72rem;
  }

  .longhua-routing-core__center span {
    top: calc(100% + 2.2rem);
    font-size: 0.56rem;
  }

  .longhua-home-metrics {
    grid-template-columns: 1fr 1fr;
    margin-top: 0;
  }

  .longhua-home-metrics > div {
    min-height: 6.3rem;
    border-bottom: 1px solid rgba(133, 211, 255, 0.12);
  }

  .longhua-home-metrics strong {
    font-size: 1.55rem;
  }

  .longhua-home-section-heading h2,
  .longhua-home-models__head h2 {
    font-size: 2rem;
  }

  .longhua-code-tool pre {
    min-height: 22rem;
    padding: 1rem;
    font-size: 0.68rem;
  }

  .longhua-route-pipeline {
    overflow-x: auto;
    justify-content: flex-start;
    padding: 0 0.4rem;
  }

  .longhua-route-pipeline span {
    width: 5.2rem;
    flex: 0 0 auto;
  }

  .longhua-route-pipeline b {
    width: 1.1rem;
    flex: 0 0 auto;
  }

  .longhua-response-tool dl {
    grid-template-columns: 1fr;
  }

  .longhua-response-tool dl div {
    display: flex;
    justify-content: space-between;
    border-right: 0;
    border-bottom: 1px solid rgba(117, 207, 255, 0.12);
  }

  .longhua-home-models__head,
  .longhua-home-final {
    align-items: flex-start;
    flex-direction: column;
  }

  .longhua-home-final .longhua-home-button {
    width: 100%;
  }

  .longhua-model-item {
    width: 16rem;
  }
}

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

  .longhua-model-track {
    transform: none !important;
  }
}

/* Scheme 1 fidelity pass: cinematic full-width routing stage. */
body.longhua-home-active header {
  min-height: 70px;
  background: rgba(1, 6, 12, 0.96) !important;
  border-bottom-color: rgba(111, 201, 255, 0.14);
}

body.longhua-home-active header nav {
  position: relative;
  left: calc(50% - 50vw);
  width: 100vw !important;
  max-width: 100vw !important;
  min-height: 70px;
  margin: 0 auto;
  padding-right: 40px !important;
  padding-left: 40px !important;
}

body.longhua-home-active header nav a {
  position: relative;
  z-index: 3;
  color: #c7d4dd !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

body.longhua-home-active header nav > a:first-child,
body.longhua-home-active header nav > a:first-child span {
  color: #f2f8fc !important;
  opacity: 1 !important;
  font-weight: 700;
}

body.longhua-home-active header nav > div:nth-child(2) {
  flex: 1 1 auto;
  margin-left: 5rem;
}

body.longhua-home-active header nav > div:nth-child(2) > a:nth-child(4) {
  margin-right: auto;
}

.longhua-home {
  background: #01060c;
}

.longhua-home-hero {
  min-height: 0;
  padding: 70px 0 2.75rem;
  background: #01060c;
}

.longhua-home-hero::before,
.longhua-home-hero::after {
  display: none;
}

.longhua-home-hero__grid {
  position: relative;
  display: block;
  width: 100%;
  max-width: none;
  height: clamp(560px, 65svh, 620px);
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: #01060c;
}

.longhua-home-hero__grid::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(1, 6, 12, 0.97) 0%, rgba(1, 6, 12, 0.76) 19%, rgba(1, 6, 12, 0.12) 34%, transparent 52%),
    linear-gradient(180deg, rgba(1, 6, 12, 0.04) 62%, rgba(1, 6, 12, 0.42) 100%);
  content: "";
}

.longhua-home-hero__visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 48%;
  filter: saturate(1.15) contrast(1.08) brightness(1.05);
  pointer-events: none;
  user-select: none;
  animation: longhua-home-visual-enter 1.15s ease both;
}

.longhua-home-hero__copy {
  position: absolute;
  z-index: 8;
  top: 24.5%;
  left: clamp(40px, 4.35vw, 74px);
  width: min(25vw, 420px);
  min-width: 350px;
  padding: 0;
}

.longhua-home-eyebrow,
.longhua-home-protocol {
  display: none;
}

.longhua-home-hero h1 {
  font-size: clamp(4.65rem, 5.55vw, 5.9rem);
  line-height: 1;
  text-shadow: 0 12px 48px rgba(43, 140, 255, 0.24);
}

.longhua-home-hero h1 > span {
  color: #168cff;
  text-shadow: 0 0 32px rgba(31, 150, 255, 0.52);
}

.longhua-home-hero__slogan {
  margin-top: 1.25rem;
  color: #f0f8fd;
  font-size: clamp(1.3rem, 1.55vw, 1.65rem);
  line-height: 1.35;
}

.longhua-home-hero__slogan::after {
  display: none;
}

.longhua-home-hero__summary {
  max-width: 390px;
  margin-top: 1.6rem;
  color: #88a0b2;
  font-size: 1rem;
  line-height: 1.7;
}

.longhua-home-hero__actions {
  flex-wrap: nowrap;
  gap: 0.85rem;
  margin-top: 2.2rem;
}

.longhua-home-hero__actions .longhua-home-button {
  width: 10.7rem;
  height: 3.75rem;
  border-radius: 0.3rem;
  font-size: 1rem;
}

.longhua-home-button--primary {
  border-color: #36bfff;
  background: #168cff;
  box-shadow: 0 12px 34px rgba(17, 137, 255, 0.3), inset 0 0 20px rgba(117, 222, 255, 0.12);
}

.longhua-home-button--secondary {
  border-color: rgba(151, 211, 245, 0.34);
  background: rgba(3, 10, 17, 0.72);
}

.longhua-routing-scene {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  min-height: 0;
  transform: none !important;
  animation: longhua-home-reveal 1s 0.15s ease both;
}

.longhua-routing-canvas {
  z-index: 2;
  opacity: 0.26;
  mix-blend-mode: screen;
}

.longhua-provider-list,
.longhua-compute-list {
  top: 49%;
  gap: 0.7rem;
  transform: translateY(-50%);
}

.longhua-provider-list {
  top: 44%;
  left: 28%;
  width: 9.4rem;
}

.longhua-compute-list {
  right: 4.1%;
  width: 10.6rem;
}

.longhua-provider-list span,
.longhua-compute-list span {
  min-height: 3.25rem;
  border-color: rgba(105, 203, 255, 0.34);
  border-radius: 0.2rem;
  background: rgba(1, 8, 15, 0.84);
  color: #e1f5ff;
  font-size: 0.76rem;
  box-shadow: 0 9px 24px rgba(0, 0, 0, 0.4), inset 0 0 24px rgba(35, 157, 255, 0.06);
}

.longhua-routing-core {
  top: 50%;
  left: 58%;
  width: clamp(15rem, 18vw, 19rem);
}

.longhua-routing-core::before,
.longhua-routing-core::after,
.longhua-routing-core__ring {
  display: none;
}

.longhua-routing-core__center {
  inset: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.longhua-routing-core__center strong {
  top: 50%;
  width: 12rem;
  color: #3ec5ff;
  font-size: 1.15rem;
  text-shadow: 0 0 20px rgba(34, 180, 255, 0.72);
}

.longhua-routing-core__center span {
  top: calc(50% + 2rem);
  width: 13rem;
  color: #9bb4c4;
  font-size: 0.64rem;
}

.longhua-home-metrics {
  width: 100%;
  height: 6.5rem;
  margin: 0;
  border-color: rgba(123, 205, 255, 0.2);
  background: rgba(2, 9, 16, 0.96);
}

.longhua-home-metrics > div {
  position: relative;
  display: block;
  min-height: 0;
  padding: 1.15rem clamp(2rem, 5.5vw, 6rem);
  border-right-color: rgba(123, 205, 255, 0.18);
}

.longhua-home-metrics span,
.longhua-home-metrics strong,
.longhua-home-metrics small {
  display: block;
}

.longhua-home-metrics span {
  color: #9fb6c6;
  font-size: 0.76rem;
}

.longhua-home-metrics strong {
  margin-top: 0.22rem;
  color: #f1f8fc;
  font-size: clamp(2rem, 2.55vw, 2.65rem);
  line-height: 1;
}

.longhua-home-metrics small {
  position: absolute;
  margin-top: -1rem;
  margin-left: min(8.5vw, 9rem);
  color: #2ba8ff;
  white-space: nowrap;
}

.longhua-home-metrics small i {
  display: inline-block;
}

.longhua-home-hero-ticker {
  display: grid;
  grid-template-columns: 1.15fr repeat(7, minmax(0, 1fr)) 0.95fr;
  align-items: center;
  width: calc(100% - 64px);
  max-width: 1610px;
  height: 4.8rem;
  margin: 1.8rem auto 0;
  overflow: hidden;
  border: 1px solid rgba(123, 205, 255, 0.19);
  border-radius: 0.2rem;
  background: rgba(2, 8, 14, 0.86);
}

.longhua-home-hero-ticker > strong,
.longhua-home-hero-ticker > a {
  display: flex;
  min-width: 0;
  height: 2.8rem;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(123, 205, 255, 0.18);
  padding: 0 1rem;
}

.longhua-home-hero-ticker > strong {
  gap: 0.65rem;
  color: #dbeaf2;
  font-size: 0.92rem;
}

.longhua-home-hero-ticker > strong > span {
  width: 1.8rem;
  height: 0.75rem;
  background: repeating-linear-gradient(90deg, #25b9ff 0 2px, transparent 2px 5px);
}

.longhua-home-hero-ticker > a {
  align-items: flex-start;
  flex-direction: column;
  color: #d6e6ef;
}

.longhua-home-hero-ticker b {
  overflow: hidden;
  width: 100%;
  font-size: 0.72rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.longhua-home-hero-ticker small {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  margin-top: 0.3rem;
  color: #668294;
  font-size: 0.64rem;
}

.longhua-home-hero-ticker small i {
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--lh-green);
  box-shadow: 0 0 8px rgba(72, 214, 154, 0.7);
}

.longhua-home-hero-ticker__all {
  align-items: center !important;
  flex-direction: row !important;
  gap: 0.65rem;
  border-right: 0 !important;
  color: #e9f5fb !important;
  font-size: 0.75rem;
}

.longhua-home-api,
.longhua-home-models {
  padding-right: clamp(2rem, 4vw, 4.5rem);
  padding-left: clamp(2rem, 4vw, 4.5rem);
}

.longhua-home-api {
  min-height: 600px;
  padding-top: 2rem;
  padding-bottom: 2.5rem;
}

.longhua-home-section-heading {
  margin-bottom: 1.8rem;
  text-align: left;
}

.longhua-home-section-heading h2 {
  color: #75d8ff;
  font-size: clamp(2rem, 2.7vw, 2.75rem);
}

.longhua-home-section-heading > span {
  margin-top: 0.55rem;
}

.longhua-api-workbench {
  grid-template-columns: minmax(0, 1.06fr) minmax(150px, 0.34fr) minmax(0, 0.96fr);
  min-height: 20.5rem;
}

.longhua-code-tool pre {
  min-height: 15.4rem;
  padding: 1rem 1.25rem;
  font-size: 0.72rem;
}

.longhua-code-tabs button {
  height: 2.7rem;
}

.longhua-code-tool__foot,
.longhua-response-tool__head {
  min-height: 2.85rem;
}

.longhua-stream-text {
  padding: 1.1rem 1.25rem;
}

.longhua-response-tool dl div {
  padding: 0.8rem 1rem;
}

.longhua-home-models {
  min-height: 344px;
  padding-top: 1.4rem;
  padding-bottom: 2.5rem;
}

.longhua-home-models__head {
  align-items: center;
  margin-bottom: 0.85rem;
}

.longhua-home-models__head p {
  display: none;
}

.longhua-home-models__head h2 {
  font-size: 1.65rem;
}

.longhua-home-models__head > div > span {
  display: none;
}

.longhua-model-marquee {
  padding-top: 0.2rem;
  padding-bottom: 0.4rem;
}

.longhua-model-item {
  width: 19rem;
  min-height: 13.7rem;
  border-radius: 0.28rem;
  padding: 1rem;
}

.longhua-model-item h3 {
  font-size: 1.05rem;
}

.longhua-model-item dl {
  gap: 0.7rem;
}

.longhua-home-final {
  margin-top: 3rem;
  padding-top: 2rem;
}

@keyframes longhua-home-visual-enter {
  from {
    opacity: 0;
    transform: scale(1.025);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 1180px) {
  .longhua-home-hero__copy {
    left: 3rem;
    min-width: 320px;
    width: 34vw;
  }

  .longhua-provider-list {
    left: 42%;
  }

  .longhua-compute-list {
    right: 2rem;
  }

  .longhua-home-hero-ticker {
    grid-template-columns: 1.15fr repeat(4, minmax(0, 1fr)) 0.95fr;
  }

  .longhua-home-hero-ticker > a:nth-of-type(5),
  .longhua-home-hero-ticker > a:nth-of-type(6),
  .longhua-home-hero-ticker > a:nth-of-type(7) {
    display: none;
  }
}

@media (max-width: 760px) {
  body.longhua-home-active header {
    min-height: 58px;
  }

  body.longhua-home-active header nav {
    width: calc(100% - 28px);
    min-height: 58px;
    padding-right: 14px !important;
    padding-left: 14px !important;
  }

  .longhua-home-hero {
    padding-top: 58px;
    padding-bottom: 1.5rem;
  }

  .longhua-home-hero__grid {
    height: 720px;
  }

  .longhua-home-hero__visual {
    left: -58%;
    width: 178%;
    max-width: none;
    object-position: 58% 50%;
    opacity: 0.78;
  }

  .longhua-home-hero__grid::after {
    background:
      linear-gradient(180deg, rgba(1, 6, 12, 0.88) 0%, rgba(1, 6, 12, 0.3) 48%, rgba(1, 6, 12, 0.94) 100%),
      linear-gradient(90deg, rgba(1, 6, 12, 0.75), transparent 70%);
  }

  .longhua-home-hero__copy {
    top: 3rem;
    left: 1.25rem;
    width: calc(100% - 2.5rem);
    min-width: 0;
  }

  .longhua-home-hero h1 {
    font-size: clamp(3.5rem, 18vw, 4.6rem);
  }

  .longhua-home-hero__slogan {
    max-width: 22rem;
    font-size: 1.22rem;
  }

  .longhua-home-hero__summary {
    max-width: 20rem;
    font-size: 0.88rem;
  }

  .longhua-home-hero__actions {
    display: flex;
    gap: 0.65rem;
  }

  .longhua-home-hero__actions .longhua-home-button {
    width: calc(50% - 0.325rem);
    min-width: 0;
    height: 3.25rem;
    padding: 0 0.8rem;
    font-size: 0.88rem;
  }

  .longhua-provider-list {
    top: auto;
    bottom: 2.5rem;
    left: 1.25rem;
    width: 7.25rem;
  }

  .longhua-provider-list span {
    min-height: 2.25rem;
    font-size: 0.66rem;
  }

  .longhua-provider-list span:nth-child(n+5),
  .longhua-compute-list span:nth-child(n+4) {
    display: none;
  }

  .longhua-compute-list {
    top: auto;
    right: 1.25rem;
    bottom: 2.5rem;
    width: 8.8rem;
    transform: none;
  }

  .longhua-compute-list span {
    min-height: 2.65rem;
    padding: 0 0.55rem;
    font-size: 0.64rem;
  }

  .longhua-routing-core {
    top: 62%;
    left: 57%;
    width: 12rem;
  }

  .longhua-routing-core__center strong {
    font-size: 0.88rem;
  }

  .longhua-routing-core__center span {
    top: calc(50% + 1.6rem);
    font-size: 0.54rem;
  }

  .longhua-home-metrics {
    height: auto;
    grid-template-columns: 1fr 1fr;
  }

  .longhua-home-metrics > div {
    min-height: 5.6rem;
    padding: 1rem 1.25rem;
  }

  .longhua-home-metrics strong {
    font-size: 1.65rem;
  }

  .longhua-home-metrics small {
    display: none;
  }

  .longhua-home-hero-ticker {
    grid-template-columns: 1.1fr 1fr 1fr;
    width: calc(100% - 2.5rem);
    height: 4.4rem;
    margin-top: 1.25rem;
  }

  .longhua-home-hero-ticker > a:nth-of-type(n+3) {
    display: none;
  }

  .longhua-home-hero-ticker__all {
    display: none !important;
  }

  .longhua-home-hero-ticker > strong,
  .longhua-home-hero-ticker > a {
    padding: 0 0.7rem;
  }

  .longhua-home-api,
  .longhua-home-models {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .longhua-home-api {
    min-height: 0;
  }

  .longhua-api-workbench {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    min-height: 0;
  }

  .longhua-route-pipeline {
    flex-direction: row;
    min-height: 5.5rem;
  }

  .longhua-route-pipeline::before {
    top: 50%;
    right: 8%;
    bottom: auto;
    left: 8%;
    width: auto;
    height: 1px;
  }

  .longhua-route-pipeline b {
    width: clamp(0.8rem, 4vw, 1.6rem);
    height: 2px;
  }

  .longhua-code-tool pre {
    min-height: 19rem;
  }

  .longhua-stream-text {
    min-height: 14rem;
  }

  .longhua-home-models {
    min-height: 0;
  }
}
