:root {
  --bg: #100609;
  --bg-2: #180a0f;
  --panel: rgba(31, 15, 18, 0.82);
  --panel-solid: #1c0c11;
  --text: #f7eee6;
  --muted: #c8aaa3;
  --soft: #9b7770;
  --red: #b82135;
  --red-bright: #ec3b4d;
  --gold: #d7a35d;
  --jade: #76b9a5;
  --line: rgba(232, 180, 127, 0.22);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 8%, rgba(184, 33, 53, 0.22), transparent 28rem),
    radial-gradient(circle at 82% 16%, rgba(215, 163, 93, 0.12), transparent 30rem),
    linear-gradient(180deg, #130609 0%, #0b0507 48%, #15080c 100%);
  font-family: "Noto Serif SC", "Songti SC", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  line-height: 1.75;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 76%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(16, 6, 9, 0.92) 0%, transparent 18%, transparent 82%, rgba(16, 6, 9, 0.92) 100%),
    radial-gradient(circle at 50% 110%, rgba(185, 29, 48, 0.18), transparent 34rem);
}

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

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

p {
  margin: 0 0 1rem;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  color: var(--red-bright);
  font-size: clamp(2.2rem, 5.8vw, 4.35rem);
  text-shadow: 0 0 22px rgba(184, 33, 53, 0.42), 0 2px 0 rgba(255, 232, 207, 0.08);
}

h2 {
  color: var(--gold);
  font-size: clamp(1.42rem, 2.45vw, 2.05rem);
  text-shadow: 0 0 18px rgba(215, 163, 93, 0.18);
}

h3 {
  color: #fff4e7;
  font-size: 1.22rem;
}

