* { box-sizing: border-box; }

html {
  color: #1d1d1f;
  background: #f5f5f7;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body { margin: 0; }
a { color: #0066cc; text-decoration: none; }
a:hover { color: #0071e3; }
::selection { color: #fff; background: rgb(0 113 227 / 82%); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgb(0 0 0 / 8%);
  background: rgb(255 255 255 / 78%);
  box-shadow: 0 1px 0 rgb(255 255 255 / 65%);
  backdrop-filter: saturate(180%) blur(20px);
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1120px;
  min-height: 64px;
  margin: 0 auto;
  padding: 0 24px;
}

.brand { display: inline-flex; align-items: center; gap: 9px; color: #1d1d1f; font-size: 17px; font-weight: 760; }
.brand::before { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; color: #fff; background: #0071e3; box-shadow: 0 6px 16px rgb(0 113 227 / 18%); font-size: 17px; content: "映"; }
.nav-links { display: flex; align-items: center; gap: 20px; font-size: 13px; }
.mobile-nav { display: none; }
.mobile-studio-entry { display: none; }
.nav-links > a:not(.nav-cta) { color: #424245; transition: color 160ms ease; }
.nav-links > a:not(.nav-cta):hover { color: #0071e3; }
.nav-cta, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid #0071e3;
  border-radius: 6px;
  color: #fff;
  background: #0071e3;
  font-weight: 650;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}
.nav-cta { min-height: 34px; padding-inline: 12px; }
.nav-cta:hover, .button:hover { color: #fff; background: #0077ed; box-shadow: 0 5px 14px rgb(0 113 227 / 18%); transform: translateY(-1px); }
.button.secondary { color: #1d1d1f; border-color: #d2d2d7; background: #fff; }
.button.secondary:hover { color: #0066cc; border-color: #b8cce0; background: #fbfbfd; }

.page { max-width: 1080px; margin: 0 auto; padding: 52px 24px 72px; }
.home-page { overflow: hidden; }
.home-page > section:not(.home-hero) { max-width: 1080px; margin-right: auto; margin-left: auto; padding-right: 24px; padding-left: 24px; }

.home-hero {
  position: relative;
  display: flex;
  align-items: end;
  height: min(640px, calc(100svh - 104px));
  min-height: 520px;
  overflow: hidden;
  color: #fff;
  background: #111c2b;
}

.hero-media, .hero-media::after { position: absolute; inset: 0; }
.hero-media::after { background: rgb(5 14 26 / 56%); content: ""; }
.hero-media video { display: block; width: 100%; height: 100%; object-fit: cover; }
.home-hero-copy { position: relative; z-index: 1; width: min(1120px, 100%); margin: 0 auto; padding: 68px 24px 58px; }
.home-hero-copy > * { max-width: 680px; }
.home-hero h1 { margin: 0; color: #fff; font-size: 46px; font-weight: 730; line-height: 1.16; text-shadow: 0 2px 18px rgb(0 0 0 / 24%); }
.home-hero .muted { margin-top: 20px; color: rgb(255 255 255 / 78%); font-size: 16px; }
.home-hero .eyebrow { color: #b4d9ff; }
.home-hero .button.secondary { color: #fff; border-color: rgb(255 255 255 / 46%); background: rgb(10 23 39 / 36%); }

.hero { max-width: 780px; margin-bottom: 42px; padding-top: 10px; }
.hero.compact { margin-bottom: 24px; }
.hero h1, h1 { margin: 0 0 14px; color: #1d1d1f; font-size: 40px; font-weight: 730; line-height: 1.22; }
.eyebrow { margin: 0 0 8px; color: #397197; font-size: 12px; font-weight: 750; }
.muted { color: #6e6e73; }
p { margin: 0 0 12px; }
h2 { margin: 52px 0 18px; color: #1d1d1f; font-size: 24px; font-weight: 710; line-height: 1.35; }
h3 { margin: 0 0 8px; color: #1d1d1f; font-size: 16px; }
ul { margin: 0 0 20px; padding-left: 22px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: none !important;
  border-bottom: 1px solid #dedee2;
  background: #fff;
}
.hero-metrics div { padding: 24px; border-right: 1px solid #e5e5e7; }
.hero-metrics div:last-child { border-right: 0; }
.hero-metrics strong { display: block; color: #1d1d1f; font-size: 22px; }
.hero-metrics span { color: #6e6e73; font-size: 12px; }

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { padding: 22px; border: 1px solid #dedee2; border-radius: 8px; background: #fff; box-shadow: 0 6px 20px rgb(31 45 61 / 4%); }
.home-page .grid { gap: 14px; overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.home-page .grid .card { border: 1px solid #dedee2; border-radius: 8px; }
.card h2:first-child, .card h3:first-child { margin-top: 0; }
.price { margin: 12px 0; color: #14253b; font-size: 30px; font-weight: 780; }
.pricing-page .grid .card:nth-child(2) { position: relative; border-color: #9bc8f2; box-shadow: 0 10px 28px rgb(0 113 227 / 9%); }
.pricing-page .grid .card:nth-child(2)::before { position: absolute; top: 0; right: 18px; padding: 4px 9px; border-radius: 0 0 6px 6px; color: #fff; background: #0071e3; font-size: 10px; font-weight: 700; content: "推荐"; }

.process {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid #dedee2;
  border-radius: 8px;
  background: #fff;
}
.process div { min-height: 140px; padding: 22px; border-right: 1px solid #e6eaf0; border-bottom: 1px solid #e6eaf0; }
.process div:nth-child(3n) { border-right: 0; }
.process div:nth-last-child(-n + 3) { border-bottom: 0; }
.process div::before { counter-increment: step; display: block; margin-bottom: 12px; color: #0071e3; font-size: 12px; font-weight: 750; content: "0" counter(step); }
.process strong { display: block; }
.process span { display: block; margin-top: 5px; color: #69798c; font-size: 12px; }

.case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.case-card { overflow: hidden; border: 1px solid #dedee2; border-radius: 8px; background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / 2%); transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease; }
.case-card:hover { border-color: #c7c7cc; box-shadow: 0 12px 28px rgb(0 0 0 / 8%); transform: translateY(-2px); }
.case-card img, .case-card video { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #101828; }
.case-card div { display: grid; gap: 3px; padding: 14px 16px; }
.case-card span { color: #68788c; font-size: 12px; }

.notice { margin: 24px 0; padding: 14px 16px; border-left: 3px solid #2f78af; color: #35556e; background: #eef6fc; }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin: 52px 0 18px; padding: 28px; border-radius: 8px; color: #fff; background: #1d1d1f; box-shadow: 0 14px 36px rgb(0 0 0 / 12%); }
.cta-band h2 { margin: 0 0 5px; color: #fff; font-size: 20px; }
.cta-band p { margin: 0; color: rgb(255 255 255 / 74%); }
.cta-band .hero-actions { flex: 0 0 auto; margin: 0; }
.cta-band .button.secondary { color: #fff; border-color: rgb(255 255 255 / 34%); background: transparent; }

.info-list { display: grid; margin: 0; padding: 0; border-top: 1px solid #dfe5ec; }
.info-list li { list-style: none; padding: 13px 2px; border-bottom: 1px solid #dfe5ec; }
.legal-page { max-width: 820px; background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / 2%); }
.legal-page h2 { margin-top: 34px; padding-top: 22px; border-top: 1px solid #e4e8ed; }
.legal-page .hero + h2 { border-top: 0; }
.legal-page li + li { margin-top: 7px; }
.contact-page { max-width: 980px; }
.pricing-page { max-width: 1080px; }

.footer { margin-top: 44px; padding-top: 22px; border-top: 1px solid #dfe5ec; color: #6a798b; font-size: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 8px; }
.footer p { margin: 7px 0 0; }

@media (max-width: 760px) {
  .nav {
    min-height: 58px;
    padding: 0 16px;
  }
  .brand { font-size: 16px; }
  .brand::before { width: 30px; height: 30px; font-size: 16px; }
  .nav-links { display: none; }
  .mobile-studio-entry { display: inline-flex; }
  .home-hero .hero-actions > .button:nth-child(2) { display: none; }
  .mobile-nav { display: block; }
  .mobile-nav summary { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #d2d2d7; border-radius: 8px; background: #fff; cursor: pointer; list-style: none; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary::before { width: 17px; height: 2px; border-radius: 2px; background: #3a3a3c; box-shadow: 0 -6px #3a3a3c, 0 6px #3a3a3c; content: ""; }
  .mobile-nav[open] summary { border-color: #9dc9f5; background: #edf6ff; }
  .mobile-nav div { position: absolute; top: 52px; right: 16px; display: grid; width: min(250px, calc(100vw - 32px)); overflow: hidden; padding: 6px; border: 1px solid #d9d9de; border-radius: 8px; background: rgb(255 255 255 / 98%); box-shadow: 0 18px 48px rgb(24 39 57 / 18%); }
  .mobile-nav a { display: flex; align-items: center; min-height: 42px; padding: 0 12px; border-radius: 6px; color: #3a3a3c; font-size: 13px; font-weight: 600; }
  .mobile-nav a:hover { color: #0066cc; background: #f3f7fb; }
  .mobile-nav .nav-cta { margin-top: 4px; color: #fff; background: #0071e3; }
  .page { padding: 34px 16px 52px; }
  .home-page > section:not(.home-hero) { padding-right: 16px; padding-left: 16px; }
  .home-hero { height: calc(100svh - 112px); min-height: 510px; max-height: 650px; }
  .home-hero-copy { padding: 34px 20px 32px; }
  .home-hero h1 { font-size: 30px; line-height: 1.2; }
  .home-hero .muted { font-size: 14px; }
  .home-hero .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .home-hero .hero-actions .button:first-child { grid-column: 1 / -1; }
  h1, .hero h1 { font-size: 30px; }
  h2 { margin-top: 36px; font-size: 21px; }
  .hero-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-metrics div { padding: 16px; border-bottom: 1px solid #e5e9ee; }
  .hero-metrics div:nth-child(2n) { border-right: 0; }
  .hero-metrics div:nth-last-child(-n + 2) { border-bottom: 0; }
  .grid, .grid.two, .case-grid { grid-template-columns: 1fr; }
  .home-page .grid .card { border: 1px solid #dedee2; }
  .process { grid-template-columns: 1fr; }
  .process div, .process div:nth-child(3n), .process div:nth-last-child(-n + 3) { min-height: 0; border-right: 0; border-bottom: 1px solid #e6eaf0; }
  .process div:last-child { border-bottom: 0; }
  .cta-band { align-items: stretch; flex-direction: column; padding: 19px; }
  .cta-band .hero-actions { display: grid; grid-template-columns: 1fr; }
  .cta-band .button { width: 100%; }
  .legal-page { background: #fff; }
}

@media (max-width: 390px) {
  .home-hero h1 { font-size: 27px; }
  .home-hero .hero-actions { grid-template-columns: 1fr; }
  .home-hero .hero-actions .button:first-child { grid-column: auto; }
  .hero-metrics strong { font-size: 20px; }
}
