:root {
  --bg: #f4efe6;
  --bg-soft: #fcf8f1;
  --surface: rgba(255, 252, 245, 0.88);
  --surface-strong: #fffaf1;
  --line: rgba(37, 54, 45, 0.12);
  --ink: #22352e;
  --muted: #5d6d66;
  --accent: #de7b45;
  --accent-deep: #b85b2b;
  --accent-soft: #f4d1ba;
  --leaf: #3f6c58;
  --leaf-soft: #c9dacd;
  --shadow: 0 18px 50px rgba(54, 47, 34, 0.12);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --content-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(222, 123, 69, 0.18), transparent 24%),
    radial-gradient(circle at right 14%, rgba(63, 108, 88, 0.14), transparent 20%),
    linear-gradient(180deg, #f8f3ea 0%, #f1eadf 100%);
}

.page-shell {
  width: min(calc(100% - 32px), var(--content-width));
  margin: 0 auto;
  padding: 24px 0 40px;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header {
  margin-bottom: 28px;
  padding: 16px 20px;
  background: rgba(255, 250, 241, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(69, 54, 29, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), var(--leaf));
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text strong {
  font-family: "STZhongsong", "Microsoft YaHei", serif;
  font-size: 1.05rem;
}

.brand-text small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.site-nav a:hover {
  color: var(--ink);
}

.hero,
.section,
.detail-main {
  position: relative;
  z-index: 1;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 28px;
  padding: 42px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(145deg, rgba(255, 250, 241, 0.96), rgba(255, 246, 234, 0.84)),
    linear-gradient(135deg, rgba(222, 123, 69, 0.16), rgba(63, 108, 88, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(222, 123, 69, 0.24), transparent 66%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(63, 108, 88, 0.1);
  color: var(--leaf);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.hero h1,
.section-heading h2,
.detail-title h1 {
  margin: 18px 0 14px;
  font-family: "STZhongsong", "Microsoft YaHei", serif;
  font-weight: 700;
  line-height: 1.22;
}

.hero h1 {
  font-size: clamp(2rem, 3vw, 3.45rem);
  max-width: 11.5em;
}

.hero-text,
.feature-card p,
.flow-card p,
.scope-card p,
.product-card p,
.detail-copy p,
.detail-panel p,
.detail-note p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin: 28px 0 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}

.button-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
  box-shadow: 0 12px 24px rgba(184, 91, 43, 0.22);
}

.button-secondary {
  border: 1px solid rgba(37, 54, 45, 0.14);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.56);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-metrics li,
.panel-card,
.feature-card,
.flow-card,
.scope-card,
.product-card,
.detail-card,
.detail-panel,
.detail-note {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 10px 25px rgba(77, 63, 41, 0.06);
}

.hero-metrics li {
  padding: 18px;
  border-radius: var(--radius-md);
}

.hero-metrics strong {
  display: block;
  font-size: 1.5rem;
  color: var(--accent-deep);
}

.hero-metrics span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.panel-card {
  position: relative;
  padding: 24px;
  border-radius: var(--radius-lg);
}

.panel-card-primary {
  min-height: 220px;
  background:
    linear-gradient(155deg, rgba(63, 108, 88, 0.94), rgba(34, 53, 46, 0.88)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent);
  color: #f8f3ea;
}

.panel-card-primary .panel-label {
  color: rgba(255, 255, 255, 0.76);
}

.panel-card-primary h2 {
  margin: 18px 0 14px;
  font-size: 1.65rem;
  line-height: 1.35;
}

.panel-card-primary p {
  color: rgba(248, 243, 234, 0.8);
}

.panel-card-secondary {
  background: linear-gradient(180deg, rgba(255, 252, 245, 0.92), rgba(244, 237, 225, 0.88));
}

.mini-window {
  display: inline-flex;
  gap: 8px;
}

.mini-window span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(34, 53, 46, 0.2);
}

.preview-lines {
  display: grid;
  gap: 10px;
  margin: 18px 0 20px;
}

.preview-lines span {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(63, 108, 88, 0.18), rgba(222, 123, 69, 0.18));
}

.preview-lines span:nth-child(2) {
  width: 78%;
}

.preview-lines span:nth-child(3) {
  width: 66%;
}

.preview-lines span:nth-child(4) {
  width: 52%;
}

.section {
  margin-top: 28px;
  padding: 34px;
  border-radius: var(--radius-xl);
  background: rgba(255, 251, 245, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.84);
  box-shadow: 0 14px 32px rgba(59, 48, 28, 0.08);
  content-visibility: auto;
  contain-intrinsic-size: 1px 720px;
}

.section-heading {
  margin-bottom: 24px;
}

.section-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.section-heading h2 {
  font-size: clamp(1.55rem, 2vw, 2.4rem);
}

.feature-grid,
.flow-grid,
.scope-grid,
.product-grid {
  display: grid;
  gap: 18px;
}

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

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

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

.feature-card,
.flow-card,
.scope-card,
.product-card {
  padding: 22px;
  border-radius: var(--radius-lg);
}

.feature-card h3,
.flow-card h3,
.scope-card h3,
.product-card h3,
.detail-panel h3,
.detail-note h3 {
  margin: 0 0 12px;
  font-size: 1.12rem;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-pill {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(37, 54, 45, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  cursor: pointer;
  transition: 180ms ease;
}

.filter-pill:hover,
.filter-pill.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--leaf), var(--accent));
  border-color: transparent;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-visual {
  position: relative;
  min-height: 188px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, #eadbc3, #d5b287);
}

.product-visual::before,
.detail-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 24%, rgba(255, 255, 255, 0.36), transparent 24%),
    radial-gradient(circle at 78% 76%, rgba(255, 255, 255, 0.26), transparent 18%);
}

