:root {
  --ink: #111318;
  --muted: #5d6675;
  --soft: #f4f7fb;
  --paper: #ffffff;
  --line: rgba(17, 19, 24, 0.12);
  --dark: #07090d;
  --dark-2: #11161d;
  --cyan: #23d6c2;
  --green: #a8ef63;
  --amber: #ffb65c;
  --coral: #ff6d5f;
  --blue: #6cb7ff;
  --shadow: 0 28px 80px rgba(8, 13, 22, 0.16);
  color-scheme: light;
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--dark);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

body::selection {
  color: #04100f;
  background: var(--cyan);
}

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

button {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 18px 24px auto;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  max-width: 1180px;
  height: 64px;
  margin: 0 auto;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: #f8fbff;
  background: rgba(7, 9, 13, 0.62);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
  transition:
    height 220ms ease,
    background 220ms ease,
    transform 220ms ease;
}

.site-header.is-compact {
  height: 56px;
  background: rgba(7, 9, 13, 0.86);
}

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

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  color: #f8fbff;
  font-size: 0.82rem;
  font-weight: 800;
}

.brand-text {
  display: grid;
  gap: 8px;
  line-height: 1;
}

.brand-text strong {
  font-size: 0.98rem;
  font-weight: 700;
}

.brand-text small {
  color: rgba(248, 251, 255, 0.66);
  font-size: 0.68rem;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 8px;
  color: rgba(248, 251, 255, 0.76);
  font-size: 0.9rem;
  transition:
    color 180ms ease,
    background 180ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.09);
}

.header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  color: #06110f;
  background: #f8fbff;
  font-size: 0.88rem;
  font-weight: 700;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  padding: 138px 24px 70px;
  overflow: hidden;
  color: #f8fbff;
  background:
    radial-gradient(circle at 16% 14%, rgba(35, 214, 194, 0.28), transparent 26%),
    radial-gradient(circle at 78% 20%, rgba(255, 182, 92, 0.2), transparent 30%),
    linear-gradient(135deg, #07090d 0%, #10141b 46%, #17110f 100%);
}

.hero-canvas,
.hero-texture,
.hero-grid {
  position: absolute;
  inset: 0;
}

.hero-canvas {
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.hero-texture {
  z-index: 1;
  background-image:
    linear-gradient(rgba(7, 9, 13, 0.48), rgba(7, 9, 13, 0.2)),
    url("assets/ddkj-neural-field.png");
  background-position: center;
  background-size: cover;
  mix-blend-mode: screen;
  opacity: 0.36;
}

.hero-grid {
  z-index: 2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-position: center;
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 70%, transparent 100%);
  opacity: 0.42;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: 3;
  height: 34%;
  pointer-events: none;
  content: "";
  background: linear-gradient(to top, rgba(7, 9, 13, 0.82), transparent);
}

.hero-content {
  position: relative;
  z-index: 4;
  display: grid;
  gap: 24px;
  align-content: center;
  width: min(1120px, 100%);
  margin: 0 auto;
}

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

.hero-title {
  max-width: 900px;
  margin: 0;
  font-size: 4.4rem;
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 720px;
  margin: 0;
  color: rgba(248, 251, 255, 0.78);
  font-size: 1.12rem;
  line-height: 1.9;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  max-width: 100%;
  padding: 0 18px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 800;
  white-space: nowrap;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.btn-primary {
  color: #06110f;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  box-shadow: 0 18px 42px rgba(35, 214, 194, 0.22);
}

.btn-ghost {
  color: #f8fbff;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
}

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

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(860px, 100%);
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.hero-proof div {
  display: grid;
  gap: 8px;
  min-height: 104px;
  padding: 18px;
  background: rgba(8, 11, 16, 0.44);
}

.hero-proof strong {
  color: #ffffff;
  font-size: 1rem;
}

.hero-proof span {
  color: rgba(248, 251, 255, 0.68);
  font-size: 0.88rem;
  line-height: 1.7;
}

.scroll-indicator {
  position: absolute;
  right: 38px;
  bottom: 30px;
  z-index: 5;
  width: 1px;
  height: 92px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.16);
}

.scroll-indicator::after {
  display: block;
  width: 100%;
  height: 34px;
  content: "";
  background: var(--cyan);
  animation: scrollPulse 1.7s ease-in-out infinite;
}

.section {
  padding: 108px 24px;
}

.section-heading {
  display: grid;
  gap: 16px;
  width: min(760px, 100%);
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading-wide {
  width: min(930px, 100%);
}

.section-heading h2,
.lab-copy h2,
.contact h2 {
  margin: 0;
  color: var(--ink);
  font-size: 2.52rem;
  line-height: 1.18;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.lab-copy p,
.contact p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.9;
}

.capability-grid,
.case-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.capability-card,
.case-card {
  position: relative;
  display: grid;
  gap: 18px;
  min-height: 360px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 22px 70px rgba(22, 26, 34, 0.07);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.capability-card::before,
.case-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, var(--cyan), var(--green), var(--amber));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms ease;
}

