:root {
  --bg: #07111f;
  --bg-soft: #0b1628;
  --panel: rgba(15, 24, 42, 0.84);
  --panel-strong: rgba(8, 17, 31, 0.92);
  --line: rgba(125, 211, 252, 0.16);
  --line-strong: rgba(56, 189, 248, 0.48);
  --text: #f8fafc;
  --muted: #cbd5e1;
  --subtle: #94a3b8;
  --cyan: #7dd3fc;
  --blue: #38bdf8;
  --indigo: #6366f1;
  --warm: #fbbf24;
  --shadow: 0 24px 70px rgba(2, 8, 23, 0.48);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 15%, rgba(56, 189, 248, 0.12), transparent 30%),
    radial-gradient(circle at 88% 68%, rgba(99, 102, 241, 0.16), transparent 32%),
    var(--bg);
  color: var(--text);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 8%;
  background: rgba(7, 17, 31, 0.9);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  backdrop-filter: blur(12px);
}

.logo {
  color: var(--cyan);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 1px;
  text-decoration: none;
  white-space: nowrap;
}

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

.site-nav a {
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  padding: 8px 14px;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  background: rgba(56, 189, 248, 0.08);
  border-color: rgba(125, 211, 252, 0.24);
  color: var(--cyan);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 76px);
  overflow: hidden;
  padding: 96px 8%;
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.96) 0%, rgba(7, 17, 31, 0.82) 43%, rgba(7, 17, 31, 0.22) 100%),
    url("../images/hero-ai-network.png") center right / cover no-repeat;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(180deg, transparent, var(--bg));
  content: "";
  pointer-events: none;
}

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

.eyebrow,
.card-kicker {
  color: var(--warm);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  margin: 12px 0 22px;
  max-width: 840px;
  font-size: clamp(42px, 7vw, 68px);
  line-height: 1.12;
  letter-spacing: 0;
}

.hero h1 span {
  display: block;
  color: var(--cyan);
}

.hero p,
.page-hero p,
.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--indigo));
  box-shadow: 0 14px 34px rgba(56, 189, 248, 0.24);
  color: #ffffff;
  font-weight: 800;
  padding: 12px 24px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  box-shadow: 0 18px 42px rgba(56, 189, 248, 0.32);
  transform: translateY(-2px);
}

.btn.secondary {
  background: rgba(15, 23, 42, 0.56);
  border-color: rgba(125, 211, 252, 0.28);
  box-shadow: none;
  color: var(--cyan);
}

.section,
.band {
  padding: 84px 8%;
}

.band {
  background: rgba(15, 23, 42, 0.72);
  border-block: 1px solid rgba(148, 163, 184, 0.12);
}

.section-title {
  margin-bottom: 16px;
  font-size: 34px;
  line-height: 1.2;
  text-align: center;
}

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

.section-desc {
  max-width: 760px;
  margin: 0 auto 44px;
  color: var(--subtle);
  text-align: center;
}

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

.card,
.text-panel,
.contact-panel,
.service-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.card {
  min-height: 232px;
  padding: 30px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.card h3 {
  margin: 12px 0;
  color: var(--cyan);
  font-size: 22px;
}

.card p,
.text-panel p,
.service-item p,
.contact-row {
  color: var(--muted);
  font-size: 15px;
}

.link-card {
  display: block;
  text-decoration: none;
}

.link-card:hover,
.card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 28px 72px rgba(2, 8, 23, 0.58);
  transform: translateY(-6px);
}

.page-hero {
  padding: 92px 8% 76px;
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.96), rgba(7, 17, 31, 0.78)),
    url("../images/hero-ai-network.png") center right / cover no-repeat;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.content-grid,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(320px, 1.2fr);
  gap: 44px;
  align-items: start;
  max-width: 1120px;
  margin: 0 auto;
}

.text-panel {
  padding: 34px;
}

.text-panel p + p {
  margin-top: 18px;
}

.service-list {
  display: grid;
  gap: 22px;
  max-width: 980px;
  margin: 0 auto;
}

.service-item {
  padding: 30px 34px;
}

.service-item h2 {
  margin: 10px 0;
  color: var(--cyan);
  font-size: 26px;
}

.contact-panel {
  overflow: hidden;
}

.contact-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  text-decoration: none;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.contact-row:last-child {
  border-bottom: 0;
}

.contact-row span {
  color: var(--subtle);
}

.contact-row strong {
  color: var(--text);
  text-align: right;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 54px 8%;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.15), rgba(99, 102, 241, 0.18));
  border-top: 1px solid rgba(125, 211, 252, 0.16);
}

.cta-band h2 {
  font-size: 30px;
  line-height: 1.25;
}

.site-footer {
  padding: 28px 8%;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  color: #64748b;
  font-size: 14px;
  text-align: center;
}

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

  .site-nav {
    justify-content: flex-start;
  }

  .hero,
  .page-hero {
    background:
      linear-gradient(180deg, rgba(7, 17, 31, 0.9), rgba(7, 17, 31, 0.78)),
      url("../images/hero-ai-network.png") center / cover no-repeat;
  }

  .cards,
  .content-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .site-header,
  .hero,
  .page-hero,
  .section,
  .band,
  .cta-band,
  .site-footer {
    padding-left: 6%;
    padding-right: 6%;
  }

  .site-nav a {
    padding: 7px 10px;
  }

  .hero {
    min-height: 76vh;
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 38px;
  }

  .card,
  .text-panel,
  .service-item {
    padding: 24px;
  }

  .contact-row {
    flex-direction: column;
    gap: 6px;
  }

  .contact-row strong {
    text-align: left;
  }
}

.industrial-page {
  background:
    radial-gradient(circle at 18% 8%, rgba(0, 255, 184, 0.11), transparent 28%),
    radial-gradient(circle at 82% 28%, rgba(124, 58, 237, 0.15), transparent 34%),
    linear-gradient(180deg, #040811 0%, #07111f 46%, #050914 100%);
}

.industrial-page .site-header {
  background: rgba(4, 8, 17, 0.84);
}

.industrial-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.94fr) minmax(320px, 1.06fr);
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 76px);
  overflow: hidden;
  padding: 92px 8% 118px;
  border-bottom: 1px solid rgba(125, 211, 252, 0.16);
  background:
    linear-gradient(115deg, rgba(4, 8, 17, 0.96), rgba(7, 17, 31, 0.74)),
    url("../images/hero-ai-network.png") center right / cover no-repeat;
  perspective: 1100px;
}

.industrial-hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(125, 211, 252, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 211, 252, 0.08) 1px, transparent 1px);
  background-size: 54px 54px;
  content: "";
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 78%);
  transform: translateY(var(--scroll-y, 0));
}

.particle-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.85;
}

.industrial-hero-copy {
  position: relative;
  z-index: 2;
}

.industrial-hero-copy h1 {
  max-width: 840px;
  margin: 12px 0 22px;
  font-size: clamp(42px, 6vw, 74px);
  line-height: 1.08;
}

.industrial-hero-copy p {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.factory-orbit {
  position: relative;
  z-index: 2;
  min-height: 540px;
  transform: rotateX(58deg) rotateZ(-18deg);
  transform-style: preserve-3d;
}

.orbit-ring {
  position: absolute;
  inset: 11% 5%;
  border: 1px solid rgba(125, 211, 252, 0.32);
  border-radius: 50%;
  box-shadow: 0 0 40px rgba(56, 189, 248, 0.18), inset 0 0 40px rgba(99, 102, 241, 0.08);
  animation: orbitSpin 14s linear infinite;
}

.ring-two {
  inset: 22% 17%;
  border-color: rgba(0, 255, 184, 0.26);
  animation-duration: 18s;
  animation-direction: reverse;
}

.factory-stage {
  position: absolute;
  inset: 18% 11%;
  transform-style: preserve-3d;
}

.factory-core,
.factory-tower,
.pipe,
.data-beam {
  position: absolute;
  border: 1px solid rgba(125, 211, 252, 0.4);
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.18), rgba(99, 102, 241, 0.2));
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.24), inset 0 0 24px rgba(125, 211, 252, 0.16);
}

.factory-core {
  left: 34%;
  top: 34%;
  width: 32%;
  height: 26%;
  transform: translateZ(56px);
  animation: corePulse 2.8s ease-in-out infinite;
}

.factory-tower {
  width: 14%;
  height: 24%;
  transform: translateZ(92px);
}

.tower-a {
  left: 14%;
  top: 22%;
}

.tower-b {
  right: 10%;
  top: 19%;
  height: 34%;
}

