:root {
  --ink: #172033;
  --muted: #607086;
  --line: #dce6ee;
  --surface: #ffffff;
  --surface-soft: #f5f9fc;
  --blue: #0f66d8;
  --cyan: #16b9c8;
  --green: #36b37e;
  --orange: #ff9d2e;
  --deep: #09182d;
  --shadow: 0 24px 70px rgba(23, 39, 64, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f8fbfd;
  color: var(--ink);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Microsoft YaHei",
    sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 16px clamp(20px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(220, 230, 238, 0.75);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: white;
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong {
  display: block;
  font-size: 17px;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: #34445c;
  font-size: 14px;
}

.nav a {
  padding: 6px 0;
}

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

.section,
.section-band {
  padding: clamp(72px, 9vw, 118px) clamp(20px, 5vw, 72px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
  min-height: min(calc(100vh - 78px), 860px);
  background:
    linear-gradient(135deg, rgba(9, 24, 45, 0.94), rgba(12, 55, 91, 0.88)),
    radial-gradient(circle at 80% 20%, rgba(22, 185, 200, 0.3), transparent 34%),
    var(--deep);
  color: white;
  overflow: hidden;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.achievement-copy h2,
.about-section h2,
.contact-section h2 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 800px;
  font-size: clamp(40px, 6vw, 76px);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.hero-text {
  max-width: 740px;
  margin: 24px 0 0;
  color: rgba(235, 247, 255, 0.84);
  font-size: clamp(16px, 2vw, 20px);
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 12px 20px;
  font-weight: 700;
}

.button.primary {
  background: var(--orange);
  color: #221405;
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.36);
  color: white;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-metrics span {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 9px 14px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
}

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

.device-stage {
  position: relative;
  min-height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background:
    radial-gradient(circle at 30% 28%, rgba(22, 185, 200, 0.26), transparent 28%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.32);
  overflow: hidden;
}

.stage-grid {
  position: absolute;
  inset: 0;
  opacity: 0.38;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 36px 36px;
}

.board {
  position: absolute;
  filter: drop-shadow(0 24px 34px rgba(0, 0, 0, 0.32));
}

.board-main {
  right: 42px;
  top: 70px;
  width: min(74%, 430px);
}

.board-secondary {
  left: 30px;
  bottom: 42px;
  width: min(50%, 270px);
}

.floating-chip {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
  padding: 10px 12px;
  background: rgba(5, 18, 35, 0.74);
  color: white;
  font-size: 13px;
  font-weight: 700;
}

.chip-a {
  left: 42px;
  top: 46px;
}

.chip-b {
  right: 34px;
  bottom: 44px;
}

.chip-c {
  left: 40%;
  bottom: 132px;
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-heading.align-left {
  margin: 0;
  text-align: left;
}

.section-heading h2,
.achievement-copy h2,
.about-section h2,
.contact-section h2 {
  font-size: clamp(28px, 4vw, 46px);
}

.section-heading p,
.achievement-copy p,
.about-text,
.contact-section p {
  color: var(--muted);
  font-size: 16px;
}

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

.product-card {
  display: flex;
  min-height: 280px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--surface);
  box-shadow: 0 16px 44px rgba(23, 39, 64, 0.06);
}

.product-card img {
  align-self: center;
  max-height: 140px;
  object-fit: contain;
}

.product-card h3,
.solution-grid h3 {
  margin: 18px 0 8px;
  font-size: 21px;
}

.product-card p,
.solution-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.featured-product {
  grid-column: span 2;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  background: linear-gradient(135deg, #ffffff, #eef8ff);
}

.featured-product img {
  width: 45%;
  max-height: 230px;
}

.tag {
  display: inline-flex;
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(15, 102, 216, 0.1);
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.xingtux-section {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(420px, 1.25fr);
  align-items: center;
  gap: clamp(34px, 5vw, 70px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(241, 248, 252, 0.98)),
    #f6fbfe;
}

.xingtux-layout {
  display: grid;
  gap: 18px;
}

.xingtux-preview {
  border: 1px solid rgba(15, 102, 216, 0.18);
  border-radius: 8px;
  padding: 10px;
  background: white;
  box-shadow: var(--shadow);
}

.xingtux-preview img {
  width: 100%;
  border-radius: 6px;
}

.xingtux-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.xingtux-points article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: white;
}

.xingtux-points span {
  color: var(--orange);
  font-weight: 900;
}

.xingtux-points h3 {
  margin: 10px 0 8px;
  font-size: 18px;
}

.xingtux-points p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1.18fr);
  align-items: center;
  gap: clamp(34px, 5vw, 70px);
  background: var(--surface-soft);
}

.platform-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(240px, 1.1fr);
  gap: 20px;
}

.code-blocks,
.platform-list {
  border-radius: 8px;
  padding: 22px;
  background: white;
  box-shadow: var(--shadow);
}

.code-blocks {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.block {
  border-radius: 7px;
  padding: 13px 15px;
  color: white;
  font-weight: 800;
}

.motion {
  background: #2d7ff9;
}

.logic {
  background: #22a06b;
}

.action {
  background: #ff9d2e;
}

.event {
  background: #8f5cf7;
}

.platform-list {
  display: grid;
  gap: 12px;
}

.platform-list span,
.capability-grid span {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px 15px;
  background: #fbfdff;
  color: #24364f;
  font-weight: 700;
}

.section-tinted {
  background: #eaf4fa;
}

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

.solution-grid article {
  min-height: 260px;
  border-radius: 8px;
  padding: 24px;
  background: white;
  border-top: 4px solid var(--cyan);
}

.solution-grid span {
  color: var(--blue);
  font-size: 24px;
  font-weight: 900;
}

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

.achievement-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: 46px;
  background: var(--deep);
  color: white;
}

.achievement-copy p {
  color: rgba(235, 247, 255, 0.74);
}

.achievement-stack {
  display: grid;
  gap: 16px;
}

.certificate {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 112px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
}

.certificate span {
  color: var(--cyan);
  font-weight: 800;
}

.certificate strong {
  font-size: 22px;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: 48px;
}

.about-text p {
  margin-top: 0;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: 34px;
  padding: clamp(60px, 8vw, 90px) clamp(20px, 5vw, 72px);
  background: linear-gradient(135deg, #e9f6fb, #fff6ea);
}

.contact-card {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: white;
  box-shadow: var(--shadow);
}

.contact-card span {
  color: var(--muted);
}

.contact-card strong {
  color: var(--ink);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(20px, 5vw, 72px);
  background: #071225;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

@media (max-width: 1100px) {
  .hero,
  .xingtux-section,
  .split-section,
  .achievement-section,
  .about-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .product-grid,
  .xingtux-points,
  .solution-grid,
  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-product {
    grid-column: span 2;
  }

  .device-stage {
    min-height: 440px;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    white-space: normal;
  }

  .nav {
    justify-content: flex-start;
    gap: 12px 16px;
  }

  .hero {
    min-height: auto;
    padding-top: 70px;
    padding-bottom: 72px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: 30px;
    word-break: break-all;
  }

  .hero-text {
    font-size: 15px;
  }

  .device-stage {
    min-height: 330px;
  }

  .board-main {
    right: 12px;
    top: 70px;
    width: 72%;
  }

  .board-secondary {
    left: 16px;
    bottom: 30px;
    width: 48%;
  }

  .chip-c {
    left: 24px;
    bottom: 118px;
  }

  .chip-b {
    right: 12px;
    bottom: 48px;
    max-width: 96px;
  }

  .floating-chip {
    padding: 8px 10px;
    font-size: 12px;
  }

  .product-grid,
  .xingtux-points,
  .solution-grid,
  .capability-grid,
  .platform-panel {
    grid-template-columns: 1fr;
  }

  .featured-product {
    grid-column: span 1;
    flex-direction: column;
  }

  .featured-product img {
    width: 100%;
  }

  .contact-card {
    grid-template-columns: 1fr;
  }

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