:root {
  --font-body: "Manrope", "Noto Sans SC", sans-serif;
  --font-display: "Prata", "Noto Serif SC", serif;
  --font-display-zh: "Noto Serif SC", "Prata", serif;
  --bg: #fff4f8;
  --surface: rgba(255, 248, 252, 0.88);
  --surface-strong: rgba(255, 250, 253, 0.96);
  --text: #362332;
  --muted: #7e6978;
  --pink: #dc5d95;
  --pink-deep: #b73e76;
  --pink-soft: #ffb6d4;
  --line: rgba(96, 64, 83, 0.12);
  --shadow: 0 24px 60px rgba(185, 91, 137, 0.12);
  --shadow-soft: 0 12px 28px rgba(185, 91, 137, 0.1);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-pill: 999px;
  --max-width: 1220px;
}

html[data-language="zh"] {
  --font-display: var(--font-display-zh);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font-body);
  background:
    radial-gradient(circle at top left, rgba(255, 182, 212, 0.34), transparent 24%),
    radial-gradient(circle at top right, rgba(220, 93, 149, 0.16), transparent 20%),
    linear-gradient(180deg, #fff8fb 0%, #fff4f8 50%, #fff0f6 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(220, 93, 149, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(220, 93, 149, 0.1) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at center, black 36%, transparent 86%);
}

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

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

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

button {
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

.page-shell {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding: 1.1rem 0 2.4rem;
}

.site-header,
.section-surface,
.service-card,
.step-card,
.cooperate-card {
  backdrop-filter: blur(16px);
}

.site-header {
  position: sticky;
  top: 1rem;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  margin-bottom: 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(255, 249, 252, 0.84);
  box-shadow: var(--shadow-soft);
}

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

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 18px;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: linear-gradient(145deg, var(--pink), var(--pink-soft));
  box-shadow: 0 12px 24px rgba(220, 93, 149, 0.22);
}

.brand-copy {
  display: grid;
  gap: 0.08rem;
}

.brand-copy strong {
  font-family: var(--font-display);
  font-size: 1.14rem;
  font-weight: 400;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.8rem;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 1.1rem;
  min-width: 0;
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 600;
}

.site-nav a {
  padding-bottom: 0.15rem;
  border-bottom: 1px solid transparent;
  transition:
    color 160ms ease,
    border-color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.cooperate-email:hover,
.cooperate-email:focus-visible {
  color: var(--pink-deep);
  border-color: currentColor;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.28rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.72);
}

.language-button {
  min-width: 3.4rem;
  padding: 0.54rem 0.74rem;
  border-radius: var(--radius-pill);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  transition:
    transform 160ms ease,
    color 160ms ease,
    background-color 160ms ease;
}

.language-button:hover,
.language-button:focus-visible,
.button:hover,
.button:focus-visible,
.follow-tab:hover,
.follow-tab:focus-visible {
  transform: translateY(-1px);
}

.language-button.is-active {
  color: #fff;
  background: linear-gradient(145deg, var(--pink), var(--pink-soft));
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.2rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-weight: 800;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.button-primary {
  color: #fff;
  background: linear-gradient(145deg, var(--pink), var(--pink-soft));
  box-shadow: 0 14px 28px rgba(220, 93, 149, 0.2);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.8);
}

.button-mini {
  min-height: 2.8rem;
  padding-inline: 1rem;
  font-size: 0.9rem;
}

main {
  display: grid;
  gap: 1.25rem;
}

.section-surface {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(145deg, rgba(255, 251, 253, 0.94), rgba(255, 242, 248, 0.84)),
    var(--surface);
  box-shadow: var(--shadow);
}

.section-surface::before {
  content: "";
  position: absolute;
  inset: auto auto -10% -4%;
  width: 15rem;
  height: 15rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 182, 212, 0.18), transparent 68%);
  pointer-events: none;
}

.hero,
.panel {
  padding: 1.45rem;
}

.hero-stack {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1rem;
  max-width: 68rem;
}

.section-label,
.card-label {
  margin: 0 0 0.8rem;
  color: var(--pink);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

html[data-language="zh"] .section-label,
html[data-language="zh"] .card-label {
  letter-spacing: 0.08em;
}

.hero-title,
.section-heading h2,
.step-card h3,
.service-card h3,
.qr-showcase-copy h3,
.cooperate-email {
  margin: 0;
  font-family: var(--font-display);
  text-wrap: balance;
}

.hero-title {
  max-width: 16ch;
  font-size: clamp(2.4rem, 4.7vw, 4.7rem);
  line-height: 1;
}

html[data-language="zh"] .hero-title {
  max-width: 14ch;
  line-height: 1.08;
}

.hero-intro,
.section-copy,
.step-card p,
.service-card p,
.qr-showcase-copy-text,
.cooperate-email-copy,
.copy-feedback,
.site-footer {
  color: var(--muted);
}

.hero-intro {
  max-width: 52rem;
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.7;
}

.hero-note {
  max-width: 48rem;
  margin: -0.15rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.hero-actions,
.cooperate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.step-card,
.service-card,
.qr-showcase,
.cooperate-card {
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.1rem;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  min-height: 2.55rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.74);
  color: var(--text);
  font-weight: 700;
}

.section-heading {
  position: relative;
  z-index: 1;
}

.section-heading h2 {
  max-width: 14ch;
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  line-height: 1.08;
}

.section-heading-compact {
  display: grid;
  gap: 0.2rem;
}

.section-heading-centered {
  max-width: 44rem;
  margin: 0 auto 1.15rem;
  text-align: center;
}

.section-copy {
  margin: 0;
  line-height: 1.6;
}

.step-grid,
.service-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
}

