:root {
  --bg-0: #030613;
  --bg-1: #07162a;
  --bg-2: #101042;
  --ink: #f8fbff;
  --muted: #b7c7d7;
  --soft: #7f96aa;
  --cyan: #22d3ee;
  --cyan-2: #7dd3fc;
  --violet: #a78bfa;
  --violet-2: #7c3aed;
  --amber: #f59e0b;
  --orange: #f97316;
  --green: #22c55e;
  --line: rgba(196, 181, 253, 0.38);
  --glass: rgba(255, 255, 255, 0.09);
  --glass-strong: rgba(255, 255, 255, 0.14);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 55% 8%, rgba(167, 139, 250, 0.34), transparent 28rem),
    radial-gradient(circle at 88% 42%, rgba(34, 211, 238, 0.22), transparent 30rem),
    radial-gradient(circle at 10% 84%, rgba(245, 158, 11, 0.18), transparent 26rem),
    linear-gradient(135deg, var(--bg-0), var(--bg-2) 48%, var(--bg-1));
  font-family:
    "Source Han Sans SC",
    "HarmonyOS Sans SC",
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  content: "";
  background-image:
    linear-gradient(rgba(125, 211, 252, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 211, 252, 0.075) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 88%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(120deg, transparent 0 18%, rgba(255, 255, 255, 0.06) 18.3%, transparent 18.8%),
    radial-gradient(circle at 50% 50%, transparent 0 45%, rgba(255, 255, 255, 0.05) 46%, transparent 47%);
  opacity: 0.7;
}

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

.site-shell {
  width: min(100%, 1480px);
  margin: 0 auto;
  padding: 24px;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(4, 14, 29, 0.72);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(20px);
}

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

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 14px;
  color: #03111f;
  background: linear-gradient(135deg, #ffffff, var(--cyan), var(--violet));
  font-weight: 950;
  box-shadow: 0 0 24px rgba(167, 139, 250, 0.38);
}

.brand strong,
.brand em {
  display: block;
  line-height: 1.2;
}

.brand strong {
  font-size: 16px;
  letter-spacing: 0.03em;
}

.brand em {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #dcecff;
  font-size: 14px;
}