.tone-sun {
  background: linear-gradient(135deg, #f6b881, #de7b45);
}

.tone-leaf {
  background: linear-gradient(135deg, #a7ccb6, #4c7a65);
}

.tone-night {
  background: linear-gradient(135deg, #8d9db6, #33465d);
}

.tone-sand {
  background: linear-gradient(135deg, #e7d6b7, #b8995c);
}

.product-badge {
  position: absolute;
  left: 16px;
  top: 16px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 600;
}

.product-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-shape {
  position: absolute;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.32);
  transform: rotate(-12deg);
}

.product-shape.shape-a {
  width: 110px;
  height: 110px;
  right: 18px;
  top: 36px;
}

.product-shape.shape-b {
  width: 72px;
  height: 72px;
  left: 26px;
  bottom: 20px;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.price {
  font-size: 1.42rem;
  font-weight: 700;
  color: var(--accent-deep);
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-tags span,
.detail-tags span {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(63, 108, 88, 0.1);
  color: var(--leaf);
  font-size: 0.82rem;
}

.product-link,
.back-link {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

.product-link:hover,
.back-link:hover {
  color: var(--accent-deep);
}

.flow-card {
  position: relative;
}

.flow-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(63, 108, 88, 0.14), rgba(222, 123, 69, 0.24));
  color: var(--accent-deep);
  font-weight: 700;
}

.accent-card {
  background: linear-gradient(155deg, rgba(63, 108, 88, 0.94), rgba(43, 63, 55, 0.9));
  color: #fff;
}

.accent-card p {
  color: rgba(255, 255, 255, 0.82);
}

.detail-main {
  display: grid;
  gap: 28px;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 24px;
}

.detail-card,
.detail-panel,
.detail-note {
  padding: 28px;
  border-radius: var(--radius-xl);
}

.detail-card {
  overflow: hidden;
}

.detail-visual {
  position: relative;
  min-height: 280px;
  border-radius: 22px;
  margin-bottom: 22px;
  overflow: hidden;
}

.detail-copy .meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

.detail-title {
  display: flex;
  flex-direction: column;
}

.detail-title h1 {
  font-size: clamp(1.8rem, 2.6vw, 2.9rem);
}

.detail-price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-deep);
}

.detail-side {
  display: grid;
  gap: 18px;
}

.detail-panel ul {
  padding-left: 20px;
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
}

.detail-note {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.site-footer {
  margin-top: 28px;
  padding: 0 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .site-header,
  .section-heading-row,
  .hero,
  .detail-hero,
  .detail-note,
  .flow-grid,
  .feature-grid,
  .scope-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .site-header,
  .site-footer,
  .section-heading-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .scope-grid,
  .flow-grid,
  .product-grid {
    display: grid;
  }

  .detail-note {
    display: grid;
  }
}

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

  .site-header {
    border-radius: 28px;
    padding: 16px;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero,
  .section,
  .detail-card,
  .detail-panel,
  .detail-note {
    padding: 22px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .product-visual,
  .detail-visual {
    min-height: 220px;
  }
}
