:root {
  --ink: #17211f;
  --muted: #5c6864;
  --line: #dfe7e2;
  --paper: #f7f8f4;
  --white: #ffffff;
  --green: #0f6b58;
  --green-dark: #0a493d;
  --gold: #c08b32;
  --coral: #d7644f;
  --blue: #326c9f;
  --shadow: 0 24px 80px rgba(23, 33, 31, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(247, 248, 244, 0.88);
  border-bottom: 1px solid rgba(223, 231, 226, 0.9);
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.hero-actions,
.site-footer {
  display: flex;
  align-items: center;
}

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

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--green);
  color: var(--white);
}

.nav {
  gap: clamp(16px, 3vw, 34px);
  color: var(--muted);
  font-size: 15px;
}

.nav a:hover {
  color: var(--green-dark);
}

.header-action,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
}

.header-action {
  padding: 0 18px;
  background: var(--ink);
  color: var(--white);
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100svh - 72px);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: clamp(36px, 6vw, 90px);
  overflow: hidden;
  padding: clamp(64px, 9vw, 110px) clamp(20px, 5vw, 72px) 90px;
  background:
    linear-gradient(90deg, rgba(247, 248, 244, 0.92), rgba(247, 248, 244, 0.65)),
    url("assets/data-strategy-hero.svg") center / cover no-repeat;
}

.hero::after {
  position: absolute;
  bottom: 0;
  left: clamp(20px, 5vw, 72px);
  right: clamp(20px, 5vw, 72px);
  height: 1px;
  background: var(--line);
  content: "";
}

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

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

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(56px, 9vw, 132px);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 640px;
  margin-bottom: 34px;
  color: #34413d;
  font-size: clamp(18px, 2.1vw, 24px);
  line-height: 1.7;
}

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

.button {
  padding: 0 22px;
  font-size: 15px;
}

.button-primary {
  background: var(--green);
  color: var(--white);
}

.button-secondary {
  border-color: #bac8c0;
  background: rgba(255, 255, 255, 0.65);
}

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

.grid-plane {
  position: absolute;
  inset: 40px 0 40px 24px;
  border: 1px solid rgba(15, 107, 88, 0.18);
  border-radius: 8px;
  background-image:
    linear-gradient(rgba(15, 107, 88, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 107, 88, 0.12) 1px, transparent 1px);
  background-size: 44px 44px;
  transform: perspective(900px) rotateY(-14deg) rotateX(8deg);
  box-shadow: var(--shadow);
}

.metric-panel {
  position: absolute;
  width: min(280px, 74%);
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 55px rgba(23, 33, 31, 0.16);
  backdrop-filter: blur(12px);
}

.metric-panel span,
.panel-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.metric-panel strong {
  display: block;
  margin: 8px 0 18px;
  font-size: 42px;
}

.panel-primary {
  top: 86px;
  left: 0;
}

.panel-secondary {
  right: 0;
  bottom: 82px;
}

.sparkline {
  height: 58px;
  background:
    linear-gradient(135deg, transparent 6%, var(--green) 6% 8%, transparent 8% 26%, var(--green) 26% 28%, transparent 28% 48%, var(--green) 48% 50%, transparent 50% 69%, var(--green) 69% 71%, transparent 71%),
    linear-gradient(var(--line), var(--line)) left bottom / 100% 1px no-repeat;
}

.bar-set,
.preview-chart {
  display: flex;
  align-items: end;
  gap: 10px;
  height: 72px;
}

.bar-set i,
.preview-chart i {
  display: block;
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: var(--gold);
}

.bar-set i:nth-child(1) { height: 36%; }
.bar-set i:nth-child(2) { height: 52%; }
.bar-set i:nth-child(3) { height: 68%; background: var(--green); }
.bar-set i:nth-child(4) { height: 44%; }
.bar-set i:nth-child(5) { height: 78%; background: var(--coral); }

.node-map span {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 3px solid var(--white);
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 0 0 8px rgba(50, 108, 159, 0.14);
}

.node-map span:nth-child(1) { left: 54%; top: 22%; }
.node-map span:nth-child(2) { left: 78%; top: 38%; background: var(--coral); }
.node-map span:nth-child(3) { left: 45%; top: 58%; background: var(--gold); }
.node-map span:nth-child(4) { left: 68%; top: 71%; background: var(--green); }
.node-map span:nth-child(5) { left: 28%; top: 42%; }

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding: 0 clamp(20px, 5vw, 72px);
}

