:root {
  --blue: #1a73e8;
  --blue-dark: #0d47a1;
  --blue-soft: #e8f1fc;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg: #f5f8fc;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(26, 115, 232, 0.08);
  --max: 1120px;
  --font: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: linear-gradient(180deg, #eef5ff 0%, var(--bg) 180px, #f8fafc 100%);
  line-height: 1.8;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  color: var(--blue-dark);
  text-decoration: underline;
}

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.brand:hover {
  text-decoration: none;
  color: var(--blue-dark);
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
}

.brand span {
  font-size: 1.05rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px 18px;
  flex-wrap: wrap;
}

.nav a {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 6px 0;
}

.nav a:hover,
.nav a.active {
  color: var(--blue);
  text-decoration: none;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 10px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text);
}

/* Hero */
.hero {
  padding: 48px 0 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: var(--blue-soft);
  color: var(--blue-dark);
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.35;
  margin-bottom: 14px;
  color: #0b2748;
}

.hero-lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), #3b8cff);
  color: #fff;
  box-shadow: 0 8px 20px rgba(26, 115, 232, 0.28);
}

.btn-primary:hover {
  color: #fff;
}

.btn-secondary {
  background: var(--white);
  color: var(--blue-dark);
  border: 1px solid #cfe0f8;
}

.btn-secondary:hover {
  color: var(--blue-dark);
}

.hero-meta {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-visual {
  background: radial-gradient(circle at 30% 20%, #dbeafe, #fff 55%);
  border: 1px solid #dbe7f8;
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 180px;
  margin: 0 auto 16px;
  border-radius: 28px;
}

.hero-visual figcaption {
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Sections */
.section {
  padding: 36px 0;
}

.section-title {
  font-size: 1.55rem;
  margin-bottom: 10px;
  color: #0b2748;
}

.section-desc {
  color: var(--muted);
  margin-bottom: 24px;
  max-width: 760px;
}

.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  margin-bottom: 22px;
}

.panel h2,
.panel h3 {
  color: #0b2748;
  margin-bottom: 12px;
}

.panel h2 {
  font-size: 1.35rem;
}

.panel h3 {
  font-size: 1.15rem;
  margin-top: 18px;
}

.panel p,
.panel li {
  color: #374151;
  margin-bottom: 12px;
}

.panel ul,
.panel ol {
  padding-left: 1.2em;
  margin-bottom: 12px;
}

.panel li {
  margin-bottom: 8px;
}

.toc {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.toc a {
  display: block;
  background: var(--blue-soft);
  color: var(--blue-dark);
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 600;
  text-decoration: none;
}

.toc a:hover {
  background: #d7e8ff;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.feature-card img {
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 420px;
  object-fit: cover;
  object-position: top;
  background: #f3f4f6;
}

.feature-card .body {
  padding: 16px 18px 20px;
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #0b2748;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

.shot-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 18px 0;
}

.shot-row figure {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.shot-row img {
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 360px;
  object-fit: cover;
  object-position: top;
}

.shot-row figcaption {
  padding: 10px 12px;
  font-size: 0.88rem;
  color: var(--muted);
  text-align: center;
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
}

.steps li {
  position: relative;
  padding: 14px 14px 14px 58px;
  background: var(--blue-soft);
  border-radius: 12px;
  margin-bottom: 12px;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 14px;
  top: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 10px;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: #0b2748;
}

.faq details p {
  margin-top: 10px;
  color: var(--muted);
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.related-links a {
  background: #fff;
  border: 1px solid #cfe0f8;
  color: var(--blue-dark);
  border-radius: 999px;
  padding: 8px 14px;
  text-decoration: none;
  font-size: 0.92rem;
}

.related-links a:hover {
  background: var(--blue-soft);
}

.legal-page .panel {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.page-hero {
  padding: 36px 0 10px;
}

.page-hero h1 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: #0b2748;
  margin-bottom: 8px;
}

.page-hero p {
  color: var(--muted);
}

.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px 16px;
}

.error-page .code {
  font-size: 4rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 10px;
}

.error-page h1 {
  margin-bottom: 10px;
}

.error-page p {
  color: var(--muted);
  margin-bottom: 22px;
}

/* Footer */
.site-footer {
  margin-top: 40px;
  background: #0b2748;
  color: #dbe7f8;
  padding: 36px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.site-footer h3 {
  color: #fff;
  margin-bottom: 12px;
  font-size: 1rem;
}

.site-footer a {
  color: #c9daf5;
  display: inline-block;
  margin-bottom: 8px;
}

.site-footer a:hover {
  color: #fff;
}

.footer-brand {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 16px;
  font-size: 0.88rem;
  color: #9fb4d8;
  text-align: center;
}

/* Mobile */
@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 68px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 12px 16px 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 10px 8px;
    border-radius: 8px;
  }

  .nav a:hover {
    background: var(--blue-soft);
  }

  .hero-grid,
  .feature-grid,
  .shot-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-visual {
    order: -1;
  }

  .hero-visual img {
    width: 120px;
  }

  .feature-card img,
  .shot-row img {
    max-height: 520px;
  }

  .panel {
    padding: 18px;
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .shot-row {
    grid-template-columns: repeat(3, 1fr);
  }
}
