:root {
  --bg: #0f0c0d;
  --bg-soft: #1a1416;
  --bg-elevated: #241c1f;
  --surface: #2a2125;
  --text: #f5ecee;
  --text-muted: #b8a4aa;
  --brand: #e83e6a;
  --brand-soft: #ff6b8a;
  --brand-deep: #c41e4a;
  --accent: #f0c4a0;
  --line: rgba(255, 255, 255, 0.08);
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --max: 1120px;
  --font-display: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(232, 62, 106, 0.22), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(240, 196, 160, 0.12), transparent 50%),
    linear-gradient(180deg, #120e10 0%, var(--bg) 40%, #120d0f 100%);
  line-height: 1.75;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand-soft);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #fff;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(15, 12, 13, 0.82);
  border-bottom: 1px solid var(--line);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 1.05rem;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-elevated);
  color: #fff;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: #fff;
}

.hero {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-copy h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.85rem);
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.hero-copy .lead {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 36rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff;
  box-shadow: 0 10px 28px rgba(232, 62, 106, 0.35);
}

.btn-primary:hover {
  color: #fff;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  width: 100%;
  border-radius: 18px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  animation: floatIn 0.9s ease both;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: auto -8% -10% 30%;
  height: 45%;
  background: radial-gradient(circle, rgba(232, 62, 106, 0.35), transparent 70%);
  z-index: -1;
  filter: blur(8px);
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.section {
  padding: 3.2rem 0;
}

.section-head {
  margin-bottom: 1.8rem;
  max-width: 46rem;
}

.section-head h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  line-height: 1.3;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.feature-item {
  background: linear-gradient(180deg, rgba(42, 33, 37, 0.9), rgba(26, 20, 22, 0.95));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.feature-item:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 62, 106, 0.35);
}

.feature-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
  background: var(--bg-soft);
}

.feature-item .body {
  padding: 1rem 1.05rem 1.2rem;
}

.feature-item h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.feature-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
  align-items: center;
}

.split.reverse .copy {
  order: 2;
}

.split img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.split .copy h2 {
  margin-top: 0;
}

.split .copy p {
  color: var(--text-muted);
}

.shot-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}

.shot-row img {
  border-radius: 12px;
  border: 1px solid var(--line);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
  transition: transform 0.25s ease;
}

.shot-row img:hover {
  transform: scale(1.02);
}

.content-block {
  background: rgba(26, 20, 22, 0.72);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.6rem 1.5rem;
}

.content-block h2,
.content-block h3 {
  scroll-margin-top: 5rem;
}

.content-block p,
.content-block li {
  color: var(--text-muted);
}

.content-block h2 {
  margin-top: 2rem;
  margin-bottom: 0.8rem;
  font-size: 1.35rem;
  color: #fff;
}

.content-block h2:first-child {
  margin-top: 0;
}

.content-block h3 {
  margin-top: 1.4rem;
  margin-bottom: 0.55rem;
  font-size: 1.1rem;
  color: #ffe8ee;
}

.content-block ul {
  padding-left: 1.2rem;
}

.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1rem 0 1.5rem;
}

.toc a {
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 0.88rem;
  background: rgba(255, 255, 255, 0.02);
}

.toc a:hover {
  border-color: rgba(232, 62, 106, 0.45);
  color: #fff;
}

.page-hero {
  padding: 2.8rem 0 1.2rem;
}

.page-hero h1 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.page-hero p {
  margin: 0;
  color: var(--text-muted);
  max-width: 42rem;
}

.legal {
  padding-bottom: 3.5rem;
}

.legal .content-block p {
  margin: 0.75rem 0;
}

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.28);
  padding: 2.4rem 0 1.6rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
}

.site-footer h3 {
  margin: 0 0 0.8rem;
  font-size: 1rem;
}

.site-footer p,
.site-footer a {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.45rem;
}

.copyright {
  margin-top: 1.8rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: #8d7a80;
  font-size: 0.85rem;
}

.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 1rem;
}

.error-page h1 {
  margin: 0 0 0.6rem;
  font-size: clamp(2.4rem, 8vw, 4rem);
  color: var(--brand-soft);
}

.error-page p {
  color: var(--text-muted);
  margin: 0 0 1.4rem;
}

.breadcrumb {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.breadcrumb a {
  color: var(--text-muted);
}

.fade-up {
  animation: floatIn 0.7s ease both;
}

@media (max-width: 960px) {
  .hero-grid,
  .split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .split.reverse .copy {
    order: 0;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .shot-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-block;
  }

  .nav-links {
    display: none;
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.4rem);
    flex-direction: column;
    align-items: stretch;
    padding: 0.8rem;
    background: rgba(26, 20, 22, 0.98);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 0.7rem 0.6rem;
  }

  .hero {
    padding: 2.4rem 0 2rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .content-block {
    padding: 1.2rem 1rem;
  }

  .section {
    padding: 2.4rem 0;
  }
}
