:root {
  --bg: #07111f;
  --bg-2: #0b1d33;
  --panel: rgba(11, 29, 51, 0.72);
  --panel-strong: rgba(14, 37, 63, 0.88);
  --line: rgba(143, 164, 184, 0.22);
  --text: #cbded9;
  --heading: #c9ddd5;
  --heading-soft: #a9c2bf;
  --body: #9db2b7;
  --muted: #7f94a1;
  --green: #22d3a6;
  --cyan: #38bdf8;
  --coral: #e36345;
  --cream: #eee7d8;
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.34);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 8%, rgba(34, 211, 166, 0.18), transparent 28rem),
    radial-gradient(circle at 82% 16%, rgba(56, 189, 248, 0.16), transparent 24rem),
    linear-gradient(145deg, #07111f 0%, #081827 52%, #04101d 100%);
  font-family: "Gill Sans", "Avenir Next", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(234, 242, 248, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(234, 242, 248, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 82%);
}

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

.site-shell {
  min-height: 100vh;
  position: relative;
}

.topbar {
  width: min(1180px, calc(100% - 40px));
  margin: 20px auto 0;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 14px;
  z-index: 20;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 17, 31, 0.68);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 44px rgba(0, 0, 0, 0.22);
}

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

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  object-fit: cover;
  object-position: center 30%;
}

.brand-text {
  display: grid;
  line-height: 1.05;
}

.brand-text strong {
  font-size: 18px;
  letter-spacing: 0.1em;
}

.brand-text small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 8px;
}

.nav a {
  color: rgba(183, 204, 201, 0.76);
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 14px;
  transition: 180ms ease;
}

.nav a:hover {
  color: #cfe3dc;
  background: rgba(234, 242, 248, 0.08);
}

.hero {
  min-height: 760px;
  position: relative;
  display: grid;
  align-items: center;
  padding: 70px 0 92px;
}

.network-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.72;
}

.hero-grid,
.section,
.footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.72fr);
  gap: 56px;
  align-items: center;
}

.eyebrow,
.section-kicker {
  color: var(--green);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
}

.hero h1 {
  margin: 18px 0 22px;
  max-width: 760px;
  font-size: clamp(52px, 8vw, 108px);
  line-height: 0.92;
  letter-spacing: -0.055em;
  color: var(--heading);
  text-shadow: 0 0 34px rgba(34, 211, 166, 0.1);
}

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

.hero h1 span:nth-child(2) {
  color: #aac5c1;
}

.hero h1 span:nth-child(3) {
  color: #d4cfba;
}

.hero-lede {
  max-width: 660px;
  color: var(--body);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.75;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  transition: 180ms ease;
}

.button.primary {
  color: #03121c;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  box-shadow: 0 16px 40px rgba(34, 211, 166, 0.24);
}

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

.button.ghost {
  border: 1px solid var(--line);
  color: #b5c8c8;
  background: rgba(234, 242, 248, 0.05);
}

.button.ghost:hover {
  background: rgba(234, 242, 248, 0.1);
}

.hero-orb {
  display: grid;
  place-items: center;
}

.orb-card {
  width: min(390px, 100%);
  aspect-ratio: 1;
  position: relative;
  display: grid;
  place-items: center;
  border: 1px solid rgba(143, 164, 184, 0.28);
  border-radius: 44% 56% 50% 50% / 58% 48% 52% 42%;
  background:
    radial-gradient(circle at 45% 30%, rgba(34, 211, 166, 0.16), transparent 11rem),
    linear-gradient(155deg, rgba(14, 37, 63, 0.92), rgba(7, 17, 31, 0.72));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.orb-card::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px dashed rgba(234, 242, 248, 0.15);
  border-radius: inherit;
  animation: drift 14s ease-in-out infinite;
}

.orb-logo {
  width: 176px;
  height: 176px;
  object-fit: contain;
  border-radius: 42px;
  background: transparent;
  padding: 0;
  z-index: 2;
}

.signal-ring {
  position: absolute;
  border: 1px solid rgba(56, 189, 248, 0.26);
  border-radius: 50%;
  animation: pulse 4.8s ease-in-out infinite;
}

.ring-one {
  width: 230px;
  height: 230px;
}

.ring-two {
  width: 310px;
  height: 310px;
  animation-delay: -1.7s;
}

.signal-node {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 28px rgba(34, 211, 166, 0.9);
}

.node-a { top: 24%; right: 25%; }
.node-b { bottom: 29%; right: 17%; background: var(--cyan); }
.node-c { left: 19%; bottom: 33%; background: var(--coral); }

