:root {
  color-scheme: dark;
  --bg: #06111f;
  --bg-2: #081827;
  --ink: #f4fbff;
  --muted: #9bb8ce;
  --line: rgba(149, 204, 241, 0.22);
  --blue: #1d75ff;
  --cyan: #38d9ff;
  --steel: #14304a;
  --navy: #030910;
  --white: #ffffff;
  --shadow: 0 28px 90px rgba(0, 18, 38, 0.45);
  --radius: 8px;
  font-family: "Avenir Next", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(70, 169, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(70, 169, 255, 0.035) 1px, transparent 1px),
    var(--bg);
  background-size: 44px 44px;
  color: var(--ink);
}

body.nav-open {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(3, 9, 16, 0.62);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: var(--radius);
  box-shadow: 0 0 34px rgba(56, 217, 255, 0.25);
}

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

.brand strong {
  font-size: 15px;
  font-weight: 800;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: var(--radius);
  color: #d7ecfa;
  font-size: 14px;
  transition: background 180ms ease, color 180ms ease;
}

.site-nav a:hover {
  background: rgba(56, 217, 255, 0.1);
  color: var(--white);
}

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

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

.hero {
  position: relative;
  min-height: 88vh;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 132px clamp(18px, 5vw, 72px) 68px;
  border-bottom: 1px solid var(--line);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
  object-position: center right;
  filter: saturate(1.08) contrast(1.05);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(3, 9, 16, 0.98) 0%, rgba(3, 9, 16, 0.78) 42%, rgba(3, 9, 16, 0.2) 76%),
    linear-gradient(0deg, rgba(6, 17, 31, 0.92) 0%, rgba(6, 17, 31, 0.05) 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  animation: rise-in 700ms ease both;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--cyan);
  font-family: "DIN Alternate", "Avenir Next Condensed", sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 20px;
  max-width: 8em;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: clamp(48px, 8vw, 112px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: 0;
}

.hero-copy {
  width: min(640px, 100%);
  color: #d7ecfa;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.75;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 22px;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.button.primary {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #02111f;
  box-shadow: 0 16px 46px rgba(29, 117, 255, 0.32);
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
}

.button.full {
  width: 100%;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(700px, 100%);
  margin: 48px 0 0;
  border: 1px solid var(--line);
  background: var(--line);
}

.hero-stats div {
  padding: 20px;
  background: rgba(4, 18, 32, 0.74);
}

.hero-stats dt {
  color: var(--white);
  font-family: "DIN Alternate", "Avenir Next Condensed", sans-serif;
  font-size: 30px;
  font-weight: 800;
}

.hero-stats dd {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.section {
  padding: clamp(72px, 9vw, 132px) clamp(18px, 5vw, 72px);
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.intro-band {
  background: #081a2c;
  border-bottom: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 7vw, 92px);
  align-items: end;
}

.split > p,
.join-layout > div > p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.9;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.section-heading h2 {
  max-width: 820px;
}

.section-heading.compact {
  display: block;
}

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

.service-card {
  min-height: 286px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(14, 43, 68, 0.86), rgba(5, 20, 35, 0.92));
  box-shadow: var(--shadow);
  transition: transform 180ms ease, border-color 180ms ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(56, 217, 255, 0.62);
}

.service-index,
.program-grid span {
  color: var(--cyan);
  font-family: "DIN Alternate", "Avenir Next Condensed", sans-serif;
  font-size: 12px;
  font-weight: 800;
}

.service-card h3 {
  margin: 56px 0 16px;
}

.service-card p,
.program-grid p,
.demo-panel p,
.demo-panel li {
  color: var(--muted);
  line-height: 1.75;
}

.process-section {
  background:
    linear-gradient(115deg, rgba(29, 117, 255, 0.14), transparent 42%),
    #04101d;
  border-block: 1px solid var(--line);
}

.workflow {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: 18px;
  margin-top: 36px;
}

.timeline {
  display: grid;
  gap: 10px;
}

.timeline-step {
  display: grid;
  gap: 8px;
  min-height: 86px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  text-align: left;
  cursor: pointer;
}

.timeline-step span {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
}

.timeline-step strong {
  font-size: 18px;
}

.timeline-step.active {
  border-color: rgba(56, 217, 255, 0.74);
  background: rgba(29, 117, 255, 0.18);
}

.demo-panel {
  min-height: 374px;
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid rgba(56, 217, 255, 0.36);
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(56, 217, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 217, 255, 0.07) 1px, transparent 1px),
    rgba(6, 22, 38, 0.92);
  background-size: 28px 28px;
  box-shadow: var(--shadow);
}

.panel-label {
  color: var(--cyan);
  font-family: "DIN Alternate", "Avenir Next Condensed", sans-serif;
  font-weight: 800;
}

.demo-panel h3 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 48px);
}

.demo-panel ul {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding-left: 20px;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.program-grid article {
  min-height: 250px;
  padding: 26px;
  background: var(--bg-2);
}

.program-grid h3 {
  margin: 34px 0 14px;
}

.join-section {
  background: #071725;
  border-top: 1px solid var(--line);
}

.join-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.65fr);
  gap: clamp(28px, 7vw, 86px);
  align-items: start;
}

.contact-card {
  display: grid;
  gap: 22px;
  justify-items: center;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow);
}

.qr-frame {
  width: min(100%, 320px);
  padding: 16px;
  border: 1px solid rgba(56, 217, 255, 0.38);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(29, 117, 255, 0.12), rgba(56, 217, 255, 0.08)),
    #f7fbff;
  box-shadow: 0 20px 58px rgba(0, 16, 35, 0.35);
}

.qr-frame img {
  width: 100%;
  border-radius: 6px;
}

.contact-copy {
  display: grid;
  gap: 12px;
  width: 100%;
  text-align: center;
}

.contact-copy span {
  color: var(--cyan);
  font-family: "DIN Alternate", "Avenir Next Condensed", sans-serif;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-copy h3 {
  margin: 0;
}

.contact-copy p {
  margin: 0 0 6px;
  color: var(--muted);
  line-height: 1.75;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 28px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: var(--navy);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #d7ecfa;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .service-grid,
  .program-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .workflow,
  .join-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 14px 18px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 72px 14px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(3, 9, 16, 0.96);
  }

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

  .site-nav a {
    padding: 14px;
  }

  .hero {
    min-height: 90vh;
    padding-top: 116px;
  }

  .hero-media {
    object-position: 58% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(3, 9, 16, 0.96) 0%, rgba(3, 9, 16, 0.74) 100%),
      linear-gradient(0deg, rgba(6, 17, 31, 0.96) 0%, rgba(6, 17, 31, 0.18) 55%);
  }

  .hero-stats,
  .service-grid,
  .program-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: block;
  }

  .service-card,
  .program-grid article {
    min-height: auto;
  }

  .contact-card {
    padding: 18px;
  }

  .qr-frame {
    width: min(100%, 280px);
    padding: 12px;
  }
}
