:root {
  --green: #25b45b;
  --green-dark: #148846;
  --blue: #1677ff;
  --ink: #1f2a37;
  --muted: #697586;
  --line: #e5e8ee;
  --soft: #f5f8f7;
  --paper: #ffffff;
  --warning: #ffb020;
  --shadow: 0 18px 45px rgba(31, 42, 55, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  line-height: 1.7;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 72px;
  padding: 0 7vw;
  background: rgba(255, 255, 255, 0.94);
  border-top: 4px solid var(--green);
  border-bottom: 1px solid rgba(229, 232, 238, 0.9);
  backdrop-filter: blur(16px);
}

.brand,
.nav-links,
.hero-actions,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  min-width: 184px;
  font-weight: 700;
  font-size: 19px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  overflow: hidden;
  background: #0f56f3;
  box-shadow: 0 10px 22px rgba(22, 119, 255, 0.2);
}

.brand-mark img,
.app-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-links {
  flex: 1;
  justify-content: center;
  gap: 34px;
  color: #4b5563;
  font-size: 15px;
}

.nav-links a {
  padding: 22px 0;
  border-bottom: 3px solid transparent;
}

.nav-links a:hover {
  color: var(--green-dark);
  border-color: var(--green);
}

.header-action,
.download-action,
.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 6px;
  font-weight: 700;
}

.header-action,
.download-action,
.secondary-btn {
  border: 1px solid var(--line);
  background: #fff;
}

.header-action:hover,
.download-action:hover,
.secondary-btn:hover {
  border-color: var(--green);
  color: var(--green-dark);
}

.download-action {
  border-color: var(--green);
  color: var(--green-dark);
}

.hero {
  position: relative;
  display: grid;
  min-height: 590px;
  align-items: center;
  overflow: hidden;
  background: #edf8f3;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #edf8f3;
}

.hero-media::before {
  position: absolute;
  inset: 0;
  content: "";
  background: url("assets/case-neihuang-pixel-cover.png") center / cover no-repeat;
  opacity: 1;
  transition: opacity 0.35s ease;
}

.hero-media iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #edf8f3;
  opacity: 1;
}

.hero-media.is-loaded::before {
  opacity: 0;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.84) 34%, rgba(255, 255, 255, 0.16) 68%, rgba(255, 255, 255, 0.04) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.02) 58%, rgba(255, 255, 255, 0.52) 100%);
}

.hero-content {
  position: relative;
  width: min(720px, 86vw);
  margin-left: 7vw;
  padding: 80px 0 104px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green-dark);
  font-size: 15px;
  font-weight: 700;
}

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

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

h2 {
  margin-bottom: 16px;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.22;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.hero-copy {
  max-width: 650px;
  color: #4b5563;
  font-size: 19px;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.primary-btn {
  background: var(--green);
  color: #fff;
  box-shadow: 0 14px 28px rgba(37, 180, 91, 0.25);
}

.primary-btn:hover {
  background: var(--green-dark);
}

.app-panel,
.section-band,
.case-section,
.contact {
  width: min(1440px, 92vw);
  margin: 48px auto 0;
}

.app-panel {
  padding: 26px 0 8px;
}

.app-summary {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 32px;
  align-items: center;
  padding: 18px 8px 34px;
}

.app-icon {
  width: 128px;
  height: 128px;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 18px 36px rgba(15, 86, 243, 0.22);
}

.crumb {
  margin-bottom: 6px;
  color: var(--green);
  font-size: 16px;
}

.crumb span {
  color: #bdc5d1;
  margin: 0 8px;
}

.status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  color: var(--green-dark);
  font-weight: 700;
}

.status span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--warning);
}

.summary-copy {
  max-width: 1120px;
  color: #8a94a3;
  font-size: 18px;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  width: fit-content;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
}

.tab {
  min-width: 150px;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: #7b8491;
  cursor: pointer;
  font: inherit;
  font-size: 17px;
}

.tab:last-child {
  border-right: 0;
}

.tab.is-active {
  color: var(--green);
  font-weight: 700;
}

