:root {
  --ink: #0e111a;
  --ink-2: #171c29;
  --paper: #f7f8fb;
  --surface: #ffffff;
  --line: #e4e8f2;
  --muted: #5e6678;
  --text: #161b28;
  --accent: #e6002d;
  --accent-2: #7d4dff;
  --cyan: #20d6d2;
  --gold: #f2c14f;
  --radius: 8px;
  --shadow: 0 24px 80px rgba(15, 23, 42, 0.14);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(20px, 5vw, 72px);
  color: #fff;
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    padding 180ms ease;
}

.site-header.scrolled {
  background: rgba(13, 17, 26, 0.92);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(14px);
  padding-block: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 250px;
}

.brand-logo {
  width: 168px;
  height: auto;
}

.brand-logo-dark {
  display: none;
}

.brand-tag {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.76);
  /* 与 Logo 图中中文文字大小一致（Logo 168px 宽时中文高约 22px） */
  font-size: 23px;
  font-weight: 800;
  white-space: nowrap;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 40px);
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.nav a,
.footer a,
.nav a:hover,
.footer a:hover {
  color: #fff;
}

.header-cta,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
  line-height: 1.2;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.header-cta {
  padding: 0 22px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
}

.button {
  padding: 0 24px;
}

.button:hover,
.header-cta:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 16px 32px rgba(230, 0, 45, 0.26);
}

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  border-radius: 6px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
  opacity: 0.86;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 11, 19, 0.96) 0%, rgba(8, 11, 19, 0.82) 40%, rgba(8, 11, 19, 0.24) 100%),
    linear-gradient(180deg, rgba(8, 11, 19, 0.2), rgba(8, 11, 19, 0.88));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: calc(100% - 40px);
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 96px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 940px;
  margin: 0;
  font-size: clamp(40px, 5.2vw, 64px);
  line-height: 1.04;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.hero h1 span,
.section-heading h2 span {
  display: block;
}

.hero h1 span {
  white-space: nowrap;
}

.hero-copy {
  max-width: 680px;
  margin: 26px 0 34px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
}

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

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  max-width: 560px;
  margin: 56px 0 0;
}

.hero-proof div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
}

.hero-proof dt {
  font-size: 30px;
  font-weight: 900;
  line-height: 1.15;
}

.hero-proof dt .proof-note {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.86);
  white-space: nowrap;
}

.hero-proof dd {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.section {
  width: calc(100% - 40px);
  max-width: var(--max);
  margin: 0 auto;
  padding: 96px 0;
}

/* 相邻区块共用上一区块的底部留白，间隔减半 */
.section + .section {
  padding-top: 0;
}

/* 案例区块上方增加留白 */
#cases {
  padding-top: 48px;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 36px;
}

.section-heading.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  max-width: none;
  align-items: end;
}

.section-heading h2,
.platform-copy h2,
.contact-copy h2,
.download h2,
.proof-card h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: 0;
}

.section-heading p,
.platform-copy p,
.contact-copy p,
.download p,
.proof-card p {
  color: var(--muted);
  font-size: 16px;
}

.solution-card,
.cooperation-grid article,
.platform-panel,
.proof-card,
.case-card,
.solution-detail {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03);
}

.solution-card span,
.case-card span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.solution-card h3,
.cooperation-grid h3,
.platform-panel h3,
.case-card h3 {
  margin: 12px 0 10px;
  color: var(--text);
  font-size: 20px;
  line-height: 1.25;
}

.solution-card p,
.cooperation-grid p,
.platform-panel p,
.case-card p {
  margin: 0;
  color: var(--muted);
}

.case-card em {
  display: inline-flex;
  margin-top: 18px;
  color: var(--accent);
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
}

.solution-heading-side {
  display: grid;
  gap: 18px;
  justify-items: end;
}

.solution-heading-side p {
  margin: 0;
}

.solution-controls {
  display: flex;
  gap: 8px;
}

.solution-controls button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 6px;
  color: var(--text);
  cursor: pointer;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.solution-controls button:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  transform: translateY(-1px);
}

.solutions,
.framework,
.cases {
  width: 100%;
  max-width: none;
  padding-inline: max(20px, calc((100vw - var(--max)) / 2));
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(280px, 1fr));
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 6px;
  cursor: grab;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