.tower-c {
  left: 47%;
  bottom: 8%;
  height: 28%;
}

.pipe {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(0, 255, 184, 0.12), rgba(56, 189, 248, 0.72), rgba(124, 58, 237, 0.4));
}

.pipe-one {
  left: 20%;
  top: 48%;
  width: 62%;
  transform: translateZ(70px) rotateZ(8deg);
}

.pipe-two {
  left: 34%;
  top: 28%;
  width: 46%;
  transform: translateZ(76px) rotateZ(-26deg);
}

.pipe-three {
  left: 18%;
  bottom: 20%;
  width: 55%;
  transform: translateZ(76px) rotateZ(34deg);
}

.data-beam {
  left: 49%;
  top: 5%;
  width: 4px;
  height: 74%;
  background: linear-gradient(180deg, transparent, rgba(125, 211, 252, 0.95), transparent);
  transform: translateZ(140px);
  animation: beamScan 2.4s ease-in-out infinite;
}

.tactile-card,
.tactile-btn {
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateZ(0);
  transform-style: preserve-3d;
}

.tactile-card {
  position: relative;
  overflow: hidden;
}

.tactile-card::before,
.tactile-btn::before {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 50%), rgba(125, 211, 252, 0.24), transparent 34%);
  content: "";
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.tactile-card:hover::before,
.tactile-btn:hover::before {
  opacity: 1;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.mission-card {
  min-height: 310px;
  padding: 34px;
  border: 1px solid rgba(125, 211, 252, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(15, 24, 42, 0.9), rgba(9, 16, 31, 0.74)),
    linear-gradient(90deg, transparent, rgba(0, 255, 184, 0.12));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}

.mission-card h2 {
  margin: 16px 0;
  color: var(--text);
  font-size: 30px;
  line-height: 1.22;
}

.mission-card p {
  color: var(--muted);
}

.topology-section,
.ai-core-section {
  padding: 92px 8%;
}

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

.section-heading h2 {
  margin: 10px 0 14px;
  font-size: clamp(34px, 4.5vw, 54px);
  line-height: 1.12;
}

.section-heading p:last-child {
  color: var(--subtle);
}

.topology-map {
  position: relative;
  max-width: 1120px;
  height: 620px;
  margin: 0 auto;
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: 8px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(56, 189, 248, 0.15), transparent 28%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.88), rgba(4, 8, 17, 0.92));
  box-shadow: var(--shadow);
}

.topology-map::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 255, 184, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 184, 0.07) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
}

.topology-lines {
  position: absolute;
  inset: 6% 5%;
  width: 90%;
  height: 88%;
  filter: drop-shadow(0 0 14px rgba(56, 189, 248, 0.5));
}

.topology-lines path {
  fill: none;
  stroke: rgba(125, 211, 252, 0.42);
  stroke-width: 2;
  stroke-dasharray: 8 10;
  animation: dashFlow 8s linear infinite;
}

.topology-lines .pulse-line {
  stroke: rgba(0, 255, 184, 0.48);
  stroke-width: 1.4;
}

.topology-node {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 2;
  width: 158px;
  min-height: 88px;
  padding: 16px;
  border: 1px solid rgba(125, 211, 252, 0.26);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(10, 20, 36, 0.94), rgba(9, 16, 31, 0.76)),
    radial-gradient(circle at 20% 20%, rgba(0, 255, 184, 0.16), transparent 36%);
  color: var(--text);
  cursor: pointer;
  text-align: left;
  translate: -50% -50%;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, translate 0.25s ease;
}

.topology-node:hover {
  border-color: rgba(0, 255, 184, 0.68);
  box-shadow: 0 0 38px rgba(0, 255, 184, 0.18), 0 22px 60px rgba(2, 8, 23, 0.54);
  translate: -50% calc(-50% - 8px);
}

.topology-node span {
  display: block;
  color: var(--cyan);
  font-weight: 900;
}

.topology-node strong {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.35;
}

.topology-node.core {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 190px;
  min-height: 112px;
  border-color: rgba(251, 191, 36, 0.46);
  background:
    radial-gradient(circle at 50% 28%, rgba(251, 191, 36, 0.22), transparent 42%),
    linear-gradient(145deg, rgba(18, 25, 43, 0.96), rgba(9, 16, 31, 0.82));
  box-shadow: 0 0 54px rgba(251, 191, 36, 0.14), 0 0 90px rgba(56, 189, 248, 0.12);
}

.ai-modules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.ai-module {
  min-height: 300px;
  padding: 30px;
  border: 1px solid rgba(125, 211, 252, 0.2);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(15, 24, 42, 0.88), rgba(4, 8, 17, 0.82));
}

.module-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border: 1px solid rgba(0, 255, 184, 0.36);
  border-radius: 50%;
  color: #8cffdf;
  font-weight: 900;
  box-shadow: inset 0 0 22px rgba(0, 255, 184, 0.12), 0 0 22px rgba(0, 255, 184, 0.12);
}

.ai-module h3 {
  margin: 22px 0 12px;
  color: var(--cyan);
  font-size: 24px;
}

.ai-module p {
  color: var(--muted);
}

.metric-ribbon {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid rgba(125, 211, 252, 0.16);
  background: rgba(4, 8, 17, 0.78);
}

.metric {
  padding: 42px 8%;
  text-align: center;
  border-right: 1px solid rgba(125, 211, 252, 0.14);
}

.metric:last-child {
  border-right: 0;
}

.metric strong {
  display: block;
  color: #8cffdf;
  font-size: 48px;
  line-height: 1;
}

.metric span {
  color: var(--subtle);
  font-size: 14px;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

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

@keyframes corePulse {
  50% {
    box-shadow: 0 0 54px rgba(56, 189, 248, 0.48), inset 0 0 32px rgba(125, 211, 252, 0.28);
  }
}

@keyframes beamScan {
  50% {
    opacity: 0.45;
    transform: translateZ(150px) scaleY(1.12);
  }
}

@keyframes dashFlow {
  to {
    stroke-dashoffset: -180;
  }
}

@media (prefers-reduced-motion: reduce) {
  .orbit-ring,
  .factory-core,
  .data-beam,
  .topology-lines path {
    animation: none;
  }

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .industrial-hero,
  .mission-grid,
  .ai-modules {
    grid-template-columns: 1fr;
  }

  .factory-orbit {
    min-height: 420px;
    transform: rotateX(58deg) rotateZ(-18deg) scale(0.86);
  }

  .topology-map {
    height: 720px;
  }

  .topology-lines {
    display: none;
  }

  .topology-node,
  .topology-node.core {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    min-height: auto;
    margin: 12px;
    translate: none;
  }

  .topology-node:hover {
    translate: 0 -4px;
  }

  .topology-map {
    display: grid;
    align-content: center;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding: 18px;
  }
}

@media (max-width: 620px) {
  .industrial-hero,
  .topology-section,
  .ai-core-section {
    padding-left: 6%;
    padding-right: 6%;
  }

  .industrial-hero-copy h1 {
    font-size: 38px;
  }

  .factory-orbit {
    min-height: 330px;
    transform: rotateX(58deg) rotateZ(-18deg) scale(0.72);
  }

  .topology-map,
  .metric-ribbon {
    grid-template-columns: 1fr;
  }

  .topology-map {
    height: auto;
  }

  .metric {
    border-right: 0;
    border-bottom: 1px solid rgba(125, 211, 252, 0.14);
  }
}

.robotics-page {
  background:
    radial-gradient(circle at 18% 12%, rgba(0, 255, 184, 0.12), transparent 30%),
    radial-gradient(circle at 86% 30%, rgba(124, 58, 237, 0.17), transparent 34%),
    linear-gradient(180deg, #04070d 0%, #07111f 42%, #030712 100%);
}

.robotics-page .site-header {
  background: rgba(4, 7, 13, 0.86);
}

.robot-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 1.1fr);
  gap: 44px;
  align-items: center;
  min-height: calc(100vh - 76px);
  overflow: hidden;
  padding: 92px 8% 114px;
  border-bottom: 1px solid rgba(0, 255, 184, 0.16);
  background:
    linear-gradient(115deg, rgba(4, 7, 13, 0.97), rgba(7, 17, 31, 0.76)),
    url("../images/hero-ai-network.png") center right / cover no-repeat;
  perspective: 1200px;
}

.robot-hero::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(125, 211, 252, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 211, 252, 0.07) 1px, transparent 1px);
  background-size: 52px 52px;
  content: "";
  mask-image: linear-gradient(180deg, #000 0%, transparent 84%);
  transform: translateY(var(--robot-scroll, 0));
}

