:root {
  --bg: #08110f;
  --panel: rgba(12, 28, 25, 0.72);
  --panel-solid: #101d1a;
  --text: #f2fbf7;
  --muted: #a9bbb5;
  --cyan: #47d7d2;
  --green: #4fe08b;
  --gold: #f6c96b;
  --coral: #ff7b5f;
  --line: rgba(255, 255, 255, 0.14);
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 78% 12%, rgba(71, 215, 210, 0.2), transparent 28%),
    linear-gradient(145deg, #05100e 0%, #0a1814 48%, #11110d 100%);
}

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

.page-shell {
  min-height: 100vh;
  overflow: hidden;
}

.topbar {
  position: fixed;
  inset: 18px 24px auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(5, 14, 13, 0.62);
  backdrop-filter: blur(16px);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 8px;
  color: #06110f;
  background: linear-gradient(135deg, var(--green), var(--gold));
}

.nav-links {
  gap: 6px;
}

.nav-links a {
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  position: relative;
  min-height: 96vh;
  display: grid;
  align-items: center;
  padding: 144px max(24px, calc((100vw - 1180px) / 2)) 72px;
}

.hero-visual,
.hero-overlay,
.hero-grid {
  position: absolute;
  inset: 0;
}

.hero-visual {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.9;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 13, 11, 0.95) 0%, rgba(5, 13, 11, 0.68) 42%, rgba(5, 13, 11, 0.22) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 24%);
}

.hero-grid {
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(90deg, #000, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(52px, 8vw, 104px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  font-size: 20px;
  line-height: 1.25;
}

.hero-copy {
  max-width: 640px;
  color: #d6e7e0;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.7;
}

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

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.btn.primary {
  color: #06110f;
  border-color: transparent;
  background: linear-gradient(135deg, var(--green), var(--gold));
  box-shadow: 0 18px 42px rgba(79, 224, 139, 0.2);
}

.btn.ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.signal-panel {
  position: absolute;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 42px;
  z-index: 3;
  display: grid;
  width: min(520px, calc(100vw - 48px));
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 20, 18, 0.7);
  backdrop-filter: blur(18px);
}

.signal-panel div {
  padding: 18px;
  border-right: 1px solid var(--line);
}

.signal-panel div:last-child {
  border-right: 0;
}

.signal-panel span,
.metric span,
.timeline span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.signal-panel strong {
  display: block;
  margin-top: 8px;
  font-size: 16px;
}

.section {
  padding: 96px max(24px, calc((100vw - 1180px) / 2));
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

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

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

.service-card,
.timeline article {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  overflow: hidden;
}

.service-card {
  min-height: 300px;
  padding: 24px;
}

.service-card::before,
.timeline article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--green), var(--gold), var(--coral));
}

.card-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: var(--gold);
  font-weight: 900;
}

.service-card p,
.timeline p,
.insight-copy p {
  color: var(--muted);
  line-height: 1.75;
}

.insight-band {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 42px;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(79, 224, 139, 0.08), rgba(71, 215, 210, 0.08)),
    var(--panel-solid);
}

.metric-wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.metric {
  min-height: 170px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.metric strong {
  display: block;
  margin-bottom: 36px;
  font-size: clamp(34px, 5vw, 58px);
  color: var(--gold);
}

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

.timeline article {
  padding: 28px;
}

.timeline span {
  margin-bottom: 46px;
  color: var(--cyan);
  font-weight: 800;
}

.contact {
  justify-content: space-between;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 123, 95, 0.14), transparent 28%),
    rgba(255, 255, 255, 0.03);
}

.contact h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px max(24px, calc((100vw - 1180px) / 2));
  color: var(--muted);
  font-size: 14px;
  background: #06100e;
}

.footer a {
  color: #dbe9e3;
}

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

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

@media (max-width: 900px) {
  .topbar {
    inset: 12px 14px auto;
  }

  .nav-links {
    display: none;
  }

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

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(5, 13, 11, 0.95), rgba(5, 13, 11, 0.58)),
      linear-gradient(0deg, var(--bg) 0%, transparent 34%);
  }

  .signal-panel,
  .service-grid,
  .insight-band,
  .metric-wall,
  .timeline {
    grid-template-columns: 1fr;
  }

  .signal-panel {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 44px;
  }

  .signal-panel div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .signal-panel div:last-child {
    border-bottom: 0;
  }

  .service-card {
    min-height: auto;
  }
}

@media (max-width: 620px) {
  .section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

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

  .btn {
    width: 100%;
  }

  .hero-copy {
    font-size: 17px;
  }
}
