:root {
  --bg: #0c0c0e;
  --bg-2: #151518;
  --bg-3: #1c1c21;
  --text: #f2f2f4;
  --muted: #a3a3ad;
  --line: #2a2a32;
  --accent: #3ddc84;
  --accent-2: #c62828;
  --gold: #d4a017;
  --max: 1120px;
  --radius: 4px;
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --display: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(61, 220, 132, 0.08), transparent 55%),
    radial-gradient(900px 420px at 90% 0%, rgba(198, 40, 40, 0.1), transparent 50%),
    linear-gradient(180deg, #101014 0%, var(--bg) 40%, #0a0a0c 100%);
  color: var(--text);
  line-height: 1.75;
  font-size: 16px;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(12, 12, 14, 0.88);
  border-bottom: 1px solid var(--line);
}

.nav-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.brand span {
  font-size: 1.05rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
}

.nav a {
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
}

.nav a:hover,
.nav a.active {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, #2fc46f, #3ddc84);
  color: #06140c;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--accent);
}

.hero {
  position: relative;
  min-height: calc(100vh - 64px);
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(0.42) saturate(1.05);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 12, 14, 0.35) 0%, rgba(12, 12, 14, 0.75) 55%, rgba(12, 12, 14, 0.98) 100%),
    linear-gradient(90deg, rgba(12, 12, 14, 0.55), transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 72px 0 56px;
  max-width: 720px;
  animation: rise 0.8s ease both;
}

.hero-brand {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.15;
  margin: 0 0 14px;
  letter-spacing: 0.04em;
}

.hero-brand em {
  font-style: normal;
  color: var(--accent);
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 600;
  color: #e8e8ec;
}

.hero p {
  margin: 0 0 24px;
  color: var(--muted);
  max-width: 38em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

section {
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
}

.section-head {
  margin-bottom: 28px;
}

.section-head h2 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: 0.02em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 46em;
}

.prose h2,
.prose h3 {
  font-family: var(--display);
  letter-spacing: 0.02em;
}

.prose h2 {
  margin: 1.6em 0 0.6em;
  font-size: 1.45rem;
}

.prose h3 {
  margin: 1.3em 0 0.5em;
  font-size: 1.15rem;
}

.prose p {
  margin: 0 0 1em;
  color: #d7d7de;
}

.prose ul,
.prose ol {
  margin: 0 0 1.1em;
  padding-left: 1.2em;
  color: #d7d7de;
}

.prose li {
  margin-bottom: 0.45em;
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.shot-grid figure {
  margin: 0;
  background: var(--bg-2);
  border: 1px solid var(--line);
  overflow: hidden;
}

.shot-grid img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.45s ease;
}

.shot-grid figure:hover img {
  transform: scale(1.03);
}

.shot-grid figcaption {
  padding: 10px 12px;
  font-size: 0.88rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.feature-list {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;
}

.feature-list .shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.feature-list .shots img {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--bg-2);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  counter-reset: step;
}

.step {
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 22px 18px;
  position: relative;
  animation: fadeup 0.7s ease both;
}

.step:nth-child(2) {
  animation-delay: 0.1s;
}

.step:nth-child(3) {
  animation-delay: 0.2s;
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.08em;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.cta-band {
  background:
    linear-gradient(120deg, rgba(61, 220, 132, 0.12), rgba(198, 40, 40, 0.1)),
    var(--bg-2);
  border: 1px solid var(--line);
  padding: 36px 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}

.cta-band h2 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 1.5rem;
}

.cta-band p {
  margin: 0;
  color: var(--muted);
}

.page-hero {
  padding: 48px 0 24px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 48em;
}

.breadcrumbs {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.breadcrumbs a {
  color: var(--muted);
}

.site-footer {
  padding: 40px 0 28px;
  background: #09090b;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}

.footer-brand {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
}

.footer-brand strong {
  display: block;
  margin-bottom: 6px;
}

.footer-brand p,
.footer-col p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-col h3 {
  margin: 0 0 10px;
  font-size: 0.95rem;
}

.footer-col a {
  display: block;
  color: var(--muted);
  margin-bottom: 8px;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--accent);
}

.copyright {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  color: #777784;
  font-size: 0.85rem;
}

.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 48px 0;
}

.error-page h1 {
  font-family: var(--display);
  font-size: clamp(3rem, 10vw, 5rem);
  margin: 0 0 8px;
  color: var(--accent);
}

.error-page p {
  color: var(--muted);
  margin: 0 0 22px;
}

.toc {
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 16px 18px;
  margin: 0 0 28px;
}

.toc strong {
  display: block;
  margin-bottom: 8px;
}

.toc a {
  display: inline-block;
  margin: 0 12px 6px 0;
  color: var(--muted);
}

.toc a:hover {
  color: var(--accent);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  cursor: pointer;
}

.menu-toggle .menu-icon {
  position: relative;
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: background 0.2s ease;
}

.menu-toggle .menu-icon::before,
.menu-toggle .menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.2s ease, top 0.2s ease;
}

.menu-toggle .menu-icon::before {
  top: -6px;
}

.menu-toggle .menu-icon::after {
  top: 6px;
}

.menu-toggle[aria-expanded="true"] .menu-icon {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeup {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .shot-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .feature-list,
  .footer-grid,
  .steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 60;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 12px;
    background: rgba(12, 12, 14, 0.96);
    border: 1px solid var(--line);
    border-top: none;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
  }

  .nav a:last-child {
    border-bottom: none;
  }

  .nav-row {
    flex-wrap: nowrap;
  }

  .shot-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-content {
    padding: 56px 0 40px;
  }

  section {
    padding: 48px 0;
  }
}
