:root {
  color-scheme: light;
  --ink: #111827;
  --muted: #5d6778;
  --line: #dde4ec;
  --paper: #f7f8fa;
  --white: #ffffff;
  --teal: #0f766e;
  --cyan: #0891b2;
  --gold: #d89a2b;
  --coral: #d65d45;
  --navy: #172033;
  --shadow: 0 18px 45px rgba(25, 34, 51, 0.12);
  --case-ratio: 392 / 509;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid rgba(221, 228, 236, 0.76);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.brand-logo {
  display: block;
  width: auto;
  height: 34px;
  max-width: 150px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 28px);
  color: var(--muted);
  font-size: 14px;
}

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

.hero {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  padding: clamp(34px, 6vw, 78px) clamp(18px, 5vw, 72px) 44px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.98), rgba(247, 248, 250, 0.82)),
    radial-gradient(circle at 88% 8%, rgba(216, 154, 43, 0.22), transparent 32%),
    radial-gradient(circle at 48% 92%, rgba(8, 145, 178, 0.16), transparent 34%);
}

.hero-copy {
  max-width: 920px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4.2vw, 48px);
  line-height: 1.16;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: 0;
}

.lead {
  max-width: 640px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}

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

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-weight: 700;
}

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

.button.ghost {
  background: #fff;
}

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

.intro {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(20px, 5vw, 80px);
  align-items: start;
  background: #fff;
}

.intro-copy {
  max-width: 890px;
}

.intro-copy p {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.8;
}

.intro-copy p + p {
  margin-top: 18px;
}

.intro-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.intro-points span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  background: var(--paper);
  font-size: 14px;
  font-weight: 700;
}

.intro > p:last-child {
  max-width: 850px;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 26px);
  line-height: 1.7;
}

.section-heading {
  max-width: 720px;
}

.creators {
  background: var(--paper);
}

.creators .section-heading p:last-child {
  max-width: 820px;
  color: var(--muted);
}

.creator-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(260px, 0.78fr);
  gap: 14px;
  margin-top: 28px;
}

.creator-card,
.creator-stat {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.creator-card {
  min-height: 210px;
  padding: 24px;
}

.creator-avatar {
  display: grid;
  width: min(100%, 220px);
  min-height: 76px;
  margin-bottom: 22px;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.12), rgba(216, 154, 43, 0.22));
}

.creator-avatar img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.avatar-fallback {
  color: var(--teal);
  font-size: 18px;
  font-weight: 800;
}

.creator-card span,
.creator-stat span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
}

.creator-card p,
.creator-stat p {
  color: var(--muted);
}

.social-qrs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.social-qrs figure {
  margin: 0;
}

.social-qrs img {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  object-fit: contain;
  background: #fff;
}

.social-qrs figcaption {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.creator-stat {
  display: grid;
  min-height: 210px;
  align-content: center;
  padding: 24px;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--navy));
}

.creator-stat span,
.creator-stat p {
  color: rgba(255, 255, 255, 0.82);
}

.creator-stat strong {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(54px, 8vw, 88px);
  line-height: 1;
}

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

.feature-card,
.solution-list article,
.case-card,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.feature-card {
  min-height: 230px;
  padding: 24px;
}

.feature-index {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--coral);
  font-weight: 800;
}

.feature-card p,
.solution-list p,
.case-content p {
  color: var(--muted);
}

.split {
  background: var(--navy);
  color: #fff;
}

.split .eyebrow {
  color: #75e3d7;
}

.solution-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.solution-list article {
  min-height: 210px;
  padding: 24px;
  color: var(--ink);
}

.training {
  background: #fff;
}

.training .section-heading p:last-child {
  max-width: 820px;
  color: var(--muted);
}

.training-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.training-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.training-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--paper);
}

.training-card div {
  padding: 20px;
}

.training-card span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
}

.training-card h3 {
  margin-bottom: 0;
}

.cases {
  background: #fff;
}

.cases .section-heading p:last-child {
  max-width: 780px;
  color: var(--muted);
}

.case-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.filter-button {
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--muted);
  background: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.filter-button.active,
.filter-button:hover {
  color: #fff;
  border-color: var(--teal);
  background: var(--teal);
}

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

.case-card {
  overflow: hidden;
}

.case-button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #111827;
  cursor: pointer;
}

.case-button img {
  display: block;
  width: 100%;
  aspect-ratio: var(--case-ratio);
  object-fit: cover;
  transition: transform 180ms ease;
}

.case-button:hover img {
  transform: scale(1.03);
}

.case-number {
  position: absolute;
  top: 12px;
  left: 12px;
  display: grid;
  min-width: 34px;
  min-height: 28px;
  place-items: center;
  border-radius: 6px;
  color: #fff;
  background: rgba(17, 24, 39, 0.78);
  font-size: 13px;
  font-weight: 800;
}

.case-content {
  padding: 22px;
  min-height: 206px;
}

.case-content span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(20px, 5vw, 70px);
  padding: clamp(54px, 8vw, 96px) clamp(18px, 5vw, 72px);
  color: #fff;
  background: linear-gradient(135deg, #10221f, #19364a 54%, #573326);
}

.contact p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-panel {
  display: grid;
  gap: 12px;
  padding: 24px;
  color: var(--ink);
}

.contact-panel p {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
}

.case-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.case-modal[aria-hidden="false"] {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(17, 24, 39, 0.72);
}

.modal-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  width: min(1120px, 100%);
  max-height: calc(100vh - 36px);
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 7px;
  color: #fff;
  background: rgba(17, 24, 39, 0.72);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.modal-media {
  display: grid;
  min-height: 420px;
  place-items: center;
  background: #111827;
}

.modal-media img,
.modal-media video {
  display: block;
  width: 100%;
  max-height: calc(100vh - 36px);
  object-fit: contain;
}

.modal-copy {
  padding: clamp(24px, 4vw, 40px);
  overflow-y: auto;
}

.modal-copy span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
}

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

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.modal-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border-radius: 7px;
  color: #fff;
  background: var(--teal);
  font-weight: 800;
}

.modal-open {
  overflow: hidden;
}

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

  .hero {
    min-height: auto;
  }

  .feature-grid,
  .creator-panel,
  .solution-list,
  .training-grid,
  .case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .modal-dialog {
    grid-template-columns: 1fr;
    overflow-y: auto;
  }

  .modal-media {
    min-height: 260px;
  }
}

@media (max-width: 640px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

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

  h1 {
    font-size: 34px;
    line-height: 1.12;
  }

  h2 {
    font-size: 26px;
  }

  h3 {
    font-size: 18px;
  }

  .lead {
    font-size: 16px;
  }

  .section {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .intro-copy p {
    font-size: 16px;
    line-height: 1.75;
  }

  .creator-stat strong {
    font-size: 50px;
  }

  .case-content {
    padding: 18px;
  }

  .contact {
    padding-top: 46px;
    padding-bottom: 46px;
  }

  .feature-grid,
  .creator-panel,
  .solution-list,
  .training-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 190px;
  }

  .case-content {
    min-height: auto;
  }

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

  .filter-button {
    width: 100%;
  }
}