.robot-scan-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.9;
}

.robot-hero-copy {
  position: relative;
  z-index: 2;
}

.robot-hero-copy h1 {
  max-width: 860px;
  margin: 12px 0 22px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.08;
}

.robot-hero-copy p {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.robot-viewport {
  position: relative;
  z-index: 2;
  min-height: 590px;
  transform: perspective(1200px) rotateX(calc(58deg + var(--scene-y, 0deg))) rotateZ(calc(-20deg + var(--scene-x, 0deg)));
  transform-style: preserve-3d;
  transition: transform 0.18s ease;
}

.robot-viewport::before {
  position: absolute;
  left: 8%;
  right: 3%;
  bottom: 5%;
  height: 54%;
  border: 1px solid rgba(125, 211, 252, 0.2);
  background-image:
    linear-gradient(rgba(0, 255, 184, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 184, 0.12) 1px, transparent 1px);
  background-size: 34px 34px;
  box-shadow: inset 0 0 44px rgba(56, 189, 248, 0.08), 0 0 50px rgba(0, 255, 184, 0.08);
  content: "";
  transform: translateZ(-16px);
}

.robot-base,
.robot-shoulder,
.robot-arm,
.robot-joint,
.robot-wrist,
.robot-gripper,
.amr-platform {
  position: absolute;
  border: 1px solid rgba(125, 211, 252, 0.4);
  background: linear-gradient(135deg, rgba(148, 163, 184, 0.22), rgba(56, 189, 248, 0.14) 52%, rgba(124, 58, 237, 0.22));
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.22), inset 0 0 28px rgba(125, 211, 252, 0.12);
  transform-style: preserve-3d;
}

.robot-base {
  left: 37%;
  bottom: 18%;
  width: 28%;
  height: 13%;
  border-radius: 50%;
  transform: translateZ(46px);
}

.robot-shoulder {
  left: 45%;
  bottom: 29%;
  width: 12%;
  height: 16%;
  border-radius: 20px;
  transform: translateZ(78px);
}

.robot-arm {
  height: 9%;
  border-radius: 999px;
  transform-origin: left center;
}

.arm-one {
  left: 48%;
  bottom: 41%;
  width: 28%;
  transform: translateZ(104px) rotateZ(-32deg);
  animation: armServoOne 4.4s ease-in-out infinite;
}

.arm-two {
  left: 66%;
  bottom: 58%;
  width: 24%;
  transform: translateZ(126px) rotateZ(25deg);
  animation: armServoTwo 4.4s ease-in-out infinite;
}

.robot-joint {
  width: 11%;
  aspect-ratio: 1;
  border-radius: 50%;
}

.joint-one {
  left: 62%;
  bottom: 53%;
  transform: translateZ(132px);
}

.joint-two {
  left: 84%;
  bottom: 67%;
  transform: translateZ(150px);
}

.robot-wrist {
  left: 88%;
  bottom: 64%;
  width: 8%;
  height: 8%;
  border-radius: 14px;
  transform: translateZ(158px) rotateZ(28deg);
}

.robot-gripper {
  left: 94%;
  bottom: 63%;
  width: 12%;
  height: 6%;
  border: 0;
  background: transparent;
  box-shadow: none;
  transform: translateZ(164px) rotateZ(28deg);
}

.robot-gripper span {
  position: absolute;
  right: 0;
  width: 54%;
  height: 28%;
  border: 1px solid rgba(0, 255, 184, 0.56);
  background: rgba(0, 255, 184, 0.12);
  box-shadow: 0 0 20px rgba(0, 255, 184, 0.18);
}

.robot-gripper span:first-child {
  top: 5%;
  transform: rotateZ(18deg);
}

.robot-gripper span:last-child {
  bottom: 5%;
  transform: rotateZ(-18deg);
}

.amr-platform {
  left: 12%;
  bottom: 15%;
  width: 27%;
  height: 15%;
  border-radius: 24px 24px 38px 38px;
  transform: translateZ(28px);
}

.amr-platform::before,
.amr-platform::after {
  position: absolute;
  bottom: -18%;
  width: 24%;
  aspect-ratio: 1;
  border: 1px solid rgba(0, 255, 184, 0.48);
  border-radius: 50%;
  background: rgba(3, 7, 18, 0.8);
  box-shadow: inset 0 0 18px rgba(0, 255, 184, 0.18);
  content: "";
}

.amr-platform::before {
  left: 12%;
}

.amr-platform::after {
  right: 12%;
}

.scan-cone {
  position: absolute;
  left: 54%;
  top: 3%;
  z-index: 3;
  width: 34%;
  height: 62%;
  background: conic-gradient(from 180deg, transparent, rgba(0, 255, 184, 0.2), transparent 45%);
  filter: blur(0.2px);
  transform: translateZ(190px) rotateZ(18deg);
  transform-origin: 20% 90%;
  animation: lidarSweep 3.2s ease-in-out infinite;
  pointer-events: none;
}

.axis {
  position: absolute;
  z-index: 4;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(125, 211, 252, 0.4);
  border-radius: 50%;
  color: #8cffdf;
  font-size: 12px;
  font-weight: 900;
  line-height: 30px;
  text-align: center;
  box-shadow: 0 0 18px rgba(0, 255, 184, 0.18);
}

.axis-x {
  left: 78%;
  bottom: 33%;
  transform: translateZ(190px);
}

.axis-y {
  left: 54%;
  bottom: 70%;
  transform: translateZ(190px);
}

.axis-z {
  left: 30%;
  bottom: 42%;
  transform: translateZ(190px);
}

.point-cloud i {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(125, 211, 252, 0.92);
  box-shadow: 0 0 18px rgba(125, 211, 252, 0.75);
  transform: translateZ(182px);
  animation: pointPulse 1.8s ease-in-out infinite;
}

.point-cloud i:nth-child(1) { left: 22%; top: 30%; }
.point-cloud i:nth-child(2) { left: 29%; top: 44%; animation-delay: 0.1s; }
.point-cloud i:nth-child(3) { left: 37%; top: 25%; animation-delay: 0.2s; }
.point-cloud i:nth-child(4) { left: 74%; top: 30%; animation-delay: 0.3s; }
.point-cloud i:nth-child(5) { left: 81%; top: 45%; animation-delay: 0.4s; }
.point-cloud i:nth-child(6) { left: 68%; top: 76%; animation-delay: 0.5s; }
.point-cloud i:nth-child(7) { left: 19%; top: 70%; animation-delay: 0.6s; }
.point-cloud i:nth-child(8) { left: 48%; top: 82%; animation-delay: 0.7s; }

.robot-viewport:hover .arm-one {
  transform: translateZ(104px) rotateZ(-41deg) translateX(12px);
}

.robot-viewport:hover .arm-two {
  transform: translateZ(126px) rotateZ(37deg) translateX(14px);
}

.robot-viewport:hover .joint-one,
.robot-viewport:hover .joint-two,
.robot-viewport:hover .robot-wrist {
  box-shadow: 0 0 46px rgba(0, 255, 184, 0.36), inset 0 0 30px rgba(125, 211, 252, 0.22);
}

.robot-tactile {
  position: relative;
  overflow: hidden;
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateZ(0);
  transform-style: preserve-3d;
}

.robot-tactile::before {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 50%), rgba(0, 255, 184, 0.22), transparent 34%);
  content: "";
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.robot-tactile:hover::before {
  opacity: 1;
}

.robot-core-section,
.robot-app-section,
.delivery-section {
  padding: 92px 8%;
}

.robot-tech-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.robot-tech-card {
  min-height: 360px;
  padding: 30px;
  border: 1px solid rgba(125, 211, 252, 0.2);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(13, 23, 39, 0.94), rgba(4, 7, 13, 0.86));
  box-shadow: var(--shadow);
}

.tech-index {
  color: #8cffdf;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.robot-tech-card h3 {
  margin: 16px 0 12px;
  color: var(--cyan);
  font-size: 24px;
}

.robot-tech-card p,
.robot-scene p,
.delivery-node p {
  color: var(--muted);
}

.mini-lidar {
  position: relative;
  height: 118px;
  margin-top: 28px;
  border: 1px solid rgba(0, 255, 184, 0.2);
  background-image:
    linear-gradient(rgba(0, 255, 184, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 184, 0.08) 1px, transparent 1px);
  background-size: 22px 22px;
  overflow: hidden;
}

