:root {
  --ink: #1e2a3a;
  --ink-soft: #2b3a4e;
  --gold: #c4a265;
  --gold-deep: #b8956a;
  --paper: #ffffff;
  --warm: #f4ede4;
  --panel: #f4f2ee;
  --text: #3f4c5a;
  --muted: #70808f;
  --shadow: 0 18px 50px rgba(30, 42, 58, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #edf1f5;
  color: var(--text);
  font-family: "Microsoft YaHei", "MiSans", "PingFang SC", "Segoe UI", Arial, sans-serif;
  line-height: 1.58;
}

body.lightbox-open {
  overflow: hidden;
}

button,
a {
  cursor: pointer;
}

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

a:hover {
  color: var(--gold);
}

.language-switch {
  position: fixed;
  z-index: 20;
  top: 18px;
  right: 18px;
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(30, 42, 58, 0.86);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
}

.language-switch button {
  min-width: 52px;
  border: 0;
  border-radius: 999px;
  padding: 9px 14px;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
  transition: background 0.28s ease, color 0.28s ease, transform 0.28s ease;
}

.language-switch button:hover,
.language-switch button.active {
  background: var(--gold);
  color: #15202c;
  transform: translateY(-1px);
}

.flyer {
  width: min(100%, 1100px);
  min-height: 100vh;
  margin: 0 auto;
  background: var(--paper);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: opacity 0.42s ease, transform 0.42s ease, filter 0.42s ease;
}

.flyer.is-switching {
  opacity: 0.55;
  transform: translateY(8px);
  filter: blur(1px);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 44px;
  min-height: 492px;
  padding: 46px 70px 78px;
  background: var(--ink);
  color: #f7f8fb;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.logo {
  width: 124px;
  height: 124px;
  object-fit: contain;
  margin-bottom: 44px;
}

.eyebrow {
  color: var(--gold);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(34px, 4.8vw, 57px);
  line-height: 1.08;
  color: #fff;
  font-weight: 900;
  letter-spacing: 0;
}

.hero h2 {
  margin: 26px 0 12px;
  font-size: 24px;
  color: #f3f5f7;
}

.hero p {
  max-width: 690px;
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.84);
}

.hero strong,
.accent {
  color: var(--gold);
}

.gold-line {
  width: 72px;
  height: 5px;
  margin-top: 25px;
  background: var(--gold);
}

.gold-line.small {
  width: 46px;
  height: 3px;
  margin-top: 5px;
  margin-bottom: 26px;
}

.hero-media {
  align-self: start;
  margin: 40px 0 0;
  min-height: 340px;
  background: var(--ink);
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 3;
  width: 116px;
  background: linear-gradient(90deg, var(--ink) 0%, rgba(30, 42, 58, 0.78) 32%, rgba(30, 42, 58, 0) 100%);
  pointer-events: none;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  z-index: 3;
  height: 58px;
  background: linear-gradient(180deg, rgba(30, 42, 58, 0) 0%, rgba(30, 42, 58, 0.62) 64%, var(--ink) 100%);
  pointer-events: none;
}

.image-frame {
  position: relative;
  overflow: hidden;
  background: #eef1f3;
}

.image-frame img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.01);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.image-frame.loaded img {
  opacity: 1;
  transform: scale(1);
}

.clean-hero img {
  height: 112%;
  object-position: center 43%;
  transform: scale(1.08) translateY(-15px);
}

.clean-hero.loaded img {
  transform: scale(1.08) translateY(-15px);
}

.previewable {
  cursor: zoom-in;
}

.previewable:hover img {
  transform: scale(1.025);
}

.clean-hero.previewable:hover img,
.clean-hero.loaded.previewable:hover img {
  transform: scale(1.105) translateY(-15px);
}

.image-frame.loaded .image-skeleton {
  opacity: 0;
}

.image-skeleton {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, #e6eaee 25%, #f6f7f8 38%, #e6eaee 63%);
  background-size: 400% 100%;
  animation: shimmer 1.15s ease-in-out infinite;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  width: calc(100% - 140px);
  margin: -41px auto 0;
  padding: 26px 36px;
  position: relative;
  z-index: 4;
  background: var(--ink-soft);
  color: rgba(255, 255, 255, 0.78);
}

.metric {
  padding: 2px 28px;
  border-right: 2px solid rgba(138, 126, 114, 0.55);
  opacity: 0;
  transform: translateY(16px);
  animation: riseIn 0.64s cubic-bezier(0.2, 0.9, 0.2, 1) forwards;
}

.metric:last-child {
  border-right: 0;
}

.metric:nth-child(2) {
  animation-delay: 0.08s;
}

.metric:nth-child(3) {
  animation-delay: 0.16s;
}

.metric strong {
  display: block;
  color: var(--gold);
  font-size: 38px;
  line-height: 1.05;
  animation: warmPulse 1.7s ease both;
}

