:root {
  --ink: #2b2024;
  --muted: #7d6970;
  --paper: #fff8f5;
  --pearl: #fffdfb;
  --blush: #f6b8bd;
  --petal: #ef8195;
  --rose: #d7657a;
  --champagne: #d8b978;
  --cocoa: #4a3439;
  --line: rgba(120, 71, 82, 0.14);
  --soft-line: rgba(255, 255, 255, 0.72);
  --shadow: 0 28px 90px rgba(155, 74, 90, 0.16);
  --inner-glow: inset 0 1px 0 rgba(255, 255, 255, 0.9), inset 0 -18px 36px rgba(255, 220, 222, 0.2);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(255, 249, 245, 0.96) 0%, rgba(255, 240, 240, 0.92) 48%, rgba(252, 222, 227, 0.86) 100%),
    var(--paper);
  font-family:
    "PingFang SC",
    "Microsoft YaHei",
    "Noto Sans CJK SC",
    Arial,
    sans-serif;
  line-height: 1.65;
}

body::selection {
  color: var(--ink);
  background: rgba(239, 129, 149, 0.24);
}

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

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

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 12px clamp(18px, 4vw, 54px);
  color: var(--ink);
  background: rgba(255, 250, 248, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 60px rgba(190, 103, 120, 0.12);
  backdrop-filter: blur(20px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  font-weight: 800;
}

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 8px;
  background: var(--pearl);
  box-shadow:
    0 12px 30px rgba(185, 92, 108, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  overflow-x: auto;
  white-space: nowrap;
  color: rgba(43, 32, 36, 0.68);
  font-size: 14px;
  font-weight: 700;
  scrollbar-width: none;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-links a {
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--rose);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(122deg, rgba(255, 251, 247, 0.98) 0%, rgba(255, 232, 229, 0.88) 52%, rgba(239, 129, 149, 0.86) 100%);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.62) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.42) 0 1px, transparent 1px 100%),
    url("assets/logo-feiyu.png");
  background-size: 86px 86px, 86px 86px, min(58vw, 760px);
  background-position: center, center, right -120px center;
  background-repeat: repeat, repeat, no-repeat;
  opacity: 0.18;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 250, 246, 0.96) 0%, rgba(255, 247, 246, 0.84) 45%, rgba(246, 184, 189, 0.08) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.34) 0%, rgba(255, 235, 236, 0.26) 100%);
}

.hero-logo-card {
  position: absolute;
  right: clamp(18px, 7vw, 120px);
  top: 50%;
  z-index: 0;
  width: min(37vw, 480px);
  min-width: 300px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 8px;
  box-shadow:
    0 34px 100px rgba(177, 77, 98, 0.24),
    var(--inner-glow);
  transform: translateY(-46%);
  backdrop-filter: blur(16px);
}

.hero-logo-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(126, 69, 80, 0.2);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(690px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 96px);
  padding: 76px 0 118px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--rose);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.16;
}

h1 {
  color: var(--ink);
  font-size: clamp(58px, 10vw, 126px);
  font-weight: 900;
  letter-spacing: 0;
}

h2 {
  color: var(--ink);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 820;
  letter-spacing: 0;
}

h3 {
  color: var(--ink);
  font-size: 21px;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 610px;
  margin: 24px 0 0;
  color: rgba(43, 32, 36, 0.76);
  font-size: clamp(18px, 2vw, 23px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible,
.copy-btn:hover,
.copy-btn:focus-visible {
  transform: translateY(-1px);
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--rose), var(--petal));
  box-shadow: 0 16px 34px rgba(215, 101, 122, 0.28);
}

.button.secondary {
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 12px 28px rgba(155, 74, 90, 0.1);
  backdrop-filter: blur(10px);
}

.button.primary.dark {
  background: linear-gradient(135deg, var(--cocoa), var(--rose));
}

.button.secondary.dark {
  color: var(--ink);
  border-color: var(--line);
  background: var(--pearl);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 650px;
  margin: 46px 0 0;
}

.hero-stats div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.44);
  box-shadow: var(--inner-glow);
  backdrop-filter: blur(12px);
}

.hero-stats dt {
  color: var(--ink);
  font-size: 18px;
  font-weight: 820;
}

.hero-stats dd {
  margin: 4px 0 0;
  color: rgba(43, 32, 36, 0.58);
  font-size: 14px;
}

