:root {
  --bg-a: #e6f2f7;
  --bg-b: #f4f6f7;
  --panel: rgba(255, 255, 255, 0.72);
  --panel-strong: rgba(255, 255, 255, 0.88);
  --text: #162433;
  --muted: #516579;
  --line: rgba(28, 46, 70, 0.14);
  --navy: #1c2e46;
  --navy-soft: #5c768d;
  --accent: #e2737d;
  --accent-soft: #f3d382;
  --shadow: 0 20px 60px rgba(18, 33, 51, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--text);
  font: 16px/1.75 "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(243, 211, 130, 0.14), transparent 24%),
    linear-gradient(180deg, var(--bg-a), var(--bg-b));
  overflow-x: clip;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 0 clamp(16px, 3vw, 28px);
  background: rgba(230, 242, 247, 0.84);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(28, 46, 70, 0.08);
}

.header-inner {
  width: min(100%, var(--max));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(28, 46, 70, 0.14);
  box-shadow: 0 10px 24px rgba(18, 33, 51, 0.12);
  flex: 0 0 auto;
  background: #fff;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.brand:hover .brand-logo,
.brand:focus-visible .brand-logo {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 14px 30px rgba(18, 33, 51, 0.18);
}

.brand-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: min(56vw, 340px);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
  border-radius: 12px;
  width: 46px;
  height: 42px;
  padding: 0;
  position: relative;
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--navy);
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle span:nth-child(1) {
  transform: translate(-50%, calc(-50% - 6px));
}

.nav-toggle span:nth-child(2) {
  transform: translate(-50%, -50%);
}

.nav-toggle span:nth-child(3) {
  transform: translate(-50%, calc(-50% + 6px));
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.site-nav a {
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--navy);
  font-size: 14px;
  border: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.site-nav a:not(.nav-cta):hover,
.site-nav a:not(.nav-cta):focus-visible {
  color: var(--accent);
  border-color: rgba(226, 115, 125, 0.72);
  background: rgba(255, 255, 255, 0.28);
  box-shadow: 0 0 0 3px rgba(226, 115, 125, 0.12);
  outline: none;
}

.nav-cta {
  background: linear-gradient(135deg, var(--accent), #ef8a93);
  color: #fff !important;
  box-shadow: 0 10px 28px rgba(226, 115, 125, 0.26);
}

.nav-cta:hover,
.nav-cta:focus-visible {
  transform: translateY(-2px);
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), #ef8a93);
  box-shadow: 0 14px 32px rgba(226, 115, 125, 0.32);
  outline: none;
}

main {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 0 20px 54px;
}

.hero {
  position: relative;
  left: 50%;
  width: 100vw;
  min-height: 720px;
  margin: 18px 0 0;
  margin-left: -50vw;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  background: #dce9ef;
}

.hero-bg,
.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg img {
  object-fit: cover;
  object-position: center center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 18, 30, 0.74) 0%, rgba(10, 18, 30, 0.48) 42%, rgba(10, 18, 30, 0.18) 100%),
    linear-gradient(180deg, rgba(10, 18, 30, 0.18), rgba(10, 18, 30, 0.26));
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max));
  height: 100%;
  margin: 0 auto;
  padding: clamp(34px, 8vw, 84px) clamp(20px, 3vw, 32px);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  color: var(--accent-soft);
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 13px;
  font-weight: 700;
}

.hero h1 {
  margin: 0;
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1.08;
  letter-spacing: 0;
  color: #fff;
  background: linear-gradient(135deg, #ffffff 0%, #f3d382 46%, #e2737d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

.hero-subtitle {
  max-width: 60ch;
  margin: 18px 0 0;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), #ef8a93);
  color: #fff;
  box-shadow: 0 12px 30px rgba(226, 115, 125, 0.28);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
}

.btn::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}

.btn.primary:hover,
.btn.primary:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(226, 115, 125, 0.34);
}

.btn.ghost:hover,
.btn.ghost:focus-visible {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 30px rgba(15, 23, 35, 0.18);
  border-color: rgba(255, 255, 255, 0.34);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0 0;
}

.hero-facts div {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
}

.hero-facts dt {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
}

.hero-facts dd {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}

.section {
  scroll-margin-top: 96px;
  margin-top: 28px;
  padding: clamp(22px, 4vw, 34px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.section-head {
  max-width: 780px;
  margin: 0 auto 22px;
  text-align: center;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.18;
  letter-spacing: 0;
  color: var(--navy);
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 48%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-head p {
  margin: 12px 0 0;
  color: var(--muted);
}

.feature-layout,
.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  gap: 18px;
}

.text-panel,
.media-card,
.content-block,
.feature-cards article,
.steps article,
.timeline li,
.faq-list details {
  background: var(--panel-strong);
  border: 1px solid rgba(28, 46, 70, 0.1);
  border-radius: var(--radius);
  box-shadow: 0 12px 26px rgba(18, 33, 51, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
}

.text-panel:hover,
.content-block:hover,
.feature-cards article:hover,
.steps article:hover,
.timeline li:hover,
.faq-list details:hover {
  transform: translateY(-4px);
  border-color: rgba(226, 115, 125, 0.3);
  box-shadow: 0 18px 38px rgba(18, 33, 51, 0.14);
}

.text-panel,
.steps article,
.feature-cards article,
.content-block,
.timeline li,
.faq-list details {
  padding: 18px;
}

.text-panel h3,
.steps h3,
.content-block h3,
.feature-cards h3,
.faq-list summary {
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--navy);
}

.text-panel p,
.steps p,
.content-block p,
.feature-cards p,
.faq-list p,
.media-card figcaption,
.wide-figure figcaption {
  margin: 0;
  color: var(--muted);
}

.media-card {
  overflow: hidden;
}

.media-card:hover,
.wide-figure:hover,
.gallery figure:hover {
  transform: translateY(-4px);
  border-color: rgba(226, 115, 125, 0.3);
  box-shadow: 0 18px 38px rgba(18, 33, 51, 0.15);
}

.media-card img,
.wide-figure img,
.gallery figure img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.36s ease, filter 0.36s ease;
}

.media-card:hover img,
.wide-figure:hover img,
.gallery figure:hover img {
  transform: scale(1.035);
  filter: saturate(1.06) contrast(1.03);
}

.media-card figcaption,
.wide-figure figcaption,
.gallery figcaption {
  padding: 12px 16px 16px;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.content-block .icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(28, 46, 70, 0.12), rgba(243, 211, 130, 0.38));
  color: var(--navy);
  font-weight: 800;
  transition: transform 0.22s ease, background 0.22s ease;
}

