:root {
  --ink: #191716;
  --charcoal: #27211f;
  --muted: #6f6a66;
  --line: #ece5df;
  --paper: #faf8f5;
  --card: #ffffff;
  --blush: #f7f3ee;
  --coral: #ff5a2a;
  --coral-dark: #d94017;
  --coral-soft: #fff1eb;
  --radius: 20px;
  --shadow: 0 20px 54px rgba(28, 24, 22, 0.08);
  font-family:
    "Source Han Sans SC", "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei",
    Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 88px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}

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

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

.topline {
  padding: 9px 18px;
  color: #fff;
  background: var(--coral);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 16px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(250, 248, 245, 0.9);
  backdrop-filter: blur(18px);
}

.brand img,
.footer img {
  width: 172px;
  height: auto;
  max-height: 42px;
  object-fit: contain;
  object-position: center;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 2.6vw, 38px);
  color: #302a27;
  font-size: 15px;
  font-weight: 800;
}

.nav a {
  position: relative;
  padding: 8px 0;
}

.nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  content: "";
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.nav a:hover::after {
  transform: scaleX(1);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(255, 90, 42, 0.4);
  outline-offset: 4px;
}

.header-action,
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.header-action {
  padding: 0 22px;
  color: #fff;
  background: var(--coral);
}

.button {
  min-width: 152px;
  padding: 0 24px;
}

.primary {
  color: #fff;
  background: var(--coral);
  box-shadow: 0 14px 30px rgba(255, 90, 42, 0.25);
}

.secondary {
  color: var(--ink);
  border: 1px solid var(--line);
  background: #fff;
}

.button:hover,
.header-action:hover {
  transform: translateY(-2px);
}

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

.hero,
.section {
  padding: clamp(62px, 8vw, 110px) clamp(20px, 5vw, 72px);
}

/* ---------- Hero ---------- */

.hero {
  display: grid;
  min-height: calc(100vh - 78px);
  grid-template-columns: minmax(320px, 0.9fr) minmax(480px, 1.1fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
  overflow: hidden;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--coral-dark);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 640px;
  margin-bottom: 22px;
  font-size: clamp(42px, 4.6vw, 62px);
  line-height: 1.08;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.18;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.25;
}

.hero-lede {
  max-width: 560px;
  color: var(--muted);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 32px;
}

.hero-proof {
  display: flex;
  max-width: 610px;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-proof span {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: #fff;
  font-size: 14px;
  font-weight: 800;
}

.hero-visual {
  position: relative;
  margin: 0;
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
}

.hero-badge strong {
  color: var(--coral-dark);
  font-size: 17px;
  white-space: nowrap;
}

.hero-badge span {
  color: var(--muted);
  font-size: 14px;
}

/* ---------- 通用版块 ---------- */

.section-heading {
  max-width: 900px;
  margin: 0 auto 46px;
  text-align: center;
}

.section-heading.left {
  margin-right: 0;
  margin-left: 0;
  text-align: left;
}

.section-heading p,
.ritual-copy p,
.emotional p,
.package p {
  color: var(--muted);
  font-size: 17px;
}

/* ---------- 痛点 ---------- */

.problem-grid,
.step-grid,
.review-grid,
.shop-grid {
  display: grid;
  gap: 18px;
}

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

.problem-grid article,
.step-grid article,
.review-grid article,
.product-card,
.feature-board article:not(.feature-main) {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.problem-grid article {
  min-height: 280px;
  padding: 30px;
}

.problem-grid span,
.feature-board article span {
  color: var(--coral);
  font-weight: 950;
}

.problem-grid h3 {
  margin-top: 42px;
}

.problem-grid p,
.feature-board p,
.step-grid p,
.review-grid p,
.product-card p {
  color: var(--muted);
}

/* ---------- 使用场景 ---------- */

.ritual {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  background: var(--blush);
}

.ritual-visual {
  margin: 0;
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.ritual-visual img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}

.ritual-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.ritual-list div {
  padding: 18px 20px;
  border-left: 3px solid var(--coral);
  border-radius: 0 14px 14px 0;
  background: #fff;
}

.ritual-list strong,
.ritual-list span {
  display: block;
}

.ritual-list span {
  color: var(--muted);
}

/* ---------- 三步 ---------- */

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

.step-grid article {
  min-height: 230px;
  padding: 30px;
}

.step-grid strong {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 32px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--coral);
}

/* ---------- 产品细节 ---------- */

.feature-board {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 18px;
}

.feature-main {
  grid-row: span 3;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.feature-main img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
  object-position: center;
}

.feature-board article:not(.feature-main) {
  min-height: 190px;
  padding: 26px;
}

/* ---------- 规格参数 ---------- */

.specs {
  background: var(--charcoal);
}

.specs .eyebrow {
  color: var(--coral);
}

.specs h2 {
  color: #fff;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.spec-item {
  padding: 26px 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
}

.spec-item strong {
  display: block;
  margin-bottom: 6px;
  color: var(--coral);
  font-size: 30px;
  line-height: 1.1;
}

.spec-item span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
}