.metric strong span {
  color: #fff;
  font-size: 17px;
  margin-left: 5px;
}

.metric p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.36);
  font-weight: 700;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 62px;
  padding: 38px 70px 0;
}

.section-block {
  margin-bottom: 48px;
}

.section-block h2 {
  margin: 0;
  color: #344456;
  font-size: 27px;
  line-height: 1.18;
  font-weight: 900;
}

.process-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.process-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: baseline;
  margin-bottom: 16px;
  font-size: 19px;
  font-weight: 700;
  color: #6d7884;
  opacity: 0;
  transform: translateX(-12px);
  animation: slideInLeft 0.5s cubic-bezier(0.2, 0.9, 0.2, 1) forwards;
  transition: transform 0.22s ease, color 0.22s ease;
}

.process-list li:hover {
  color: var(--ink);
  transform: translateX(4px);
}

.process-list span {
  color: var(--gold);
  font-weight: 900;
}

.compat {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 15px;
  align-items: start;
  margin-bottom: 26px;
  font-weight: 700;
}

.check-dot {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: #2d8a4e;
  color: #fff;
  font-weight: 900;
}

.scope-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.scope-list li {
  position: relative;
  padding-left: 42px;
  margin: 17px 0;
  color: #687583;
  font-size: 19px;
  font-weight: 700;
  opacity: 0;
  transform: translateX(-10px);
  animation: slideInLeft 0.5s cubic-bezier(0.2, 0.9, 0.2, 1) forwards;
}

.scope-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 24px;
  font-weight: 900;
}

.price-card {
  border-left: 9px solid var(--gold-deep);
  padding: 17px 30px;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  position: relative;
}

.price-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.12) 45%, transparent 68%);
  transform: translateX(-120%);
  animation: sheen 1.2s ease 0.28s forwards;
}

.price-card span {
  display: block;
  color: rgba(196, 162, 101, 0.72);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.price-card strong {
  display: block;
  color: var(--gold);
  font-size: 45px;
  font-weight: 400;
  line-height: 1.15;
}

.price-card small {
  color: rgba(255, 255, 255, 0.82);
  font-size: 19px;
  font-weight: 700;
}

.warning {
  margin: 16px 0 9px;
  color: #344456;
  font-size: 14px;
  font-weight: 900;
}

.factor {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  padding: 20px 24px;
  border-top: 6px solid var(--gold-deep);
  background: var(--warm);
  box-shadow: 0 10px 22px rgba(30, 42, 58, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  opacity: 0;
  transform: translateY(18px);
  animation: riseIn 0.58s cubic-bezier(0.2, 0.9, 0.2, 1) forwards;
}

.factor + .factor {
  margin-top: 7px;
}

.factor:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(30, 42, 58, 0.11);
}

.factor-icon {
  color: var(--gold-deep);
  font-size: 27px;
  line-height: 1.1;
}

.factor h3 {
  margin: 0 0 11px;
  color: #263747;
  font-size: 16px;
  font-weight: 900;
}

.factor p {
  margin: 0;
  color: #435262;
  font-size: 14px;
  font-weight: 700;
}

.timeline {
  padding: 0 70px;
}

.timeline-note {
  border-left: 5px solid var(--gold);
  padding: 18px 27px;
  background: var(--panel);
  color: #596777;
  font-size: 19px;
  font-weight: 700;
}

.timeline-note strong {
  color: var(--ink);
  font-size: 24px;
}

.charts {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 34px;
  margin-top: 20px;
}

.chart-card h3 {
  margin: 0 0 8px;
  text-align: center;
  color: #516171;
  font-size: 15px;
}

.chart-card .image-frame {
  aspect-ratio: 1.92 / 1;
}

.chart-card p {
  margin: 10px 0 0;
  border-left: 6px solid var(--gold);
  background: var(--panel);
  padding: 9px 10px;
  text-align: center;
  color: #3c4b59;
  font-size: 17px;
  font-weight: 900;
  opacity: 0;
  transform: translateY(10px);
  animation: riseIn 0.6s cubic-bezier(0.2, 0.9, 0.2, 1) forwards;
}

.notes {
  padding: 0 70px 38px;
}

.note {
  display: grid;
  grid-template-columns: 32px 170px 1fr;
  gap: 10px;
  margin: 13px 0;
  align-items: start;
  font-size: 18px;
  opacity: 0;
  transform: translateY(10px);
  animation: riseIn 0.52s cubic-bezier(0.2, 0.9, 0.2, 1) forwards;
}

.note::before {
  content: ">";
  color: var(--gold-deep);
  font-size: 30px;
  line-height: 0.95;
  font-weight: 900;
}

.note strong {
  color: #334253;
  font-weight: 900;
}

.note span {
  color: #596777;
}

.footer {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.65fr;
  gap: 36px;
  padding: 34px 54px 30px;
  background: var(--ink);
  color: #fff;
}

.footer h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
}

.footer p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 17px;
  font-weight: 700;
}

