/* Design tokens from Figma Body (node 1:2), file ntJqfWAoHmbUuyhUwLLliT */

:root {
  --color-page: #f7f9fc;
  --color-stats-bg: #f2f4f7;
  --color-footer-bg: #f8fafc;
  --color-ink: #001e40;
  --color-ink-muted: #43474f;
  --color-accent-blue: #0061a5;
  --color-brand-blue: #0095f8;
  --color-brand-deep: #003366;
  --color-tag-bg: #d2e4ff;
  --color-tag-text: #00497e;
  --color-nav-logo: #1e3a8a;
  --color-icon-circle: #0095f8;
  --color-platform-icon-bg: #eceef1;
  --color-border-light: rgba(195, 198, 209, 0.1);
  --color-stats-label-blue: #dbeafe;
  --color-core-subtitle: rgba(219, 234, 254, 0.8);
  --color-core-card-text: rgba(219, 234, 254, 0.6);
  --color-scenario-gradient-from: rgba(0, 30, 64, 0.9);
  --color-scenario-gradient-to: rgba(0, 30, 64, 0);
  --color-link: #94a3b8;
  --color-copyright: #64748b;
  --font-zh: "PingFang SC", "Microsoft YaHei", "WenQuanYi Zen Hei", sans-serif;
  --font-num: "Inter", "Noto Sans JP", "PingFang SC", system-ui, sans-serif;
  --container: 1280px;
  --radius-xl: 48px;
  --radius-lg: 32px;
  --shadow-hero-img: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-float: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-card-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-stat-accent: 0 20px 25px -5px rgba(0, 149, 248, 0.2),
    0 8px 10px -6px rgba(0, 149, 248, 0.2);
  --nav-blur: blur(10px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--color-page);
  color: var(--color-ink);
  font-family: var(--font-zh);
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: fixed;
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 8px 12px;
  background: #fff;
  z-index: 200;
  border-radius: 8px;
  box-shadow: var(--shadow-card-sm);
}

/* —— Layout shell: design width 1280px centered; viewport min 1440 gives side gutters —— */
.shell {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 32px;
}

@media (min-width: 1440px) {
  body {
    min-width: 1440px;
  }
}

/* —— Top Navigation Bar (1:146) —— */
.topnav {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: 100%;
  /* max-width: var(--container); */
  backdrop-filter: var(--nav-blur);
  -webkit-backdrop-filter: var(--nav-blur);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-card-sm);
}

.topnav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container);
  margin-inline: auto;
  padding: 16px 32px;
  min-height: 64px;
}

.topnav__brand {
  margin: 0;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: -1.2px;
  color: var(--color-nav-logo);
  font-weight: 500;
}

/* —— Hero Section (1:3) —— */
.hero {
  padding-top: 128px;
  padding-bottom: 80px;
}

.hero__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 48px;
  row-gap: 48px;
  align-items: center;
  min-height: 516.98px;
}

.hero__copy {
  grid-column: 1 / span 5;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.hero__tag {
  display: inline-flex;
  align-items: flex-start;
  padding: 6px 16px;
  border-radius: 9999px;
  background: var(--color-tag-bg);
}

.hero__tag span {
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--color-tag-text);
}

.hero__title {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-weight: 500;
}

.hero__title-line1 {
  font-size: 60px;
  line-height: 66px;
  letter-spacing: -1.5px;
  color: var(--color-ink);
}

