:root {
  --bg: #eef8f7;
  --surface: rgba(255, 255, 255, 0.76);
  --text: #193536;
  --muted: #547173;
  --accent: #5ac2b7;
  --accent-deep: #2e9187;
  --accent-soft: #d9f4f1;
  --dark-muted: #afd8d3;
  --shadow: 0 22px 60px rgba(23, 66, 68, 0.08);
  --ring: 0 0 0 1px rgba(131, 190, 182, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(137, 225, 213, 0.32), transparent 28%),
    radial-gradient(circle at top right, rgba(190, 240, 231, 0.45), transparent 24%),
    linear-gradient(180deg, #f4fffd 0%, #eef8f7 52%, #f7fbff 100%);
}

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

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

.page-shell {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 24px;
  backdrop-filter: blur(18px);
  background: rgba(244, 255, 253, 0.72);
  border-bottom: 1px solid rgba(146, 199, 193, 0.16);
}

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

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  box-shadow: var(--ring);
}

.brand span {
  font-weight: 600;
  font-size: 16px;
  white-space: nowrap;
}

.nav,
.topbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.nav a,
.ghost-link,
.nav-cta,
.primary-btn,
.secondary-btn,
.carousel-btn,
.lang-btn,
.reference-item strong {
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.nav a,
.ghost-link {
  font-size: 15px;
  color: var(--muted);
}

.nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  box-shadow: inset 0 0 0 1px rgba(131, 190, 182, 0.14);
}

.nav a:hover,
.ghost-link:hover {
  color: var(--text);
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.82);
}

.nav a.active {
  color: #faffff;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  box-shadow: 0 10px 24px rgba(50, 151, 144, 0.18);
}

.lang-bar {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--ring);
}

.lang-btn {
  min-width: 54px;
  height: 34px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.lang-btn.active {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #faffff;
}

.nav-cta,
.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
}

.nav-cta,
.primary-btn {
  color: #faffff;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  box-shadow: 0 18px 40px rgba(50, 151, 144, 0.18);
}

.nav-cta:hover,
.primary-btn:hover,
.secondary-btn:hover,
.carousel-btn:hover,
.lang-btn:hover {
  transform: translateY(-1px);
}

.secondary-btn {
  color: var(--text);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--ring);
}

.hero,
.section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 64px 24px;
  scroll-margin-top: 96px;
}

.hero {
  padding-top: 34px;
}

.hero-showcase {
  display: grid;
  gap: 18px;
}

.showcase-stack {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 20px;
  align-items: stretch;
}

.hero-copy,
.app-icon-panel,
.carousel,
.feature-card,
.step-card,
.reference-item {
  border-radius: 8px;
  box-shadow: var(--shadow), var(--ring);
}

.hero-copy {
  padding: 34px;
  background: rgba(255, 255, 255, 0.78);
}

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

.hero h1,
.section-heading h2,
.feature-card h3,
.step-card h3,
.app-icon-panel h2 {
  font-family: "Noto Serif SC", Georgia, serif;
}

.hero h1 {
  margin: 0;
  font-size: clamp(38px, 4.8vw, 64px);
  line-height: 1.08;
  font-weight: 600;
}

.hero-text {
  margin: 22px 0 0;
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.hero-points {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.hero-points li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.7;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

.carousel-wrap {
  position: relative;
  height: 100%;
  min-height: 480px;
}

.app-icon-panel {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  align-items: center;
  gap: 18px;
  padding: 22px;
  height: 100%;
  min-height: 480px;
  background: linear-gradient(180deg, rgba(248, 255, 254, 0.92) 0%, rgba(232, 247, 245, 0.94) 100%);
}

.icon-orb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 220px;
  border-radius: 32px;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.95), rgba(219, 244, 240, 0.92));
  box-shadow:
    inset 0 0 0 1px rgba(136, 196, 188, 0.24),
    0 24px 48px rgba(39, 113, 109, 0.12);
}

.icon-orb img {
  width: 152px;
  height: 152px;
  object-fit: contain;
}

.icon-label {
  margin: 0 0 10px;
  color: var(--accent-deep);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.app-icon-panel h2 {
  margin: 0;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.2;
  font-weight: 600;
}

.app-icon-panel p:last-of-type {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

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

.carousel {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  width: 100%;
  height: 100%;
  padding: 18px;
  background: linear-gradient(180deg, rgba(248, 255, 254, 0.82) 0%, rgba(232, 247, 245, 0.9) 100%);
}

.carousel-track {
  position: relative;
  flex: 1;
  min-height: 420px;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(6%) scale(0.985);
  transition: opacity 420ms ease, transform 420ms ease;
  pointer-events: none;
}

.slide.active {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}

.slide img {
  width: 100%;
  height: 380px;
  object-fit: contain;
  object-position: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 42px rgba(25, 66, 68, 0.08);
  border: 1px solid rgba(125, 177, 171, 0.22);
}

.slide figcaption {
  margin-top: 16px;
  color: var(--muted);
  font-size: 15px;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}

.carousel-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 1;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(86, 127, 124, 0.22);
  cursor: pointer;
}

.carousel-dot.active {
  width: 28px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
}

.carousel-btn {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--ring);
  color: var(--text);
  font-size: 28px;
  cursor: pointer;
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.18;
  font-weight: 600;
  max-width: 780px;
}

