:root {
  --bg: #0b0e1e;
  --bg-soft: #12162b;
  --bg-card: #171c33;
  --line: rgba(255, 255, 255, 0.08);
  --text: #e8ecf7;
  --muted: #9aa3bf;
  --brand: #2d8cf0;
  --brand-deep: #1f6ec4;
  --accent: #5b8def;
  --max: 1080px;
  --radius: 14px;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(45, 140, 240, 0.18), transparent 55%),
    radial-gradient(900px 420px at 90% 0%, rgba(91, 141, 239, 0.12), transparent 50%),
    var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 16px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  color: #7eb6ff;
  text-decoration: underline;
}

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(11, 14, 30, 0.86);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  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:hover {
  text-decoration: none;
  color: #fff;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: center;
  justify-content: flex-end;
}

.nav a {
  color: var(--muted);
  font-size: 14px;
  padding: 6px 0;
}

.nav a:hover,
.nav a.active {
  color: #fff;
  text-decoration: none;
}

.header-ads {
  border-top: 1px solid var(--line);
  background: rgba(11, 14, 30, 0.96);
}

.ads-slot {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 8px 0 6px;
  margin: 0;
}

.hero {
  padding: 36px 0 18px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
}

.eyebrow {
  color: var(--brand);
  font-size: 13px;
  letter-spacing: 0.08em;
  margin: 0 0 10px;
  font-weight: 600;
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.25;
  font-weight: 800;
}

.lead {
  color: var(--muted);
  font-size: 17px;
  margin: 0 0 22px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff;
}

.btn-primary:hover {
  color: #fff;
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover {
  color: #fff;
  border-color: rgba(45, 140, 240, 0.5);
}

.hero-visual {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: var(--bg-card);
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 520px;
  object-fit: cover;
  object-position: top;
}

.section {
  padding: 42px 0;
  border-top: 1px solid var(--line);
}

.section h2 {
  margin: 0 0 12px;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.3;
}

.section-intro {
  color: var(--muted);
  margin: 0 0 24px;
  max-width: 860px;
}

.prose p {
  margin: 0 0 16px;
  color: #d5dae8;
}

.prose h3 {
  margin: 28px 0 12px;
  font-size: 20px;
}

.prose ul,
.prose ol {
  margin: 0 0 16px;
  padding-left: 1.2em;
  color: #d5dae8;
}

.prose li {
  margin-bottom: 8px;
}

.feature-grid,
.shot-grid,
.info-grid {
  display: grid;
  gap: 18px;
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.shot-grid {
  grid-template-columns: repeat(3, 1fr);
}

.info-grid {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.card-body {
  padding: 16px 16px 18px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.card img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
  background: var(--bg-soft);
}

.media-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
  align-items: start;
  margin: 22px 0;
}

.media-row.reverse {
  grid-template-columns: 1.1fr 0.9fr;
}

.media-row .shot {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--bg-card);
}

.media-row .shot img {
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 560px;
  object-fit: cover;
  object-position: top;
  margin: 0 auto;
}

.media-row.reverse .shot {
  order: 2;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
}

.tag {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(45, 140, 240, 0.12);
  color: #b7d4ff;
  font-size: 13px;
  border: 1px solid rgba(45, 140, 240, 0.25);
}

.faq details {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 10px;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.faq p {
  margin: 10px 0 0;
  color: var(--muted);
}

.page-hero {
  padding: 34px 0 10px;
}

.page-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(26px, 3.5vw, 36px);
}

.breadcrumb {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 10px;
}

.breadcrumb a {
  color: var(--muted);
}

.legal {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 22px;
}

.legal h2 {
  margin: 28px 0 10px;
  font-size: 20px;
}

.legal h2:first-child {
  margin-top: 0;
}

.error-box {
  text-align: center;
  padding: 70px 0 90px;
}

.error-box .code {
  font-size: 72px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--brand);
  margin: 0 0 8px;
}

.error-box h1 {
  margin: 0 0 12px;
  font-size: 28px;
}

.error-box p {
  color: var(--muted);
  margin: 0 0 24px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  margin-top: 20px;
  background: rgba(0, 0, 0, 0.22);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}

.site-footer h3 {
  margin: 0 0 12px;
  font-size: 15px;
}

.site-footer p,
.site-footer a {
  color: var(--muted);
  font-size: 14px;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 8px;
}

.copyright {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: #7d86a3;
  font-size: 13px;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-radius: 8px;
  width: 40px;
  height: 36px;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-shrink: 0;
}

.menu-toggle .bar {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

@media (max-width: 900px) {
  .hero-grid,
  .media-row,
  .media-row.reverse,
  .feature-grid,
  .shot-grid,
  .info-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .media-row.reverse .shot {
    order: 0;
  }

  .hero-visual img,
  .media-row .shot img {
    max-height: 420px;
  }

  .shot-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    background: rgba(18, 22, 43, 0.98);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
    z-index: 130;
  }

  .nav a {
    padding: 12px 14px;
    border-radius: 8px;
  }

  .nav a:hover,
  .nav a.active {
    background: rgba(45, 140, 240, 0.12);
  }

  .nav.open {
    display: flex;
  }
}

@media (max-width: 560px) {
  .shot-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .container {
    width: min(100% - 24px, var(--max));
  }

  .section {
    padding: 32px 0;
  }
}
