:root {
  --bg: #0b0c10;
  --bg-soft: #12141b;
  --card: #181b24;
  --card-hover: #1f2330;
  --line: #2a2f3d;
  --text: #f3f4f6;
  --muted: #a8b0bd;
  --green: #3ddc84;
  --green-dark: #2bb36a;
  --red: #d32f2f;
  --gold: #e0b84c;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  --radius: 16px;
  --header-h: 72px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Heiti SC", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  font-size: 16px;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--green);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--green);
  color: #0b0c10;
  padding: 8px 12px;
  z-index: 1000;
}

.skip-link:focus {
  left: 8px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(11, 12, 16, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  white-space: nowrap;
}

.brand:hover {
  text-decoration: none;
  color: var(--green);
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a {
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
}

.nav a:hover,
.nav a.active {
  color: var(--green);
  text-decoration: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, opacity 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(180deg, #4ae894, var(--green-dark));
  color: #062414;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.btn-red {
  background: linear-gradient(180deg, #ef5350, var(--red));
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  color: var(--text);
  font-size: 22px;
}

.hero {
  padding: 56px 0 36px;
  background:
    radial-gradient(ellipse at top, rgba(61, 220, 132, 0.12), transparent 55%),
    linear-gradient(180deg, #12141b 0%, var(--bg) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.kicker {
  display: inline-block;
  background: rgba(61, 220, 132, 0.12);
  color: var(--green);
  border: 1px solid rgba(61, 220, 132, 0.3);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 13px;
  margin-bottom: 14px;
}

h1 {
  font-size: 38px;
  line-height: 1.35;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

h2 {
  font-size: 28px;
  line-height: 1.4;
  margin: 0 0 16px;
}

h3 {
  font-size: 20px;
  margin: 22px 0 10px;
}

.lead {
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
}

.hero-shot {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 12px;
  box-shadow: var(--shadow);
}

.hero-shot img {
  width: 100%;
  border-radius: 16px;
  max-height: 520px;
  object-fit: cover;
  object-position: top;
}

.section {
  padding: 56px 0;
}

.section.alt {
  background: var(--bg-soft);
}

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-head p {
  color: var(--muted);
}

.grid-3,
.grid-2,
.grid-4 {
  display: grid;
  gap: 18px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: top;
  background: #0f1117;
}

.card-body {
  padding: 18px;
}

.card h3 {
  margin-top: 0;
}

.card p,
.article p {
  color: #d5dae3;
  margin-bottom: 14px;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  color: var(--muted);
}

.feature-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  position: absolute;
  left: 0;
  top: 11px;
}

.shot-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.shot-row img,
.gallery img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: top;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--card);
}

.article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 40px;
}

.article h2,
.article h3 {
  color: #fff;
}

.article ul,
.article ol {
  margin: 0 0 16px 22px;
  color: #d5dae3;
}

.toc {
  background: #12151d;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  margin: 0 0 24px;
}

.toc strong {
  display: block;
  margin-bottom: 8px;
}

.toc a {
  display: inline-block;
  margin-right: 14px;
  margin-bottom: 6px;
}

.crumbs {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 18px;
}

.crumbs a {
  color: var(--muted);
}

.page-hero {
  padding: 36px 0 10px;
}

.legal {
  padding-bottom: 60px;
}

.notice {
  background: rgba(211, 47, 47, 0.12);
  border: 1px solid rgba(211, 47, 47, 0.35);
  color: #ffcdd2;
  border-radius: 12px;
  padding: 12px 16px;
  margin: 16px 0 24px;
}

.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 10px;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
}

.faq details p {
  color: var(--muted);
  margin-top: 8px;
}

.download-box {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
  background: linear-gradient(160deg, #1a1f2b, #12141b);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 24px;
  background: #0a0b0f;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 24px;
}

.footer-brand {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}

.site-footer h3 {
  margin-top: 0;
  font-size: 16px;
}

.site-footer p,
.site-footer a {
  color: var(--muted);
  font-size: 14px;
}

.site-footer ul {
  list-style: none;
}

.site-footer li {
  margin-bottom: 8px;
}

.copyright {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  color: #7d8694;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.error-wrap {
  min-height: calc(100vh - 180px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 60px 16px;
}

.error-wrap h1 {
  font-size: 72px;
  color: var(--green);
  margin-bottom: 8px;
}

.nav.open {
  display: flex;
}

@media (max-width: 960px) {
  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 24px;
  }

  .hero,
  .section {
    padding: 36px 0;
  }

  .hero-grid,
  .grid-3,
  .grid-2,
  .grid-4,
  .shot-row,
  .download-box,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .shot-row {
    grid-template-columns: 1fr 1fr;
  }

  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }

  .article {
    padding: 22px 18px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    background: #11131a;
    border-bottom: 1px solid var(--line);
    padding: 12px 16px 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav a,
  .nav .btn {
    display: block;
    padding: 12px 8px;
    border-radius: 8px;
  }

  .nav.open {
    display: flex;
  }

  .card img,
  .shot-row img,
  .gallery img,
  .hero-shot img {
    height: 220px;
  }

  .header-cta {
    display: none;
  }
}

@media (max-width: 640px) {
  .shot-row,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn,
  .download-box .btn {
    width: 100%;
  }
}