.mini-lidar::before {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 2px;
  height: 140px;
  background: linear-gradient(transparent, rgba(0, 255, 184, 0.95));
  content: "";
  transform-origin: bottom;
  animation: lidarMini 2.8s ease-in-out infinite;
}

.mini-lidar span {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px var(--cyan);
}

.mini-lidar span:nth-child(1) { left: 20%; top: 32%; }
.mini-lidar span:nth-child(2) { left: 46%; top: 18%; }
.mini-lidar span:nth-child(3) { right: 28%; top: 46%; }
.mini-lidar span:nth-child(4) { right: 14%; top: 24%; }

.path-simulator {
  width: 100%;
  height: 130px;
  margin-top: 24px;
}

.path-simulator path {
  fill: none;
  stroke: rgba(0, 255, 184, 0.78);
  stroke-width: 3;
  stroke-dasharray: 14 10;
  filter: drop-shadow(0 0 10px rgba(0, 255, 184, 0.5));
  animation: dashFlow 4s linear infinite;
}

.path-simulator circle {
  fill: var(--cyan);
  filter: drop-shadow(0 0 8px rgba(125, 211, 252, 0.9));
  animation: pathNode 4s ease-in-out infinite;
}

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

.fleet-grid b {
  aspect-ratio: 1.6;
  border: 1px solid rgba(125, 211, 252, 0.26);
  border-radius: 8px;
  background: radial-gradient(circle at 50% 50%, rgba(0, 255, 184, 0.2), rgba(56, 189, 248, 0.08));
  box-shadow: inset 0 0 20px rgba(125, 211, 252, 0.12);
  animation: fleetPulse 2.4s ease-in-out infinite;
}

.fleet-grid b:nth-child(2),
.fleet-grid b:nth-child(5) {
  animation-delay: 0.3s;
}

.fleet-grid b:nth-child(3),
.fleet-grid b:nth-child(6) {
  animation-delay: 0.6s;
}

.robot-scene-stack {
  display: grid;
  gap: 22px;
  max-width: 1060px;
  margin: 0 auto;
}

.robot-scene {
  position: relative;
  min-height: 180px;
  padding: 30px 34px 30px 160px;
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(15, 24, 42, 0.86), rgba(4, 7, 13, 0.9));
  box-shadow: var(--shadow);
}

.robot-scene::before {
  position: absolute;
  left: 34px;
  top: 50%;
  width: 82px;
  height: 82px;
  border: 1px solid rgba(0, 255, 184, 0.42);
  border-radius: 20px;
  background:
    linear-gradient(45deg, transparent 46%, rgba(0, 255, 184, 0.34) 47%, rgba(0, 255, 184, 0.34) 53%, transparent 54%),
    rgba(0, 255, 184, 0.08);
  box-shadow: 0 0 34px rgba(0, 255, 184, 0.14);
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.robot-scene span {
  color: #8cffdf;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.robot-scene h3 {
  margin: 8px 0 10px;
  color: var(--cyan);
  font-size: 26px;
}

.delivery-pipeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  position: relative;
}

.delivery-pipeline::before {
  position: absolute;
  left: 10%;
  right: 10%;
  top: 50%;
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 255, 184, 0.2), rgba(56, 189, 248, 0.84), rgba(124, 58, 237, 0.42));
  content: "";
  filter: drop-shadow(0 0 12px rgba(56, 189, 248, 0.44));
}

.delivery-node {
  z-index: 1;
  min-height: 240px;
  padding: 30px;
  border: 1px solid rgba(125, 211, 252, 0.2);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(13, 23, 39, 0.96), rgba(4, 7, 13, 0.9));
  box-shadow: var(--shadow);
}

.delivery-node strong {
  display: block;
  margin-bottom: 14px;
  color: var(--text);
  font-size: 23px;
  line-height: 1.25;
}

.robot-metrics .metric strong {
  color: #8cffdf;
}

@keyframes lidarSweep {
  50% {
    transform: translateZ(190px) rotateZ(54deg);
    opacity: 0.62;
  }
}

@keyframes pointPulse {
  50% {
    opacity: 0.35;
    transform: translateZ(206px) scale(1.6);
  }
}

@keyframes armServoOne {
  50% {
    transform: translateZ(104px) rotateZ(-26deg);
  }
}

@keyframes armServoTwo {
  50% {
    transform: translateZ(126px) rotateZ(18deg);
  }
}

@keyframes lidarMini {
  0% {
    transform: rotate(-58deg);
  }
  50% {
    transform: rotate(58deg);
  }
  100% {
    transform: rotate(-58deg);
  }
}

@keyframes pathNode {
  50% {
    transform: translate(210px, -74px);
  }
}

@keyframes fleetPulse {
  50% {
    border-color: rgba(0, 255, 184, 0.54);
    box-shadow: 0 0 22px rgba(0, 255, 184, 0.16), inset 0 0 24px rgba(125, 211, 252, 0.14);
  }
}

@media (prefers-reduced-motion: reduce) {
  .robot-scan-field,
  .scan-cone {
    display: none;
  }

  .arm-one,
  .arm-two,
  .mini-lidar::before,
  .path-simulator path,
  .path-simulator circle,
  .fleet-grid b,
  .point-cloud i {
    animation: none;
  }
}

@media (max-width: 1040px) {
  .robot-hero,
  .robot-tech-grid,
  .delivery-pipeline {
    grid-template-columns: 1fr;
  }

  .robot-viewport {
    min-height: 460px;
    transform: perspective(1200px) rotateX(58deg) rotateZ(-20deg) scale(0.82);
  }

  .delivery-pipeline::before {
    display: none;
  }
}

@media (max-width: 680px) {
  .robot-hero,
  .robot-core-section,
  .robot-app-section,
  .delivery-section {
    padding-left: 6%;
    padding-right: 6%;
  }

  .robot-hero-copy h1 {
    font-size: 38px;
  }

  .robot-viewport {
    min-height: 360px;
    transform: perspective(1200px) rotateX(58deg) rotateZ(-20deg) scale(0.64);
  }

  .robot-scene {
    padding: 120px 24px 26px;
  }

  .robot-scene::before {
    left: 24px;
    top: 28px;
    transform: rotate(45deg);
  }
}

.home-page {
  background:
    radial-gradient(circle at 14% 10%, rgba(56, 189, 248, 0.14), transparent 30%),
    radial-gradient(circle at 84% 26%, rgba(168, 85, 247, 0.14), transparent 34%),
    radial-gradient(circle at 60% 82%, rgba(0, 255, 184, 0.08), transparent 30%),
    linear-gradient(180deg, #030712 0%, #07111f 44%, #030712 100%);
}

.home-page .site-header {
  background: rgba(3, 7, 18, 0.86);
}

.home-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.94fr) minmax(340px, 1.06fr);
  gap: 46px;
  align-items: center;
  min-height: calc(100vh - 76px);
  overflow: hidden;
  padding: 92px 8% 118px;
  border-bottom: 1px solid rgba(125, 211, 252, 0.16);
  background:
    linear-gradient(115deg, rgba(3, 7, 18, 0.98), rgba(7, 17, 31, 0.74)),
    url("../images/hero-ai-network.png") center right / cover no-repeat;
  perspective: 1200px;
}

.home-hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(3, 7, 18, 0.92) 0%, rgba(3, 7, 18, 0.82) 36%, rgba(3, 7, 18, 0.42) 64%, rgba(3, 7, 18, 0.12) 100%),
    linear-gradient(180deg, rgba(3, 7, 18, 0.12), rgba(3, 7, 18, 0.54));
  content: "";
  pointer-events: none;
}

.home-hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(125, 211, 252, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 184, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  content: "";
  mask-image: linear-gradient(180deg, #000 0%, transparent 84%);
  transform: translateY(var(--home-scroll, 0));
}

.home-particle-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.84;
  mix-blend-mode: screen;
  transform: translate3d(var(--particle-x, 0), var(--particle-y, 0), 0);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.16) 0%, rgba(0, 0, 0, 0.32) 24%, rgba(0, 0, 0, 0.82) 54%, #000 78%);
  transition: transform 0.24s ease;
}

.home-hero-copy {
  position: relative;
  z-index: 4;
}

.home-hero-copy h1 {
  max-width: 900px;
  margin: 12px 0 22px;
  font-size: clamp(42px, 6vw, 74px);
  line-height: 1.08;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.72), 0 0 24px rgba(56, 189, 248, 0.2);
}

.home-hero-copy p {
  max-width: 780px;
  color: #e2e8f0;
  font-size: 18px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.72);
}