.feature-grid,
.step-list,
.reference-list {
  display: grid;
  gap: 18px;
}

.feature-section {
  min-height: calc(100vh - 96px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

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

.feature-card,
.step-card,
.reference-item {
  padding: 24px;
  background: rgba(255, 255, 255, 0.74);
}

.feature-card h3,
.step-card h3 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 500;
}

.feature-card p,
.step-card p,
.reference-item span {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  word-break: break-word;
}

.hero-bottom-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
}

.wechat-entry {
  position: relative;
  display: inline-flex;
}

.bar-action {
  min-height: 44px;
  text-align: center;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.bar-action.primary {
  color: #faffff;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  box-shadow: 0 18px 40px rgba(50, 151, 144, 0.18);
}

.wechat-panel {
  position: absolute;
  left: 0;
  width: 200px;
  bottom: calc(100% + 12px);
  z-index: 8;
  padding: 18px;
  /*width: fit-content;*/
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow), var(--ring);
}

.wechat-panel img {
  width: 220px;
  height: 220px;
  object-fit: contain;
  border-radius: 8px;
}

.dark-panel {
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(18, 55, 56, 0.98) 0%, rgba(24, 72, 72, 0.98) 100%);
  color: #f0fffd;
  box-shadow: 0 28px 60px rgba(22, 58, 59, 0.18);
  padding-bottom: 28px;
}

.dark-panel .section-heading h2,
.dark-panel .step-card h3,
.dark-panel .step-index {
  color: #f7fffe;
}

.dark-panel .eyebrow {
  color: #96e0d8;
}

.dark-panel .step-card {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(169, 225, 216, 0.12);
}

.dark-panel .step-card p {
  color: var(--dark-muted);
}

.step-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.step-index {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--accent-soft);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

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

.references-section {
  padding-top: 26px;
}

.reference-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.reference-item strong {
  color: var(--accent-deep);
  font-size: 15px;
  white-space: nowrap;
}

.reference-item:hover strong {
  transform: translateX(2px);
}

@media (max-width: 1120px) {
  .topbar {
    flex-wrap: wrap;
    justify-content: center;
  }

  .brand,
  .nav,
  .topbar-actions {
    justify-content: center;
  }

  .showcase-stack {
    grid-template-columns: 1fr;
  }

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

  .app-icon-panel {
    justify-items: center;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }
}

@media (max-width: 760px) {
  .hero,
  .section {
    padding: 52px 18px;
  }

  .hero {
    min-height: auto;
  }

  .feature-section {
    min-height: auto;
    justify-content: flex-start;
  }

  .topbar {
    padding: 16px 18px;
  }

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

  .nav a {
    flex: 1 1 calc(50% - 8px);
    min-width: 120px;
  }

  .hero-copy,
  .app-icon-panel,
  .carousel,
  .feature-card,
  .step-card,
  .reference-item {
    padding: 20px;
  }

  .carousel-track {
    min-height: 0;
  }

  .slide img {
    height: auto;
    max-height: none;
  }

  .carousel-wrap,
  .app-icon-panel {
    min-height: auto;
  }

  .carousel {
    overflow: visible;
  }

  .carousel-track {
    min-height: auto;
  }

  .slide {
    position: relative;
    inset: auto;
    display: none;
    transform: none;
  }

  .slide.active {
    display: block;
  }

  .feature-grid,
  .step-list,
  .reference-list {
    grid-template-columns: 1fr;
  }

  .reference-item {
    align-items: flex-start;
    flex-direction: column;
  }

  .icon-orb {
    width: 180px;
    height: 180px;
  }

  .icon-orb img {
    width: 124px;
    height: 124px;
  }

  .nav-cta,
  .primary-btn,
  .secondary-btn {
    width: 100%;
  }

  .hero-bottom-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .wechat-entry {
    width: 100%;
  }

  .bar-action {
    width: 100%;
  }

  .wechat-panel {
    left: 50%;
    transform: translateX(-50%);
  }

  .references-section {
    padding-top: 52px;
  }
}