.solution-grid.dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  user-select: none;
}

.solution-card {
  min-height: 254px;
  padding: 26px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: var(--radius);
  text-align: left;
  scroll-snap-align: start;
  appearance: none;
  font: inherit;
  color: inherit;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.solution-card::after {
  position: absolute;
  inset: auto 18px 18px auto;
  width: 72px;
  height: 72px;
  content: "";
  border: 1px solid rgba(230, 0, 45, 0.18);
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(230, 0, 45, 0.12), rgba(32, 214, 210, 0.12));
}

.solution-card.active {
  border-color: rgba(230, 0, 45, 0.32);
  background: #111725;
  box-shadow: 0 18px 54px rgba(15, 23, 42, 0.16);
}

.solution-card.active h3,
.solution-card.active p {
  color: #fff;
}

.solution-card.active p {
  color: rgba(255, 255, 255, 0.74);
}

.solution-card:hover {
  transform: translateY(-2px);
  border-color: rgba(230, 0, 45, 0.28);
}

.solution-card:focus-visible,
.solution-controls button:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(230, 0, 45, 0.14);
  outline: none;
}

.solution-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 18px;
  padding: 30px;
  background:
    radial-gradient(circle at 95% 0%, rgba(32, 214, 210, 0.16), transparent 26%),
    #fff;
}

.solution-detail h3 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 30px;
  line-height: 1.18;
}

.solution-detail p {
  margin: 0;
  color: var(--muted);
}

.solution-detail ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.solution-detail li {
  padding: 13px 15px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  border-radius: 6px;
  color: #303747;
}

.framework-board {
  display: grid;
  gap: 12px;
}

.framework-row {
  display: grid;
  grid-template-columns: 210px repeat(4, 1fr);
  gap: 10px;
  align-items: stretch;
}

.framework-row strong,
.framework-row span {
  display: grid;
  min-height: 64px;
  place-items: center;
  padding: 12px;
  border-radius: 6px;
  text-align: center;
}

.framework-row strong {
  background: var(--accent);
  color: #fff;
}

.framework-row span {
  border: 1px solid var(--line);
  background: #fff;
  color: #343b4d;
}

.platform-detail {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 32px;
  align-items: start;
}

.platform-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.tab {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
}

.tab.active {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.platform-panel {
  min-height: 320px;
  padding: 42px;
  background:
    radial-gradient(circle at 88% 12%, rgba(32, 214, 210, 0.2), transparent 24%),
    radial-gradient(circle at 12% 90%, rgba(125, 77, 255, 0.16), transparent 30%),
    #fff;
}

.platform-panel h3 {
  font-size: 30px;
}

.platform-panel ul {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.platform-panel li {
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.75);
  border-radius: 6px;
  color: #303747;
}

.cooperation {
  width: 100%;
  max-width: none;
  padding-inline: max(20px, calc((100vw - var(--max)) / 2));
  background: #fff;
}

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

.cooperation-grid article {
  padding: 28px;
  min-height: 190px;
}

.section.proof {
  width: 100%;
  max-width: none;
  padding: 64px max(20px, calc((100vw - var(--max)) / 2));
  background: var(--ink);
}

.proof-card {
  padding: 44px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    #141a29;
  border-color: rgba(255, 255, 255, 0.12);
}

.proof-card h2 {
  max-width: 760px;
  color: #fff;
}

.proof-card p {
  color: rgba(255, 255, 255, 0.68);
}

.contact-fields {
  margin: 28px 0 0;
  padding-left: 22px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
}

.contact-fields li {
  margin: 0 0 10px;
  font-weight: 700;
}

.contact-fields li:last-child {
  margin-bottom: 0;
}

.contact-fields span {
  display: block;
  color: var(--muted);
  font-weight: 400;
}

.proof-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.proof-list div {
  display: grid;
  align-content: center;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  text-align: center;
}

.proof-list strong,
.proof-list span {
  display: block;
}

.proof-list strong {
  color: #fff;
  font-size: 34px;
  line-height: 1;
}

.proof-list span {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.66);
}

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

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