.home-core-visual {
  position: relative;
  z-index: 3;
  justify-self: end;
  width: min(100%, 640px);
  min-height: 560px;
  overflow: visible;
  isolation: isolate;
  contain: paint;
  border-radius: 8px;
  transform: perspective(1200px) rotateX(calc(50deg + var(--home-y, 0deg))) rotateZ(calc(-18deg + var(--home-x, 0deg)));
  transform-origin: 50% 54%;
  transform-style: preserve-3d;
  transition: transform 0.18s ease;
  will-change: transform;
}

.home-core-visual::before {
  position: absolute;
  z-index: 0;
  inset: 18% 5% 10%;
  border: 1px solid rgba(125, 211, 252, 0.18);
  background-image:
    linear-gradient(rgba(125, 211, 252, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 184, 0.08) 1px, transparent 1px);
  background-size: 36px 36px;
  box-shadow: inset 0 0 54px rgba(56, 189, 248, 0.1), 0 0 70px rgba(0, 255, 184, 0.1);
  content: "";
  transform: translateZ(-18px);
}

.home-core-visual::after {
  position: absolute;
  z-index: 0;
  inset: 6% 0 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(0, 255, 184, 0.16), transparent 34%),
    radial-gradient(ellipse at 50% 52%, rgba(168, 85, 247, 0.18), transparent 52%);
  content: "";
  filter: blur(18px);
  opacity: 0.74;
  transform: translateZ(-42px);
}

.home-network-plane {
  position: absolute;
  inset: 0;
  z-index: 2;
  transform: translateZ(44px);
  transform-style: preserve-3d;
}

.home-network-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 0 16px rgba(0, 255, 184, 0.35));
}

.network-line {
  fill: none;
  stroke: url("#homeLineGradient");
  stroke-linecap: round;
  stroke-width: 2.2;
  stroke-dasharray: 10 14;
  animation: homeNetworkFlow 5.8s linear infinite;
}

.line-loop {
  opacity: 0.62;
  stroke-width: 1.4;
  stroke-dasharray: 4 18;
  animation-duration: 12s;
  animation-direction: reverse;
}

.home-ping,
.home-satellite {
  position: absolute;
  z-index: 3;
  border-radius: 50%;
  pointer-events: none;
  transform-style: preserve-3d;
}

.home-ping {
  width: 74px;
  height: 74px;
  border: 1px solid rgba(0, 255, 184, 0.34);
  box-shadow: 0 0 34px rgba(0, 255, 184, 0.16), inset 0 0 28px rgba(125, 211, 252, 0.1);
  animation: homeSignalPulse 3.6s ease-in-out infinite;
}

.ping-a { left: 44%; top: 8%; transform: translateZ(78px); }
.ping-b { right: 5%; top: 41%; transform: translateZ(96px); animation-delay: 0.8s; }
.ping-c { left: 5%; top: 41%; transform: translateZ(96px); animation-delay: 1.6s; }

.home-satellite {
  width: 12px;
  height: 12px;
  background: #8cffdf;
  box-shadow: 0 0 18px rgba(0, 255, 184, 0.9), 0 0 34px rgba(125, 211, 252, 0.42);
  animation: homeSatelliteFloat 4.2s ease-in-out infinite;
}

.satellite-a { left: 48%; top: 18%; transform: translateZ(130px); }
.satellite-b { right: 18%; top: 51%; transform: translateZ(116px); animation-delay: 0.7s; }
.satellite-c { left: 48%; bottom: 18%; transform: translateZ(128px); animation-delay: 1.4s; }
.satellite-d { left: 18%; top: 51%; transform: translateZ(116px); animation-delay: 2.1s; }

.home-orbit {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(125, 211, 252, 0.32);
  border-radius: 50%;
  box-shadow: 0 0 42px rgba(56, 189, 248, 0.16), inset 0 0 38px rgba(168, 85, 247, 0.08);
  animation: orbitSpin 16s linear infinite;
}

.orbit-a {
  inset: 10% 5%;
}

.orbit-b {
  inset: 22% 17%;
  border-color: rgba(0, 255, 184, 0.28);
  animation-direction: reverse;
  animation-duration: 20s;
}

.orbit-c {
  inset: 33% 29%;
  border-color: rgba(168, 85, 247, 0.34);
  animation-duration: 12s;
}

.home-core {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(251, 191, 36, 0.44);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 32%, rgba(251, 191, 36, 0.2), transparent 42%),
    linear-gradient(145deg, rgba(15, 24, 42, 0.96), rgba(4, 8, 17, 0.84));
  box-shadow: 0 0 56px rgba(251, 191, 36, 0.14), 0 0 90px rgba(56, 189, 248, 0.12);
  color: var(--cyan);
  font-weight: 900;
  letter-spacing: 0.1em;
  text-shadow: 0 0 14px rgba(125, 211, 252, 0.6);
  transform: translate(-50%, -50%) translateZ(104px) rotateX(-8deg);
  animation: homeCorePulse 3s ease-in-out infinite;
}

.home-core::before,
.home-core::after {
  position: absolute;
  inset: -18px;
  border: 1px solid rgba(251, 191, 36, 0.24);
  border-radius: 50%;
  content: "";
  animation: homeCoreRing 3.2s ease-out infinite;
}

.home-core::after {
  inset: -34px;
  border-color: rgba(0, 255, 184, 0.18);
  animation-delay: 1.2s;
}

.home-core span,
.home-core small {
  position: relative;
  z-index: 1;
}

.home-core small {
  color: #fef3c7;
  font-size: 12px;
  letter-spacing: 0.16em;
}

.home-node {
  position: absolute;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 126px;
  min-height: 84px;
  padding: 12px 10px;
  border: 1px solid rgba(125, 211, 252, 0.32);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 255, 184, 0.14), transparent 42%),
    linear-gradient(145deg, rgba(10, 20, 36, 0.98), rgba(4, 8, 17, 0.9));
  box-shadow: 0 14px 40px rgba(2, 8, 23, 0.36), 0 0 30px rgba(56, 189, 248, 0.16), inset 0 0 22px rgba(125, 211, 252, 0.1);
  color: #dffef7;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.72), 0 0 12px rgba(0, 255, 184, 0.42);
  backface-visibility: hidden;
  transform: translateZ(86px) rotateX(-7deg);
  animation: homeNodePulse 4s ease-in-out infinite;
}

.home-core-visual .node-system {
  left: 41%;
  top: 8%;
  right: auto;
  bottom: auto;
}

.home-core-visual .node-robot {
  right: 4%;
  top: 43%;
  left: auto;
  bottom: auto;
  animation-delay: 0.35s;
}

.home-core-visual .node-chain {
  left: 42%;
  bottom: 7%;
  top: auto;
  right: auto;
  animation-delay: 0.7s;
}

.home-core-visual .node-data {
  left: 4%;
  top: 43%;
  right: auto;
  bottom: auto;
  animation-delay: 1.05s;
}

.home-node b {
  color: #f8fafc;
  font-size: 15px;
  line-height: 1.2;
}

.home-node small {
  color: #8cffdf;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.home-node::after {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 9px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 184, 0.78), transparent);
  box-shadow: 0 0 12px rgba(0, 255, 184, 0.52);
  content: "";
  opacity: 0.72;
  transform: scaleX(0.42);
  transform-origin: center;
  animation: homeNodeScan 2.6s ease-in-out infinite;
}

.home-data-beam {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 13%;
  width: 5px;
  height: 76%;
  background: linear-gradient(180deg, transparent, rgba(125, 211, 252, 0.96), rgba(0, 255, 184, 0.42), transparent);
  box-shadow: 0 0 30px rgba(125, 211, 252, 0.42);
  transform: translateZ(68px);
  animation: beamScan 2.8s ease-in-out infinite;
}

.home-tactile {
  position: relative;
  overflow: hidden;
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateZ(0);
  transform-style: preserve-3d;
}

.home-tactile::before {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 50%), rgba(125, 211, 252, 0.24), transparent 34%);
  content: "";
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.home-tactile:hover::before {
  opacity: 1;
}

.home-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid rgba(125, 211, 252, 0.16);
  background: rgba(4, 8, 17, 0.78);
}

.home-feature-section {
  position: relative;
}

.home-feature-section::before {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.08), transparent 42%);
  content: "";
  pointer-events: none;
}

.home-cards {
  position: relative;
  z-index: 1;
}

