:root {
  color-scheme: dark;
  --bg: #030405;
  --panel: #0a0d10;
  --panel-strong: #11161b;
  --text: #f5f7f8;
  --muted: #9ba4ad;
  --quiet: #69727d;
  --line: rgba(245, 247, 248, 0.14);
  --line-strong: rgba(245, 247, 248, 0.26);
  --accent: #5df2d6;
  --accent-warm: #f4d35e;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(110deg, rgba(93, 242, 214, 0.09) 0%, transparent 32%),
    linear-gradient(180deg, #030405 0%, #07090b 48%, #030405 100%);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.95), transparent 76%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 8px),
    linear-gradient(90deg, transparent 0%, rgba(244, 211, 94, 0.045) 50%, transparent 100%);
  opacity: 0.46;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.2rem;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0;
  background: linear-gradient(180deg, rgba(3, 4, 5, 0.82), rgba(3, 4, 5, 0));
  backdrop-filter: blur(16px);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.75rem;
  min-width: 0;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: #050708;
  color: var(--accent);
  font-size: 0.78rem;
}

.brand-copy {
  display: grid;
  gap: 0.1rem;
  line-height: 1.1;
}

.brand-copy span:last-child {
  color: var(--quiet);
  font-size: 0.78rem;
  font-weight: 400;
}

.nav-links {
  justify-content: center;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.nav-links a,
.language-toggle {
  min-height: 38px;
  border: 1px solid transparent;
  border-radius: 2px;
  padding: 0.55rem 0.78rem;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.language-toggle:hover,
.language-toggle:focus-visible {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  outline: none;
}

.language-toggle {
  background: rgba(93, 242, 214, 0.08);
  color: var(--accent);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 300px);
  align-items: end;
  gap: 2rem;
  min-height: 92vh;
  overflow: hidden;
  padding: 124px max(20px, calc((100vw - 1160px) / 2)) 74px;
  border-bottom: 1px solid var(--line);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

.hero-grid {
  position: absolute;
  right: max(20px, calc((100vw - 1160px) / 2));
  bottom: 13%;
  width: 470px;
  max-width: 42vw;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  background:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px),
    linear-gradient(135deg, rgba(93, 242, 214, 0.16), transparent 42%);
  background-position: 0 0, 0 0, 0 0;
  background-size: 32px 32px, 32px 32px, 100% 100%;
  opacity: 0.42;
  transform: perspective(760px) rotateX(58deg) rotateZ(-18deg);
  animation: hero-grid-scroll 18s linear infinite;
  will-change: background-position, transform;
}

@keyframes hero-grid-scroll {
  0% {
    background-position: 0 0, 0 0, 0 0;
    transform: perspective(760px) rotateX(58deg) rotateZ(-18deg) translate3d(0, 0, 0);
  }

  50% {
    background-position: 32px 64px, 32px 64px, 0 0;
    transform: perspective(760px) rotateX(58deg) rotateZ(-18deg) translate3d(-12px, 8px, 0);
  }

  100% {
    background-position: 64px 128px, 64px 128px, 0 0;
    transform: perspective(760px) rotateX(58deg) rotateZ(-18deg) translate3d(0, 0, 0);
  }
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 0.6rem;
  font-size: 7.25rem;
  line-height: 0.9;
  letter-spacing: 0;
}

.name-cn {
  margin-bottom: 1.4rem;
  color: var(--accent-warm);
  font-size: 2rem;
  font-weight: 700;
}

.slogan {
  max-width: 620px;
  margin-bottom: 2rem;
  color: #dce2e6;
  font-size: 1.35rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.button,
.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 2px;
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button {
  padding: 0.85rem 1.05rem;
  border: 1px solid var(--line-strong);
}

.button:hover,
.button:focus-visible,
.contact-link:hover,
.contact-link:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  border-color: transparent;
  background: var(--text);
  color: #030405;
}

.button.ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.hero-note {
  position: relative;
  z-index: 1;
  margin: 0;
  border-left: 1px solid var(--line-strong);
  padding: 1rem 0 0 1rem;
  color: var(--muted);
}

.hero-note span {
  display: inline-block;
  margin-bottom: 2rem;
  color: var(--accent-warm);
  font-weight: 700;
}

.hero-note p {
  margin-bottom: 0;
}

.section {
  width: min(1160px, 100%);
  margin: 0 auto;
  padding: 86px 20px;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 2rem;
}

h2 {
  margin-bottom: 0;
  font-size: 3.8rem;
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: 1.12rem;
  line-height: 1.25;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.65fr);
  gap: 2rem;
  align-items: end;
}

.about-copy {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(10, 13, 16, 0.72);
  padding: 1.25rem;
  color: #dce2e6;
  font-size: 1rem;
}

.build-list,
.project-list {
  display: grid;
  gap: 1rem;
}

.build-list {
  grid-template-columns: repeat(3, 1fr);
}

.build-list article,
.project-card {
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(17, 22, 27, 0.82), rgba(10, 13, 16, 0.68));
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.2);
}

.build-list article {
  padding: 1.25rem;
}

.build-list p,
.project-card p {
  color: var(--muted);
}

