:root {
  --ink: #18212f;
  --muted: #5c6777;
  --line: #dce4ee;
  --panel: #ffffff;
  --panel-soft: #f4f8fc;
  --brand: #1267d8;
  --brand-deep: #0b3b7d;
  --accent: #91e9e0;
  --warning: #f2a51a;
  --danger: #dc3a32;
  --nav-height: 72px;
  --shadow: 0 18px 50px rgba(24, 33, 47, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.6;
  background: #f7fafc;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 clamp(18px, 5vw, 72px);
  color: #172033;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(220, 228, 238, 0.9);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  font-size: 15px;
  color: #3f4b5c;
}

.site-nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--brand);
  border-color: var(--brand);
}

.hero {
  position: relative;
  min-height: calc(76vh - var(--nav-height));
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #ffffff;
  background-image: url("./img/图片2.png");
  background-position: center;
  background-size: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 17, 29, 0.86) 0%, rgba(9, 17, 29, 0.68) 44%, rgba(9, 17, 29, 0.24) 100%),
    linear-gradient(0deg, rgba(9, 17, 29, 0.38), rgba(9, 17, 29, 0.08));
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 92px);
  padding: 50px 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
}

.hero h1 {
  margin: 0;
  font-size: clamp(48px, 8vw, 104px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-lead {
  width: min(680px, 100%);
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.8;
}

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

.primary-action,
.secondary-action,
#download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.primary-action,
#download-btn {
  color: #ffffff;
  background: var(--brand);
  border: 1px solid var(--brand);
}

.secondary-action {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.primary-action:hover,
#download-btn:hover {
  background: var(--brand-deep);
  border-color: var(--brand-deep);
}

.secondary-action:hover {
  background: rgba(255, 255, 255, 0.2);
}

.section {
  padding: clamp(58px, 8vw, 96px) clamp(18px, 5vw, 72px);
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.section-heading {
  width: min(860px, 100%);
  margin-bottom: 34px;
}

.section h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.18;
  letter-spacing: 0;
}

.section p {
  color: var(--muted);
}

.platform-section {
  background: #ffffff;
}

.platform-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.2fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: start;
}

.section-copy p:last-child {
  margin: 20px 0 0;
  font-size: 18px;
}

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

.capability-item,
.advantage-card,
.case-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(24, 33, 47, 0.08);
}

.capability-item {
  min-height: 178px;
  padding: 22px;
}

.capability-item span {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--brand);
  font-weight: 900;
}

.capability-item strong {
  display: block;
  font-size: 19px;
}

.capability-item p {
  margin: 10px 0 0;
  font-size: 15px;
}

.advantages-section {
  background: var(--panel-soft);
}

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

.advantage-card {
  min-height: 238px;
  padding: 22px;
  overflow: hidden;
}

.card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.feature-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  color: #ffffff;
  background: var(--brand);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
}

.advantage-card:nth-child(3n + 2) .feature-mark {
  background: var(--accent);
}

.advantage-card:nth-child(3n) .feature-mark {
  background: var(--warning);
}

.advantage-card h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
}

.advantage-card p {
  margin: 0 0 16px;
  font-size: 15px;
}

.feature-card-image img {
  width: 100%;
  height: 116px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--line);
}

.bar-chart {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
  min-height: 124px;
  padding-top: 10px;
}

.bar-chart div {
  display: grid;
  grid-template-rows: 84px auto;
  gap: 8px;
  justify-items: center;
  text-align: center;
}

.bar-chart span {
  align-self: end;
  width: 28px;
  background: var(--danger);
}

.bar-chart div:first-child span {
  background: #4b8fe8;
}

.bar-chart small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.25;
}

.logo-wall {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px 12px;
  align-items: center;
}

.logo-wall figure,
.framework-visuals figure,
.security-visuals figure {
  margin: 0;
  text-align: center;
}

.domestic-logos figure {
  grid-column: span 2;
}

.domestic-logos .wide-logo {
  grid-column: span 3;
}

.domestic-logos img {
  width: 100%;
  max-height: 44px;
  object-fit: contain;
}

.domestic-logos .wide-logo img {
  max-height: 34px;
}

.logo-wall figcaption,
.framework-visuals figcaption,
.security-visuals figcaption {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.advantage-icon {
  width: 58px;
  height: 58px;
  margin: 6px auto 0;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
}

.metric-card strong {
  display: block;
  margin-top: 20px;
  color: var(--danger);
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1;
}

.advantage-illustration {
  width: min(180px, 100%);
  height: auto;
  margin: 6px auto 0;
  object-fit: contain;
}

.platform-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  justify-content: space-evenly;
}

.platform-logos img {
  width: auto;
  height: 42px;
  object-fit: contain;
}

.platform-logos .browser-logos {
  flex: 0 0 100%;
  width: min(190px, 100%);
  height: auto;
}

.framework-visuals,
.security-visuals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
  margin-top: 18px;
}

.framework-symbol {
  display: block;
  width: 64px;
  height: 64px;
  margin: 0 auto 8px;
  background-repeat: no-repeat;
  background-size: 100% auto;
}

.react-symbol {
  background-image: url("./media/image23.png");
}

.vue-symbol {
  background-image: url("./media/image23-1.png");
}

.angular-symbol {
  background-image: url("./media/image23-2.png");
}

.security-visuals img {
  width: 100%;
  max-height: 58px;
  object-fit: contain;
}

.cases-section {
  background: #ffffff;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.case-card {
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.case-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.case-card span {
  display: block;
  padding: 18px 20px 20px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 900;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.download-section {
  padding-top: 0;
  background: #ffffff;
}

.download-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(28px, 5vw, 46px);
  color: #ffffff;
  background: #172033;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.download-panel h2,
.download-panel p,
.download-panel .section-kicker {
  color: #ffffff;
}

.download-panel p:last-child {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
}

#download-btn {
  min-width: 168px;
  border: 0;
}

.site-footer {
  padding: 28px 18px 40px;
  color: #677386;
  background: #ffffff;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

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

@media (max-width: 980px) {
  .site-header {
    height: auto;
    min-height: var(--nav-height);
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
    white-space: nowrap;
  }

  .hero {
    min-height: 68vh;
  }

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

  .section-copy {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .hero {
    min-height: 66vh;
    background-position: center left 42%;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin: 0 auto;
    padding: 42px 0;
  }

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

  .primary-action,
  .secondary-action,
  #download-btn {
    width: 100%;
  }

  .capability-strip,
  .advantage-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .capability-item,
  .advantage-card {
    min-height: auto;
  }

  .section {
    padding-left: 16px;
    padding-right: 16px;
  }
}
