:root {
  color-scheme: dark;
  --bg: #07090d;
  --bg-2: #0d1219;
  --panel: rgba(15, 22, 31, 0.76);
  --panel-strong: rgba(19, 29, 40, 0.9);
  --line: rgba(190, 230, 255, 0.16);
  --line-strong: rgba(246, 196, 73, 0.34);
  --text: #f3f8fb;
  --muted: #a9b8c5;
  --soft: #6f8190;
  --yellow: #f6c449;
  --yellow-2: #ffd86a;
  --cyan: #6fd7ff;
  --blue: #4d8dff;
  --coral: #ff8268;
  --gold: #f4c777;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  --radius: 8px;
  --container: min(1180px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 20% 8%, rgba(246, 196, 73, 0.18), transparent 28rem),
    linear-gradient(180deg, #05070b 0%, var(--bg) 44%, #090f14 100%);
  color: var(--text);
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

body.menu-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 28px;
  width: var(--container);
  margin: 14px auto 0;
  padding: 10px 12px 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background: rgba(6, 9, 13, 0.62);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-elevated {
  background: rgba(7, 11, 16, 0.92);
  border-color: rgba(246, 196, 73, 0.28);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.3);
}

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

.brand-logo {
  width: 76px;
  height: 38px;
  object-fit: contain;
}

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

.brand strong {
  color: var(--yellow);
  font-size: 16px;
  line-height: 1.1;
}

.brand em {
  margin-top: 4px;
  color: var(--soft);
  font-size: 11px;
  font-style: normal;
  letter-spacing: 0;
}

.nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
}

.nav a {
  transition: color 160ms ease;
}

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

.header-action,
.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
}

.header-action,
.primary-link {
  padding: 0 18px;
  background: linear-gradient(135deg, var(--yellow-2), var(--yellow));
  color: #1d1300;
  box-shadow: 0 14px 38px rgba(246, 196, 73, 0.24);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.secondary-link {
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.header-action:hover,
.primary-link:hover,
.secondary-link:hover {
  transform: translateY(-2px);
}

.header-action:hover,
.primary-link:hover {
  filter: saturate(1.08);
  box-shadow: 0 18px 46px rgba(246, 196, 73, 0.32);
}

.secondary-link:hover {
  border-color: rgba(246, 196, 73, 0.42);
  background: rgba(255, 255, 255, 0.09);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 6, 9, 0.94) 0%, rgba(3, 6, 9, 0.72) 42%, rgba(3, 6, 9, 0.28) 76%, rgba(3, 6, 9, 0.72) 100%),
    linear-gradient(180deg, rgba(3, 6, 9, 0.45) 0%, rgba(3, 6, 9, 0.2) 56%, #07090d 100%);
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.06);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: var(--container);
  min-height: 100svh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  align-items: center;
  gap: 64px;
  padding: 128px 0 96px;
}

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

.hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(48px, 7.2vw, 96px);
  line-height: 0.98;
  font-weight: 900;
}

.hero p {
  max-width: 660px;
  margin: 28px 0 0;
  color: #d7e2ea;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero-console {
  align-self: end;
  margin-bottom: 28px;
  padding: 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(32, 25, 13, 0.84), rgba(9, 13, 20, 0.8));
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.console-head,
.console-metrics div,
.proof-strip,
.section-head,
.visual-story,
.data-section,
.honors,
.contact-inner,
.site-footer {
  width: var(--container);
  margin-left: auto;
  margin-right: auto;
}

.console-head {
  width: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
}

.console-head b {
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(246, 196, 73, 0.14);
  color: var(--yellow);
  font-size: 11px;
}

.signal-chart {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: end;
  gap: 9px;
  height: 150px;
  margin: 22px 0;
  padding: 0 8px;
}