.spec-note {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
}

/* ---------- 情感 ---------- */

.emotional {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(22px, 5vw, 80px);
  align-items: end;
  color: #fff;
  background:
    linear-gradient(rgba(25, 23, 22, 0.68), rgba(25, 23, 22, 0.68)),
    url("assets/fresh-cap-fridge-scene.jpg") center / cover;
}

.emotional .eyebrow,
.emotional p {
  color: rgba(255, 255, 255, 0.86);
}

/* ---------- 使用场景 ---------- */

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

.review-grid article {
  min-height: 218px;
  padding: 30px;
}

.stars {
  margin-bottom: 18px;
  color: var(--coral);
  font-weight: 950;
}

.review-grid span {
  color: var(--coral-dark);
  font-weight: 900;
}

/* ---------- 购买 ---------- */

.shop {
  background: var(--blush);
}

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

.product-card {
  display: flex;
  min-height: 380px;
  flex-direction: column;
  padding: 30px;
}

.product-card .button {
  margin-top: auto;
}

.product-card.featured {
  border-color: var(--coral);
  box-shadow: 0 22px 56px rgba(255, 90, 42, 0.16);
}

.tag {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #fff;
  background: var(--coral);
  font-size: 12px;
  font-weight: 950;
}

.tag.muted {
  color: var(--ink);
  border: 1px solid var(--line);
  background: #fff;
}

.card-list {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.card-list li {
  position: relative;
  padding: 5px 0 5px 20px;
  color: var(--muted);
  font-size: 14px;
}

.card-list li::before {
  position: absolute;
  left: 0;
  color: var(--coral);
  content: "✓";
  font-weight: 900;
}

.product-card strong {
  display: block;
  margin: 22px 0 26px;
  font-size: 34px;
  line-height: 1;
}

/* ---------- 到货提醒 ---------- */

.notify {
  display: flex;
  max-width: 860px;
  margin: 42px auto 0;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.notify strong,
.notify span {
  display: block;
}

.notify strong {
  font-size: 18px;
}

.notify span {
  color: var(--muted);
  font-size: 14px;
}

.notify-row {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

/* ---------- 信任保障 ---------- */

.trust {
  padding-top: clamp(44px, 5vw, 64px);
  padding-bottom: clamp(44px, 5vw, 64px);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.trust-grid div {
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  text-align: center;
}

.trust-grid strong {
  display: block;
  margin-bottom: 6px;
  font-size: 17px;
}

.trust-grid span {
  color: var(--muted);
  font-size: 14px;
}

/* ---------- 礼物 ---------- */

.package {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  background: var(--blush);
}

.package img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  object-fit: cover;
}

/* ---------- 页脚 ---------- */

.footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
  padding: 42px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer p {
  margin: 12px 0 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 24px;
  font-weight: 900;
}

.fineprint {
  grid-column: 1 / -1;
  font-size: 13px;
}

/* ---------- 响应式 ---------- */

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .hero,
  .ritual,
  .emotional,
  .package {
    grid-template-columns: 1fr;
  }

  .hero-visual img,
  .ritual-visual img {
    min-height: 420px;
  }

  .problem-grid,
  .review-grid,
  .shop-grid,
  .spec-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .feature-board {
    grid-template-columns: 1fr;
  }

  .feature-main {
    grid-row: auto;
  }

  .feature-main img {
    min-height: 520px;
  }
}

@media (max-width: 720px) {
  .topline {
    padding: 8px 12px;
    font-size: 12px;
  }

  .site-header {
    padding: 14px 18px;
  }

  .brand img,
  .footer img {
    width: 136px;
    height: auto;
    max-height: 34px;
  }

  .header-action {
    min-height: 40px;
    padding: 0 14px;
    font-size: 13px;
  }

  .hero,
  .section {
    padding: 54px 18px;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 29px;
  }

  .hero-lede {
    font-size: 17px;
  }

  .hero-actions,
  .footer-links,
  .notify,
  .notify-row {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  .notify-row {
    width: 100%;
    min-width: 0;
  }

  .hero-visual img,
  .ritual-visual img,
  .package img {
    min-height: 340px;
  }

  .problem-grid,
  .step-grid,
  .review-grid,
  .shop-grid,
  .spec-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .feature-main img {
    min-height: 380px;
  }

  .product-card {
    min-height: 330px;
  }

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

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
