:root {
  --blue-900: #0b3d6e;
  --blue-700: #1565c0;
  --blue-600: #1e88e5;
  --blue-500: #42a5f5;
  --blue-100: #e3f2fd;
  --blue-50: #f3f9ff;
  --ink: #1a2332;
  --muted: #5a6a7a;
  --line: #d7e3ef;
  --white: #ffffff;
  --shadow: 0 12px 40px rgba(21, 101, 192, 0.12);
  --radius: 18px;
  --max: 1120px;
  --font: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(66, 165, 245, 0.18), transparent 34%),
    radial-gradient(circle at 88% 0%, rgba(30, 136, 229, 0.12), transparent 28%),
    linear-gradient(180deg, #f7fbff 0%, #eef5fc 45%, #f8fbff 100%);
  line-height: 1.75;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-700); text-decoration: none; }
a:hover { color: var(--blue-600); text-decoration: underline; }
.container { width: min(100% - 2rem, var(--max)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(215, 227, 239, 0.9);
}
.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}
.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(21, 101, 192, 0.25);
}
.brand span { font-size: 1.05rem; letter-spacing: 0.02em; }
.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1rem;
  flex-wrap: wrap;
}
.nav a {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.35rem 0.2rem;
}
.nav a:hover,
.nav a.active { color: var(--blue-700); }
.menu-toggle {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 10px;
  color: var(--blue-700);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.menu-toggle .menu-icon,
.menu-toggle .menu-icon::before,
.menu-toggle .menu-icon::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}
.menu-toggle .menu-icon {
  position: relative;
}
.menu-toggle .menu-icon::before,
.menu-toggle .menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu-toggle .menu-icon::before { top: -6px; }
.menu-toggle .menu-icon::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-icon {
  background: transparent;
}
.menu-toggle[aria-expanded="true"] .menu-icon::before {
  top: 0;
  transform: rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .menu-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.hero {
  padding: 3.2rem 0 2.2rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--blue-700);
  background: var(--blue-100);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  line-height: 1.25;
  color: var(--blue-900);
}
.hero-lead {
  font-size: 1.08rem;
  color: var(--muted);
  margin: 0 0 1.5rem;
  max-width: 38rem;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
  box-shadow: 0 10px 24px rgba(30, 136, 229, 0.35);
}
.btn-primary:hover { color: var(--white); }
.btn-secondary {
  color: var(--blue-700);
  background: var(--white);
  border-color: var(--line);
}
.hero-note {
  color: var(--muted);
  font-size: 0.92rem;
}
.hero-visual {
  position: relative;
}
.hero-visual img {
  width: 100%;
  border-radius: 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.8);
}
.hero-badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgba(11, 61, 110, 0.88);
  color: #fff;
  padding: 0.7rem 1rem;
  border-radius: 14px;
  font-size: 0.9rem;
  max-width: 80%;
}

.section {
  padding: 2.6rem 0;
}
.section-head {
  margin-bottom: 1.6rem;
  max-width: 46rem;
}
.section-head h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  color: var(--blue-900);
  line-height: 1.3;
}
.section-head p {
  margin: 0;
  color: var(--muted);
}
.panel {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.4rem;
}
.feature-grid,
.shot-grid,
.guide-grid,
.faq-grid,
.link-grid {
  display: grid;
  gap: 1.1rem;
}
.feature-grid { grid-template-columns: repeat(3, 1fr); }
.shot-grid { grid-template-columns: repeat(3, 1fr); }
.guide-grid { grid-template-columns: 1fr 1fr; }
.faq-grid { grid-template-columns: 1fr 1fr; }
.link-grid { grid-template-columns: repeat(4, 1fr); }

