:root {
  color-scheme: light;
  --ink: #172033;
  --muted: #657186;
  --line: #dbe2ec;
  --panel: #ffffff;
  --soft: #f3f6fa;
  --accent: #0f766e;
  --accent-dark: #115e59;
  --accent-soft: #d8f3ee;
  --warning: #d97706;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: #f7f9fc;
  line-height: 1.65;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 0 5vw;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

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

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 6px;
}

.nav {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-size: 15px;
}

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

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(82vh - 68px);
  overflow: hidden;
  padding: 78px 5vw 86px;
  background: #0d2b32;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(90deg, rgba(13, 43, 50, 0.96), rgba(13, 43, 50, 0.72), rgba(13, 43, 50, 0.34)),
    linear-gradient(0deg, rgba(13, 43, 50, 0.28), rgba(13, 43, 50, 0.08));
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 660px;
}

.hero-logo {
  width: 112px;
  height: 112px;
  margin-bottom: 22px;
  object-fit: contain;
  background: rgba(255, 245, 244, 0.94);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 700;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero .eyebrow {
  color: #99f6e4;
}

.hero h1,
.hero .lead {
  color: #fff;
}

.lead {
  max-width: 620px;
  margin-bottom: 32px;
  font-size: 20px;
}

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

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  font-weight: 700;
}

.primary-button {
  color: #fff;
  background: var(--accent);
}

.primary-button:hover {
  background: var(--accent-dark);
}

.secondary-button {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.64);
}

.dashboard-preview {
  position: absolute;
  top: 50%;
  right: -5vw;
  z-index: 0;
  overflow: hidden;
  width: min(940px, 70vw);
  min-height: 460px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(18, 96, 87, 0.18);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(23, 32, 51, 0.16);
  transform: translateY(-50%) rotate(-1deg);
}

.brand-panel {
  position: absolute;
  top: 50%;
  right: 8vw;
  z-index: 2;
  display: grid;
  place-items: center;
  width: min(360px, 36vw);
  min-height: 360px;
  padding: 34px;
  text-align: center;
  background: rgba(255, 245, 244, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
}

.brand-panel img {
  width: min(210px, 24vw);
  height: auto;
  object-fit: contain;
}

.brand-panel p {
  margin: 20px 0 0;
  color: #f38a73;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.1;
}

.brand-panel span {
  color: #f38a73;
  font-size: 16px;
  letter-spacing: 0.8em;
}

.preview-topbar {
  display: flex;
  gap: 8px;
  align-items: center;
  height: 46px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
}

.preview-topbar span {
  width: 10px;
  height: 10px;
  background: var(--line);
  border-radius: 50%;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
}

.metric,
.chart,
.rank-list,
.feature-grid article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.metric {
  min-height: 128px;
  padding: 16px;
}

.metric small,
.metric span {
  display: block;
  color: var(--muted);
}

.metric b {
  display: block;
  margin: 12px 0 4px;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.1;
}

.metric.strong {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

.metric.strong small,
.metric.strong span,
.metric.strong b {
  color: #fff;
}

.chart {
  grid-column: span 2;
  display: flex;
  align-items: end;
  gap: 12px;
  height: 220px;
  padding: 22px;
}

.chart div {
  flex: 1;
  min-width: 18px;
  background: linear-gradient(180deg, #14b8a6, #99f6e4);
  border-radius: 6px 6px 0 0;
}

.rank-list {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 220px;
  padding: 18px;
}

.rank-list p {
  margin-bottom: 4px;
  font-weight: 700;
}

.rank-list span {
  display: block;
  padding: 10px 12px;
  color: #314057;
  background: var(--soft);
  border-radius: 8px;
}

.section {
  padding: 76px 5vw;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 28px;
}

.section h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.18;
  letter-spacing: 0;
}

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

.feature-grid article {
  min-height: 190px;
  padding: 24px;
}

.feature-grid h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

.feature-grid p,
.contact p,
.data-list p {
  color: var(--muted);
}

.data-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 46px;
  align-items: start;
  background: #eaf3f0;
}

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

.data-list p {
  margin: 0;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 118, 110, 0.16);
  border-radius: 8px;
}

.text-link {
  color: var(--accent-dark);
  font-weight: 700;
}

.text-link:hover {
  color: var(--accent);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 46px;
  align-items: start;
  background: #fff;
}

address {
  display: grid;
  gap: 10px;
  padding: 22px;
  font-style: normal;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: center;
  padding: 24px 5vw;
  color: var(--muted);
  background: #eef2f7;
  border-top: 1px solid var(--line);
}

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

@media (max-width: 980px) {
  .data-band,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 680px;
  }

  .dashboard-preview {
    right: -240px;
    width: 760px;
    opacity: 0.78;
  }

  .brand-panel {
    right: -180px;
    width: 420px;
    opacity: 0.78;
  }

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

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 14px 20px;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .hero,
  .section {
    padding-right: 20px;
    padding-left: 20px;
  }

  .hero {
    min-height: 620px;
  }

  .lead {
    font-size: 17px;
  }

  .dashboard-preview {
    right: -320px;
    width: 720px;
    min-height: 420px;
    opacity: 0.55;
  }

  .brand-panel {
    right: -260px;
    width: 380px;
    min-height: 300px;
    opacity: 0.45;
  }

  .preview-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .chart {
    grid-column: auto;
    height: 180px;
  }
}