.hero__title-line2 {
  font-size: 60px;
  line-height: 66px;
  letter-spacing: -1.5px;
  background-image: linear-gradient(
    126.77deg,
    rgb(0, 51, 102) 0%,
    rgb(0, 149, 248) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__desc {
  margin: 0;
  max-width: 448px;
  font-size: 18px;
  line-height: 29.25px;
  color: var(--color-ink-muted);
}

.hero__desc-line {
  margin: 0;
}

.hero__media {
  grid-column: 6 / span 7;
  position: relative;
  justify-self: stretch;
}

.hero__visual {
  position: relative;
  aspect-ratio: 4 / 3;
  width: 100%;
  border-radius: 46px;
  overflow: hidden;
  box-shadow: var(--shadow-hero-img);
  /* 减少圆角处「漏边」亚像素缝（Chrome 常见）；与夜景主体接近，露缝也不易成黑线 */
  isolation: isolate;
}

.hero__visual-img-wrap {
  border-radius: var(--radius-xl);
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__visual-img {
  position: absolute;
  left: 0;
  top: -16.67%;
  width: 100%;
  height: 133.34%;
  max-width: none;
  object-fit: cover;
  display: block;
  /* 略微放大，让裁切边缘盖住圆角内侧 1px 级的抗锯齿缝 */
  transform: translateZ(0) scale(1.008);
  transform-origin: center center;
}

.hero__visual-gradient {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    #f7f9fc 0%,
    rgba(247, 249, 252, 0) 50%,
    rgba(247, 249, 252, 0) 100%
  );
  pointer-events: none;
}

.hero__float {
  position: absolute;
  left: -24px;
  bottom: -23.98px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float);
  z-index: 2;
}

.hero__float-icon {
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  background: var(--color-icon-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero__float-icon svg {
  width: 20px;
  height: 16px;
}

.hero__float-text {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 96px;
}

.hero__float-title {
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  color: var(--color-ink);
}

.hero__float-sub {
  margin: 0;
  font-size: 12px;
  line-height: 16px;
  color: var(--color-ink-muted);
}

/* —— Statistics (1:32) —— */
.stats {
  background: var(--color-stats-bg);
  padding: 64px 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.stat-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 40px;
  border-radius: var(--radius-lg);
  position: relative;
}

.stat-card--light {
  background: #fff;
  box-shadow: var(--shadow-card-sm);
}

.stat-card--accent {
  background-image: linear-gradient(
    157.89deg,
    rgb(0, 51, 102) 0%,
    rgb(0, 149, 248) 100%
  );
}

.stat-card--accent::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-stat-accent);
  pointer-events: none;
}

.stat-card__value {
  margin: 0;
  text-align: center;
  font-family: var(--font-num);
  font-size: 48px;
  line-height: 48px;
  font-weight: 900;
}

.stat-card--light .stat-card__value {
  color: var(--color-ink);
}

.stat-card--accent .stat-card__value {
  color: #fff;
  position: relative;
  z-index: 1;
}

.stat-card__label {
  margin: 0;
  text-align: center;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.stat-card--light .stat-card__label {
  color: var(--color-ink-muted);
}

.stat-card--accent .stat-card__label {
  color: var(--color-stats-label-blue);
}

/* —— Platform advantages (1:50) —— */
.advantages {
  padding: 64px 0;
}

.advantages__head {
  display: flex;
  align-items: flex-end;
  margin-bottom: 64px;
}

.advantages__eyebrow {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 2.8px;
  text-transform: uppercase;
  color: var(--color-accent-blue);
}

.advantages__title {
  margin: 0;
  font-size: 36px;
  line-height: 40px;
  color: var(--color-ink);
  font-weight: 500;
}

.advantages__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.adv-card {
  position: relative;
  min-height: 300.5px;
  background: #fff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card-sm);
  padding: 48px 48px 40px;
}

.adv-card__icon {
  position: absolute;
  left: 48px;
  top: 48px;
  width: 64px;
  height: 64px;
  border-radius: 9999px;
  background: var(--color-platform-icon-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.adv-card__icon svg {
  display: block;
}

.adv-card__heading {
  margin: 96px 0 0;
  font-size: 24px;
  line-height: 32px;
  color: var(--color-ink);
  font-weight: 500;
}

.adv-card__text {
  margin: 16px 0 0;
  font-size: 18px;
  line-height: 29.25px;
  color: var(--color-ink-muted);
}

.adv-card__text p {
  margin: 0;
}

/* —— Core services (1:89) —— */
.core {
  position: relative;
  background: var(--color-ink);
  padding: 96px 0;
  overflow: hidden;
}

.core__glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 33.33%;
  height: 100%;
  background: linear-gradient(
    270deg,
    rgba(0, 149, 248, 0.2) 0%,
    rgba(0, 149, 248, 0) 100%
  );
  pointer-events: none;
}

.core__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.core__intro {
  max-width: 768px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.core__title {
  margin: 0;
  font-size: 36px;
  line-height: 40px;
  color: #fff;
  font-weight: 500;
}

.core__sub {
  margin: 0;
  font-size: 20px;
  line-height: 32.5px;
  color: var(--color-core-subtitle);
}

.core__sub p {
  margin: 0;
}

.core__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.core-card {
  position: relative;
  min-height: 218px;
  padding: 40px 32px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.core-card__icon {
  position: absolute;
  top: 40px;
  left: 33px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.core-card__icon--bus {
  width: 30px;
  height: 24px;
  left: 35px;
}

.core-card__icon--truck {
  width: 33px;
  height: 24px;
  left: 33.5px;
}

.core-card__title {
  margin: 56px 0 0;
  font-size: 24px;
  line-height: 32px;
  color: #fff;
  font-weight: 500;
}

.core-card__text {
  margin: 16px 0 0;
  max-width: 308px;
  font-size: 14px;
  line-height: 20px;
  color: var(--color-core-card-text);
}

.core-card__text p {
  margin: 0;
}

/* —— Scenarios (1:116) —— */
.scenarios {
  padding: 64px 0 80px;
}

.scenarios__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 64px;
}

.scenarios__title {
  margin: 0;
  font-size: 36px;
  line-height: 40px;
  text-align: center;
  color: var(--color-ink);
  font-weight: 500;
}

.scenarios__rule {
  width: 48px;
  height: 4px;
  border-radius: 9999px;
  background: var(--color-accent-blue);
}

.scenarios__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  min-height: 297px;
}

.scenario-card {
  grid-column: span 6;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 297px;
}

.scenario-card__media {
  position: absolute;
  inset: 0 0.34px 0 0;
  overflow: hidden;
}

.scenario-card__img {
  position: absolute;
  left: 0;
  top: -89.35%;
  width: 100%;
  height: 278.7%;
  max-width: none;
  object-fit: cover;
}

.scenario-card__grad {
  position: absolute;
  inset: 0 0.34px 0 0;
  background: linear-gradient(
    0deg,
    var(--color-scenario-gradient-from) 0%,
    var(--color-scenario-gradient-to) 100%
  );
  pointer-events: none;
}

.scenario-card__copy {
  position: absolute;
  left: 32px;
  bottom: 32px;
  width: 319.45px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 2;
}

.scenario-card__copy h3 {
  margin: 0;
  font-size: 24px;
  line-height: 32px;
  color: #fff;
  font-weight: 500;
}

.scenario-card__copy p {
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.7);
}

/* —— Footer (1:74) —— */
.site-footer {
  background: var(--color-footer-bg);
  border-top-left-radius: var(--radius-xl);
  border-top-right-radius: var(--radius-xl);
}

.site-footer__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 64px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.site-footer__brand {
  margin: 0;
  font-size: 20px;
  line-height: 28px;
  text-align: center;
  color: var(--color-nav-logo);
  font-weight: 500;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__nav a {
  font-size: 16px;
  line-height: 24px;
  color: var(--color-link);
}

.site-footer__legal {
  margin: 0;
  padding-top: 16px;
  font-family: "Nimbus Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
  color: var(--color-copyright);
}

/* —— Mobile: 768px —— */
@media (max-width: 768px) {
  body {
    min-width: 0;
  }

  .shell {
    padding-inline: 16px;
  }

  .topnav__inner {
    padding-inline: 16px;
  }

  .hero {
    padding-top: 96px;
    padding-bottom: 48px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    row-gap: 32px;
    min-height: 0;
  }

  .hero__copy {
    grid-column: 1 / -1;
    order: 1;
  }

  .hero__media {
    grid-column: 1 / -1;
    order: 2;
  }

  .hero__title-line1,
  .hero__title-line2 {
    font-size: 40px;
    line-height: 44px;
  }

  .hero__float {
    position: relative;
    left: 0;
    bottom: auto;
    margin-top: 16px;
    width: 100%;
    max-width: 360px;
  }

  .stats__grid {
    grid-template-columns: 1fr;
  }

  .advantages__grid {
    grid-template-columns: 1fr;
  }

  .adv-card {
    min-height: 0;
    padding: 32px 24px 28px;
  }

  .adv-card__icon {
    left: 24px;
    top: 24px;
  }

  .adv-card__heading {
    margin-top: 88px;
  }

  .core__grid {
    grid-template-columns: 1fr;
  }

  .scenarios__grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .scenario-card {
    grid-column: 1 / -1;
    min-height: 220px;
  }

  .scenario-card__copy {
    width: auto;
    right: 24px;
  }

  .site-footer__inner {
    padding: 48px 20px;
  }

  .site-footer__nav {
    gap: 20px;
  }
}