.feature-card,
.shot-card,
.guide-card,
.faq-item,
.link-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(21, 101, 192, 0.08);
}
.feature-card,
.guide-card,
.faq-item,
.link-card { padding: 1.25rem; }
.feature-card h3,
.guide-card h3,
.faq-item h3,
.shot-card h3,
.link-card h3 {
  margin: 0 0 0.65rem;
  color: var(--blue-900);
  font-size: 1.12rem;
}
.feature-card p,
.guide-card p,
.faq-item p,
.shot-card p,
.link-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}
.shot-card img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
  background: #dbeafe;
}
.shot-card .shot-body { padding: 1rem 1.1rem 1.2rem; }
.shot-wide img { aspect-ratio: 3 / 4; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  align-items: center;
}
.split.reverse .copy { order: 2; }
.split.reverse .media { order: 1; }
.split .media img {
  width: 100%;
  border-radius: 22px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.split .copy h2 {
  margin-top: 0;
  color: var(--blue-900);
}
.split .copy p { color: var(--muted); }
.split ul {
  margin: 0.8rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
}
.split li { margin-bottom: 0.45rem; }

.prose {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow);
}
.prose h2,
.prose h3 { color: var(--blue-900); }
.prose p,
.prose li { color: var(--muted); }
.prose ul { padding-left: 1.2rem; }
.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1rem 0 1.5rem;
}
.toc a {
  background: var(--blue-50);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--blue-700);
  font-weight: 600;
}

.page-hero {
  padding: 2.4rem 0 1rem;
}
.page-hero h1 {
  margin: 0 0 0.8rem;
  color: var(--blue-900);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}
.page-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 46rem;
}

.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 1rem;
}
.error-page .code {
  font-size: clamp(3.5rem, 10vw, 6rem);
  font-weight: 800;
  color: var(--blue-600);
  line-height: 1;
  margin-bottom: 0.6rem;
}
.error-page h1 {
  margin: 0 0 0.8rem;
  color: var(--blue-900);
}
.error-page p {
  color: var(--muted);
  max-width: 32rem;
  margin: 0 auto 1.4rem;
}

.site-footer {
  margin-top: 2rem;
  padding: 2.4rem 0 2rem;
  background: linear-gradient(180deg, rgba(227, 242, 253, 0.5), rgba(11, 61, 110, 0.95));
  color: #eaf4ff;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
}
.site-footer a { color: #d7ecff; }
.site-footer h3 {
  margin: 0 0 0.8rem;
  font-size: 1rem;
}
.site-footer p,
.site-footer li {
  color: rgba(234, 244, 255, 0.86);
  font-size: 0.94rem;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer li { margin-bottom: 0.45rem; }
.footer-bottom {
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.88rem;
  color: rgba(234, 244, 255, 0.75);
}

.keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.keywords span {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  color: var(--blue-700);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  font-size: 0.85rem;
  font-weight: 600;
}

@media (max-width: 960px) {
  .hero-grid,
  .split,
  .feature-grid,
  .shot-grid,
  .guide-grid,
  .faq-grid,
  .footer-grid,
  .link-grid {
    grid-template-columns: 1fr 1fr;
  }
  .split.reverse .copy,
  .split.reverse .media { order: initial; }
}

@media (max-width: 760px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.55rem 0.85rem 0.85rem;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(21, 101, 192, 0.14);
    z-index: 120;
  }
  .nav.open { display: flex; }
  .nav a {
    display: block;
    padding: 0.7rem 0.55rem;
    border-bottom: 1px solid var(--line);
  }
  .nav a:last-child { border-bottom: none; }
  .header-inner { flex-wrap: nowrap; }
  .hero { padding-top: 1.6rem; }
  .hero-grid,
  .feature-grid,
  .shot-grid,
  .guide-grid,
  .faq-grid,
  .footer-grid,
  .link-grid,
  .split {
    grid-template-columns: 1fr;
  }
  .hero-visual { order: -1; }
  .shot-card img { aspect-ratio: 3 / 4; max-height: 520px; object-fit: cover; margin: 0 auto; }
  .panel, .prose { padding: 1.1rem; }
}