.item-index,
.project-kicker {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.item-index {
  display: inline-block;
  margin-bottom: 3rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 2rem;
  align-items: start;
}

.project-list {
  grid-template-columns: 1fr;
}

.project-card {
  padding: 1.5rem;
}

.project-card h3 {
  font-size: 2.7rem;
}

.product-showcase .section-heading {
  max-width: 920px;
  margin-bottom: 2.75rem;
}

.featured-product {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: linear-gradient(145deg, rgba(17, 22, 27, 0.96), rgba(6, 8, 10, 0.98));
  box-shadow: 0 38px 100px rgba(0, 0, 0, 0.42);
}

.featured-product-media {
  position: relative;
  display: block;
  min-height: 510px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #050708;
}

.featured-product-media::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(180deg, rgba(3, 4, 5, 0.08), transparent 55%, rgba(3, 4, 5, 0.58)),
    linear-gradient(90deg, rgba(3, 4, 5, 0.22), transparent 42%);
}

.featured-product-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 510px;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.2, 0.75, 0.2, 1), filter 300ms ease;
}

.featured-product-media:hover img,
.featured-product-media:focus-visible img {
  filter: brightness(1.06);
  transform: scale(1.018);
}

.featured-product-media:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.product-status,
.media-link {
  position: absolute;
  z-index: 1;
  top: 1.25rem;
  border: 1px solid rgba(245, 247, 248, 0.22);
  background: rgba(3, 4, 5, 0.72);
  backdrop-filter: blur(14px);
}

.product-status {
  left: 1.25rem;
  padding: 0.55rem 0.72rem;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.media-link {
  right: 1.25rem;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--text);
  font-size: 1.15rem;
}

.featured-product-body {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(360px, 1.22fr);
  gap: clamp(2rem, 6vw, 5rem);
  padding: clamp(1.5rem, 4vw, 3rem);
}

.product-identity h3 {
  max-width: 520px;
  margin-bottom: 0.8rem;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 0.92;
}

.product-domain {
  margin-bottom: 0;
  color: var(--accent-warm);
  font-size: 0.88rem;
  font-weight: 700;
}

.product-details {
  align-self: end;
}

.product-description {
  max-width: 680px;
  margin-bottom: 1.5rem;
  color: #dce2e6;
  font-size: 1.08rem;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.75rem;
}

.product-meta span {
  border: 1px solid var(--line);
  padding: 0.42rem 0.62rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.product-cta {
  gap: 1.5rem;
  min-width: 230px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: end;
  padding-bottom: 84px;
}

.contact h2 {
  max-width: 780px;
}

.contact-link {
  padding: 0.95rem 1.15rem;
  border: 1px solid rgba(93, 242, 214, 0.42);
  background: rgba(93, 242, 214, 0.08);
  color: var(--accent);
  white-space: nowrap;
}

.site-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0 32px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer div {
  display: grid;
  gap: 0.25rem;
}

.site-footer strong {
  color: var(--text);
  font-weight: 700;
}

.site-footer a {
  color: var(--accent);
  font-weight: 700;
}

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

  .hero-grid {
    animation: none;
  }
}

@media (max-width: 980px) {
  h1 {
    font-size: 5.5rem;
  }

  h2 {
    font-size: 3rem;
  }

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

  .nav-links {
    display: none;
  }

  .hero,
  .about,
  .build-list,
  .split,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 88vh;
    padding-top: 108px;
  }

  .hero-note {
    max-width: 420px;
  }

  .hero-grid {
    opacity: 0.22;
  }

  .featured-product-media,
  .featured-product-media img {
    min-height: 390px;
  }

  .featured-product-body {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .build-list article,
  .project-card {
    min-height: auto;
  }

  .item-index {
    margin-bottom: 1.5rem;
  }

  .contact {
    align-items: start;
  }

  .contact-link {
    width: 100%;
    white-space: normal;
  }
}

@media (max-width: 620px) {
  .site-header,
  .site-footer {
    width: calc(100% - 28px);
  }

  .brand {
    font-size: 0.86rem;
  }

  .brand-copy span:last-child {
    display: none;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .language-toggle {
    min-height: 34px;
    padding: 0.45rem 0.68rem;
  }

  h1 {
    font-size: 3.55rem;
  }

  h2 {
    font-size: 2.15rem;
  }

  .name-cn {
    font-size: 1.55rem;
  }

  .slogan {
    font-size: 1.12rem;
  }

  .hero {
    padding-left: 14px;
    padding-right: 14px;
  }

  .section {
    padding: 64px 14px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .button {
    justify-content: center;
  }

  .project-card h3 {
    font-size: 2.2rem;
  }

  .product-showcase .section-heading {
    margin-bottom: 1.75rem;
  }

  .featured-product-media,
  .featured-product-media img {
    min-height: 260px;
  }

  .featured-product-media img {
    object-position: 57% center;
  }

  .product-status {
    top: 0.75rem;
    left: 0.75rem;
  }

  .media-link {
    top: 0.75rem;
    right: 0.75rem;
  }

  .featured-product-body {
    padding: 1.25rem;
  }

  .product-identity h3 {
    font-size: 2.65rem;
  }

  .product-cta {
    width: 100%;
  }

  .site-footer {
    display: grid;
    align-items: start;
  }
}