.signal-chart span {
  display: block;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--yellow-2), rgba(246, 196, 73, 0.08));
  box-shadow: 0 0 22px rgba(246, 196, 73, 0.28);
  transform-origin: bottom;
  animation: pulseBar 2.8s ease-in-out infinite;
}

.signal-chart span:nth-child(even) {
  animation-delay: 400ms;
}

.console-metrics {
  display: grid;
  gap: 10px;
  margin: 0;
}

.console-metrics div {
  width: auto;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.console-metrics dt,
.console-metrics dd {
  margin: 0;
}

.console-metrics dt {
  color: var(--muted);
  font-size: 13px;
}

.console-metrics dd {
  color: var(--text);
  font-size: 20px;
  font-weight: 800;
}

.proof-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: -54px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
  box-shadow: var(--shadow);
}

.proof-strip div {
  min-height: 108px;
  padding: 22px;
  background: rgba(10, 16, 23, 0.9);
}

.proof-strip strong,
.proof-strip span {
  display: block;
}

.proof-strip strong {
  font-size: clamp(24px, 3vw, 36px);
  color: var(--yellow);
}

.proof-strip span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 112px 0;
}

.section-head {
  text-align: center;
}

.section-head span,
.story-copy span,
.data-copy span,
.honor-content > span {
  display: block;
  margin-bottom: 12px;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 800;
}

.section h2,
.story-copy h2,
.data-copy h2,
.honor-content h2,
.contact h2 {
  margin: 0;
  font-size: clamp(32px, 4.6vw, 58px);
  line-height: 1.12;
}

.section-head p,
.story-copy p,
.data-copy p,
.contact p {
  max-width: 740px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.capability-grid {
  width: var(--container);
  margin: 46px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.capability {
  min-height: 236px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025));
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.capability:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  background: linear-gradient(180deg, rgba(246, 196, 73, 0.13), rgba(255, 255, 255, 0.026));
}

.capability span {
  color: var(--coral);
  font-size: 13px;
  font-weight: 900;
}

.capability h3 {
  margin: 20px 0 12px;
  font-size: 21px;
}

.capability p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.visual-story {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 62px;
  padding-top: 70px;
}

.story-media {
  position: relative;
  min-height: 540px;
}

.story-media img {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
}

.story-media img:first-child {
  inset: 0 auto auto 0;
  width: 78%;
  height: 72%;
}

.story-media img:last-child {
  right: 0;
  bottom: 0;
  width: 52%;
  height: 48%;
}

.story-copy p,
.data-copy p {
  margin-left: 0;
}

.story-copy ul {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.story-copy li {
  padding: 15px 16px;
  border-left: 2px solid var(--yellow);
  background: rgba(255, 255, 255, 0.045);
  color: #dbe6ed;
}

.case-layout {
  width: var(--container);
  margin: 46px auto 0;
  display: grid;
  grid-template-columns: 1.3fr repeat(2, 1fr);
  gap: 14px;
}

.case-card,
.result-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
}

.case-card.large {
  grid-row: span 2;
}

.case-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.case-card.large img {
  height: 390px;
}

.case-card div {
  padding: 22px;
}

.case-card h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.35;
}

.case-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.result-card {
  min-height: 188px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(246, 196, 73, 0.14), transparent),
    rgba(255, 255, 255, 0.045);
}

.result-card strong {
  font-size: clamp(38px, 5vw, 58px);
  color: var(--yellow);
}

.result-card span {
  margin-top: 10px;
  color: #dbe4ea;
  line-height: 1.55;
}

.data-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 58px;
}