.trust-strip div {
  padding: 28px;
  background: var(--white);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  margin-bottom: 6px;
  color: var(--green-dark);
}

.trust-strip span {
  color: var(--muted);
}

.section {
  padding: clamp(70px, 10vw, 120px) clamp(20px, 5vw, 72px);
}

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

h2 {
  margin-bottom: 14px;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.contact-copy p,
.process-step p,
.service-card p,
.scenario-panel p {
  color: var(--muted);
  line-height: 1.8;
}

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

.service-card {
  min-height: 280px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.card-index {
  color: var(--gold);
  font-weight: 800;
}

.service-card h3,
.process-step h3,
.scenario-panel h3 {
  margin: 30px 0 10px;
  font-size: 22px;
}

.process-section {
  background: #edf3ee;
}

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

.process-step {
  padding-top: 22px;
  border-top: 2px solid var(--green);
}

.process-step span {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  background: var(--green-dark);
  color: var(--white);
  font-weight: 800;
}

.scenario-layout {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 24px;
}

.scenario-list {
  display: grid;
  gap: 12px;
}

.scenario-item {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 4px 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.scenario-item.active {
  border-color: var(--green);
  background: #e8f1ed;
}

.scenario-icon {
  grid-row: span 2;
  width: 42px;
  height: 42px;
  padding: 9px;
  border-radius: 8px;
  background: #edf3ee;
  color: var(--green);
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.scenario-item.active .scenario-icon {
  background: var(--green);
  color: var(--white);
}

.scenario-item span,
.scenario-item small {
  display: block;
}

.scenario-item span {
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: 800;
}

.scenario-item small {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.scenario-panel {
  min-height: 420px;
  padding: clamp(26px, 4vw, 44px);
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}

.scenario-panel p {
  color: #d4ddd8;
}

.scenario-panel h3 {
  margin-top: 10px;
  font-size: clamp(28px, 4vw, 44px);
}

.snapshot-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 26px;
}

.snapshot-metrics div {
  min-height: 104px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.snapshot-metrics span,
.preview-header small,
.preview-table span {
  color: #b9c6c1;
  font-size: 13px;
  line-height: 1.5;
}

.snapshot-metrics strong {
  display: block;
  margin-top: 10px;
  color: var(--white);
  font-size: clamp(22px, 3vw, 32px);
}

.dashboard-preview {
  margin-top: 32px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.preview-header span {
  color: var(--white);
  font-weight: 800;
}

.preview-chart {
  height: 150px;
  margin-bottom: 22px;
}

.preview-chart i {
  background: var(--green);
}

.preview-chart i:nth-child(2n) {
  background: var(--gold);
}

.preview-chart i:nth-child(3n) {
  background: var(--coral);
}

.preview-table {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.preview-table span {
  position: relative;
  min-height: 38px;
  padding: 10px 12px 10px 30px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.preview-table span::before {
  position: absolute;
  top: 16px;
  left: 13px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--gold);
  content: "";
}

.contact-section {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(30px, 7vw, 90px);
  background: var(--white);
}

.requirements {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.requirements li {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfa;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #2c3834;
  font-size: 14px;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cfd9d3;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 400;
}

.contact-form input {
  min-height: 48px;
  padding: 0 14px;
}

.contact-form textarea {
  resize: vertical;
  padding: 14px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(15, 107, 88, 0.16);
  border-color: var(--green);
}

.contact-form .button {
  width: 100%;
  margin-top: 8px;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.site-footer {
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 26px clamp(20px, 5vw, 72px);
  background: var(--ink);
  color: var(--white);
}

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

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-visual {
    order: -1;
    min-height: 360px;
  }

  .service-grid,
  .process {
    grid-template-columns: repeat(2, 1fr);
  }

  .scenario-layout,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .snapshot-metrics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 18px;
  }

  .header-action {
    display: none;
  }

  .hero {
    padding: 42px 18px 64px;
  }

  .hero-visual {
    min-height: 300px;
  }

  .metric-panel {
    width: 220px;
    padding: 16px;
  }

  .metric-panel strong {
    font-size: 30px;
  }

  .panel-primary {
    top: 36px;
  }

  .panel-secondary {
    bottom: 28px;
  }

  .trust-strip,
  .service-grid,
  .process,
  .preview-table,
  .requirements {
    grid-template-columns: 1fr;
  }

  .trust-strip,
  .section {
    padding-left: 18px;
    padding-right: 18px;
  }

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

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
