:root {
  --ink: #121820;
  --muted: #5e6976;
  --line: #d9e0e7;
  --panel: #ffffff;
  --steel: #eef2f5;
  --deep: #07131d;
  --deep-2: #102433;
  --blue: #0b6fb3;
  --blue-2: #084f86;
  --orange: #e3651d;
  --green: #2b8c72;
  --shadow: 0 18px 42px rgba(10, 24, 38, 0.16);
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "HarmonyOS Sans SC", "Source Han Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  color: var(--ink);
  background: #f7f9fb;
  letter-spacing: 0;
  overflow-x: hidden;
}

img,
video,
canvas {
  display: block;
  max-width: 100%;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 48px;
  color: #fff;
  background: linear-gradient(180deg, rgba(4, 13, 22, 0.82), rgba(4, 13, 22, 0.28) 72%, rgba(4, 13, 22, 0));
  transition: background 180ms ease, min-height 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  min-height: 64px;
  background: rgba(5, 17, 27, 0.92);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(12px);
}

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

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
}

.brand span {
  display: grid;
  gap: 2px;
}

.brand strong {
  font-size: 16px;
  line-height: 1.2;
}

.brand small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  text-transform: uppercase;
}

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

.site-nav a {
  color: rgba(255, 255, 255, 0.82);
  transition: color 160ms ease;
}

.site-nav a:hover {
  color: #fff;
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 96vh;
  overflow: hidden;
  color: #fff;
  background: var(--deep);
}

.hero-poster,
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video {
  opacity: 0;
  transition: opacity 500ms ease;
}

.hero-video.is-ready {
  opacity: 1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 28%, rgba(227, 101, 29, 0.16), transparent 24%),
    linear-gradient(90deg, rgba(2, 9, 16, 0.9), rgba(2, 9, 16, 0.58) 46%, rgba(2, 9, 16, 0.14)),
    linear-gradient(0deg, rgba(2, 9, 16, 0.7), transparent 44%);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.74) 46%, transparent 88%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.74fr);
  align-items: end;
  gap: 56px;
  min-height: 96vh;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 148px 0 88px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #a9dafc;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
}

.eyebrow.dark {
  color: var(--blue);
}

.hero h1 {
  max-width: 760px;
  margin: 18px 0 20px;
  font-size: clamp(38px, 6vw, 74px);
  line-height: 1.04;
  font-weight: 800;
}

.hero-copy p {
  max-width: 700px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.8;
}

.hero-copy {
  min-width: 0;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.btn.primary {
  color: #fff;
  background: var(--orange);
  box-shadow: 0 12px 26px rgba(227, 101, 29, 0.28);
}

.btn.ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.hero-panel {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(4, 17, 28, 0.76);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.panel-topline {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
}

.panel-topline strong {
  color: #fff;
  min-width: 0;
  overflow-wrap: anywhere;
  text-align: right;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 0;
}

.metric-grid div {
  min-height: 122px;
  padding: 22px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.metric-grid div:nth-child(2n) {
  border-right: 0;
}

.metric-grid div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.metric-grid dt {
  margin: 0 0 8px;
  color: #fff;
  font-size: 36px;
  font-weight: 800;
}

.metric-grid dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  line-height: 1.45;
}

.signal-board {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  padding: 18px 20px 20px;
}

.signal-board span {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.signal-board span::after {
  content: "";
  display: block;
  width: 46%;
  height: 100%;
  background: var(--green);
  animation: pulse-bar 1600ms ease-in-out infinite;
}

.signal-board span:nth-child(2)::after {
  animation-delay: 150ms;
  background: var(--blue);
}

.signal-board span:nth-child(3)::after {
  animation-delay: 300ms;
  background: var(--orange);
}

.signal-board span:nth-child(4)::after {
  animation-delay: 450ms;
}

.signal-board span:nth-child(5)::after {
  animation-delay: 600ms;
  background: var(--blue);
}

@keyframes pulse-bar {
  0%,
  100% {
    transform: translateX(-70%);
  }
  50% {
    transform: translateX(150%);
  }
}

.section {
  padding: 104px 0;
}

.section-head,
.business-grid,
.solution-layout,
.case-band,
.motion-layout,
.about-grid,
.contact-layout {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.section-head {
  margin-bottom: 42px;
}

.section-head h2,
.case-copy h2,
.about-copy h2 {
  margin: 14px 0 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.14;
}

.section-head p,
.case-copy p,
.about-copy p {
  max-width: 760px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.intro-band {
  background: #fff;
}

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

.business-card {
  display: grid;
  grid-template-rows: 270px 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 30px rgba(20, 34, 48, 0.08);
}

.business-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #e8edf2;
}

.business-card div {
  padding: 26px;
}

.business-card span,
.media-label {
  display: inline-flex;
  width: fit-content;
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
}

.business-card h3,
.station-card h3,
.feature-copy h3,
.motion-copy h3,
.contact-card h3 {
  margin: 12px 0 10px;
  font-size: 24px;
  line-height: 1.25;
}

.business-card p,
.station-card p,
.feature-copy p,
.motion-copy p,
.contact-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.solutions {
  background:
    linear-gradient(180deg, #f7f9fb 0%, #eef3f7 100%),
    radial-gradient(circle at 10% 20%, rgba(11, 111, 179, 0.08), transparent 28%);
}

.solution-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.72fr);
  gap: 34px;
  align-items: stretch;
  margin-bottom: 26px;
}

.image-frame {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  border-radius: var(--radius);
  background: #dfe6ed;
  box-shadow: var(--shadow);
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-label {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 8px 12px;
  color: #fff;
  border-radius: var(--radius);
  background: rgba(7, 19, 29, 0.82);
}

.feature-copy {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  color: #32404e;
  line-height: 1.6;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: inset 0 0 0 3px #fff, 0 0 0 1px var(--green);
}

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

.station-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.station-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: #e5ebf0;
}

.station-card h3 {
  padding: 22px 22px 0;
  font-size: 19px;
}

.station-card p {
  padding: 0 22px 24px;
  font-size: 14px;
}

.case-band {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(330px, 0.64fr);
  gap: 34px;
  align-items: center;
  padding-top: 104px;
  padding-bottom: 104px;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.case-tags span {
  padding: 8px 12px;
  border: 1px solid #cbd5df;
  border-radius: 999px;
  color: #293744;
  background: #fff;
}

.case-board {
  border-radius: var(--radius);
  background: var(--deep);
  color: #fff;
  box-shadow: var(--shadow);
}

.case-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  padding: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.case-row:last-child {
  border-bottom: 0;
}

.case-row strong {
  color: #fff;
}

.case-row span {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.55;
}

.motion-section {
  background: #fff;
}

.motion-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.55fr);
  gap: 28px;
  align-items: stretch;
}

.motion-canvas-wrap {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, #0d1e2b, #152c3d);
  box-shadow: var(--shadow);
}

#flowCanvas {
  width: 100%;
  height: 100%;
  min-height: 420px;
}

.motion-copy {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fafc;
}

.process-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 20px 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: start;
  color: #2e3d4a;
  line-height: 1.6;
}