.data-board {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.data-board img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.data-lines {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.data-lines span {
  padding: 18px;
  background: rgba(10, 16, 23, 0.94);
  color: #dce8ef;
  font-weight: 700;
}

.honors {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 58px;
  align-items: center;
  padding-bottom: 112px;
}

.honor-media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.honor-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 28px;
}

.honor-list p {
  margin: 0;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: #dce8ef;
  line-height: 1.45;
}

.contact {
  padding: 98px 0;
  background:
    linear-gradient(135deg, rgba(246, 196, 73, 0.18), rgba(255, 130, 104, 0.09)),
    #081017;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.72fr);
  align-items: center;
  gap: 54px;
}

.contact-copy {
  text-align: left;
}

.contact-copy > span {
  display: block;
  margin-bottom: 12px;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 800;
}

.contact-copy p {
  margin-left: 0;
}

.contact-panel {
  display: grid;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(246, 196, 73, 0.28);
  border-radius: var(--radius);
  background: rgba(5, 9, 14, 0.72);
  box-shadow: var(--shadow);
}

.contact-method {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.contact-method[href]:hover {
  transform: translateY(-2px);
  border-color: rgba(246, 196, 73, 0.36);
  background: rgba(255, 255, 255, 0.075);
}

.contact-method.primary {
  background: linear-gradient(135deg, rgba(246, 196, 73, 0.18), rgba(255, 255, 255, 0.05));
}

.contact-method small {
  color: var(--muted);
  font-size: 13px;
}

.contact-method strong {
  color: var(--text);
  font-size: clamp(18px, 2.4vw, 24px);
  line-height: 1.3;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 0;
  color: var(--soft);
  font-size: 13px;
}

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

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

@keyframes pulseBar {
  0%,
  100% {
    transform: scaleY(0.86);
    opacity: 0.78;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 1040px) {
  :root {
    --container: min(100vw - 32px, 880px);
  }

  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .nav {
    position: fixed;
    top: 78px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(6, 10, 15, 0.96);
    box-shadow: var(--shadow);
  }

  .nav a {
    padding: 14px 12px;
    border-radius: 8px;
  }

  body.menu-open .nav {
    display: flex;
  }

  .header-action {
    display: inline-flex;
    min-height: 40px;
    padding: 0 13px;
    font-size: 13px;
  }

  .menu-button {
    display: block;
    justify-self: end;
  }

  .hero-inner,
  .visual-story,
  .data-section,
  .honors {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    gap: 34px;
    padding-top: 118px;
  }

  .hero-console {
    align-self: auto;
    max-width: 520px;
    margin-bottom: 0;
  }

  .proof-strip,
  .capability-grid,
  .case-layout,
  .honor-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-card.large {
    grid-column: 1 / -1;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 660px) {
  :root {
    --container: calc(100vw - 24px);
  }

  .site-header {
    grid-template-columns: auto auto;
    margin-top: 8px;
    padding: 8px;
  }

  .brand {
    max-width: 164px;
  }

  .brand em {
    display: none;
  }

  .brand-logo {
    width: 62px;
    height: 32px;
  }

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

  .header-action {
    display: none;
  }

  .hero-inner {
    min-height: auto;
    padding: 116px 0 70px;
  }

  .hero h1 {
    font-size: clamp(42px, 15vw, 58px);
  }

  .hero p {
    font-size: 16px;
    line-height: 1.72;
  }

  .hero-actions {
    flex-direction: column;
  }

  .primary-link,
  .secondary-link {
    width: 100%;
  }

  .proof-strip,
  .capability-grid,
  .case-layout,
  .data-lines,
  .honor-list {
    grid-template-columns: 1fr;
  }

  .proof-strip {
    margin-top: 0;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    width: 100%;
  }

  .section {
    padding: 76px 0;
  }

  .section h2,
  .story-copy h2,
  .data-copy h2,
  .honor-content h2,
  .contact h2 {
    font-size: 32px;
  }

  .capability {
    min-height: auto;
  }

  .visual-story,
  .honors {
    gap: 32px;
  }

  .story-media {
    min-height: 410px;
  }

  .story-media img:first-child {
    width: 88%;
    height: 68%;
  }

  .story-media img:last-child {
    width: 66%;
    height: 45%;
  }

  .case-card img,
  .case-card.large img {
    height: 260px;
  }

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