.footer-line {
  width: 72px;
  height: 3px;
  margin-top: 9px;
}

.footer-contact,
.footer-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
}

.footer-contact a:first-child {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.en-only,
body[data-lang="en"] .zh-only {
  display: none;
}

body[data-lang="en"] .en-only {
  display: block;
}

.fade-refresh {
  animation: fadeRefresh 0.58s cubic-bezier(0.2, 0.9, 0.2, 1);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 36px;
  background: rgba(10, 16, 24, 0.74);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-panel {
  width: min(94vw, 1180px);
  max-height: 90vh;
  margin: 0;
  color: #fff;
  transform: scale(0.96) translateY(14px);
  transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.2, 1);
}

.lightbox.open .lightbox-panel {
  transform: scale(1) translateY(0);
}

.lightbox-image-wrap {
  position: relative;
  overflow: hidden;
  max-height: 84vh;
  background: rgba(30, 42, 58, 0.92);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.42);
}

.lightbox-image-wrap img {
  display: block;
  width: 100%;
  max-height: 84vh;
  object-fit: contain;
}

.lightbox-image-wrap.clean-hero-preview {
  aspect-ratio: 0.86 / 1;
  width: min(84vw, 560px);
  margin: 0 auto;
}

.lightbox-image-wrap.clean-hero-preview::before,
.lightbox-image-wrap.clean-hero-preview::after {
  content: "";
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.lightbox-image-wrap.clean-hero-preview::before {
  inset: 0 auto 0 0;
  width: 22%;
  background: linear-gradient(90deg, var(--ink), rgba(30, 42, 58, 0));
}

.lightbox-image-wrap.clean-hero-preview::after {
  inset: auto 0 0 0;
  height: 12%;
  background: linear-gradient(180deg, rgba(30, 42, 58, 0), var(--ink));
}

.lightbox-image-wrap.clean-hero-preview img {
  height: 112%;
  max-height: none;
  object-fit: cover;
  object-position: center 43%;
  transform: scale(1.08) translateY(-15px);
}

.lightbox figcaption {
  margin-top: 12px;
  text-align: center;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 22px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 34px;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover {
  background: var(--gold);
  color: var(--ink);
  transform: rotate(90deg);
}

@keyframes shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: 0 0;
  }
}

@keyframes fadeRefresh {
  from {
    opacity: 0.52;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes riseIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes warmPulse {
  0% {
    text-shadow: 0 0 0 rgba(196, 162, 101, 0);
  }
  45% {
    text-shadow: 0 0 22px rgba(196, 162, 101, 0.36);
  }
  100% {
    text-shadow: 0 0 0 rgba(196, 162, 101, 0);
  }
}

@keyframes sheen {
  to {
    transform: translateX(120%);
  }
}

.process-list li:nth-child(1),
.scope-list li:nth-child(1),
.factor:nth-child(1),
.note:nth-child(1) {
  animation-delay: 0.03s;
}

.process-list li:nth-child(2),
.scope-list li:nth-child(2),
.factor:nth-child(2),
.note:nth-child(2) {
  animation-delay: 0.1s;
}

.process-list li:nth-child(3),
.scope-list li:nth-child(3),
.factor:nth-child(3),
.note:nth-child(3) {
  animation-delay: 0.17s;
}

.process-list li:nth-child(4),
.scope-list li:nth-child(4) {
  animation-delay: 0.24s;
}

.process-list li:nth-child(5) {
  animation-delay: 0.31s;
}

@media (max-width: 820px) {
  .flyer {
    width: 100%;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 34px 26px 72px;
    gap: 22px;
  }

  .logo {
    width: 94px;
    height: 94px;
    margin-bottom: 24px;
  }

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

  .hero h2,
  .hero p {
    font-size: 16px;
  }

  .hero-media {
    margin-top: 0;
    min-height: 260px;
  }

  .hero-media::before {
    width: 72px;
  }

  .metrics,
  .content-grid,
  .charts,
  .footer {
    grid-template-columns: 1fr;
  }

  .metrics {
    width: calc(100% - 36px);
    margin-top: -46px;
    padding: 20px 24px;
  }

  .metric {
    border-right: 0;
    border-bottom: 1px solid rgba(138, 126, 114, 0.45);
    padding: 16px 0;
  }

  .metric:last-child {
    border-bottom: 0;
  }

  .content-grid,
  .timeline,
  .notes {
    padding-left: 24px;
    padding-right: 24px;
  }

  .content-grid {
    gap: 0;
    padding-top: 32px;
  }

  .note {
    grid-template-columns: 28px 1fr;
  }

  .note span {
    grid-column: 2;
  }

  .footer {
    padding: 30px 24px;
  }

  .language-switch {
    right: 12px;
    top: 12px;
  }

  .lightbox {
    padding: 18px;
  }

  .lightbox-close {
    top: 10px;
    right: 12px;
  }
}