.capability-card:hover,
.case-card:hover {
  border-color: rgba(35, 214, 194, 0.36);
  box-shadow: var(--shadow);
  transform: translateY(-8px);
}

.capability-card:hover::before,
.case-card:hover::before {
  transform: scaleX(1);
}

.card-index {
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
}

.capability-card h3,
.case-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.22rem;
  line-height: 1.35;
}

.capability-card p,
.case-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.82;
}

.capability-card ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: auto 0 0;
  list-style: none;
}

.capability-card li {
  position: relative;
  padding-left: 18px;
  color: #313945;
  font-size: 0.92rem;
}

.capability-card li::before {
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  content: "";
  background: var(--cyan);
}

.solutions {
  color: #f8fbff;
  background:
    radial-gradient(circle at 18% 10%, rgba(35, 214, 194, 0.2), transparent 26%),
    radial-gradient(circle at 85% 30%, rgba(255, 109, 95, 0.16), transparent 24%),
    linear-gradient(135deg, #080a0e, #15191f 62%, #11100d);
}

.solutions .section-heading h2 {
  color: #ffffff;
}

.solutions .section-heading p:not(.eyebrow) {
  color: rgba(248, 251, 255, 0.68);
}

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

.solution-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.solution-tab {
  min-height: 58px;
  border: 0;
  color: rgba(248, 251, 255, 0.72);
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
  font-weight: 800;
  transition:
    color 180ms ease,
    background 180ms ease;
}

.solution-tab:hover,
.solution-tab.active {
  color: #05100e;
  background: linear-gradient(135deg, var(--cyan), var(--green));
}

.solution-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 28px;
  min-height: 440px;
  margin-top: 18px;
}

.solution-copy,
.solution-visual,
.process-panel {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(16px);
}

.solution-copy {
  display: grid;
  align-content: center;
  gap: 22px;
  padding: 44px;
}

.solution-kicker {
  margin: 0;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.solution-copy h3 {
  max-width: 700px;
  margin: 0;
  color: #ffffff;
  font-size: 2.08rem;
  line-height: 1.2;
}

.solution-copy p:not(.solution-kicker) {
  max-width: 720px;
  margin: 0;
  color: rgba(248, 251, 255, 0.72);
  font-size: 1rem;
  line-height: 1.9;
}

.solution-tags,
.stack-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.solution-tags span,
.stack-cloud span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: rgba(248, 251, 255, 0.82);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.86rem;
  font-weight: 700;
}

.solution-visual {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(35, 214, 194, 0.16), transparent 34%),
    rgba(255, 255, 255, 0.06);
}

.orbit {
  position: absolute;
  inset: 54px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  animation: rotate 16s linear infinite;
}

.orbit-two {
  inset: 104px 76px;
  animation-duration: 22s;
  animation-direction: reverse;
}

.orbit::after {
  position: absolute;
  top: 11%;
  left: 48%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  content: "";
  background: var(--amber);
  box-shadow: 0 0 28px var(--amber);
}

.node {
  position: absolute;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: #06110f;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  box-shadow: 0 22px 52px rgba(35, 214, 194, 0.18);
  font-size: 0.78rem;
  font-weight: 900;
}

.node-core {
  top: 50%;
  left: 50%;
  width: 96px;
  height: 96px;
  transform: translate(-50%, -50%);
}

.node-a {
  top: 74px;
  left: 56px;
  color: #ffffff;
  background: rgba(108, 183, 255, 0.18);
}

.node-b {
  right: 56px;
  bottom: 80px;
  color: #ffffff;
  background: rgba(255, 182, 92, 0.18);
}

.node-c {
  right: 66px;
  top: 92px;
  color: #ffffff;
  background: rgba(255, 109, 95, 0.16);
}

.pulse-line {
  position: absolute;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  transform-origin: left;
}

.pulse-line::after {
  display: block;
  width: 38%;
  height: 100%;
  content: "";
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  animation: pulseLine 2.7s ease-in-out infinite;
}

.line-a {
  top: 155px;
  left: 124px;
  width: 170px;
  transform: rotate(24deg);
}

.line-b {
  right: 118px;
  bottom: 145px;
  width: 148px;
  transform: rotate(204deg);
}

.line-c {
  top: 137px;
  right: 118px;
  width: 128px;
  transform: rotate(142deg);
}

.lab {
  color: #f8fbff;
  background: #0b0d11;
}

