/* 糖心vlog tx5 — 全新视觉：深顶栏 + 杂志排版 */
:root {
  --ink: #1c1418;
  --ink-soft: #4a3f45;
  --muted: #7d7177;
  --line: rgba(28, 20, 24, 0.12);
  --surface: #ffffff;
  --surface-warm: #fbf6f4;
  --accent: #e04d6b;
  --accent-hover: #c73d58;
  --hero-dark: #2a151c;
  --hero-deep: #1a0e12;
  --max: 1180px;
  --radius: 16px;
  --radius-sm: 10px;
  --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", -apple-system, BlinkMacSystemFont, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface-warm);
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

/* —— 顶栏 —— */
.site-head {
  background: linear-gradient(180deg, var(--hero-dark) 0%, var(--hero-deep) 100%);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.head-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.brand-mark {
  font-size: 1.35rem;
}

.brand-name {
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: #fff;
  text-decoration: none;
}

.brand-name:hover {
  color: #ffc8d4;
  text-decoration: none;
}

.brand-slug {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.45);
}

.head-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.head-nav ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.35rem 1.6rem;
  justify-content: center;
}

.head-nav a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}

.head-nav a:hover {
  color: #fff;
}

.head-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  background: transparent;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  cursor: pointer;
  font-family: inherit;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-solid {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 0.5rem 1.15rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.btn-solid:hover {
  background: var(--accent-hover);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  font-family: inherit;
}

@media (max-width: 860px) {
  .head-inner {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .head-nav {
    flex: none;
    width: 100%;
    order: 5;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  body.nav-open .head-nav {
    max-height: 320px;
  }

  .head-nav ul {
    flex-direction: column;
    padding: 1rem 0 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    gap: 0.25rem;
  }

  .head-nav a {
    display: block;
    padding: 0.65rem 0;
  }
}

/* —— Hero —— */
.hero {
  background: var(--surface-warm);
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 5vw, 3.5rem);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -15%;
  width: 55%;
  height: 120%;
  background: radial-gradient(ellipse, rgba(224, 77, 107, 0.09) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 920px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
  }
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 2.85rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.hero-lead {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 36em;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary:hover {
  background: var(--hero-dark);
  text-decoration: none;
  color: #fff;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: 2px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  font-family: inherit;
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-trust strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}

/* Bento */
.bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 10px;
}

.bento-main {
  grid-column: 1 / -1;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  box-shadow: 0 20px 50px rgba(42, 21, 28, 0.12);
}

.bento-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bento-sub {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 8px 24px rgba(42, 21, 28, 0.08);
}

.bento-sub img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* —— 滚动标语 —— */
.marquee-wrap {
  background: var(--ink);
  color: #fff;
  padding: 0.65rem 0;
  overflow: hidden;
}

.marquee {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee 28s linear infinite;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.88;
}

.marquee span {
  white-space: nowrap;
}

.marquee span::after {
  content: " · ";
  opacity: 0.4;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* —— 三柱 —— */
.pillars {
  padding: clamp(3rem, 8vw, 4.5rem) 0;
  background: var(--surface);
}

.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.5rem;
}

.pillars h2 {
  margin: 0 0 2rem;
  font-size: clamp(1.6rem, 3.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.pillar-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 700px) {
  .pillar-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.pillar-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  background: var(--surface-warm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pillar-card:hover {
  border-color: rgba(224, 77, 107, 0.35);
  box-shadow: 0 12px 36px rgba(42, 21, 28, 0.06);
}

.pillar-icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.pillar-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.pillar-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* —— 内容带 —— */
.showcase {
  padding: clamp(3rem, 8vw, 4.5rem) 0;
  background: var(--surface-warm);
}

.showcase-head {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

@media (min-width: 720px) {
  .showcase-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.showcase-head h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.showcase-head p {
  margin: 0;
  max-width: 420px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.showcase-scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.showcase-scroll::-webkit-scrollbar {
  height: 6px;
}

.showcase-scroll::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 99px;
}

.show-card {
  flex: 0 0 min(300px, 85vw);
  scroll-snap-align: start;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.show-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
}

.show-card-body {
  padding: 1.1rem 1.2rem 1.35rem;
}

.show-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.show-card-body h3 {
  margin: 0.35rem 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
}

.show-card-body p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}

/* —— 步骤 —— */
.steps {
  padding: clamp(3rem, 8vw, 4.5rem) 0;
  background: var(--surface);
}

.steps h2 {
  margin: 0 0 2rem;
  font-size: clamp(1.6rem, 3.5vw, 2rem);
  font-weight: 800;
}

.step-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  counter-reset: step;
}

@media (min-width: 768px) {
  .step-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  position: relative;
  padding: 1.5rem 1.35rem 1.5rem 1.5rem;
  border-left: 3px solid var(--accent);
  background: var(--surface-warm);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.step-card::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-size: 2rem;
  font-weight: 800;
  color: rgba(224, 77, 107, 0.25);
  position: absolute;
  top: 0.65rem;
  right: 1rem;
  line-height: 1;
}

.step-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  font-weight: 700;
}

.step-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* —— CTA —— */
.cta-band {
  padding: clamp(2.5rem, 6vw, 3.75rem) 0;
  background: linear-gradient(135deg, var(--hero-dark) 0%, #3d1f28 100%);
  color: #fff;
  text-align: center;
}

.cta-band h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  font-weight: 800;
}

.cta-band p {
  margin: 0 auto 1.5rem;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.98rem;
}

.cta-band .btn-primary {
  background: #fff;
  color: var(--hero-dark);
}

.cta-band .btn-primary:hover {
  background: #ffe4ea;
  color: var(--ink);
}

/* —— FAQ 纯 CSS —— */
.faq {
  padding: clamp(3rem, 8vw, 4.5rem) 0;
  background: var(--surface-warm);
}

.faq h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.6rem, 3.5vw, 2rem);
  font-weight: 800;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  margin-bottom: 0.65rem;
  overflow: hidden;
}

.faq-list summary {
  padding: 1rem 1.15rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--accent);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list .answer {
  padding: 0 1.15rem 1.1rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* —— 页脚 —— */
.site-foot {
  background: var(--hero-deep);
  color: rgba(255, 255, 255, 0.72);
  padding: 3rem 0 1.5rem;
  font-size: 0.88rem;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .foot-grid {
    grid-template-columns: 1.5fr repeat(3, 1fr);
  }
}

.site-foot h3 {
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}

.site-foot ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-foot li {
  margin-bottom: 0.5rem;
}

.site-foot a {
  color: rgba(255, 255, 255, 0.72);
}

.site-foot a:hover {
  color: #ffc8d4;
}

.foot-brand p {
  margin: 0.75rem 0 0;
  line-height: 1.65;
  max-width: 280px;
}

.foot-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}