.home-cards .card {
  min-height: 270px;
  background: linear-gradient(145deg, rgba(10, 20, 36, 0.96), rgba(4, 8, 17, 0.9));
  border-color: rgba(125, 211, 252, 0.26);
}

.home-cards .card h3 {
  color: #b7efff;
  text-shadow: 0 0 14px rgba(56, 189, 248, 0.34);
}

.home-cards .card p {
  color: #d7e3f0;
}

.home-flow-section {
  padding: 92px 8%;
  border-top: 1px solid rgba(125, 211, 252, 0.12);
  background: linear-gradient(180deg, rgba(15, 24, 42, 0.42), rgba(4, 8, 17, 0.78));
}

.home-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.home-flow-item {
  min-height: 230px;
  padding: 30px;
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(13, 23, 39, 0.94), rgba(4, 8, 17, 0.86)),
    radial-gradient(circle at 82% 0%, rgba(0, 255, 184, 0.1), transparent 42%);
  box-shadow: var(--shadow);
}

.home-flow-item strong {
  display: block;
  margin-bottom: 14px;
  color: var(--cyan);
  font-size: 24px;
  line-height: 1.25;
}

.home-flow-item p {
  color: var(--muted);
}

.chat-page {
  background:
    radial-gradient(circle at 18% 12%, rgba(0, 255, 184, 0.11), transparent 30%),
    radial-gradient(circle at 82% 22%, rgba(168, 85, 247, 0.14), transparent 32%),
    linear-gradient(180deg, #040811 0%, #07111f 48%, #030712 100%);
}

.chat-page .site-header {
  background: rgba(4, 8, 17, 0.88);
}

.chat-shell {
  min-height: calc(100vh - 134px);
}

.chat-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(360px, 1.18fr);
  gap: 42px;
  align-items: center;
  min-height: calc(100vh - 76px);
  overflow: hidden;
  padding: 84px 8%;
  border-bottom: 1px solid rgba(125, 211, 252, 0.16);
  background:
    linear-gradient(115deg, rgba(4, 8, 17, 0.95), rgba(7, 17, 31, 0.76)),
    url("../images/hero-ai-network.png") center right / cover no-repeat;
}

.chat-hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(125, 211, 252, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 184, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
  mask-image: linear-gradient(180deg, #000 0%, transparent 86%);
}

.chat-copy,
.chat-console {
  position: relative;
  z-index: 1;
}

.chat-copy h1 {
  max-width: 760px;
  margin: 12px 0 22px;
  font-size: clamp(40px, 5.5vw, 66px);
  line-height: 1.08;
}

.chat-copy p:last-child {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
}

.chat-console {
  display: grid;
  grid-template-rows: auto minmax(360px, 54vh) auto;
  min-height: 620px;
  border: 1px solid rgba(125, 211, 252, 0.22);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(15, 24, 42, 0.93), rgba(4, 8, 17, 0.9)),
    radial-gradient(circle at 82% 0%, rgba(0, 255, 184, 0.12), transparent 42%);
  box-shadow: var(--shadow);
}

.chat-status {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  color: #8cffdf;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.chat-status::before {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #8cffdf;
  box-shadow: 0 0 18px rgba(140, 255, 223, 0.82);
  content: "";
}

.chat-status.is-error {
  color: #fca5a5;
}

.chat-status.is-error::before {
  background: #fca5a5;
  box-shadow: 0 0 18px rgba(252, 165, 165, 0.72);
}

.chat-log {
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow-y: auto;
  padding: 24px;
  scroll-behavior: smooth;
}

.chat-message {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  max-width: 88%;
}

.chat-message.user {
  align-self: flex-end;
  grid-template-columns: minmax(0, 1fr) 38px;
}

.chat-message.user .chat-avatar {
  grid-column: 2;
  grid-row: 1;
}

.chat-message.user .chat-bubble {
  grid-column: 1;
  grid-row: 1;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(99, 102, 241, 0.22));
  border-color: rgba(125, 211, 252, 0.32);
}

.chat-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(125, 211, 252, 0.28);
  border-radius: 50%;
  background: rgba(4, 8, 17, 0.76);
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
}

.chat-bubble {
  min-width: 0;
  padding: 15px 17px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.78);
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.chat-form {
  display: grid;
  gap: 14px;
  padding: 20px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(4, 8, 17, 0.72);
}

.chat-form textarea {
  width: 100%;
  min-height: 108px;
  resize: vertical;
  border: 1px solid rgba(125, 211, 252, 0.22);
  border-radius: 8px;
  outline: none;
  background: rgba(2, 6, 23, 0.64);
  color: var(--text);
  font: inherit;
  line-height: 1.58;
  padding: 15px 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.chat-form textarea:focus {
  border-color: rgba(0, 255, 184, 0.5);
  box-shadow: 0 0 0 3px rgba(0, 255, 184, 0.1);
}

.chat-form textarea::placeholder {
  color: #64748b;
}

.chat-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.chat-actions .btn {
  min-width: 108px;
  border-radius: 8px;
}

.chat-actions .btn:disabled {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes homeNetworkFlow {
  to {
    stroke-dashoffset: -168;
  }
}

@keyframes homeSignalPulse {
  0%,
  100% {
    opacity: 0.22;
    scale: 0.68;
  }

  48% {
    opacity: 0.88;
    scale: 1.08;
  }
}

@keyframes homeSatelliteFloat {
  50% {
    translate: 0 -12px;
    scale: 1.24;
  }
}

@keyframes homeCorePulse {
  50% {
    border-color: rgba(251, 191, 36, 0.72);
    box-shadow: 0 0 68px rgba(251, 191, 36, 0.2), 0 0 112px rgba(56, 189, 248, 0.2), inset 0 0 34px rgba(125, 211, 252, 0.18);
  }
}

@keyframes homeCoreRing {
  0% {
    opacity: 0.78;
    scale: 0.82;
  }

  100% {
    opacity: 0;
    scale: 1.26;
  }
}

@keyframes homeNodePulse {
  50% {
    border-color: rgba(0, 255, 184, 0.48);
    box-shadow: 0 18px 48px rgba(2, 8, 23, 0.42), 0 0 36px rgba(0, 255, 184, 0.2), inset 0 0 28px rgba(125, 211, 252, 0.14);
  }
}

@keyframes homeNodeScan {
  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-particle-field,
  .home-network-lines .network-line,
  .home-ping,
  .home-satellite,
  .home-orbit,
  .home-core,
  .home-core::before,
  .home-core::after,
  .home-node,
  .home-node::after,
  .home-data-beam {
    animation: none;
  }
}

@media (max-width: 1040px) {
  .home-hero,
  .home-flow,
  .chat-hero {
    grid-template-columns: 1fr;
  }

  .home-core-visual {
    min-height: 430px;
    justify-self: center;
    transform: perspective(1200px) rotateX(50deg) rotateZ(-18deg) scale(0.82);
  }
}

@media (max-width: 680px) {
  .home-hero,
  .home-flow-section,
  .chat-hero {
    padding-left: 6%;
    padding-right: 6%;
  }

  .home-hero-copy h1,
  .chat-copy h1 {
    font-size: 38px;
  }

  .chat-console {
    grid-template-rows: auto minmax(320px, 52vh) auto;
    min-height: 560px;
  }

  .chat-log {
    padding: 18px;
  }

  .chat-message {
    max-width: 100%;
  }

  .chat-actions {
    flex-direction: column-reverse;
  }

  .chat-actions .btn {
    width: 100%;
  }

  .home-core-visual {
    min-height: 330px;
    transform: perspective(1200px) rotateX(48deg) rotateZ(-18deg) scale(0.62);
    transform-origin: 50% 45%;
  }

  .home-core {
    width: 164px;
    height: 164px;
  }

  .home-node {
    width: 118px;
    min-height: 80px;
  }

  .home-metrics {
    grid-template-columns: 1fr;
  }
}

.join-page {
  background:
    radial-gradient(circle at 16% 10%, rgba(56, 189, 248, 0.13), transparent 30%),
    radial-gradient(circle at 86% 34%, rgba(0, 255, 184, 0.1), transparent 34%),
    linear-gradient(180deg, #040811 0%, #07111f 44%, #030712 100%);
}

.join-page .site-header {
  background: rgba(4, 8, 17, 0.86);
}

.join-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.94fr) minmax(340px, 1.06fr);
  gap: 46px;
  align-items: center;
  min-height: calc(100vh - 76px);
  overflow: hidden;
  padding: 92px 8% 118px;
  border-bottom: 1px solid rgba(125, 211, 252, 0.16);
  background:
    linear-gradient(115deg, rgba(4, 8, 17, 0.98), rgba(7, 17, 31, 0.72)),
    url("../images/hero-ai-network.png") center right / cover no-repeat;
  perspective: 1200px;
}

.join-hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(125, 211, 252, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 184, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  content: "";
  mask-image: linear-gradient(180deg, #000 0%, transparent 84%);
}

.join-particle-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.82;
}

.join-hero-copy {
  position: relative;
  z-index: 2;
}

.join-hero-copy h1 {
  max-width: 880px;
  margin: 12px 0 22px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.08;
}

.join-hero-copy p {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.join-orbit {
  position: relative;
  z-index: 2;
  min-height: 560px;
  transform: perspective(1200px) rotateX(calc(58deg + var(--join-y, 0deg))) rotateZ(calc(-20deg + var(--join-x, 0deg)));
  transform-style: preserve-3d;
  transition: transform 0.18s ease;
}

.join-orbit::before,
.join-orbit::after {
  position: absolute;
  inset: 13% 7%;
  border: 1px solid rgba(125, 211, 252, 0.3);
  border-radius: 50%;
  box-shadow: 0 0 46px rgba(56, 189, 248, 0.16), inset 0 0 36px rgba(0, 255, 184, 0.08);
  content: "";
  animation: orbitSpin 16s linear infinite;
}

.join-orbit::after {
  inset: 24% 18%;
  border-color: rgba(0, 255, 184, 0.26);
  animation-direction: reverse;
  animation-duration: 20s;
}

.talent-core {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(251, 191, 36, 0.42);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 34%, rgba(251, 191, 36, 0.2), transparent 42%),
    linear-gradient(145deg, rgba(15, 24, 42, 0.96), rgba(4, 8, 17, 0.84));
  box-shadow: 0 0 56px rgba(251, 191, 36, 0.14), 0 0 90px rgba(56, 189, 248, 0.12);
  color: var(--cyan);
  font-weight: 900;
  letter-spacing: 0.14em;
  transform: translate(-50%, -50%) translateZ(154px);
}

.talent-node {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 104px;
  height: 74px;
  border: 1px solid rgba(125, 211, 252, 0.34);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(10, 20, 36, 0.94), rgba(4, 8, 17, 0.76));
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.16), inset 0 0 22px rgba(125, 211, 252, 0.1);
  color: #8cffdf;
  font-size: 13px;
  font-weight: 900;
  transform: translateZ(134px);
}

