:root {
  --pink: #ff4f89;
  --pink-dark: #ee2f70;
  --pink-soft: #fff0f6;
  --pink-panel: #fff4f8;
  --text: #1f1f1f;
  --muted: #8b8b94;
  --line: #f1dbe4;
  --white: #ffffff;
  --footer: #252525;
  --shadow: 0 18px 42px rgba(239, 86, 132, 0.16);
  font-family:
    "Noto Sans SC", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.7;
}

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

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

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding: 0 calc((100vw - 1160px) / 2);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(16px);
}

.site-header.is-scrolled {
  box-shadow: 0 10px 28px rgba(255, 79, 137, 0.08);
}

.logo img {
  width: 112px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 40px;
  color: #28282d;
  font-size: 15px;
  font-weight: 700;
}

.main-nav a {
  position: relative;
  padding: 28px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 19px;
  width: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--pink);
  transform: translateX(-50%);
  transition: width 0.2s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--pink);
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  width: 22px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--pink-soft);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--pink);
}

.hero {
  position: relative;
  height: 750px;
  overflow: hidden;
  background: var(--pink-soft);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  background-image: var(--hero-image);
  background-position: center;
  background-size: cover;
  transition:
    opacity 0.45s ease,
    visibility 0.45s ease;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 242, 247, 0.26), rgba(255, 242, 247, 0.04) 58%);
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding-top: 22px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 0 18px;
  border-radius: 999px;
  color: #3b3b42;
  background: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(255, 79, 137, 0.12);
}

.pill::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--pink);
}