.site-nav a {
  padding: 10px 13px;
  border-radius: 999px;
  transition:
    color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.site-nav a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.site-nav .nav-cta {
  color: #06111d;
  background: linear-gradient(135deg, #ffffff, #b9ecff 44%, #c4b5fd);
  font-weight: 850;
}

.nav-toggle {
  display: none;
}

main {
  max-width: var(--max);
  margin: 0 auto;
}

.section-grid,
.pain-section,
.capabilities,
.services,
.team,
.cta-section {
  position: relative;
  margin-top: 86px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.36fr) minmax(320px, 0.64fr);
  align-items: center;
  gap: 44px;
  min-height: 720px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--cyan-2);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 28px;
  font-size: clamp(52px, 5.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

h1 .line {
  display: block;
  white-space: nowrap;
}

.hero-lede {
  max-width: 760px;
  color: #d4f4ff;
  font-size: clamp(22px, 2.3vw, 30px);
  font-weight: 780;
  line-height: 1.55;
}

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

.hero-actions {
  margin-top: 26px;
}

.hero-positioning {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 820px;
  margin-top: 28px;
}

.hero-positioning article {
  position: relative;
  min-height: 138px;
  padding: 20px;
  border: 1px solid rgba(196, 181, 253, 0.42);
  border-radius: 24px;
  background:
    radial-gradient(circle at 90% 12%, rgba(167, 139, 250, 0.2), transparent 7rem),
    rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.hero-positioning article::after {
  position: absolute;
  right: -46px;
  bottom: -58px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 64%);
  content: "";
}

.hero-positioning span {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 5px 10px;
  border: 1px solid rgba(125, 211, 252, 0.42);
  border-radius: 999px;
  color: var(--cyan-2);
  background: rgba(34, 211, 238, 0.08);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.hero-positioning strong {
  display: block;
  margin-bottom: 10px;
  color: #ffffff;
  font-size: 21px;
  line-height: 1.25;
}

.hero-positioning p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.7;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: inherit;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

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

.button.primary {
  color: #020817;
  background: linear-gradient(135deg, #ffffff, #73e8ff 38%, #a78bfa 76%, #f59e0b);
  box-shadow: 0 18px 52px rgba(34, 211, 238, 0.25);
}

.button.ghost {
  color: #e9f8ff;
  background: rgba(255, 255, 255, 0.08);
}

.button.large {
  min-height: 56px;
  padding: 0 30px;
  white-space: nowrap;
}

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.proof-strip span,
.team-card li {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 14px;
  border: 1px solid rgba(196, 181, 253, 0.42);
  border-radius: 999px;
  color: #f1f6ff;
  background: rgba(255, 255, 255, 0.09);
  font-size: 13px;
  font-weight: 760;
}

.hero-orbit {
  position: relative;
  min-height: 500px;
}

.orbit-card {
  position: relative;
  height: 500px;
  border: 1px solid var(--line);
  border-radius: 42px;
  background:
    radial-gradient(circle at 45% 44%, rgba(167, 139, 250, 0.3), transparent 13rem),
    radial-gradient(circle at 60% 64%, rgba(34, 211, 238, 0.18), transparent 15rem),
    rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  overflow: hidden;
}

.orbit-card::before {
  position: absolute;
  inset: 22px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 32px;
}

.scan-line {
  position: absolute;
  top: 0;
  left: 14%;
  width: 16%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  filter: blur(6px);
  animation: scan 5.5s linear infinite;
}

.orbit-ring {
  position: absolute;
  inset: 76px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  transform: rotate(-16deg);
}

.ring-two {
  inset: 116px 54px;
  border-color: rgba(34, 211, 238, 0.32);
  transform: rotate(28deg);
}

.core-node {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 142px;
  height: 142px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, #ffffff, #70e6ff 33%, #7c3aed 82%);
  box-shadow: 0 0 58px rgba(167, 139, 250, 0.42);
  transform: translate(-50%, -50%);
}

.core-node strong {
  color: #030613;
  font-size: 54px;
  line-height: 0.9;
}

.core-node span {
  color: #081222;
  font-size: 15px;
  font-weight: 900;
}

.node {
  position: absolute;
  display: grid;
  min-width: 70px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(3, 7, 18, 0.56);
  color: #eef9ff;
  font-weight: 850;
  box-shadow: 0 0 28px rgba(34, 211, 238, 0.18);
}

.node-a {
  top: 92px;
  left: 92px;
}

.node-b {
  top: 112px;
  right: 82px;
}

.node-c {
  right: 72px;
  bottom: 116px;
}

.node-d {
  bottom: 94px;
  left: 82px;
}

.signal-card {
  position: absolute;
  right: 42px;
  bottom: 42px;
  width: 198px;
  padding: 18px;
  border: 1px solid rgba(125, 211, 252, 0.38);
  border-radius: 22px;
  background: rgba(4, 14, 29, 0.68);
}

.signal-card span,
.signal-card strong {
  display: block;
}

.signal-card span {
  color: var(--muted);
  font-size: 13px;
}

.signal-card strong {
  margin-top: 8px;
  font-size: 22px;
}

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

.section-heading.compact {
  max-width: 960px;
}

.section-heading h2,
.team-card h2,
.cta-section h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.12;
  letter-spacing: -0.05em;
}

.section-heading p:not(.eyebrow),
.team-card p,
.cta-section p {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.75;
}

.pain-panel,
.team-card,
.cta-section {
  border: 1px solid rgba(196, 181, 253, 0.4);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 72% 18%, rgba(167, 139, 250, 0.2), transparent 18rem),
    radial-gradient(circle at 18% 100%, rgba(34, 211, 238, 0.16), transparent 20rem),
    rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.13);
}

.pain-panel {
  margin-top: 28px;
  padding: 42px;
}

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

.pain-grid article {
  position: relative;
  min-height: 62px;
  padding: 20px 20px 18px 52px;
  border: 1px solid rgba(125, 211, 252, 0.5);
  border-radius: 18px;
  background: rgba(4, 22, 37, 0.58);
  color: #f3fbff;
  font-size: 18px;
  font-weight: 850;
}

.pain-grid article::before {
  position: absolute;
  top: 24px;
  left: 22px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 22px rgba(245, 158, 11, 0.6);
  content: "";
}

.dual-engine {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.dual-engine span {
  display: block;
  color: var(--cyan-2);
  font-size: 28px;
  font-weight: 950;
}

.dual-engine p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 17px;
}

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

.capability-card {
  position: relative;
  min-height: 300px;
  padding: 28px;
  border: 1px solid rgba(196, 181, 253, 0.4);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.capability-card::after {
  position: absolute;
  right: -62px;
  bottom: -76px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 62%);
  content: "";
}

.cap-no {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 20px;
  color: #07111f;
  font-size: 20px;
  font-weight: 950;
}

.amber {
  background: var(--amber);
}

.cyan {
  background: var(--cyan);
}

.violet {
  background: var(--violet);
}

.orange {
  background: var(--orange);
}

.capability-card h3 {
  margin: 28px 0 18px;
  font-size: 29px;
  line-height: 1.15;
}

.capability-card p {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.65;
}

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

.timeline article {
  position: relative;
  min-height: 250px;
  padding: 30px;
  border: 1px solid rgba(125, 211, 252, 0.36);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
}

.timeline article::before {
  position: absolute;
  top: 32px;
  right: 30px;
  width: 70px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  content: "";
}

.timeline span {
  color: var(--cyan-2);
  font-weight: 950;
}

.timeline h3 {
  margin: 20px 0 14px;
  font-size: 25px;
  line-height: 1.25;
}

.timeline p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.team-card {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 34px;
  padding: 42px;
}

.team-card ul {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.team-card li {
  min-height: 40px;
  font-size: 15px;
}

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 28px;
  padding: 42px;
}

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

.cta-section p {
  max-width: 720px;
  margin-bottom: 0;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin-bottom: 52px;
  padding: 20px;
  border-top: 1px solid rgba(196, 181, 253, 0.18);
  color: rgba(225, 236, 248, 0.68);
  font-size: 14px;
  font-weight: 650;
}

.contact-modal[hidden] {
  display: none;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 22px;
}

.contact-modal__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 38%, rgba(167, 139, 250, 0.25), transparent 24rem),
    rgba(1, 6, 18, 0.76);
  backdrop-filter: blur(16px);
}

