:root {
  --ink: #0c1825;
  --muted: #5d6b7b;
  --line: #dce4ec;
  --panel: #f6f8fa;
  --navy: #071421;
  --green: #15b981;
  --blue: #2f7ff0;
  --amber: #f2a51a;
  --red: #e15d4f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--ink);
  background: #ffffff;
}

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

.page-shell {
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  padding: 92px clamp(22px, 5vw, 72px) 56px;
  color: #ffffff;
  background: var(--navy);
}

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

.hero-image {
  object-fit: cover;
  object-position: center right;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(4, 12, 20, 0.96) 0%, rgba(4, 12, 20, 0.78) 38%, rgba(4, 12, 20, 0.2) 74%),
    linear-gradient(180deg, rgba(4, 12, 20, 0.36), rgba(4, 12, 20, 0.72));
}

.topbar {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px clamp(22px, 5vw, 72px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  font-size: 13px;
}

.nav-cta,
.secondary-button,
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid transparent;
}

.nav-cta,
.secondary-button {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.primary-button {
  color: #06151e;
  background: var(--green);
}

.primary-button.light {
  background: #ffffff;
}

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

.eyebrow {
  margin: 0 0 16px;
  color: #78f1c2;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: #0b8f66;
}

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

h1 {
  margin-bottom: 24px;
  max-width: 720px;
  font-size: clamp(44px, 7vw, 88px);
  line-height: 0.98;
  letter-spacing: 0;
}

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

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

.hero-copy {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 20px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0 40px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 760px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(2, 9, 15, 0.45);
  backdrop-filter: blur(10px);
}

.hero-metrics div {
  min-height: 104px;
  padding: 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-metrics div:last-child {
  border-right: 0;
}

.hero-metrics strong {
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 28px;
}

.hero-metrics span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

section:not(.hero) {
  padding: 86px clamp(22px, 5vw, 72px);
}

.section-heading {
  max-width: 920px;
  margin-bottom: 34px;
}

.pain-section {
  background: #ffffff;
}

.pain-grid,
.scenario-grid,
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.pain-grid article {
  min-height: 236px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.pain-grid span {
  display: block;
  margin-bottom: 34px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.pain-grid p,
.solution-copy p,
.scenario-card p,
.timeline-step p,
.dashboard-copy p,
.value-grid span {
  color: var(--muted);
  line-height: 1.72;
}

.solution-section {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  background: #eef3f6;
}

.solution-copy {
  max-width: 560px;
}

.ops-map {
  position: relative;
  min-height: 520px;
  border: 1px solid #cfdbe4;
  background:
    linear-gradient(90deg, rgba(7, 20, 33, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(7, 20, 33, 0.06) 1px, transparent 1px),
    #ffffff;
  background-size: 48px 48px;
}

.ops-map::before,
.ops-map::after {
  content: "";
  position: absolute;
  inset: 18%;
  border: 1px dashed rgba(21, 185, 129, 0.45);
}

.ops-map::after {
  inset: 32%;
  border-color: rgba(47, 127, 240, 0.42);
  transform: rotate(14deg);
}

.node {
  position: absolute;
  z-index: 1;
  display: grid;
  place-items: center;
  min-width: 126px;
  min-height: 54px;
  padding: 10px 16px;
  border: 1px solid #cbd8e3;
  background: #ffffff;
  font-weight: 800;
  box-shadow: 0 12px 32px rgba(7, 20, 33, 0.09);
}

.node-main {
  top: 50%;
  left: 50%;
  min-width: 190px;
  min-height: 86px;
  color: #ffffff;
  background: var(--navy);
  border-color: var(--navy);
  transform: translate(-50%, -50%);
}

.node:nth-child(2) {
  top: 11%;
  left: 9%;
}

.node:nth-child(3) {
  top: 13%;
  right: 12%;
}

.node:nth-child(4) {
  top: 44%;
  left: 5%;
}

.node:nth-child(5) {
  right: 6%;
  top: 45%;
}

.node:nth-child(6) {
  bottom: 12%;
  left: 16%;
}

.node:nth-child(7) {
  right: 16%;
  bottom: 11%;
}

.scenario-section {
  background: #ffffff;
}

.scenario-card {
  padding: 28px;
  border: 1px solid var(--line);
  min-height: 372px;
  background: #ffffff;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 30px;
  color: #ffffff;
  background: var(--ink);
  font-size: 24px;
  font-weight: 900;
}

.accent-green .card-icon {
  background: var(--green);
}

.accent-blue .card-icon {
  background: var(--blue);
}

.accent-amber .card-icon {
  background: var(--amber);
}

.accent-red .card-icon {
  background: var(--red);
}

.scenario-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.scenario-card li {
  padding: 7px 10px;
  color: #253342;
  background: #eef3f6;
  font-size: 13px;
  font-weight: 700;
}

.flow-section {
  background: #f8fafb;
}

.flow-title {
  max-width: 880px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 34px;
  border-top: 2px solid var(--ink);
}

.timeline-step {
  position: relative;
  padding: 34px 26px 0 0;
}

.timeline-step span {
  position: absolute;
  top: -20px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: #ffffff;
  background: var(--ink);
  font-weight: 900;
}

.dashboard-section {
  display: grid;
  grid-template-columns: 0.84fr 1fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  color: #ffffff;
  background: var(--navy);
}

.dashboard-copy p {
  color: rgba(255, 255, 255, 0.68);
}

.dashboard-card {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
}

.dash-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 22px;
  font-weight: 800;
}

.dash-top strong {
  color: var(--green);
}

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

.dash-grid div {
  min-height: 104px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.09);
}

.dash-grid b {
  display: block;
  margin-bottom: 8px;
  font-size: 32px;
}

.dash-grid span,
.risk-list p {
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
}

.risk-list {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.risk-list p {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  margin: 0;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.07);
}

.risk-list span {
  width: 9px;
  height: 9px;
  background: var(--amber);
}

.value-section {
  background: #ffffff;
}

.value-grid div {
  min-height: 180px;
  padding: 28px;
  border: 1px solid var(--line);
}

.value-grid strong {
  display: block;
  margin-bottom: 14px;
  font-size: 22px;
}

.value-grid span {
  display: block;
}

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: #ffffff;
  background: #0d2b3d;
}

.cta-section h2 {
  max-width: 900px;
  margin-bottom: 0;
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    padding-top: 118px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(4, 12, 20, 0.95), rgba(4, 12, 20, 0.76)),
      rgba(4, 12, 20, 0.45);
  }

  .hero-metrics,
  .pain-grid,
  .scenario-grid,
  .timeline,
  .value-grid,
  .dash-grid,
  .solution-section,
  .dashboard-section {
    grid-template-columns: 1fr 1fr;
  }

  .solution-section,
  .dashboard-section {
    align-items: stretch;
  }

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

@media (max-width: 680px) {
  .topbar {
    gap: 14px;
  }

  .brand {
    font-size: 13px;
  }

  .nav-cta {
    min-height: 38px;
    padding: 0 12px;
    font-size: 12px;
  }

  h1 {
    font-size: 42px;
  }

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

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

  .hero-metrics,
  .pain-grid,
  .scenario-grid,
  .timeline,
  .value-grid,
  .dash-grid,
  .solution-section,
  .dashboard-section {
    grid-template-columns: 1fr;
  }

  .hero-metrics div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .hero-metrics div:last-child {
    border-bottom: 0;
  }

  section:not(.hero) {
    padding: 62px 20px;
  }

  .ops-map {
    min-height: 620px;
  }

  .node {
    min-width: 112px;
  }

  .node-main {
    min-width: 168px;
  }

  .timeline {
    border-top: 0;
    gap: 18px;
  }

  .timeline-step {
    padding: 24px;
    border: 1px solid var(--line);
    background: #ffffff;
  }

  .timeline-step span {
    position: static;
    margin-bottom: 18px;
  }
}