.hero h1,
.hero h2 {
  margin: 44px 0 20px;
  font-size: 66px;
  font-weight: 950;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero em {
  color: var(--pink-dark);
  font-style: normal;
}

.hero p {
  max-width: 560px;
  margin: 0 0 34px;
  color: #66666e;
  font-size: 18px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 32px;
}

.btn,
.all-products {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 34px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 850;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease,
    background 0.2s ease;
}

.btn:hover,
.all-products:hover,
.product-card:hover,
.channel-card:hover {
  transform: translateY(-4px);
}

.btn.primary {
  color: var(--white);
  background: var(--pink);
  box-shadow: 0 12px 28px rgba(255, 79, 137, 0.32);
}

.btn.outline,
.all-products {
  color: var(--pink);
  border: 2px solid var(--pink);
  background: rgba(255, 255, 255, 0.42);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
}

.hero-stats div {
  position: relative;
  min-width: 72px;
}

.hero-stats div + div::before {
  content: "";
  position: absolute;
  left: -15px;
  top: 10px;
  width: 1px;
  height: 52px;
  background: rgba(31, 31, 31, 0.22);
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  color: var(--pink);
  font-size: 28px;
  line-height: 1.1;
}

.hero-stats span {
  margin-top: 4px;
  color: #5e5e66;
  font-weight: 700;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 42px;
  display: flex;
  gap: 14px;
  transform: translateX(-50%);
}

.hero-dots button {
  width: 24px;
  height: 13px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dots button.is-active {
  width: 72px;
  background: var(--pink);
}

.section {
  padding: 108px 0;
}

.section-title {
  width: min(760px, calc(100% - 48px));
  margin: 0 auto 64px;
  text-align: center;
}

.section-title > span,
.feature-copy > span {
  display: block;
  width: 40px;
  height: 4px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: var(--pink);
}

.section-title h2,
.feature-copy h2 {
  margin: 0;
  font-size: 38px;
  line-height: 1.2;
}

.section-title p {
  margin: 18px 0 0;
  color: var(--muted);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 72px;
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
}

.why-grid article {
  text-align: center;
}

.why-visual {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  object-fit: cover;
  background: #ffe4ee;
  box-shadow: 0 12px 26px rgba(255, 79, 137, 0.14);
}

.why-grid h3 {
  margin: 0 0 12px;
  font-size: 19px;
}

.why-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.products,
.feedback {
  background: var(--pink-panel);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  width: min(1040px, calc(100% - 48px));
  margin: 0 auto;
}

.product-card {
  display: block;
  overflow: hidden;
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.product-card:hover {
  box-shadow: 0 22px 50px rgba(239, 86, 132, 0.24);
}

.product-image {
  display: grid;
  place-items: center;
  height: 246px;
  padding: 0;
  background: #ffd4e0;
}

.product-image img {
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  object-fit: cover;
  transition: transform 0.28s ease;
}

.product-card:hover img {
  transform: scale(1.05);
}

.product-copy {
  position: relative;
  padding: 22px 24px 24px;
  min-height: 150px;
}

.product-copy h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.product-copy p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 14px;
}

.product-copy span {
  color: var(--pink);
  font-size: 14px;
  font-weight: 850;
}

.product-copy b {
  position: absolute;
  right: 22px;
  bottom: 24px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: var(--pink);
  background: #ffe5ef;
  font-size: 24px;
  line-height: 1;
}

.all-products {
  display: flex;
  width: max-content;
  margin: 64px auto 0;
  min-height: 48px;
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 86px;
  align-items: center;
  width: min(1040px, calc(100% - 48px));
  margin: 0 auto;
  padding: 112px 0;
}

.feature-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.feature-copy > span {
  margin-left: 0;
}

.feature-copy h2 {
  font-size: 42px;
}

.feature-copy p {
  margin: 20px 0 34px;
  color: #74747b;
  font-size: 16px;
}

.feature-copy ul {
  display: grid;
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-copy li {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  align-items: start;
}

.ingredient-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  background: #ffe0eb;
  box-shadow: 0 10px 22px rgba(255, 79, 137, 0.16);
}

.feature-copy strong,
.feature-copy small {
  display: block;
}

.feature-copy strong {
  margin-bottom: 6px;
  font-size: 20px;
}

.feature-copy small {
  color: var(--muted);
  font-size: 14px;
}

.feedback-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  width: min(1040px, calc(100% - 48px));
  margin: 0 auto;
}

.feedback-card {
  position: relative;
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 20px;
  min-height: 160px;
  padding: 30px 34px;
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.feedback-card img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
}

.feedback-card h3 {
  margin: 0;
  font-size: 18px;
}

.feedback-card small {
  color: var(--muted);
}

.feedback-card p {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  color: #55555f;
  font-weight: 700;
}

.feedback-card > span {
  position: absolute;
  right: 30px;
  top: 32px;
  color: var(--pink);
  letter-spacing: 3px;
}

.channels {
  background: #fff;
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  width: min(1040px, calc(100% - 48px));
  margin: 0 auto;
}

.channel-card {
  display: grid;
  justify-items: start;
  gap: 10px;
  min-height: 126px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(255, 79, 137, 0.08);
  transition: transform 0.2s ease;
}

.channel-card img {
  width: 118px;
  height: 44px;
  padding: 0;
  border-radius: 0;
  object-fit: contain;
  object-position: left center;
  background: transparent;
  box-shadow: none;
}

.channel-card strong {
  color: #2b2b31;
  font-size: 18px;
}

.channel-card span {
  color: #55555d;
  font-weight: 800;
}

.tmall {
  --brand-color: #ff0036;
}

.douyin {
  --brand-color: #111;
}

.jd {
  --brand-color: #d81e06;
}

.pdd {
  --brand-color: #e02e24;
}

.site-footer {
  padding: 88px 0 110px;
  color: rgba(255, 255, 255, 0.72);
  background: var(--footer);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr 0.9fr 0.9fr 1.3fr;
  gap: 52px;
  width: min(1040px, calc(100% - 48px));
  margin: 0 auto;
}

.footer-brand img {
  width: 112px;
}

.footer-brand p {
  margin: 18px 0 0;
}

.site-footer h3 {
  margin: 0 0 20px;
  color: #fff;
  font-size: 16px;
}

.site-footer nav,
.footer-social {
  display: grid;
  align-content: start;
}

.site-footer a,
.footer-social p {
  margin: 0 0 10px;
  font-size: 14px;
}

.site-footer a:hover {
  color: #fff;
}

.footer-social div {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-social div a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  margin: 0;
  background: var(--social);
}

.footer-social div img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.footer-social div a::before {
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.xhs {
  --social: #ff2442;
}

.xhs::before {
  content: "书";
}

.douyin {
  --social: #111;
}

.footer-social .douyin::before {
  content: "抖";
}

.footer-social .logo-social::before,
.footer-social .douyin.logo-social::before {
  content: none;
}

@media (max-width: 1180px) {
  .site-header {
    padding: 0 24px;
  }

  .main-nav {
    gap: 24px;
  }

  .why-grid,
  .product-grid,
  .feedback-grid,
  .channel-grid {
    width: min(100% - 48px, 1040px);
  }
}

@media (max-width: 900px) {
  .site-header {
    height: 68px;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 14px 24px 24px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 20px 40px rgba(255, 79, 137, 0.12);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    width: 100%;
    padding: 14px 0;
  }

  .main-nav a::after {
    display: none;
  }

  .hero {
    height: auto;
    min-height: 680px;
  }

  .hero-slide {
    position: relative;
    display: none;
    min-height: 680px;
    background-position: 62% center;
  }

  .hero-slide::before {
    background: linear-gradient(90deg, rgba(255, 244, 248, 0.9), rgba(255, 244, 248, 0.64) 44%, rgba(255, 244, 248, 0.08));
  }

  .hero-slide.is-active {
    display: flex;
  }

  .hero-content {
    padding-top: 0;
  }

  .hero h1,
  .hero h2 {
    font-size: 48px;
  }

  .why-grid,
  .product-grid,
  .feedback-grid,
  .channel-grid,
  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .footer-inner {
    gap: 34px;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 15px;
  }

  .logo img {
    width: 92px;
  }

  .hero {
    min-height: 640px;
  }

  .hero-slide {
    min-height: 640px;
    background-position: 66% center;
  }

  .hero-content {
    width: calc(100% - 32px);
  }

  .hero h1,
  .hero h2 {
    margin-top: 28px;
    font-size: 40px;
  }

  .hero p {
    max-width: 330px;
    font-size: 15px;
  }

  .hero-actions,
  .hero-stats {
    gap: 12px;
  }

  .btn {
    min-height: 44px;
    padding: 0 22px;
    font-size: 14px;
  }

  .hero-stats strong {
    font-size: 22px;
  }

  .hero-stats span {
    font-size: 12px;
  }

  .section {
    padding: 72px 0;
  }

  .section-title {
    margin-bottom: 38px;
  }

  .section-title h2,
  .feature-copy h2 {
    font-size: 30px;
  }

  .why-grid,
  .product-grid,
  .feedback-grid,
  .channel-grid,
  .footer-inner {
    grid-template-columns: 1fr;
    width: calc(100% - 32px);
  }

  .why-grid {
    gap: 34px;
  }

  .product-image {
    height: 260px;
  }

  .feature {
    width: calc(100% - 32px);
    padding: 72px 0;
  }

  .feedback-card {
    padding: 24px;
  }

  .site-footer {
    padding: 64px 0;
  }
}