.tab-panels {
  margin-top: 32px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
}

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

.info-grid div {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

dt {
  margin-bottom: 6px;
  color: #697586;
}

dd {
  margin: 0;
  font-weight: 700;
}

.check-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 4px;
  content: "✓";
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: #e9f7ee;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
}

.section-band {
  padding: 72px 0 16px;
}

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

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

.feature-card {
  min-height: 240px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(31, 42, 55, 0.06);
}

.feature-card span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--green);
  font-size: 28px;
  font-weight: 800;
}

.feature-card p,
.case-card small,
.contact p {
  color: #697586;
}

.case-section {
  padding: 56px 0 20px;
}

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

.case-card {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(31, 42, 55, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.case-card:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 180, 91, 0.5);
  box-shadow: 0 18px 40px rgba(31, 42, 55, 0.12);
}

.case-cover {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--soft);
}

.case-cover::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(17, 24, 39, 0.2));
}

.case-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-body {
  display: grid;
  gap: 4px;
  padding: 18px;
}

.case-body strong {
  font-size: 18px;
}

.case-body small {
  font-size: 14px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 44px;
  align-items: start;
  padding: 64px 0;
  border-top: 1px solid var(--line);
}

.contact-box {
  padding: 28px;
  border-radius: 8px;
  background: var(--soft);
  border: 1px solid var(--line);
}

.contact-box p {
  margin-bottom: 12px;
}

.contact-box p:last-child {
  margin-bottom: 0;
}

.site-footer {
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  padding: 28px 7vw;
  color: #7b8491;
  border-top: 1px solid var(--line);
  background: #fbfcfd;
}

.qr-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.qr-modal.is-open {
  display: flex;
}

.qr-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.58);
}

.qr-dialog {
  position: relative;
  width: min(420px, 92vw);
  padding: 30px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(17, 24, 39, 0.25);
  text-align: center;
}

.qr-dialog h2 {
  margin-bottom: 8px;
  font-size: 26px;
}

.qr-dialog p {
  margin-bottom: 18px;
  color: #697586;
}

.qr-dialog img {
  display: block;
  width: min(320px, 100%);
  height: auto;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.qr-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: #4b5563;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.qr-close:hover {
  border-color: var(--green);
  color: var(--green-dark);
}

.experience-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.experience-modal.is-open {
  display: flex;
}

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

.experience-window {
  position: relative;
  width: min(1280px, 96vw);
  height: min(780px, 88vh);
  overflow: hidden;
  border-radius: 8px;
  background: #000;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

.experience-window iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}

.experience-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(17, 24, 39, 0.78);
  color: #fff;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}

.experience-close:hover {
  background: rgba(37, 180, 91, 0.95);
}

@media (max-width: 1020px) {
  .site-header {
    flex-wrap: wrap;
    gap: 10px 22px;
    padding: 14px 5vw;
  }

  .nav-links {
    order: 3;
    flex-basis: 100%;
    justify-content: flex-start;
    overflow-x: auto;
  }

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

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

  .contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .header-action,
  .download-action {
    display: none;
  }

  .hero {
    min-height: 620px;
  }

  .hero-media {
    background: #edf8f3;
  }

  .hero-media::after {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.88) 54%, rgba(255, 255, 255, 0.5) 100%);
  }

  .hero-content {
    margin: 0 auto;
    padding: 72px 0 96px;
  }

  .app-summary {
    grid-template-columns: 84px 1fr;
    gap: 18px;
  }

  .app-icon {
    width: 84px;
    height: 84px;
    border-radius: 20px;
  }

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

  .tabs {
    width: 100%;
  }

  .tab {
    flex: 1 1 50%;
    min-width: 0;
    padding: 0 12px;
    font-size: 15px;
  }

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

  .tab-panels {
    padding: 20px;
  }

  .feature-card {
    min-height: auto;
  }

  .experience-modal {
    padding: 10px;
  }

  .experience-window {
    width: 100%;
    height: 86vh;
  }
}
