﻿:root {
  --bg: #f2f7fb;
  --bg-deep: #061525;
  --surface: #ffffff;
  --ink: #102033;
  --muted: #5a7085;
  --brand: #1482c8;
  --brand-deep: #0b5f96;
  --accent: #2eb5d8;
  --line: rgba(16, 32, 51, 0.1);
  --shadow: 0 18px 40px rgba(11, 40, 70, 0.1);
  --radius: 18px;
  --max: 1160px;
  --font-display: "Sora", "Noto Sans SC", sans-serif;
  --font-body: "Noto Sans SC", "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(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(46, 181, 216, 0.18), transparent 60%),
    radial-gradient(900px 420px at 100% 0%, rgba(20, 130, 200, 0.14), transparent 55%),
    linear-gradient(180deg, #eaf4fb 0%, var(--bg) 28%, #eef4f8 100%);
  line-height: 1.8;
  font-size: 16px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand-deep);
  text-decoration: none;
}

a:hover {
  color: var(--brand);
  text-decoration: underline;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(246, 251, 255, 0.88);
  border-bottom: 1px solid var(--line);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand:hover {
  text-decoration: none;
  color: var(--brand-deep);
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(20, 130, 200, 0.25);
}

.brand span {
  font-size: 1.05rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--brand);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(6, 21, 37, 0.88) 12%, rgba(11, 70, 110, 0.55) 48%, rgba(6, 21, 37, 0.78) 100%),
    url("/home-recommend.jpg") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 140px;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 7rem 0 5rem;
}

.hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hero-brand img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.hero h1 {
  margin: 0 0 1rem;
  max-width: 16ch;
  font-size: clamp(1.55rem, 3.4vw, 2.45rem);
  line-height: 1.35;
  font-weight: 700;
}

.hero p {
  margin: 0 0 1.75rem;
  max-width: 38rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--brand));
  color: #fff;
}

.btn-primary:hover {
  color: #fff;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.section {
  padding: 4.5rem 0;
}

.section-head {
  margin-bottom: 2rem;
  max-width: 46rem;
}

.section-head .eyebrow {
  margin: 0 0 0.55rem;
  color: var(--brand);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-head h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.35;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.lead {
  font-size: 1.05rem;
  color: var(--muted);
}

.prose {
  max-width: 48rem;
}

.prose p {
  margin: 0 0 1.1rem;
  color: #24384d;
}

.prose h2,
.prose h3 {
  margin: 2rem 0 0.8rem;
  line-height: 1.35;
}

.prose ul,
.prose ol {
  margin: 0 0 1.2rem;
  padding-left: 1.2rem;
  color: #24384d;
}

.prose li {
  margin-bottom: 0.45rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
}

.feature {
  grid-column: span 6;
  display: grid;
  gap: 1rem;
  padding: 1.15rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature.wide {
  grid-column: span 12;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
}

.feature.reverse {
  direction: rtl;
}

.feature.reverse > * {
  direction: ltr;
}

.feature figure {
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  background: #d9e8f4;
}

.feature img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.45s ease;
}

.feature:hover img {
  transform: scale(1.03);
}

.feature h3 {
  margin: 0 0 0.55rem;
  font-size: 1.25rem;
}

.feature p {
  margin: 0 0 0.7rem;
  color: var(--muted);
}

.feature .meta-link {
  font-weight: 600;
  color: var(--brand-deep);
}

.shot-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.shot-row figure {
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.shot-row img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top center;
}

.shot-row figcaption {
  padding: 0.85rem 1rem 1rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 1.35rem 1.2rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 0.7rem;
  color: var(--brand);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
}

.step h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.faq {
  display: grid;
  gap: 0.85rem;
}

.faq details {
  padding: 1rem 1.15rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.faq p {
  margin: 0.75rem 0 0;
  color: var(--muted);
}

.cta-band {
  margin: 1rem 0 3rem;
  padding: 2.4rem;
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(600px 220px at 12% 20%, rgba(46, 181, 216, 0.45), transparent 60%),
    linear-gradient(135deg, #0b5f96 0%, #1482c8 48%, #1fa7c8 100%);
  box-shadow: var(--shadow);
}

.cta-band h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
}

.cta-band p {
  margin: 0 0 1.2rem;
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.92);
}

.page-hero {
  padding: 3.5rem 0 1.5rem;
}

.page-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.page-hero p {
  margin: 0;
  max-width: 40rem;
  color: var(--muted);
}

.legal {
  padding: 1rem 0 4rem;
}

.breadcrumb {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--muted);
}

.site-footer {
  margin-top: 2rem;
  padding: 2.5rem 0 2rem;
  background: var(--bg-deep);
  color: rgba(255, 255, 255, 0.78);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.8rem;
}

.site-footer h3 {
  margin: 0 0 0.8rem;
  color: #fff;
  font-size: 1rem;
}

.site-footer p {
  margin: 0;
  max-width: 34rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.45rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
  background:
    radial-gradient(700px 320px at 50% 0%, rgba(46, 181, 216, 0.2), transparent 60%),
    var(--bg);
}

.error-page .code {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 6rem);
  line-height: 1;
  color: var(--brand);
}

.error-page h1 {
  margin: 0.6rem 0 0.8rem;
}

.error-page p {
  margin: 0 0 1.4rem;
  color: var(--muted);
}

.toc {
  margin: 0 0 1.5rem;
  padding: 1rem 1.15rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.toc strong {
  display: block;
  margin-bottom: 0.5rem;
}

.toc a {
  display: inline-block;
  margin: 0.2rem 0.75rem 0.2rem 0;
}

@media (max-width: 980px) {
  .feature.wide,
  .feature.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .feature {
    grid-column: span 12;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-block;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1rem 1rem;
    background: rgba(246, 251, 255, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 0.75rem 0.3rem;
    border-bottom: 1px solid var(--line);
  }

  .hero {
    min-height: 78vh;
    background-position: top center;
  }

  .hero-inner {
    padding: 5.5rem 0 4rem;
  }

  .shot-row {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cta-band {
    padding: 1.6rem;
  }

  .feature img,
  .shot-row img {
    max-height: 520px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .feature img {
    transition: none;
  }
}