.section {
  width: min(var(--max-width), calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(72px, 9vw, 120px) 0;
  scroll-margin-top: 92px;
}

.intro {
  padding-top: 64px;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-heading p {
  max-width: 720px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.feature-grid,
.template-grid,
.process-steps,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.template-card,
.service-list article,
.process-steps article,
.company-profile,
.company-details,
.contact-item,
.qr-panel {
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow:
    var(--shadow),
    var(--inner-glow);
  backdrop-filter: blur(12px);
}

.feature-card {
  position: relative;
  min-height: 244px;
  padding: 28px;
}

.feature-card::after,
.service-list article::after,
.process-steps article::after {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 42px;
  height: 2px;
  background: linear-gradient(90deg, var(--champagne), transparent);
  content: "";
}

.feature-number {
  display: block;
  margin-bottom: 32px;
  color: var(--rose);
  font-size: 14px;
  font-weight: 900;
}

.feature-card p,
.template-card p,
.service-list p,
.process-steps p,
.product-copy p,
.mini-copy p,
.company-profile p,
.contact-section p {
  color: var(--muted);
}

.templates-section {
  width: 100%;
  max-width: none;
  padding-right: max(18px, calc((100vw - var(--max-width)) / 2));
  padding-left: max(18px, calc((100vw - var(--max-width)) / 2));
  background:
    linear-gradient(135deg, rgba(255, 253, 251, 0.98), rgba(255, 236, 238, 0.94)),
    var(--paper);
}

.template-card {
  overflow: hidden;
}

.template-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: #f5dfe1;
}

.template-card div {
  padding: 24px;
}

.template-card h3 {
  margin-top: 6px;
}

.template-tag {
  margin: 0;
  color: var(--rose);
  font-size: 13px;
  font-weight: 900;
}

.split-section,
.product-section,
.mini-program-section,
.company-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
}

.split-copy p,
.product-copy p,
.mini-copy p {
  margin-top: 18px;
  font-size: 18px;
}

.service-list {
  display: grid;
  gap: 14px;
}

.service-list article {
  position: relative;
  padding: 26px;
}

.service-list h3 {
  color: var(--rose);
}

.product-section {
  width: 100%;
  max-width: none;
  padding-right: max(18px, calc((100vw - var(--max-width)) / 2));
  padding-left: max(18px, calc((100vw - var(--max-width)) / 2));
  color: var(--ink);
  background:
    linear-gradient(124deg, rgba(87, 55, 62, 0.98) 0%, rgba(190, 108, 124, 0.94) 48%, rgba(255, 226, 225, 0.96) 100%);
}

.product-image img {
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  box-shadow: 0 32px 90px rgba(72, 39, 47, 0.26);
}

.product-copy {
  padding: clamp(4px, 1vw, 16px);
}

.product-copy h2,
.product-copy .eyebrow,
.product-copy p {
  color: #fff;
}

.product-copy p {
  color: rgba(255, 255, 255, 0.78);
}

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

.check-list li {
  position: relative;
  padding-left: 26px;
  color: rgba(255, 255, 255, 0.88);
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 10px;
  height: 10px;
  background: var(--champagne);
  border-radius: 50%;
  content: "";
}

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

.process-steps article {
  position: relative;
  padding: 26px;
}

.process-steps span {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 24px;
  color: #fff;
  background: linear-gradient(135deg, var(--rose), var(--petal));
  border-radius: 50%;
  box-shadow: 0 12px 26px rgba(215, 101, 122, 0.24);
  font-weight: 900;
}

.mini-program-section {
  width: 100%;
  max-width: none;
  padding-right: max(18px, calc((100vw - var(--max-width)) / 2));
  padding-left: max(18px, calc((100vw - var(--max-width)) / 2));
  background:
    linear-gradient(135deg, rgba(255, 249, 244, 0.98), rgba(246, 184, 189, 0.42)),
    var(--paper);
}

.qr-panel {
  justify-self: end;
  width: min(420px, 100%);
  padding: 34px;
  text-align: center;
}

.qr-code {
  position: relative;
  width: min(260px, 76vw);
  aspect-ratio: 1;
  margin: 0 auto 22px;
  background:
    linear-gradient(90deg, var(--cocoa) 12px, transparent 12px) 0 0 / 28px 28px,
    linear-gradient(var(--cocoa) 12px, transparent 12px) 0 0 / 28px 28px,
    var(--pearl);
  border: 14px solid var(--pearl);
  outline: 1px solid var(--line);
  box-shadow: var(--inner-glow);
}

.qr-code::before,
.qr-code::after,
.qr-code span {
  position: absolute;
  width: 54px;
  height: 54px;
  background: var(--pearl);
  border: 12px solid var(--cocoa);
  content: "";
}

.qr-code::before {
  left: 12px;
  top: 12px;
}

.qr-code::after {
  right: 12px;
  top: 12px;
}

.qr-code span:first-child {
  left: 12px;
  bottom: 12px;
}

.qr-code span:nth-child(2) {
  right: 74px;
  bottom: 52px;
  width: 34px;
  height: 34px;
  border-width: 8px;
}

.qr-code span:nth-child(3),
.qr-code span:nth-child(4) {
  display: none;
}

.qr-panel p {
  margin: 0;
  font-size: 20px;
  font-weight: 820;
}

.qr-panel small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.company-grid {
  align-items: stretch;
}

.company-profile,
.company-details {
  padding: 30px;
}

.company-profile h3 {
  margin-bottom: 18px;
  color: var(--rose);
}

.company-details {
  display: grid;
  gap: 18px;
  margin: 0;
}

.company-details div {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.company-details div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.company-details dt,
.contact-item span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.company-details dd {
  margin: 5px 0 0;
  font-weight: 800;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(24px, 5vw, 68px);
  align-items: start;
}

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

.contact-item {
  display: flex;
  min-height: 188px;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 24px;
}

.contact-item strong {
  font-size: 20px;
  line-height: 1.35;
}

.copy-btn {
  min-height: 40px;
  margin-top: auto;
  padding: 8px 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--rose), var(--petal));
  border: 0;
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(215, 101, 122, 0.22);
  cursor: pointer;
  font-weight: 800;
  transition: transform 180ms ease;
}