.node-ai { left: 45%; top: 8%; }
.node-robot { right: 8%; top: 38%; }
.node-chain { right: 26%; bottom: 10%; }
.node-system { left: 18%; bottom: 12%; }
.node-product { left: 8%; top: 38%; }

.join-tactile {
  position: relative;
  overflow: hidden;
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateZ(0);
  transform-style: preserve-3d;
}

.join-tactile::before {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 50%), rgba(125, 211, 252, 0.24), transparent 34%);
  content: "";
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.join-tactile:hover::before {
  opacity: 1;
}

.join-section,
.join-culture-section {
  padding: 92px 8%;
}

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

.join-role-card {
  min-height: 310px;
  padding: 28px;
  border: 1px solid rgba(125, 211, 252, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(13, 23, 39, 0.94), rgba(4, 8, 17, 0.86)),
    radial-gradient(circle at 82% 0%, rgba(0, 255, 184, 0.14), transparent 42%);
  box-shadow: var(--shadow);
}

.join-role-card span {
  color: #8cffdf;
  font-weight: 900;
}

.join-role-card h3 {
  margin: 16px 0 12px;
  color: var(--cyan);
  font-size: 23px;
  line-height: 1.25;
}

.join-role-card p,
.join-flow-item p {
  color: var(--muted);
}

.join-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.join-flow-item {
  min-height: 220px;
  padding: 30px;
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(15, 24, 42, 0.88), rgba(4, 8, 17, 0.9));
  box-shadow: var(--shadow);
}

.join-flow-item strong {
  display: block;
  margin-bottom: 12px;
  color: var(--text);
  font-size: 25px;
}

@media (prefers-reduced-motion: reduce) {
  .join-particle-field,
  .join-orbit::before,
  .join-orbit::after {
    animation: none;
  }
}

@media (max-width: 1100px) {
  .join-hero,
  .join-role-grid,
  .join-flow {
    grid-template-columns: 1fr;
  }

  .join-orbit {
    min-height: 440px;
    transform: perspective(1200px) rotateX(58deg) rotateZ(-20deg) scale(0.84);
  }
}

@media (max-width: 680px) {
  .join-hero,
  .join-section,
  .join-culture-section {
    padding-left: 6%;
    padding-right: 6%;
  }

  .join-hero-copy h1 {
    font-size: 38px;
  }

  .join-orbit {
    min-height: 330px;
    transform: perspective(1200px) rotateX(58deg) rotateZ(-20deg) scale(0.64);
  }
}

.blockchain-page {
  background:
    radial-gradient(circle at 16% 10%, rgba(125, 211, 252, 0.12), transparent 30%),
    radial-gradient(circle at 80% 24%, rgba(168, 85, 247, 0.18), transparent 34%),
    linear-gradient(180deg, #030612 0%, #07111f 44%, #030712 100%);
}

.blockchain-page .site-header {
  background: rgba(3, 6, 18, 0.86);
}

.trust-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.94fr) minmax(360px, 1.06fr);
  gap: 46px;
  align-items: center;
  min-height: calc(100vh - 76px);
  overflow: hidden;
  padding: 92px 8% 118px;
  border-bottom: 1px solid rgba(168, 85, 247, 0.2);
  background:
    linear-gradient(115deg, rgba(3, 6, 18, 0.98), rgba(7, 17, 31, 0.72)),
    url("../images/hero-ai-network.png") center right / cover no-repeat;
  perspective: 1200px;
}

.trust-hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(125, 211, 252, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 85, 247, 0.08) 1px, transparent 1px);
  background-size: 58px 58px;
  content: "";
  mask-image: linear-gradient(180deg, #000 0%, transparent 84%);
  transform: translateY(var(--trust-scroll, 0));
}

.trust-particle-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.86;
}

.trust-hero-copy {
  position: relative;
  z-index: 2;
}

.trust-hero-copy h1 {
  max-width: 880px;
  margin: 12px 0 22px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.08;
}

.trust-hero-copy p {
  max-width: 780px;
  color: var(--muted);
  font-size: 18px;
}

.trust-chain-stage {
  position: relative;
  z-index: 2;
  min-height: 560px;
  transform: perspective(1200px) rotateX(calc(58deg + var(--chain-y, 0deg))) rotateZ(calc(-19deg + var(--chain-x, 0deg)));
  transform-style: preserve-3d;
  transition: transform 0.18s ease;
}

.trust-chain-stage::before {
  position: absolute;
  left: 3%;
  right: 3%;
  bottom: 8%;
  height: 58%;
  border: 1px solid rgba(168, 85, 247, 0.22);
  background-image:
    linear-gradient(rgba(125, 211, 252, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 85, 247, 0.1) 1px, transparent 1px);
  background-size: 36px 36px;
  box-shadow: inset 0 0 48px rgba(168, 85, 247, 0.1), 0 0 60px rgba(125, 211, 252, 0.08);
  content: "";
  transform: translateZ(-18px);
}

.crystal-topology {
  position: absolute;
  inset: 10% 4% 12%;
  transform-style: preserve-3d;
}

.crystal-topology::before,
.crystal-topology::after {
  position: absolute;
  inset: 18% 16%;
  border: 1px solid rgba(125, 211, 252, 0.28);
  clip-path: polygon(50% 0%, 100% 36%, 82% 100%, 18% 100%, 0% 36%);
  content: "";
  filter: drop-shadow(0 0 18px rgba(125, 211, 252, 0.24));
  animation: crystalSpin 16s linear infinite;
}

.crystal-topology::after {
  inset: 26% 24%;
  border-color: rgba(168, 85, 247, 0.36);
  animation-direction: reverse;
  animation-duration: 20s;
}

.crystal-node {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(125, 211, 252, 0.72);
  border-radius: 50%;
  background: rgba(125, 211, 252, 0.22);
  box-shadow: 0 0 28px rgba(125, 211, 252, 0.6);
  transform: translateZ(150px);
}

.crystal-node.n1 { left: 48%; top: 5%; }
.crystal-node.n2 { right: 11%; top: 34%; background: rgba(168, 85, 247, 0.2); }
.crystal-node.n3 { right: 24%; bottom: 10%; }
.crystal-node.n4 { left: 18%; bottom: 12%; background: rgba(168, 85, 247, 0.2); }
.crystal-node.n5 { left: 9%; top: 35%; }