.orb-card p {
  position: absolute;
  bottom: 34px;
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 96px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.6fr);
  gap: 42px;
  align-items: end;
  margin-top: 14px;
}

.section h2,
.camp-panel h2,
.method-copy h2,
.about-card h2,
.contact-box h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  color: var(--heading);
  background: linear-gradient(92deg, #c6d9d2 0%, #9fbab7 56%, #d2c8b1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero h1,
.service-card h3,
.timeline-item h3 {
  font-feature-settings: "kern";
}

.hero h1 span:first-child {
  color: #bfd8cf;
}

.section p {
  color: var(--body);
  line-height: 1.85;
  font-size: 17px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
}

.service-card,
.timeline-item,
.about-card,
.contact-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(14, 37, 63, 0.82), rgba(7, 17, 31, 0.64));
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
}

.service-card {
  min-height: 260px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: auto -40px -72px auto;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: rgba(34, 211, 166, 0.08);
}

.card-index {
  color: var(--cyan);
  font-size: 13px;
  letter-spacing: 0.18em;
}

.service-card h3,
.timeline-item h3 {
  margin: 30px 0 12px;
  font-size: 25px;
  color: #c9dcd6;
}

.service-card p,
.timeline-item p {
  margin: 0;
  font-size: 16px;
  color: var(--body);
}

.camp-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 32px;
  align-items: center;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid rgba(34, 211, 166, 0.34);
  border-radius: 36px;
  background:
    linear-gradient(120deg, rgba(34, 211, 166, 0.12), transparent 42%),
    linear-gradient(145deg, rgba(14, 37, 63, 0.92), rgba(7, 17, 31, 0.72));
  box-shadow: var(--shadow);
}

.camp-panel p {
  max-width: 800px;
}

.camp-stat {
  min-height: 190px;
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: 32px;
  background: rgba(238, 231, 216, 0.08);
  border: 1px solid rgba(238, 231, 216, 0.14);
}

.camp-stat strong {
  display: block;
  color: var(--green);
  font-size: 92px;
  line-height: 0.85;
  letter-spacing: -0.08em;
}

.camp-stat span {
  color: #b2c6c3;
  font-weight: 700;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.timeline-item {
  padding: 22px;
}

.timeline-item span {
  color: var(--green);
  font-weight: 800;
  font-size: 13px;
}

.timeline-item h3 {
  margin-top: 18px;
  font-size: 20px;
}

.timeline-item p {
  font-size: 15px;
}

.method-layout {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: 42px;
  align-items: start;
}

.method-copy {
  position: sticky;
  top: 120px;
}

.method-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.method-steps li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 22px;
  border-top: 1px solid var(--line);
  background: rgba(234, 242, 248, 0.03);
}

.method-steps span {
  color: var(--green);
  font-weight: 800;
  font-size: 22px;
}

.method-steps p {
  margin: 0;
}

.about-card {
  padding: clamp(30px, 5vw, 60px);
  max-width: 920px;
}

.contact-box {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  padding: clamp(28px, 5vw, 48px);
}

.contact-box p {
  max-width: 700px;
}

.contact-channel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  color: #06201d;
  font-weight: 800;
  white-space: nowrap;
  background: linear-gradient(135deg, #7be3ca, #95c7f1);
  box-shadow: 0 16px 40px rgba(34, 211, 166, 0.2);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: center;
  padding: 34px 0 48px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer div {
  display: grid;
  gap: 6px;
}

.footer strong {
  color: #c8d9d4;
}

.footer a {
  color: #9fb5b5;
}

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

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

@keyframes pulse {
  0%, 100% { transform: scale(0.96); opacity: 0.55; }
  50% { transform: scale(1.04); opacity: 0.95; }
}

@keyframes drift {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(7deg) scale(1.03); }
}

@media (max-width: 920px) {
  .nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 76px;
  }

  .hero-grid,
  .section-heading,
  .camp-panel,
  .method-layout,
  .contact-box {
    grid-template-columns: 1fr;
  }

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

  .method-copy {
    position: static;
  }

  .contact-box,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .topbar,
  .hero-grid,
  .section,
  .footer {
    width: min(100% - 28px, 1180px);
  }

  .brand-text small {
    display: none;
  }

  .hero h1 {
    font-size: 54px;
  }

  .orb-card {
    border-radius: 34px;
  }

  .method-steps li {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .network-canvas {
    display: none;
  }
}
