:root {
  --ink: #111113;
  --muted: #676b73;
  --soft: #f5f5f7;
  --white: #ffffff;
  --line: #e3e5e8;
  --blue: #079ad3;
  --blue-dark: #0077b6;
  --black: #050506;
  --panel: #161719;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.5;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
  min-height: 58px;
  padding: 10px clamp(20px, 5vw, 64px);
  background: rgba(245, 245, 247, 0.86);
  border-bottom: 1px solid rgba(227, 229, 232, 0.72);
  backdrop-filter: blur(18px);
}

.brand {
  width: 148px;
}

.brand img {
  width: 100%;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  color: #2c2d31;
  font-size: 13px;
  font-weight: 650;
}

.header-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 760;
}

.header-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.language-switch {
  display: inline-flex;
  padding: 3px;
  background: rgba(17, 17, 19, 0.06);
  border: 1px solid rgba(17, 17, 19, 0.08);
  border-radius: 8px;
}

.language-switch button {
  min-width: 38px;
  height: 28px;
  padding: 0 9px;
  color: #4f535a;
  background: transparent;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-size: 12px;
  font-weight: 760;
  cursor: pointer;
}

.language-switch button.is-active {
  color: var(--white);
  background: var(--ink);
}

.header-action {
  min-height: 36px;
  padding: 0 15px;
  color: var(--white);
  background: var(--ink);
  font-size: 13px;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  place-items: center;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
}

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

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  color: var(--white);
  background: var(--black);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/showcase/sunnic-system-render.jpg");
  background-position: center;
  background-size: cover;
  transform: scale(1.01);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 5, 6, 0.94) 0%, rgba(5, 5, 6, 0.68) 42%, rgba(5, 5, 6, 0.1) 100%),
    linear-gradient(0deg, rgba(5, 5, 6, 0.64), rgba(5, 5, 6, 0.1) 44%, rgba(5, 5, 6, 0.36));
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding-top: 176px;
}

.eyebrow {
  margin: 0;
  color: var(--blue);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.work h2,
.network h2,
.contact h2 {
  margin: 0;
  font-weight: 820;
  line-height: 1.04;
}

.hero h1 {
  max-width: 700px;
  margin-top: 18px;
  font-size: clamp(48px, 7vw, 86px);
}

.hero p:not(.eyebrow) {
  max-width: 600px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 21px;
  line-height: 1.55;
}

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

.button {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  font-size: 14px;
}

.button-primary {
  color: var(--white);
  background: var(--blue);
}

.button-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.26);
}

.proof {
  background: var(--white);
}

.proof-inner {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(620px, 1.2fr);
  gap: 40px;
  align-items: center;
  width: min(1280px, calc(100% - 64px));
  margin: 0 auto;
  padding: 26px 0;
}

.proof-copy span {
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.proof-copy p {
  max-width: 500px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.proof-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid var(--line);
}

.proof-stats div {
  padding: 0 26px;
  border-right: 1px solid var(--line);
}

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

.proof-stats strong {
  font-size: 36px;
  line-height: 1;
}

.proof-stats span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.logo-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 30px;
  justify-content: center;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 18px 0 8px;
  color: #767b82;
  font-size: 13px;
  font-weight: 720;
}

.section {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 64px 0;
}

.intro,
.section-head {
  display: grid;
  grid-template-columns: minmax(380px, 0.9fr) minmax(360px, 0.86fr);
  gap: 56px;
  align-items: center;
}

.section h2,
.work h2,
.network h2,
.contact h2 {
  margin-top: 10px;
  font-size: clamp(32px, 3.25vw, 46px);
  line-height: 1.08;
}

.intro-body p,
.section-head > p,
.service-list p,
.work-head p,
.feature-caption p,
.work-grid p,
.network-content p,
.contact p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.52;
}

.intro-body p {
  max-width: 560px;
  margin: 0 0 12px;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
  background: transparent;
}

.service-list article {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  align-items: start;
  min-height: 230px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-list span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
}

.service-list h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.18;
}

.service-list p {
  max-width: 310px;
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.48;
}

.work {
  padding: 96px 0;
  color: var(--white);
  background: var(--black);
}

.work-head,
.feature-work,
.work-grid {
  width: min(1120px, calc(100% - 48px));
  margin-right: auto;
  margin-left: auto;
}

.work-head {
  max-width: 900px;
  text-align: center;
}

.work-head p {
  max-width: 660px;
  margin: 20px auto 0;
  color: rgba(255, 255, 255, 0.66);
}

.feature-work {
  position: relative;
  overflow: hidden;
  margin-top: 46px;
  background: #0d0d0f;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
}

.feature-work img {
  width: 100%;
  aspect-ratio: 16 / 8.2;
  object-fit: cover;
}

.feature-caption {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(320px, 0.62fr);
  gap: 54px;
  padding: 34px;
}

.feature-caption span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.feature-caption h3 {
  margin: 10px 0 0;
  font-size: 34px;
  line-height: 1.12;
}