.contact-modal__panel {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  padding: 36px;
  border: 1px solid rgba(196, 181, 253, 0.52);
  border-radius: 32px;
  outline: none;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.18), transparent 14rem),
    radial-gradient(circle at 84% 20%, rgba(34, 211, 238, 0.2), transparent 12rem),
    rgba(10, 18, 42, 0.94);
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.contact-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}

.contact-modal__panel h2 {
  margin-bottom: 14px;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.contact-modal__panel p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.contact-modal__email {
  display: block;
  margin: 24px 0;
  padding: 18px 20px;
  border: 1px solid rgba(125, 211, 252, 0.5);
  border-radius: 20px;
  color: #e9fbff;
  background: rgba(255, 255, 255, 0.08);
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 950;
  letter-spacing: 0.02em;
  text-align: center;
  word-break: break-all;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 720ms ease,
    transform 720ms ease;
}

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

@keyframes scan {
  0% {
    transform: translateX(-160%) skewX(-12deg);
  }
  100% {
    transform: translateX(520%) skewX(-12deg);
  }
}

@media (max-width: 980px) {
  .site-shell {
    padding: 16px;
  }

  .site-header {
    align-items: flex-start;
    border-radius: 28px;
  }

  .nav-toggle {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 0;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.12);
  }

  .nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 3px 0;
    background: #ffffff;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: min(300px, calc(100vw - 32px));
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 24px;
    background: rgba(4, 14, 29, 0.94);
  }

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

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 80px;
  }

  .hero-orbit {
    min-height: 460px;
  }

  .orbit-card {
    height: 460px;
  }

  .capability-grid,
  .timeline,
  .team-card,
  .cta-section {
    grid-template-columns: 1fr;
  }

  .capability-grid {
    display: grid;
  }

  .cta-section {
    display: grid;
  }
}

@media (max-width: 640px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .site-shell {
    padding: 12px;
    overflow: hidden;
  }

  .site-header {
    top: 10px;
    gap: 10px;
    padding: 12px;
  }

  .brand strong {
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  h1 {
    font-size: 32px;
    line-height: 1.08;
    letter-spacing: -0.03em;
  }

  h1 .line {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .hero-lede,
  .hero-positioning strong,
  .hero-positioning p,
  .section-heading h2,
  .section-heading p,
  .team-card h2,
  .cta-section h2,
  .dual-engine span,
  .dual-engine p {
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .hero-lede {
    font-size: 18px;
  }

  .hero-positioning {
    grid-template-columns: 1fr;
  }

  .hero-positioning article {
    min-height: auto;
  }

  .hero-actions .button {
    flex: 1 1 100%;
  }

  .contact-modal__panel {
    padding: 28px 20px;
  }

  .eyebrow {
    max-width: 100%;
    font-size: 11px;
    letter-spacing: 0.12em;
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
  }

  .proof-strip span,
  .team-card li {
    max-width: 100%;
    white-space: normal;
    justify-content: center;
  }

  .pain-panel,
  .team-card,
  .cta-section {
    padding: 24px;
  }

  .pain-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .capability-grid {
    grid-template-columns: 1fr;
  }

  .hero-orbit {
    display: none;
  }

  .section-grid,
  .pain-section,
  .capabilities,
  .services,
  .team,
  .cta-section {
    margin-top: 64px;
  }

  .section-heading h2,
  .team-card h2,
  .cta-section h2 {
    font-size: 34px;
  }

  .dual-engine span {
    font-size: 23px;
  }
}