.chain-rail {
  position: absolute;
  inset: 28% 4% 22%;
  transform-style: preserve-3d;
}

.chain-rail::before {
  position: absolute;
  left: 7%;
  right: 7%;
  top: 48%;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(125, 211, 252, 0.12), rgba(168, 85, 247, 0.9), rgba(0, 255, 184, 0.72));
  box-shadow: 0 0 28px rgba(168, 85, 247, 0.38);
  content: "";
  transform: translateZ(86px) scaleX(calc(0.35 + var(--chain-progress, 0) * 0.65));
  transform-origin: left center;
}

.trust-block {
  position: absolute;
  top: 50%;
  width: 144px;
  min-height: 104px;
  padding: 18px;
  border: 1px solid rgba(125, 211, 252, 0.32);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(9, 16, 31, 0.96), rgba(15, 23, 42, 0.72)),
    radial-gradient(circle at 50% 0%, rgba(168, 85, 247, 0.22), transparent 48%);
  box-shadow: 0 0 36px rgba(168, 85, 247, 0.18), inset 0 0 26px rgba(125, 211, 252, 0.12);
  transform: translateY(-50%) translateZ(118px);
  animation: blockFloat 3.8s ease-in-out infinite;
}

.trust-block span {
  display: block;
  color: #a78bfa;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.trust-block strong {
  display: block;
  margin-top: 10px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.3;
}

.block-one { left: 2%; }
.block-two { left: 29%; animation-delay: 0.25s; }
.block-three { right: 28%; animation-delay: 0.5s; }
.block-four { right: 2%; animation-delay: 0.75s; }

.decrypt-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(0, 255, 184, 0.38);
  border-radius: 50%;
  color: #8cffdf;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  box-shadow: 0 0 36px rgba(0, 255, 184, 0.2), inset 0 0 28px rgba(0, 255, 184, 0.12);
  transform: translate(-50%, -50%) translateZ(180px);
  animation: decryptPulse 2.8s ease-in-out infinite;
}

.trust-tactile {
  position: relative;
  overflow: hidden;
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateZ(0);
  transform-style: preserve-3d;
}

.trust-tactile::before {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 50%), rgba(168, 85, 247, 0.24), transparent 34%);
  content: "";
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.trust-tactile:hover::before {
  opacity: 1;
}

.trust-chain-section,
.trust-scenes-section,
.ledger-section {
  padding: 92px 8%;
}

.trust-flow-board {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px;
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(9, 16, 31, 0.9), rgba(3, 6, 18, 0.92));
  box-shadow: var(--shadow);
}

.trust-flow-board::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(125, 211, 252, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 85, 247, 0.08) 1px, transparent 1px);
  background-size: 34px 34px;
  content: "";
}

.trust-flow-line {
  position: absolute;
  left: 7%;
  right: 7%;
  top: 50%;
  height: 2px;
  background: linear-gradient(90deg, rgba(125, 211, 252, 0.2), rgba(168, 85, 247, 0.9), rgba(0, 255, 184, 0.72));
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.5);
}

.trust-step {
  z-index: 1;
  min-height: 250px;
  padding: 26px;
  border: 1px solid rgba(125, 211, 252, 0.2);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.92), rgba(3, 6, 18, 0.82));
}

.trust-step span {
  color: #a78bfa;
  font-weight: 900;
}

.trust-step h3 {
  margin: 14px 0 10px;
  color: var(--cyan);
  font-size: 23px;
}

.trust-step p,
.trust-scene-card p,
.ledger-layer p {
  color: var(--muted);
}

.trust-scene-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.trust-scene-card {
  min-height: 380px;
  padding: 30px;
  border: 1px solid rgba(125, 211, 252, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(13, 23, 39, 0.94), rgba(3, 6, 18, 0.86)),
    radial-gradient(circle at 80% 0%, rgba(168, 85, 247, 0.2), transparent 42%);
  box-shadow: var(--shadow);
}

.scene-code {
  color: #8cffdf;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trust-scene-card h3 {
  margin: 16px 0 12px;
  color: var(--cyan);
  font-size: 24px;
  line-height: 1.25;
}

.voucher-stack {
  position: relative;
  height: 118px;
  margin-top: 30px;
}

.voucher-stack b {
  position: absolute;
  left: 12%;
  width: 72%;
  height: 54px;
  border: 1px solid rgba(125, 211, 252, 0.28);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(125, 211, 252, 0.12), rgba(168, 85, 247, 0.18));
  box-shadow: 0 0 22px rgba(168, 85, 247, 0.14);
}

.voucher-stack b:nth-child(1) { top: 0; transform: rotate(-6deg); }
.voucher-stack b:nth-child(2) { top: 30px; transform: rotate(2deg); }
.voucher-stack b:nth-child(3) { top: 60px; transform: rotate(8deg); }

.trace-map {
  width: 100%;
  height: 140px;
  margin-top: 28px;
}

.trace-map path {
  fill: none;
  stroke: rgba(0, 255, 184, 0.78);
  stroke-width: 3;
  stroke-dasharray: 14 10;
  filter: drop-shadow(0 0 10px rgba(0, 255, 184, 0.44));
  animation: dashFlow 4s linear infinite;
}

.trace-map circle {
  fill: #a78bfa;
  filter: drop-shadow(0 0 9px rgba(168, 85, 247, 0.9));
}

.contract-console {
  display: grid;
  gap: 10px;
  margin-top: 30px;
  padding: 18px;
  border: 1px solid rgba(168, 85, 247, 0.24);
  border-radius: 8px;
  background: rgba(3, 6, 18, 0.72);
}

.contract-console i {
  color: #8cffdf;
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
  font-style: normal;
}

.ledger-stack {
  display: grid;
  gap: 18px;
  max-width: 1040px;
  margin: 0 auto;
}

.ledger-layer {
  position: relative;
  min-height: 150px;
  padding: 28px 34px 28px 140px;
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(15, 24, 42, 0.88), rgba(3, 6, 18, 0.9));
  box-shadow: var(--shadow);
}

.ledger-layer::before {
  position: absolute;
  left: 34px;
  top: 50%;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(168, 85, 247, 0.45);
  background:
    linear-gradient(45deg, transparent 46%, rgba(168, 85, 247, 0.35) 47%, rgba(168, 85, 247, 0.35) 53%, transparent 54%),
    rgba(168, 85, 247, 0.08);
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.16);
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.ledger-layer strong {
  display: block;
  margin-bottom: 10px;
  color: var(--text);
  font-size: 24px;
}

.trust-metrics .metric strong {
  color: #a78bfa;
}

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

@keyframes blockFloat {
  50% {
    transform: translateY(calc(-50% - 10px)) translateZ(138px);
    border-color: rgba(0, 255, 184, 0.46);
  }
}

@keyframes decryptPulse {
  50% {
    box-shadow: 0 0 54px rgba(0, 255, 184, 0.3), inset 0 0 34px rgba(168, 85, 247, 0.16);
    transform: translate(-50%, -50%) translateZ(196px) scale(1.05);
  }
}

@media (prefers-reduced-motion: reduce) {
  .trust-particle-field {
    display: none;
  }

  .crystal-topology::before,
  .crystal-topology::after,
  .trust-block,
  .decrypt-ring,
  .trace-map path {
    animation: none;
  }
}

@media (max-width: 1040px) {
  .trust-hero,
  .trust-flow-board,
  .trust-scene-grid {
    grid-template-columns: 1fr;
  }

  .trust-chain-stage {
    min-height: 460px;
    transform: perspective(1200px) rotateX(58deg) rotateZ(-19deg) scale(0.82);
  }

  .trust-flow-line {
    display: none;
  }
}

@media (max-width: 680px) {
  .trust-hero,
  .trust-chain-section,
  .trust-scenes-section,
  .ledger-section {
    padding-left: 6%;
    padding-right: 6%;
  }

  .trust-hero-copy h1 {
    font-size: 38px;
  }

  .trust-chain-stage {
    min-height: 360px;
    transform: perspective(1200px) rotateX(58deg) rotateZ(-19deg) scale(0.62);
  }

  .trust-block {
    width: 132px;
  }

  .ledger-layer {
    padding: 112px 24px 26px;
  }

  .ledger-layer::before {
    left: 24px;
    top: 28px;
    transform: rotate(45deg);
  }
}
