:root {
  --bg: #071112;
  --bg-soft: #0c1b1a;
  --surface: #102421;
  --surface-2: #f4f7f5;
  --text: #eef8f3;
  --muted: #a8bab2;
  --ink: #15231f;
  --ink-soft: #52615c;
  --line: rgba(255, 255, 255, 0.14);
  --line-dark: rgba(14, 45, 39, 0.16);
  --teal: #12c8b2;
  --green: #a7f36b;
  --gold: #f0c76b;
  --coral: #ff7f6e;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  --glow: 0 0 54px rgba(18, 200, 178, 0.28);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

::selection {
  color: #071112;
  background: var(--green);
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(calc(100% - 32px), var(--max));
  margin: 16px auto 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(7, 17, 18, 0.74);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

section {
  scroll-margin-top: 98px;
}

.site-header.scrolled {
  background: rgba(7, 17, 18, 0.92);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #071112;
  font-weight: 900;
  background: linear-gradient(135deg, var(--green), var(--teal));
  border-radius: 8px;
  box-shadow: 0 0 32px rgba(18, 200, 178, 0.5);
  position: relative;
  overflow: hidden;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: -50%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
  transform: rotate(28deg) translateX(-120%);
  animation: markShine 5s ease-in-out infinite;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand strong {
  font-size: 16px;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.desktop-nav a {
  padding: 10px 14px;
  color: #dbe9e3;
  font-size: 14px;
  transition: color 0.2s ease, background 0.2s ease;
}

.desktop-nav a:hover {
  color: var(--green);
  background: rgba(167, 243, 107, 0.08);
}

.header-action,
.primary-btn,
.ghost-btn,
.contact-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.header-action {
  padding: 0 18px;
  color: #071112;
  font-weight: 700;
  background: var(--green);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-action:hover,
.primary-btn:hover,
.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow);
}

.header-action svg,
.primary-btn svg,
.ghost-btn svg,
.contact-form button svg,
.contact-lines svg,
.service-card svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.mobile-panel {
  position: fixed;
  inset: 82px 16px auto;
  z-index: 19;
  display: none;
  padding: 10px;
  border: 1px solid var(--line);
  background: rgba(7, 17, 18, 0.96);
  box-shadow: var(--shadow);
}

.mobile-panel.open {
  display: grid;
}

.mobile-panel a {
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-panel a:last-child {
  border-bottom: 0;
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 132px 0 56px;
}

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

.hero-canvas {
  background:
    radial-gradient(circle at 28% 22%, rgba(18, 200, 178, 0.22), transparent 34%),
    radial-gradient(circle at 72% 30%, rgba(240, 199, 107, 0.12), transparent 32%),
    linear-gradient(135deg, #071112 0%, #0b221f 54%, #11190f 100%);
}

.hero-overlay {
  background:
    linear-gradient(120deg, rgba(167, 243, 107, 0.08) 0%, transparent 28%, rgba(255, 127, 110, 0.08) 78%, transparent 100%),
    linear-gradient(90deg, rgba(7, 17, 18, 0.94) 0%, rgba(7, 17, 18, 0.7) 45%, rgba(7, 17, 18, 0.34) 100%),
    linear-gradient(0deg, #071112 0%, rgba(7, 17, 18, 0) 42%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.55fr);
  gap: 36px;
  align-items: center;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.hero-copy {
  max-width: 780px;
  min-width: 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.hero h1 {
  max-width: 100%;
  margin: 0;
  font-size: clamp(64px, 10vw, 128px);
  line-height: 0.92;
  letter-spacing: 0;
  word-break: keep-all;
}

.hero-lead {
  max-width: 720px;
  margin: 28px 0 0;
  color: #c7d8d0;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.75;
  overflow-wrap: anywhere;
  word-break: normal;
}

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

.primary-btn {
  padding: 0 24px;
  color: #071112;
  font-weight: 800;
  background: linear-gradient(135deg, var(--green), var(--teal));
  box-shadow: 0 18px 44px rgba(18, 200, 178, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ghost-btn {
  padding: 0 22px;
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.ghost-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(167, 243, 107, 0.5);
  background: rgba(255, 255, 255, 0.1);
}

.hero-dashboard {
  position: relative;
  min-height: 488px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035)),
    rgba(8, 23, 22, 0.62);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

.hero-dashboard::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, #000, transparent 78%);
}

.dashboard-topline,
.dashboard-stack,
.dashboard-code {
  position: relative;
  z-index: 1;
}

.dashboard-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.dashboard-topline strong {
  color: #071112;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--green);
}

.dashboard-orbit {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 210px;
  height: 210px;
  margin: 42px auto 32px;
  border: 1px solid rgba(18, 200, 178, 0.34);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(18, 200, 178, 0.28), transparent 68%);
  box-shadow: inset 0 0 60px rgba(18, 200, 178, 0.14), var(--glow);
}

.dashboard-orbit span {
  position: absolute;
  inset: 26px;
  border: 1px dashed rgba(167, 243, 107, 0.46);
  border-radius: inherit;
  animation: orbitSpin 16s linear infinite;
}

.dashboard-orbit svg {
  width: 58px;
  height: 58px;
  color: var(--green);
}

.dashboard-stack {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.dashboard-stack div {
  min-height: 92px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.dashboard-stack small,
.dashboard-stack strong {
  display: block;
}

.dashboard-stack small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.dashboard-stack strong {
  margin-top: 12px;
  color: #ffffff;
  font-size: 20px;
}

.dashboard-code {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding: 14px;
  color: #a7f36b;
  border: 1px solid rgba(167, 243, 107, 0.18);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 12px;
}

.hero-metrics {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 64px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
}

.hero-metrics div {
  min-height: 132px;
  padding: 26px;
  background: rgba(8, 23, 22, 0.72);
  transition: background 0.2s ease;
}

.hero-metrics div:hover {
  background: rgba(14, 43, 39, 0.86);
}

.proof-strip {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #071112;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.proof-grid span {
  display: grid;
  place-items: center;
  min-height: 76px;
  color: #d9e8e1;
  background: #0b1717;
  font-weight: 800;
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  color: #ffffff;
  font-size: 28px;
}

.hero-metrics span {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.6;
}

.section {
  padding: 96px 0;
}

.section-inner {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.intro-band,
.process,
.contact {
  background: var(--surface-2);
  color: var(--ink);
}

.intro-grid,
.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
  align-items: center;
}

.intro-grid h2,
.section-heading h2,
.about h2,
.contact h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: 0;
}

.intro-grid p,
.section-heading p,
.about p,
.contact p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 40px;
}

.section-heading p {
  margin-top: 18px;
}

.section-heading.compact {
  margin-bottom: 34px;
}

#services .section-heading p,
.solutions .section-heading p {
  color: var(--muted);
}

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

.service-card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.12);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: auto 24px 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--teal), var(--coral));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(18, 200, 178, 0.45);
  background: linear-gradient(180deg, rgba(18, 200, 178, 0.14), rgba(255, 255, 255, 0.035));
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-card svg {
  width: 32px;
  height: 32px;
  color: var(--teal);
}

.service-card h3,
.solution-panel h3,
.timeline-item h3 {
  margin: 22px 0 12px;
  font-size: 22px;
}

.service-card p,
.solution-panel p,
.timeline-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.solutions {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent),
    #071112;
}

.solution-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.solution-panel {
  min-height: 420px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.solution-panel:hover,
.solution-panel.active {
  transform: translateY(-6px);
  border-color: rgba(167, 243, 107, 0.5);
  background: linear-gradient(180deg, rgba(18, 200, 178, 0.14), rgba(255, 255, 255, 0.04));
}

.solution-panel span,
.timeline-item span {
  color: var(--gold);
  font-weight: 900;
}

.solution-panel ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.solution-panel li {
  position: relative;
  padding-left: 18px;
  color: #d8e5de;
  line-height: 1.6;
}

.solution-panel li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--green);
}

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

.timeline-item {
  min-height: 240px;
  padding: 28px;
  background: #ffffff;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.timeline-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(23, 44, 39, 0.1);
}

.timeline-item p {
  color: var(--ink-soft);
}

.about {
  background:
    linear-gradient(135deg, rgba(18, 200, 178, 0.12), rgba(255, 255, 255, 0) 48%),
    #0a1716;
}

.about p {
  color: var(--muted);
  margin-top: 22px;
}

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

.capability-board div {
  min-height: 150px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  transition: transform 0.24s ease, border-color 0.24s ease;
}

.capability-board div:hover {
  transform: translateY(-4px);
  border-color: rgba(167, 243, 107, 0.42);
}

.capability-board strong,
.capability-board span {
  display: block;
}

.capability-board strong {
  color: var(--green);
  font-size: 28px;
}

.capability-board span {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.contact-grid {
  align-items: start;
}

.contact p {
  margin-top: 20px;
}

.contact-lines {
  display: grid;
  gap: 14px;
  margin-top: 32px;
}

.contact-lines a,
.contact-lines span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}

.contact-lines svg {
  color: var(--teal);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 22px 70px rgba(23, 44, 39, 0.12);
}

.contact-form label,
.contact-form span {
  display: grid;
  gap: 8px;
}

.contact-form span {
  color: var(--ink);
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(21, 35, 31, 0.16);
  border-radius: 8px;
  padding: 14px 15px;
  color: var(--ink);
  background: #f8faf9;
  outline: 0;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(18, 200, 178, 0.14);
}

.contact-form button {
  min-height: 52px;
  color: #071112;
  font-weight: 900;
  background: linear-gradient(135deg, var(--green), var(--teal));
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

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

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

@keyframes markShine {
  0%,
  55% {
    transform: rotate(28deg) translateX(-120%);
  }
  75%,
  100% {
    transform: rotate(28deg) translateX(120%);
  }
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 30px 0;
  color: var(--muted);
  line-height: 1.6;
}

.site-footer div,
.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer strong {
  color: #ffffff;
}

.site-footer a:hover {
  color: var(--green);
}

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

  .menu-toggle {
    display: grid;
    place-items: center;
  }

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

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

  .hero-dashboard {
    min-height: auto;
  }

  .dashboard-orbit {
    width: 180px;
    height: 180px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(7, 17, 18, 0.92), rgba(7, 17, 18, 0.62)),
      linear-gradient(0deg, #071112 0%, rgba(7, 17, 18, 0) 50%);
  }

  .hero-metrics,
  .proof-grid,
  .service-grid,
  .solution-layout,
  .timeline,
  .intro-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    margin-top: 42px;
  }

  .service-card,
  .solution-panel,
  .timeline-item {
    min-height: auto;
  }

  .section {
    padding: 72px 0;
  }
}

@media (max-width: 560px) {
  .site-header {
    width: calc(100% - 24px);
    margin-top: 12px;
  }

  .brand {
    min-width: 0;
  }

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

  .brand small {
    display: none;
  }

  .hero-inner,
  .section-inner,
  .site-footer {
    width: calc(100% - 28px);
  }

  .hero h1 {
    font-size: clamp(48px, 15vw, 58px);
  }

  .hero-lead {
    font-size: 17px;
    max-width: 100%;
  }

  .hero-actions {
    display: grid;
  }

  .hero-dashboard {
    display: none;
  }

  .proof-grid span {
    min-height: 58px;
  }

  .primary-btn,
  .ghost-btn {
    width: 100%;
  }

  .hero-metrics div,
  .service-card,
  .solution-panel,
  .timeline-item,
  .contact-form,
  .capability-board div {
    padding: 22px;
  }

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

  .site-footer {
    display: grid;
    gap: 10px;
  }
}