.content-block:hover .icon {
  transform: rotate(-4deg) scale(1.06);
  background: linear-gradient(135deg, rgba(226, 115, 125, 0.22), rgba(243, 211, 130, 0.5));
}

.wide-figure {
  margin: 18px 0 0;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(28, 46, 70, 0.1);
  background: rgba(255, 255, 255, 0.84);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.guide-layout {
  align-items: start;
}

.steps {
  display: grid;
  gap: 12px;
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.gallery figure,
.wide-figure,
.media-card {
  margin: 0;
}

.gallery figure {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(28, 46, 70, 0.1);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.gallery figure img {
  height: 220px;
  flex: 0 0 auto;
}

.gallery figcaption {
  min-height: 52px;
  display: flex;
  align-items: center;
  color: var(--navy);
  font-weight: 700;
  transition: color 0.18s ease;
}

.gallery figure:hover figcaption {
  color: var(--accent);
}

.gallery-controls {
  display: none;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.gallery-controls button {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.84);
  color: var(--navy);
  font-size: 20px;
  cursor: pointer;
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.timeline li {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  align-items: start;
}

.timeline time {
  color: var(--navy);
  font-weight: 700;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 0;
  overflow: hidden;
}

.faq-list summary {
  list-style: none;
  padding: 18px;
  cursor: pointer;
  font-weight: 700;
  transition: color 0.18s ease, background-color 0.18s ease;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list details[open] summary {
  border-bottom: 1px solid rgba(28, 46, 70, 0.08);
}

.faq-list summary:hover {
  color: var(--accent);
  background: rgba(226, 115, 125, 0.06);
}

.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-weight: 800;
  transition: transform 0.18s ease;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list details p {
  padding: 18px;
}

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cta-section h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 36px);
  color: var(--navy);
}

.friend-links {
  position: relative;
  left: 50%;
  width: 100vw;
  margin: 34px 0 0 -50vw;
  padding: clamp(42px, 6vw, 72px) 20px;
  overflow: hidden;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(28, 46, 70, 0.96), rgba(92, 118, 141, 0.9) 48%, rgba(226, 115, 125, 0.34)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 72px);
  border-top: 1px solid rgba(243, 211, 130, 0.28);
  border-bottom: 1px solid rgba(243, 211, 130, 0.2);
}

.friend-links::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(243, 211, 130, 0.16), transparent 32%);
  pointer-events: none;
}

.friend-links h2 {
  position: relative;
  margin: 0 auto 22px;
  display: inline-block;
  color: var(--accent-soft);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.2;
  letter-spacing: 0;
}

.friend-links h2::after {
  content: "";
  display: block;
  width: 120px;
  height: 2px;
  margin: 10px auto 0;
  background: linear-gradient(90deg, transparent, var(--accent-soft), transparent);
}

.friend-link-list {
  position: relative;
  width: min(100%, var(--max));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.friend-link-list a {
  min-width: 136px;
  padding: 9px 20px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 10px 24px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(10px);
  transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.friend-link-list a:hover,
.friend-link-list a:focus-visible {
  transform: translateY(-3px);
  color: #fff;
  border-color: rgba(243, 211, 130, 0.58);
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 16px 32px rgba(0, 0, 0, 0.2);
  outline: none;
}

.site-footer {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 16px 20px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
}

.site-footer a {
  color: var(--navy);
  font-weight: 700;
}

@media (max-width: 1100px) {
  .content-grid,
  .feature-cards,
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-layout,
  .guide-layout {
    grid-template-columns: 1fr;
  }

  .gallery figure img {
    height: 240px;
  }
}

@media (max-width: 860px) {
  html {
    scroll-padding-top: 104px;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    width: 100%;
    padding-top: 10px;
  }

  .site-nav.is-open {
    display: flex;
    align-items: stretch;
  }

  .section {
    scroll-margin-top: 112px;
  }

  .site-nav a {
    width: 100%;
    text-align: center;
  }

  .hero {
    left: 50%;
    width: 100vw;
    min-height: 640px;
    margin-left: -50vw;
  }

  .hero-inner {
    padding: 24px 18px;
  }

  .hero-facts {
    grid-template-columns: 1fr;
  }

  .timeline li {
    grid-template-columns: 1fr;
  }

  .cta-section,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  main {
    padding-inline: 14px;
  }

  .section {
    padding: 18px;
    border-radius: 18px;
  }

  .content-grid,
  .feature-cards,
  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery figure img {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