.step-card {
  display: grid;
  gap: 0.55rem;
  padding: 1.1rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.74);
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  background: linear-gradient(145deg, var(--pink), var(--pink-soft));
}

.step-card h3 {
  font-size: 1.45rem;
  line-height: 1.05;
}

.step-card p {
  margin: 0;
  line-height: 1.55;
}

.services-section {
  display: grid;
  gap: 1.2rem;
}

.services-panel,
.contact-band {
  display: grid;
  gap: 1.1rem;
}

.service-card {
  padding: 1.2rem;
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 251, 253, 0.94), rgba(255, 243, 248, 0.86)),
    rgba(255, 255, 255, 0.8);
}

.service-card h3 {
  margin-bottom: 0.55rem;
  font-size: 1.4rem;
  line-height: 1.05;
}

.service-card p {
  margin: 0;
  line-height: 1.55;
}

.follow-panel {
  display: grid;
  gap: 1rem;
}

.follow-tabs {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
}

.follow-tab {
  padding: 0.72rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.8);
  color: var(--muted);
  font-weight: 800;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease;
}

.follow-tab.is-active {
  color: #fff;
  background: linear-gradient(145deg, var(--pink), var(--pink-soft));
  box-shadow: 0 12px 24px rgba(220, 93, 149, 0.18);
}

.qr-showcase {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 0.8rem;
  padding: 1rem;
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(255, 251, 253, 0.94), rgba(255, 242, 248, 0.88)),
    rgba(255, 255, 255, 0.82);
}

.platform-handle {
  margin: 0;
  font-weight: 700;
  line-height: 1.45;
}

.qr-showcase-copy {
  display: grid;
  gap: 0.55rem;
}

.qr-showcase h3 {
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  line-height: 1.08;
  text-align: center;
}

.qr-showcase-copy-text {
  margin: 0;
  line-height: 1.55;
  text-align: center;
}

.qr-showcase-image {
  width: min(100%, 220px);
  aspect-ratio: 1;
  padding: 0.65rem;
  border-radius: 24px;
  background: #fff;
  box-shadow:
    0 18px 28px rgba(220, 93, 149, 0.1),
    inset 0 0 0 1px rgba(96, 64, 83, 0.08);
}

.cooperate-panel {
  display: grid;
  gap: 1rem;
}

.cooperate-card {
  position: relative;
  z-index: 1;
  padding: 1.1rem;
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(255, 237, 245, 0.94), rgba(255, 249, 252, 0.92)),
    rgba(255, 255, 255, 0.82);
}

.cooperate-card-centered {
  width: min(100%, 44rem);
  margin: 0 auto;
  text-align: center;
}

.cooperate-card-centered .cooperate-actions {
  justify-content: center;
}

.cooperate-email {
  display: inline-block;
  max-width: 100%;
  margin-bottom: 0.6rem;
  overflow-wrap: anywhere;
  word-break: break-word;
  color: var(--pink-deep);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.04;
  border-bottom: 1px solid transparent;
}

.cooperate-email-copy {
  margin: 0;
  line-height: 1.55;
}

.copy-feedback {
  min-height: 1.5rem;
  margin: 0.85rem 0 0;
  font-size: 0.92rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem 1.2rem;
  padding: 1rem 0.35rem 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.site-footer p {
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: 1fr;
    justify-items: start;
    border-radius: 26px;
  }

  .site-nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .hero-title {
    max-width: 12ch;
  }
}

@media (max-width: 920px) {
  .step-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(calc(100% - 1rem), var(--max-width));
    padding-top: 0.55rem;
  }

  .site-header {
    top: 0.55rem;
    padding: 0.95rem;
  }

  .hero,
  .panel,
  .service-card,
  .step-card,
  .cooperate-card {
    border-radius: 24px;
  }

  .hero-title,
  .section-heading h2 {
    max-width: none;
  }

  .hero-title {
    font-size: clamp(2.3rem, 13vw, 4rem);
  }

  .follow-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.2rem;
    justify-content: flex-start;
  }

  .site-footer {
    flex-direction: column;
  }
}