#copy-status {
  min-height: 18px;
  color: var(--rose);
  font-size: 13px;
}

.site-footer {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  padding: 36px clamp(18px, 4vw, 54px);
  color: rgba(255, 255, 255, 0.76);
  background: linear-gradient(135deg, #3a262d, #7b4552);
}

.footer-brand {
  color: #fff;
}

.footer-info {
  display: grid;
  --footer-label-width: 168px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(14px, 2vw, 28px);
  align-items: start;
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
}

.footer-info div {
  display: grid;
  grid-template-columns: var(--footer-label-width) minmax(0, 1fr);
  gap: 10px;
  min-width: 0;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-info .footer-info-wide {
  grid-column: 1 / -1;
}

.footer-info dt,
.footer-info dd {
  margin: 0;
  min-width: 0;
}

.footer-info dt {
  color: rgba(255, 255, 255, 0.52);
  font-weight: 800;
  text-align: left;
  white-space: nowrap;
}

.footer-info dd {
  color: rgba(255, 255, 255, 0.82);
  overflow-wrap: anywhere;
}

.footer-info a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.34);
  text-underline-offset: 3px;
}

.footer-info a:hover,
.footer-info a:focus-visible {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 1080px) {
  .hero-logo-card {
    width: min(42vw, 420px);
    opacity: 0.72;
  }

  .hero-content {
    width: min(720px, calc(100% - 36px));
  }
}

@media (max-width: 980px) {
  .feature-grid,
  .template-grid,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-section,
  .product-section,
  .mini-program-section,
  .company-grid,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-logo-card {
    right: -90px;
    opacity: 0.34;
  }

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

  .qr-panel {
    justify-self: start;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 66px;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .nav-links {
    width: 100%;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 84svh;
  }

  .hero-media {
    background-size: 72px 72px, 72px 72px, 440px;
    background-position: center, center, right -150px top 60px;
  }

  .hero-logo-card {
    top: auto;
    right: -128px;
    bottom: 42px;
    min-width: 280px;
    width: 320px;
    opacity: 0.24;
    transform: none;
  }

  .hero-content {
    width: calc(100% - 36px);
    margin: 0 auto;
    padding: 62px 0 82px;
  }

  h1 {
    font-size: clamp(48px, 18vw, 78px);
  }

  .hero-stats,
  .feature-grid,
  .template-grid,
  .process-steps,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .section {
    width: min(100% - 28px, var(--max-width));
    padding: 66px 0;
  }

  .templates-section,
  .product-section,
  .mini-program-section {
    padding-right: 14px;
    padding-left: 14px;
  }

  .contact-item {
    min-height: auto;
  }

  .footer-info {
    --footer-label-width: minmax(128px, max-content);
    grid-template-columns: 1fr;
    gap: 0;
    font-size: 12px;
  }

  .footer-info dt {
    text-align: left;
    white-space: normal;
  }
}