.case-card:hover {
  transform: translateY(-3px);
  border-color: rgba(230, 0, 45, 0.32);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.12);
}

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

.case-card div {
  padding: 22px;
}

.section.download {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  padding: 48px;
  background:
    linear-gradient(135deg, rgba(230, 0, 45, 0.94), rgba(125, 77, 255, 0.92)),
    var(--accent);
  border-radius: var(--radius);
  color: #fff;
}

.download .eyebrow,
.download h2,
.download p {
  color: #fff;
}

.download p {
  max-width: 720px;
  margin: 14px 0 0;
  opacity: 0.8;
}

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

.contact {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.contact-qrcode {
  display: grid;
  justify-items: center;
  align-self: start;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03);
}

.contact-qrcode img {
  display: block;
  width: min(320px, 100%);
  height: auto;
  border-radius: 6px;
}

.tab:focus-visible,
.button:focus-visible,
.header-cta:focus-visible,
.nav-toggle:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(230, 0, 45, 0.14);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 42px clamp(20px, 5vw, 72px);
  background: #101521;
  color: rgba(255, 255, 255, 0.72);
}

.footer strong {
  display: block;
  margin-top: 14px;
  color: #fff;
}

.footer-logo {
  width: 190px;
  height: auto;
  /* 图片自带左侧透明空白约 33px（原图 414px 宽），缩放后约 15px，负边距使视觉内容与标语左对齐 */
  margin-left: -15px;
}

.footer p {
  margin: 8px 0 0;
}

.footer div:last-child {
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 14px;
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: #101521;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}
.footer-legal a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.25s;
}
.footer-legal a:hover {
  color: #fff;
}

@media (max-width: 1020px) {
  .site-header {
    grid-template-columns: auto auto auto;
    justify-content: space-between;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav {
    position: absolute;
    top: 72px;
    right: 20px;
    display: none;
    width: min(320px, calc(100vw - 40px));
    padding: 16px;
    flex-direction: column;
    gap: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(13, 17, 26, 0.96);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 12px;
  }

  .header-cta {
    display: none;
  }

  .section-heading.split,
  .platform-detail,
  .contact {
    grid-template-columns: 1fr;
  }

  .cooperation-grid,
  .proof-list {
    grid-template-columns: 1fr;
  }

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

  .framework-row {
    grid-template-columns: 1fr 1fr;
  }

  .framework-row strong {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .hero {
    min-height: 720px;
  }

  .hero-content,
  .section {
    width: calc(100% - 28px);
    max-width: var(--max);
  }

  .hero h1 {
    max-width: calc(100vw - 32px);
    font-size: 30px;
    line-height: 1.14;
    word-break: keep-all;
  }

  .hero h1 span {
    white-space: normal;
  }

  .section-heading h2,
  .platform-copy h2,
  .contact-copy h2,
  .download h2,
  .proof-card h2 {
    font-size: 30px;
    word-break: break-all;
  }

  .hero-copy {
    max-width: calc(100vw - 32px);
    font-size: 16px;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .section-heading p,
  .platform-copy p,
  .contact-copy p,
  .download p,
  .proof-card p {
    word-break: break-all;
  }

  .hero-proof,
  .case-grid,
  .download {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 70px 0;
  }

  .solutions,
  .framework,
  .cooperation,
  .cases,
  .proof {
    padding-inline: 14px;
  }

  .solution-grid {
    grid-template-columns: repeat(4, minmax(260px, 82vw));
    overflow-x: auto;
  }

  .solution-heading-side {
    justify-items: start;
  }

  .solution-controls {
    display: none;
  }

  .solution-detail {
    grid-template-columns: 1fr;
  }

  .framework-row {
    grid-template-columns: 1fr;
  }

  .platform-panel,
  .proof-card,
  .download {
    padding: 28px;
  }

  .footer {
    display: grid;
  }

  .footer div:last-child {
    flex-wrap: wrap;
  }

  .brand {
    min-width: 0;
    gap: 10px;
  }

  .brand-logo {
    width: 138px;
  }

  .brand-tag {
    min-height: 24px;
    padding-left: 8px;
    padding-right: 0;
    font-size: 19px;
  }
}