.feature-caption p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.work-grid article {
  overflow: hidden;
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.work-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.work-grid h3,
.work-grid p {
  margin-right: 22px;
  margin-left: 22px;
}

.work-grid h3 {
  margin-top: 22px;
  margin-bottom: 0;
  font-size: 22px;
  line-height: 1.2;
}

.work-grid p {
  margin-top: 12px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 15px;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 42px;
}

.industry-grid span {
  min-height: 76px;
  padding: 18px;
  color: #24262a;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 760;
}

.network {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(430px, 0.78fr);
  min-height: 600px;
  background: var(--white);
}

.network-image {
  min-height: 600px;
  background-image:
    linear-gradient(0deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.04)),
    url("assets/showcase/hengtong-live-network.jpg");
  background-position: center 44%;
  background-size: cover;
}

.network-content {
  align-self: center;
  padding: 64px clamp(28px, 5vw, 68px);
}

.network-content p {
  max-width: 500px;
  margin: 18px 0 0;
}

.city-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  max-width: 480px;
  margin-top: 28px;
  background: var(--line);
  border: 1px solid var(--line);
}

.city-list span {
  padding: 13px 15px;
  background: var(--white);
  font-size: 14px;
  font-weight: 720;
}

.contact {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(5, 5, 6, 0.92), rgba(5, 5, 6, 0.74)),
    url("assets/showcase/tianneng-live.jpg");
  background-position: center;
  background-size: cover;
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(360px, 0.82fr);
  gap: 78px;
  align-items: center;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 96px 0;
}

.contact p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.72);
}

.contact-form {
  display: grid;
  gap: 15px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  backdrop-filter: blur(18px);
}

.hidden-field {
  display: none;
}

.contact-form label,
.contact-form label span {
  display: block;
}

.contact-form label span {
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 760;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  color: var(--white);
  background: rgba(5, 5, 6, 0.44);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  font: inherit;
}

.contact-form option {
  color: var(--ink);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form ::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 24px clamp(20px, 5vw, 64px);
  color: var(--muted);
  background: var(--white);
  font-size: 13px;
}

.site-footer img {
  width: 140px;
}

.site-footer span {
  text-align: center;
}

.thanks-page {
  min-height: 100vh;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(5, 5, 6, 0.9), rgba(5, 5, 6, 0.58)),
    url("assets/showcase/tianneng-live.jpg") center / cover;
}

.thanks-main {
  display: grid;
  align-items: center;
  min-height: calc(100vh - 58px);
  width: min(960px, calc(100% - 48px));
  margin: 0 auto;
  padding: 120px 0 64px;
}

.thanks-card {
  max-width: 620px;
}

.thanks-card h1 {
  margin: 16px 0 0;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1.04;
}

.thanks-card p:not(.eyebrow) {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 19px;
  line-height: 1.55;
}

.thanks-card .button {
  margin-top: 34px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .header-action {
    display: none;
  }

  .header-tools {
    position: absolute;
    top: 50%;
    right: 72px;
    transform: translateY(-50%);
  }

  .nav-toggle {
    display: inline-grid;
    justify-self: end;
    gap: 4px;
  }

  .site-nav {
    position: absolute;
    top: 58px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    gap: 0;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 18px 46px rgba(17, 17, 19, 0.12);
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 15px 18px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .hero {
    min-height: 680px;
  }

  .hero-inner {
    padding-top: 138px;
  }

  .hero h1 {
    max-width: 650px;
  }

  .proof-inner,
  .intro,
  .section-head,
  .network,
  .contact-inner,
  .feature-caption {
    grid-template-columns: 1fr;
  }

  .proof-stats,
  .industry-grid,
  .work-grid,
  .service-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .network-image {
    min-height: 420px;
  }
}

@media (max-width: 640px) {
  .brand {
    width: 132px;
  }

  .hero {
    min-height: 640px;
  }

  .hero-media {
    background-position: center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(5, 5, 6, 0.92), rgba(5, 5, 6, 0.74)),
      linear-gradient(0deg, rgba(5, 5, 6, 0.78), rgba(5, 5, 6, 0.12));
  }

  .hero-inner,
  .proof-inner,
  .logo-strip,
  .section,
  .work-head,
  .feature-work,
  .work-grid,
  .contact-inner {
    width: calc(100% - 32px);
  }

  .hero-inner {
    padding-top: 112px;
  }

  .hero p:not(.eyebrow) {
    font-size: 17px;
  }

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

  .proof-inner {
    padding: 30px 0;
  }

  .proof-stats,
  .industry-grid,
  .service-list,
  .work-grid,
  .city-list {
    grid-template-columns: 1fr;
  }

  .proof-stats {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .proof-stats div {
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-stats div:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 56px 0;
  }

  .intro,
  .section-head {
    gap: 24px;
  }

  .service-list article {
    grid-template-columns: 1fr;
    gap: 12px;
    min-height: auto;
    padding: 22px;
  }

  .service-list h3 {
    font-size: 24px;
  }

  .work {
    padding: 74px 0;
  }

  .feature-work img {
    aspect-ratio: 16 / 11;
  }

  .feature-caption {
    gap: 18px;
    padding: 22px;
  }

  .feature-caption h3 {
    font-size: 26px;
  }

  .network-image {
    min-height: 320px;
  }

  .network-content {
    padding: 58px 16px;
  }

  .contact-inner {
    gap: 34px;
    padding: 72px 0;
  }

  .contact-form {
    padding: 18px;
  }

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

  .site-footer span {
    text-align: left;
  }
}