.process-list span {
  display: inline-grid;
  place-items: center;
  height: 30px;
  color: #fff;
  border-radius: var(--radius);
  background: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.note {
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.about-section {
  background: linear-gradient(180deg, #eef3f7, #fff);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(330px, 0.7fr);
  gap: 36px;
  align-items: center;
}

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

.capability-list span {
  padding: 12px 14px;
  border-left: 3px solid var(--orange);
  background: #fff;
  font-weight: 700;
}

.about-visual {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-visual img {
  width: 100%;
  min-height: 360px;
  object-fit: cover;
}

.about-visual span {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 12px;
  border-radius: var(--radius);
  color: #fff;
  background: rgba(7, 19, 29, 0.78);
  font-size: 13px;
}

.contact-section {
  background: #fff;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.55fr) minmax(0, 1fr);
  gap: 24px;
}

.contact-card,
.inquiry-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 30px rgba(20, 34, 48, 0.08);
}

.contact-card {
  padding: 28px;
}

.contact-card a {
  display: block;
  padding: 12px 0;
  color: var(--blue-2);
  border-bottom: 1px solid #edf1f5;
  line-height: 1.55;
}

.qr {
  width: 188px;
  height: 188px;
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.qr-note {
  margin-top: 12px;
  font-size: 13px;
}

.inquiry-form {
  display: grid;
  gap: 18px;
  padding: 28px;
}

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

label {
  display: grid;
  gap: 8px;
  color: #2a3744;
  font-weight: 700;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #ccd6e0;
  border-radius: var(--radius);
  background: #f8fafc;
  color: var(--ink);
  padding: 12px 13px;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(11, 111, 179, 0.13);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 48px;
  color: rgba(255, 255, 255, 0.74);
  background: var(--deep);
}

.site-footer div {
  display: grid;
  gap: 6px;
}

.site-footer strong {
  color: #fff;
}

.site-footer p {
  margin: 0;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 980px) {
  .site-header {
    padding: 0 24px;
  }

  .nav-toggle {
    display: inline-grid;
    gap: 4px;
    width: 42px;
    height: 42px;
    place-content: center;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.08);
  }

  .nav-toggle span {
    width: 18px;
    height: 2px;
    background: #fff;
  }

  .site-nav {
    position: absolute;
    top: 70px;
    left: 24px;
    right: 24px;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
    background: rgba(5, 17, 27, 0.96);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    padding: 16px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .hero-inner,
  .solution-feature,
  .case-band,
  .motion-layout,
  .about-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    align-items: center;
    padding-top: 126px;
  }

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

  .hero-panel {
    max-width: 560px;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 64px;
    padding: 0 16px;
  }

  .brand strong {
    font-size: 14px;
  }

  .brand small {
    display: none;
  }

  .hero,
  .hero-inner {
    min-height: 100vh;
  }

  .hero-inner,
  .section-head,
  .business-grid,
  .solution-layout,
  .case-band,
  .motion-layout,
  .about-grid,
  .contact-layout {
    width: min(100% - 32px, 1180px);
  }

  .hero h1 {
    max-width: 330px;
    font-size: 28px;
    line-height: 1.12;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .hero-copy p,
  .section-head p,
  .case-copy p,
  .about-copy p {
    font-size: 15px;
  }

  .hero-actions,
  .form-row,
  .business-grid,
  .station-grid,
  .capability-list {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .metric-grid div {
    min-height: auto;
    border-right: 0;
  }

  .metric-grid div:nth-last-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .metric-grid div:last-child {
    border-bottom: 0;
  }

  .panel-topline {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .panel-topline strong {
    text-align: left;
  }

  .section {
    padding: 72px 0;
  }

  .business-card {
    grid-template-rows: 220px 1fr;
  }

  .image-frame {
    min-height: 300px;
  }

  .feature-copy,
  .motion-copy,
  .contact-card,
  .inquiry-form {
    padding: 22px;
  }

  .case-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .site-footer {
    display: grid;
    padding: 28px 16px;
  }
}