ol,
ul {
  margin: 0;
  padding: 0;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 50;
  padding: 10px 14px;
  color: var(--bg);
  background: var(--gold);
  border-radius: var(--radius);
  transform: translateY(-140%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid transparent;
  background: rgba(14, 5, 8, 0.78);
  backdrop-filter: blur(18px);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(14, 5, 8, 0.95);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: #fff7ec;
  font-weight: 800;
  white-space: nowrap;
}

.brand img {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(215, 163, 93, 0.48);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 4px rgba(184, 33, 53, 0.12);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #e9d1c3;
  font-size: 0.95rem;
}

.site-nav a {
  position: relative;
  overflow: hidden;
  padding: 10px 12px;
  border-radius: var(--radius);
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.site-nav a::after {
  position: absolute;
  right: 12px;
  bottom: 6px;
  left: 12px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.24s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #fff;
  background: rgba(184, 33, 53, 0.2);
  transform: translateY(-1px);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.site-nav .nav-download {
  margin-left: 8px;
  color: #fffaf2;
  font-weight: 800;
  background: linear-gradient(135deg, #b82135 0%, #e63b4a 100%);
  box-shadow: 0 10px 24px rgba(184, 33, 53, 0.24);
}

.site-nav .nav-download::after {
  display: none;
}

.site-nav .nav-download:hover,
.site-nav .nav-download:focus-visible {
  background: linear-gradient(135deg, #c9283c 0%, #f04a58 100%);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: #f5e0d2;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: auto;
  padding: 96px 0 42px;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg,
.hero-bg img {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
}

.hero-bg img {
  object-fit: cover;
  object-position: center;
  filter: saturate(1.08) contrast(1.08);
  transform: scale(1.04);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(12, 5, 8, 0.97) 0%, rgba(13, 5, 8, 0.88) 36%, rgba(13, 5, 8, 0.48) 67%, rgba(13, 5, 8, 0.72) 100%),
    linear-gradient(180deg, rgba(12, 5, 8, 0.16) 0%, rgba(12, 5, 8, 0.92) 100%);
}

.hero-inner {
  position: relative;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0;
}

.eyebrow::before,
.section-kicker::before {
  display: inline-block;
  width: 34px;
  height: 1px;
  content: "";
  background: currentColor;
}

.hero-copy {
  max-width: 690px;
  margin: 22px 0 0;
  color: #ead0c5;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
}

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

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  font-weight: 800;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -80%;
  width: 56%;
  content: "";
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-18deg);
  transition: left 0.5s ease;
}

.btn:hover::before,
.btn:focus-visible::before {
  left: 126%;
}

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

.btn-primary {
  color: #fffaf2;
  background: linear-gradient(135deg, #b82135 0%, #e63b4a 100%);
  box-shadow: 0 14px 32px rgba(184, 33, 53, 0.32);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 18px 42px rgba(184, 33, 53, 0.48);
}

.btn-secondary {
  color: #f8e7d6;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(215, 163, 93, 0.38);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(215, 163, 93, 0.12);
  border-color: rgba(215, 163, 93, 0.72);
}

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

.hero-facts div {
  padding: 18px 20px;
  background: rgba(21, 8, 12, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-facts dt {
  color: var(--soft);
  font-size: 0.9rem;
}

.hero-facts dd {
  margin: 5px 0 0;
  color: #fff5e8;
  font-size: 1.06rem;
  font-weight: 800;
}

.section {
  padding: 96px 0;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(320px, 1.04fr);
  align-items: center;
  gap: clamp(34px, 6vw, 76px);
}

.two-column.reversed {
  grid-template-columns: minmax(320px, 1.04fr) minmax(0, 0.96fr);
}

.section-copy > p:not(.section-kicker) {
  color: #dbc0b5;
}

.section-head {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-head p:not(.section-kicker) {
  color: #dbc0b5;
}

.media-panel {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.media-panel::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: "";
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), inset 0 -70px 120px rgba(0, 0, 0, 0.28);
}

.media-panel img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.media-panel figcaption {
  position: relative;
  z-index: 2;
  padding: 13px 16px;
  color: #c9aaa0;
  font-size: 0.93rem;
  background: rgba(13, 5, 8, 0.72);
}

.media-panel:hover,
.media-panel:focus-within {
  border-color: rgba(215, 163, 93, 0.52);
  box-shadow: 0 28px 78px rgba(0, 0, 0, 0.44), 0 0 34px rgba(184, 33, 53, 0.14);
  transform: translateY(-4px);
}

.media-panel:hover img,
.media-panel:focus-within img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.025);
}

.feature-section {
  background:
    linear-gradient(180deg, rgba(184, 33, 53, 0.08), rgba(10, 4, 6, 0)),
    linear-gradient(90deg, rgba(215, 163, 93, 0.04), transparent 52%);
}

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

.feature-card,
.guide-block,
.faq-list details,
.download-panel {
  background: linear-gradient(180deg, rgba(40, 16, 20, 0.9), rgba(23, 9, 13, 0.9));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-card {
  min-height: 244px;
  padding: 26px;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.feature-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  color: #fff4e8;
  font-weight: 900;
  background: linear-gradient(135deg, var(--red), #6f1720);
  border: 1px solid rgba(215, 163, 93, 0.46);
  border-radius: 50%;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.feature-card p,
.guide-block li,
.faq-list p,
.download-panel p,
.timeline li,
.clean-list li {
  color: #d7bbb0;
}

.feature-card h3 {
  margin-bottom: 10px;
}

.feature-card:hover,
.feature-card:focus-within,
.guide-block:hover,
.guide-block:focus-within {
  border-color: rgba(215, 163, 93, 0.5);
  background: linear-gradient(180deg, rgba(51, 19, 24, 0.94), rgba(26, 10, 14, 0.94));
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.42), 0 0 28px rgba(184, 33, 53, 0.13);
  transform: translateY(-5px);
}

.feature-card:hover .feature-mark,
.feature-card:focus-within .feature-mark {
  box-shadow: 0 0 22px rgba(236, 59, 77, 0.38);
  transform: rotate(-6deg) scale(1.06);
}

.detail-band {
  background:
    linear-gradient(90deg, rgba(8, 4, 5, 0.2), rgba(184, 33, 53, 0.1), rgba(8, 4, 5, 0.2));
}

.clean-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  list-style: none;
}

.clean-list li {
  padding-left: 18px;
  border-left: 2px solid rgba(215, 163, 93, 0.56);
}

.clean-list strong {
  color: #ffe2bd;
}

.guide-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.guide-block {
  padding: 28px;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.guide-block h3 {
  margin-bottom: 15px;
}

.guide-block ol {
  display: grid;
  gap: 10px;
  padding-left: 22px;
}

.guide-block li::marker {
  color: var(--gold);
  font-weight: 800;
}

.gallery-section {
  background: rgba(8, 3, 5, 0.34);
}

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

.gallery-item {
  position: relative;
  min-height: 250px;
  margin: 0;
  overflow: hidden;
  background: #13080b;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.gallery-item.wide {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery-item:hover img {
  transform: scale(1.035);
}

.gallery-item:hover,
.gallery-item:focus-within {
  border-color: rgba(215, 163, 93, 0.58);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.42), 0 0 30px rgba(184, 33, 53, 0.16);
  transform: translateY(-4px);
}

.gallery-item figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 34px 16px 14px;
  color: #fff7ec;
  font-weight: 800;
  background: linear-gradient(180deg, transparent, rgba(5, 2, 3, 0.86));
  transform: translateY(6px);
  transition: transform 0.28s ease, background 0.28s ease;
}

.gallery-item:hover figcaption,
.gallery-item:focus-within figcaption {
  background: linear-gradient(180deg, transparent, rgba(5, 2, 3, 0.94));
  transform: translateY(0);
}

.timeline {
  display: grid;
  gap: 13px;
  margin-top: 22px;
  list-style: none;
}

.timeline li {
  position: relative;
  padding: 14px 16px 14px 96px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(215, 163, 93, 0.18);
  border-radius: var(--radius);
}

.timeline span {
  position: absolute;
  top: 14px;
  left: 16px;
  color: var(--gold);
  font-weight: 800;
}

.faq-section {
  background:
    linear-gradient(180deg, rgba(184, 33, 53, 0.06), transparent),
    rgba(8, 3, 5, 0.3);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 0 22px;
  transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease, box-shadow 0.24s ease;
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 0;
  color: #fff1e3;
  font-weight: 800;
}

.faq-list summary::marker {
  color: var(--gold);
}

.faq-list p {
  padding: 0 0 18px;
}

.faq-list details:hover,
.faq-list details:focus-within,
.faq-list details[open] {
  border-color: rgba(215, 163, 93, 0.46);
  background: linear-gradient(180deg, rgba(45, 17, 22, 0.94), rgba(23, 9, 13, 0.94));
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
}

.faq-list details:hover {
  transform: translateY(-2px);
}

.faq-list summary:hover {
  color: #fff7eb;
}

.download-section {
  padding-top: 58px;
}

.download-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(28px, 5vw, 46px);
  background:
    linear-gradient(135deg, rgba(184, 33, 53, 0.24), rgba(28, 12, 17, 0.96)),
    linear-gradient(90deg, rgba(215, 163, 93, 0.08), transparent);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.download-panel p {
  max-width: 740px;
  margin-bottom: 0;
}

.download-panel:hover,
.download-panel:focus-within {
  border-color: rgba(215, 163, 93, 0.56);
  box-shadow: 0 28px 76px rgba(0, 0, 0, 0.42), 0 0 34px rgba(184, 33, 53, 0.2);
  transform: translateY(-4px);
}

.site-footer {
  padding: 36px 0;
  color: #bfa097;
  border-top: 1px solid var(--line);
  background: #0b0406;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner strong {
  display: block;
  margin-bottom: 6px;
  color: #fff2e4;
}

.footer-inner p {
  max-width: 720px;
  margin: 0;
  font-size: 0.94rem;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  white-space: nowrap;
}

.footer-inner a:hover,
.footer-inner a:focus-visible {
  color: #fff;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.media-panel.reveal,
.feature-card.reveal,
.guide-block.reveal,
.gallery-item.reveal,
.download-panel.reveal {
  transition: opacity 0.7s ease, transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.media-panel.reveal.is-visible:hover,
.media-panel.reveal.is-visible:focus-within,
.gallery-item.reveal.is-visible:hover,
.gallery-item.reveal.is-visible:focus-within,
.download-panel.reveal.is-visible:hover,
.download-panel.reveal.is-visible:focus-within {
  transform: translateY(-4px);
}

.feature-card.reveal.is-visible:hover,
.feature-card.reveal.is-visible:focus-within,
.guide-block.reveal.is-visible:hover,
.guide-block.reveal.is-visible:focus-within {
  transform: translateY(-5px);
}

@media (max-width: 980px) {
  .site-nav {
    position: absolute;
    top: 76px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: rgba(16, 6, 9, 0.98);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 12px 14px;
  }

  .site-nav .nav-download {
    margin-left: 0;
    text-align: center;
  }

  .nav-toggle {
    display: block;
  }

  .two-column,
  .two-column.reversed {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .header-inner {
    min-height: 66px;
  }

  .brand span {
    max-width: 12rem;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .site-nav {
    top: 66px;
    right: 14px;
    left: 14px;
  }

  .hero {
    min-height: auto;
    padding: 34px 0 46px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(12, 5, 8, 0.74) 0%, rgba(12, 5, 8, 0.9) 42%, rgba(12, 5, 8, 0.98) 100%),
      linear-gradient(90deg, rgba(12, 5, 8, 0.92), rgba(12, 5, 8, 0.62));
  }

  .hero-facts,
  .feature-grid,
  .guide-layout,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 72px 0;
  }

  .section-head {
    margin-bottom: 30px;
  }

  .feature-card,
  .guide-block {
    padding: 22px;
  }

  .gallery-item.wide {
    grid-column: auto;
    grid-row: auto;
  }

  .gallery-item,
  .gallery-item img {
    min-height: 230px;
  }

  .timeline li {
    padding: 44px 14px 14px;
  }

  .timeline span {
    top: 14px;
  }

  .download-panel,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .download-panel .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
