:root {
  --bg: #0b0b0f;
  --bg-soft: #14141c;
  --bg-card: #1a1a24;
  --line: #2a2a38;
  --text: #f2f2f5;
  --muted: #a8a8b8;
  --accent: #e63946;
  --accent-soft: #ff6b7a;
  --gold: #f0b429;
  --radius: 14px;
  --shadow: 0 12px 40px rgba(0, 0, 0, .45);
  --max: 1180px;
  --font: "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-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(230, 57, 70, .18), transparent 55%),
    radial-gradient(900px 420px at 90% 0%, rgba(240, 180, 41, .12), transparent 50%),
    linear-gradient(180deg, #101018 0%, var(--bg) 40%, #09090d 100%);
  color: var(--text);
  line-height: 1.75;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent-soft);
  text-decoration: none;
  transition: color .2s ease, opacity .2s ease;
}

a:hover {
  color: #fff;
}

.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 8px 12px;
  z-index: 1000;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(11, 11, 15, .85);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: .02em;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
}

.brand span {
  color: var(--accent-soft);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
}

.nav a {
  color: var(--muted);
  font-size: .95rem;
  padding: 6px 0;
  position: relative;
}

.nav a:hover,
.nav a.active {
  color: #fff;
}

.nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  background: var(--bg-card);
  border: 1px solid var(--line);
  color: #fff;
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle .nav-toggle-icon {
  position: relative;
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: background .2s ease;
}

.nav-toggle .nav-toggle-icon::before,
.nav-toggle .nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .2s ease, top .2s ease;
}

.nav-toggle .nav-toggle-icon::before {
  top: -6px;
}

.nav-toggle .nav-toggle-icon::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.hero {
  padding: 48px 0 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 28px;
  align-items: center;
}

.hero-copy h1 {
  margin: 0 0 14px;
  font-size: clamp(1.7rem, 3.2vw, 2.55rem);
  line-height: 1.25;
  letter-spacing: .01em;
}

.hero-copy .lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 22px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: .95rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #b91c2c);
  color: #fff;
  box-shadow: 0 8px 24px rgba(230, 57, 70, .35);
}

.btn-primary:hover {
  color: #fff;
  opacity: .92;
}

.btn-ghost {
  background: rgba(255, 255, 255, .04);
  border-color: var(--line);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--accent-soft);
  color: #fff;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-size: .82rem;
  color: var(--muted);
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px;
}

.hero-visual {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, .08);
  background: var(--bg-card);
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 560px;
  object-fit: cover;
  object-position: top center;
}

.hero-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(0, 0, 0, .72);
  border: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: .88rem;
}

.section {
  padding: 42px 0;
}

.section-head {
  margin-bottom: 22px;
}

.section-head h2 {
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 720px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .01));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(230, 57, 70, .45);
}

.feature-card img {
  width: 100%;
  aspect-ratio: 9 / 14;
  object-fit: cover;
  object-position: top center;
  background: #111;
}

.feature-card .body {
  padding: 14px 16px 18px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.shot-item {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-card);
  position: relative;
}

.shot-item img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top center;
}

.shot-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 12px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .88));
  font-size: .84rem;
}

.content-block {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 26px;
  margin-bottom: 18px;
}

.content-block h2,
.content-block h3 {
  margin-top: 0;
}

.content-block p {
  color: #d7d7e2;
}

.content-block ul,
.content-block ol {
  color: #d7d7e2;
  padding-left: 1.2em;
}

.content-block li {
  margin-bottom: 8px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.pros {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.pros li {
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
}

.pros strong {
  color: #fff;
}

.breadcrumb {
  padding: 18px 0 0;
  color: var(--muted);
  font-size: .9rem;
}

.breadcrumb a {
  color: var(--muted);
}

.page-title {
  padding: 18px 0 8px;
}

.page-title h1 {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
}

.page-title p {
  margin: 0;
  color: var(--muted);
}

.legal {
  padding-bottom: 48px;
}

.legal .content-block h2 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.site-footer {
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  background: rgba(0, 0, 0, .35);
  padding: 36px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.footer-grid h3 {
  margin: 0 0 12px;
  font-size: 1rem;
}

.footer-grid p,
.footer-grid a {
  color: var(--muted);
  font-size: .92rem;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .06);
  padding-top: 16px;
  color: var(--muted);
  font-size: .85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: space-between;
}

.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 48px 0;
}

.error-page .code {
  font-size: clamp(3.5rem, 10vw, 6rem);
  font-weight: 800;
  letter-spacing: .04em;
  background: linear-gradient(135deg, #fff, var(--accent-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0;
  line-height: 1;
}

.error-page h1 {
  margin: 12px 0;
}

.error-page p {
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 22px;
}

.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0;
}

.toc a {
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  color: var(--muted);
  font-size: .86rem;
}

.toc a:hover {
  color: #fff;
  border-color: var(--accent-soft);
}

.highlight-box {
  border-left: 3px solid var(--accent);
  background: rgba(230, 57, 70, .08);
  padding: 14px 16px;
  border-radius: 0 12px 12px 0;
  margin: 16px 0;
  color: #e8e8f0;
}

@media (max-width: 980px) {
  .hero-grid,
  .two-col,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .shot-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-visual img {
    max-height: 480px;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 0 4px;
  }

  .nav.open {
    display: flex;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .feature-grid,
  .shot-grid {
    grid-template-columns: 1fr 1fr;
  }

  .content-block {
    padding: 20px 16px;
  }

  .hero {
    padding-top: 28px;
  }
}

@media (max-width: 420px) {
  .feature-grid,
  .shot-grid {
    grid-template-columns: 1fr;
  }
}