.lab-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 44px;
  align-items: center;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.lab-copy {
  display: grid;
  gap: 20px;
}

.lab-copy h2 {
  color: #ffffff;
}

.lab-copy p {
  color: rgba(248, 251, 255, 0.68);
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.metric {
  display: grid;
  gap: 8px;
  min-height: 112px;
  align-content: center;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.metric strong {
  color: var(--green);
  font-size: 2.1rem;
  line-height: 1;
}

.metric span {
  color: rgba(248, 251, 255, 0.64);
  font-size: 0.88rem;
}

.process-panel {
  display: grid;
  gap: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
}

.process-step {
  display: grid;
  grid-template-columns: 52px minmax(0, 160px) 1fr;
  gap: 18px;
  align-items: center;
  min-height: 92px;
  padding: 20px 24px;
  background: rgba(12, 16, 21, 0.74);
}

.process-step span {
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 900;
}

.process-step strong {
  color: #ffffff;
  font-size: 1rem;
}

.process-step p {
  margin: 0;
  color: rgba(248, 251, 255, 0.62);
  line-height: 1.7;
}

.stack {
  background: var(--soft);
}

.stack-cloud {
  justify-content: center;
  width: min(940px, 100%);
  margin: 0 auto;
}

.stack-cloud span {
  min-height: 42px;
  color: #22303d;
  border-color: rgba(17, 19, 24, 0.1);
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(22, 26, 34, 0.05);
}

.cases {
  background: #ffffff;
}

.case-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.case-card {
  min-height: 278px;
}

.case-card span {
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact {
  position: relative;
  padding: 120px 24px;
  overflow: hidden;
  color: #f8fbff;
  background:
    radial-gradient(circle at 20% 16%, rgba(35, 214, 194, 0.24), transparent 32%),
    radial-gradient(circle at 78% 76%, rgba(255, 182, 92, 0.18), transparent 26%),
    #090b10;
}

.contact::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.052) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.052) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: radial-gradient(circle at center, #000 0%, transparent 72%);
}

.contact-inner {
  position: relative;
  display: grid;
  gap: 22px;
  width: min(900px, 100%);
  margin: 0 auto;
  text-align: center;
}

.contact h2 {
  color: #ffffff;
}

.contact p {
  color: rgba(248, 251, 255, 0.7);
}

.contact-info {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(0, 1.32fr);
  gap: 12px;
  width: min(760px, 100%);
  margin: 8px auto 0;
  text-align: left;
}

.contact-info a,
.contact-info div {
  display: grid;
  gap: 8px;
  min-height: 92px;
  align-content: center;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(14px);
}

.contact-info span {
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
}

.contact-info strong {
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.contact-actions {
  justify-content: center;
  margin-top: 8px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  padding: 24px;
  color: rgba(248, 251, 255, 0.62);
  background: #07090d;
  font-size: 0.86rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 760ms ease,
    transform 760ms ease;
}

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

@keyframes scrollPulse {
  from {
    transform: translateY(-40px);
  }
  to {
    transform: translateY(112px);
  }
}

@keyframes rotate {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulseLine {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(280%);
  }
}

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

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 100svh;
    padding: 118px 18px 54px;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-proof,
  .capability-grid,
  .case-grid,
  .solution-stage,
  .lab-layout {
    grid-template-columns: 1fr;
  }

  .solution-stage {
    min-height: auto;
  }

  .solution-visual {
    min-height: 360px;
  }

  .capability-card,
  .case-card {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .site-header {
    height: 58px;
    padding: 0 10px;
  }

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

  .brand-text small,
  .header-action {
    display: none;
  }

  .hero-title {
    font-size: 2.38rem;
    line-height: 1.1;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions,
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

  .hero-proof div {
    min-height: 88px;
  }

  .hero-proof {
    display: none;
  }

  .scroll-indicator {
    display: none;
  }

  .section {
    padding: 76px 18px;
  }

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

  .section-heading h2,
  .lab-copy h2,
  .contact h2 {
    font-size: 2rem;
  }

  .solution-tabs {
    grid-template-columns: 1fr 1fr;
  }

  .solution-tab {
    min-height: 50px;
  }

  .solution-copy {
    padding: 28px;
  }

  .solution-copy h3 {
    font-size: 1.62rem;
  }

  .solution-visual {
    min-height: 300px;
  }

  .node {
    width: 62px;
    height: 62px;
  }

  .node-core {
    width: 82px;
    height: 82px;
  }

  .metric-row {
    grid-template-columns: 1fr;
  }

  .process-step {
    grid-template-columns: 42px 1fr;
    gap: 12px;
  }

  .process-step p {
    grid-column: 2;
  }

  .contact {
    padding: 84px 18px;
  }

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

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
