:root {
  --ink: #172033;
  --muted: #5c6a77;
  --line: #dbe4e7;
  --surface: #ffffff;
  --soft: #f4f8f7;
  --teal: #0f766e;
  --cyan: #7dd3fc;
  --amber: #d97706;
  --green-soft: #d9f3ed;
  --amber-soft: #fde7c4;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
  line-height: 1.6;
  background: #fbfdfc;
  letter-spacing: 0;
}

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

.hero {
  position: relative;
  display: flex;
  min-height: 76vh;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px 48px 34px;
  overflow: hidden;
  color: #fff;
  background-image:
    linear-gradient(90deg, rgba(12, 23, 35, 0.97) 0%, rgba(12, 23, 35, 0.9) 38%, rgba(12, 23, 35, 0.38) 74%),
    url("./images/bigdata-platform-hero.png");
  background-repeat: no-repeat;
  background-position: center right;
  background-size: cover;
}

.topbar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.brand {
  color: #f8fafc;
  font-size: 16px;
  font-weight: 800;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.nav-links a {
  padding: 8px 12px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 64px auto 34px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
}

.eyebrow.dark {
  color: var(--teal);
}

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

h1 {
  max-width: 690px;
  margin-bottom: 20px;
  color: #fff;
  font-size: 46px;
  line-height: 1.14;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 690px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 17px;
  line-height: 1.85;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 6px;
  color: #fff;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
}

.button:hover {
  border-color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.16);
}

.button.primary {
  border-color: var(--cyan);
  color: #10212f;
  background: var(--cyan);
}

.hero-metrics {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(118px, 1fr));
  gap: 12px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.hero-metrics div {
  min-height: 88px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(8, 16, 27, 0.56);
}

.hero-metrics strong {
  display: block;
  color: #f8fafc;
  font-size: 32px;
  line-height: 1;
}

.hero-metrics span {
  display: block;
  margin-top: 10px;
  color: rgba(226, 232, 240, 0.84);
  font-size: 13px;
}

.section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 58px 0;
}

.section.band {
  width: 100%;
  padding: 58px max(24px, calc((100% - 1180px) / 2));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 26px;
}

.section-heading h2 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 30px;
  line-height: 1.28;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 16px;
}

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

.capability,
.roadmap article {
  min-height: 304px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.capability span,
.roadmap span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 14px;
  padding: 3px 10px;
  border-radius: 999px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  background: var(--green-soft);
}

.capability:nth-child(4n + 2) span,
.roadmap article:nth-child(2) span {
  color: #075985;
  background: #dff3ff;
}

.capability:nth-child(4n + 3) span,
.roadmap article:nth-child(3) span {
  color: #8a4b0b;
  background: var(--amber-soft);
}

.capability h3,
.roadmap h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.36;
  letter-spacing: 0;
}

.capability p,
.roadmap p,
.layer p {
  color: var(--muted);
}

.capability ul {
  display: grid;
  gap: 7px;
  margin: 16px 0 0;
  padding-left: 18px;
  color: #344054;
}

.layer-stack {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.layer {
  min-height: 218px;
  padding: 20px;
  border: 1px solid #d7e1df;
  border-radius: 8px;
  background: #fff;
}

.layer strong {
  display: block;
  margin-bottom: 12px;
  color: var(--teal);
  font-size: 16px;
}

.flow-section {
  padding-bottom: 46px;
}

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

.flow li {
  min-height: 112px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #263344;
  font-weight: 800;
  background: #fff;
}

.flow span {
  display: block;
  margin-bottom: 12px;
  color: var(--amber);
  font-size: 13px;
}

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

.roadmap article {
  min-height: 236px;
}

.principle-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.principle-list p {
  min-height: 132px;
  margin: 0;
  padding: 18px;
  border-left: 4px solid var(--teal);
  border-radius: 6px;
  color: #344054;
  background: #f8fbfb;
}

@media (max-width: 1100px) {
  .capability-grid,
  .roadmap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .layer-stack,
  .principle-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .hero {
    min-height: auto;
    padding: 22px 22px 26px;
    background-position: center right 35%;
  }

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

  .hero-content {
    margin: 54px 0 34px;
  }

  h1 {
    font-size: 32px;
  }

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

  .hero-metrics,
  .capability-grid,
  .layer-stack,
  .flow,
  .roadmap,
  .principle-list {
    grid-template-columns: 1fr;
  }

  .section,
  .section.band {
    width: 100%;
    padding: 42px 22px;
  }

  .section-heading h2 {
    font-size: 25px;
  }

  .button {
    width: 100%;
  }
}
