:root {
  --ink: #0f1014;
  --paper: #f7f4ef;
  --white: #ffffff;
  --line: rgba(15, 16, 20, 0.14);
  --muted: #66666f;
  --plum: #4c2238;
  --rose: #c46a82;
  --gold: #c8a05a;
  --sage: #60796e;
  --blue: #2d5f89;
  --shadow: 0 26px 70px rgba(15, 16, 20, 0.14);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
}

body.nav-open {
  overflow: hidden;
}

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: fixed;
  z-index: 30;
  inset: 0 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-height: 74px;
  padding: 12px clamp(18px, 4vw, 54px);
  color: var(--white);
  transition:
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.scrolled {
  background: rgba(247, 244, 239, 0.96);
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(15, 16, 20, 0.1);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

/* 让 hero 区的 .brand-mark 跟背景 isolate 出独立的混合上下文 */
.site-header {
  isolation: isolate;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  background: transparent;
  transition: transform 0.4s var(--ease-soft, ease);
}

.brand:hover .brand-mark {
  transform: scale(1.05);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
  transition: filter 0.4s ease;
}

/* 滚动后浅色 header：阴影颜色微调 */
.site-header.scrolled .brand-mark img {
  filter: drop-shadow(0 2px 6px rgba(15, 16, 20, 0.15));
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 17px;
}

.brand small {
  margin-top: 3px;
  color: currentColor;
  font-size: 12px;
  opacity: 0.66;
}

/* 桌面端也用 popup 弹出式导航（Apple/极简风） */
.site-nav {
  position: fixed;
  inset: 74px 18px auto auto;
  display: none;
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
  width: min(300px, calc(100vw - 36px));
  padding: 14px 12px;
  border: 1px solid rgba(200, 160, 90, 0.18);
  border-radius: 16px;
  background:
    linear-gradient(160deg, rgba(255, 252, 245, 0.98) 0%, rgba(247, 244, 239, 0.98) 100%);
  color: var(--ink);
  box-shadow:
    0 30px 80px rgba(15, 16, 20, 0.28),
    0 8px 24px rgba(15, 16, 20, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(24px) saturate(1.4);
  font-size: 15px;
  font-weight: 800;
  transform-origin: top right;
  animation: navPop 0.42s var(--ease-soft, cubic-bezier(0.16, 1, 0.3, 1));
}

/* 顶部小金线装饰 */
.site-nav::before {
  content: '';
  position: absolute;
  top: 0;
  left: 22px;
  right: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 160, 90, 0.5), transparent);
  transform: scaleX(0);
  animation: navLine 0.6s 0.2s var(--ease-soft, ease) forwards;
}

@keyframes navLine {
  to { transform: scaleX(1); }
}

.site-nav.open {
  display: flex;
}

@keyframes navPop {
  0% {
    opacity: 0;
    transform: translateY(-12px) scale(0.92);
    filter: blur(6px);
  }
  60% {
    opacity: 1;
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* 菜单项：错峰 fade-up 入场 */
.site-nav a {
  position: relative;
  padding: 12px 18px 12px 22px;
  border-radius: 10px;
  opacity: 0;
  transform: translateX(-12px);
  animation: navItemIn 0.5s var(--ease-soft, cubic-bezier(0.16, 1, 0.3, 1)) forwards;
  transition:
    background 280ms var(--ease-soft, ease),
    color 240ms ease,
    padding-left 280ms var(--ease-soft, ease),
    transform 280ms var(--ease-soft, ease);
  overflow: hidden;
  z-index: 1;
}

.site-nav a:nth-child(1) { animation-delay: 0.10s; }
.site-nav a:nth-child(2) { animation-delay: 0.16s; }
.site-nav a:nth-child(3) { animation-delay: 0.22s; }
.site-nav a:nth-child(4) { animation-delay: 0.28s; }
.site-nav a:nth-child(5) { animation-delay: 0.34s; }
.site-nav a:nth-child(6) { animation-delay: 0.40s; }
.site-nav a:nth-child(7) { animation-delay: 0.46s; }
.site-nav a:nth-child(8) { animation-delay: 0.52s; }

@keyframes navItemIn {
  from {
    opacity: 0;
    transform: translateX(-14px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* hover：从左滑入的金色背景 + 文字右移 */
.site-nav a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(200, 160, 90, 0.18) 0%,
    rgba(200, 160, 90, 0.06) 100%
  );
  border-radius: 10px;
  transform: translateX(-100%);
  transition: transform 0.4s var(--ease-soft, cubic-bezier(0.16, 1, 0.3, 1));
  z-index: -1;
}

.site-nav a::after {
  content: '';
  position: absolute;
  left: 12px;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  transform: translateY(-50%) scale(0);
  transition: transform 0.4s var(--ease-soft, ease);
}

.site-nav a:hover {
  color: #6d4f1f;
  padding-left: 30px;
}

.site-nav a:hover::before {
  transform: translateX(0);
}

.site-nav a:hover::after {
  transform: translateY(-50%) scale(1);
}

/* 当前所在区块的 active 状态 */
.site-nav a[aria-current="page"]::before,
.site-nav a.active::before {
  transform: translateX(0);
  background: linear-gradient(
    90deg,
    rgba(200, 160, 90, 0.22) 0%,
    rgba(200, 160, 90, 0.05) 100%
  );
}

.site-nav a[aria-current="page"]::after,
.site-nav a.active::after {
  transform: translateY(-50%) scale(1);
}

.site-nav a[aria-current="page"],
.site-nav a.active {
  color: #6d4f1f;
  padding-left: 30px;
}

/* 汉堡菜单图标：更柔和的旋转动画 */
.nav-toggle {
  transition:
    transform 0.45s var(--ease-soft, cubic-bezier(0.16, 1, 0.3, 1)),
    background 0.3s ease;
}
.nav-toggle:hover {
  transform: scale(1.08) rotate(90deg);
}
.site-header.nav-active .nav-toggle {
  transform: rotate(90deg);
}
.site-header.nav-active .nav-toggle:hover {
  transform: rotate(180deg);
}

.nav-toggle span {
  transition:
    transform 0.5s var(--ease-soft, cubic-bezier(0.16, 1, 0.3, 1)),
    background 0.3s ease;
  transform-origin: center;
}

.site-header.nav-active .nav-toggle span:first-child {
  transform: translateY(2.5px) rotate(45deg);
}
.site-header.nav-active .nav-toggle span:last-child {
  transform: translateY(-2.5px) rotate(-45deg);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--gold);
  opacity: 1;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.lang-toggle,
.nav-toggle {
  display: grid;
  height: 40px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font-weight: 900;
}

.lang-toggle {
  min-width: 50px;
  font-size: 12px;
}

.nav-toggle {
  display: grid;
  width: 44px;
  transition: transform 0.3s var(--ease-soft, ease);
}
.nav-toggle:hover {
  transform: scale(1.05);
}
.site-header.nav-active .nav-toggle span:first-child {
  transform: translateY(2.5px) rotate(45deg);
}
.site-header.nav-active .nav-toggle span:last-child {
  transform: translateY(-2.5px) rotate(-45deg);
}
.nav-toggle span {
  transition: transform 0.3s var(--ease-soft, ease);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 16, 20, 0.94) 0%, rgba(15, 16, 20, 0.72) 42%, rgba(15, 16, 20, 0.1) 100%),
    url("./assets/customer-arrival-hero.png") center / cover no-repeat;
  transform: scale(1.02);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(980px, calc(100% - 36px));
  min-height: calc(100vh - 160px);
  flex-direction: column;
  justify-content: center;
  margin-left: clamp(18px, 6vw, 92px);
  padding-top: 96px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 890px;
  margin: 0;
  font-size: clamp(52px, 8vw, 104px);
  line-height: 0.98;
  font-weight: 950;
}

.hero-inner > p:not(.eyebrow) {
  max-width: 720px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
  line-height: 1.8;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 900;
  transition:
    box-shadow 160ms ease,
    transform 160ms ease;
}

.button:hover {
  box-shadow: 0 14px 34px rgba(15, 16, 20, 0.18);
  transform: translateY(-1px);
}

.button.primary {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--ink);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  backdrop-filter: blur(10px);
}

.hero-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-strip article {
  min-height: 116px;
  padding: 22px clamp(18px, 4vw, 54px);
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(15, 16, 20, 0.52);
}

.hero-strip span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
}

.hero-strip strong {
  display: block;
  margin-top: 18px;
  font-size: 22px;
}

.band {
  padding: 92px clamp(18px, 5vw, 58px);
  scroll-margin-top: 88px;
}

.section-head {
  width: min(var(--max), 100%);
  margin: 0 auto 34px;
}

.section-head.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 46px;
  align-items: end;
}

.section-head h2,
.led-copy h2,
.pricing-copy h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.05;
  font-weight: 950;
}

.section-head p:not(.eyebrow),
.led-copy p,
.pricing-copy p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.86;
}

.belief-grid,
.channel-grid,
.case-grid {
  display: grid;
  width: min(var(--max), 100%);
  margin: 0 auto;
  gap: 16px;
}

.belief-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.belief-grid article,
.channel-grid article,
.case-grid article {
  min-height: 228px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.belief-grid span,
.channel-grid span,
.case-grid span,
.work-grid span {
  color: var(--rose);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.belief-grid strong,
.channel-grid strong,
.case-grid strong,
.work-grid strong {
  display: block;
  margin-top: 18px;
  font-size: 22px;
}

.belief-grid p,
.channel-grid p,
.case-grid p,
.work-grid p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.72;
}

.dark {
  background: var(--ink);
  color: var(--white);
}

.dark .section-head p:not(.eyebrow),
.dark .channel-grid p {
  color: rgba(255, 255, 255, 0.68);
}

.channel-marquee {
  display: flex;
  width: min(var(--max), 100%);
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 auto 22px;
}

.channel-marquee span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 900;
}

.channel-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.channel-grid article {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.channel-grid strong {
  color: var(--white);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.work-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.work-grid img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.work-grid div {
  padding: 22px;
}

.led-story {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 0;
  background: var(--white);
  scroll-margin-top: 88px;
}

.led-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(36px, 6vw, 80px);
}

.led-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.led-points span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 999px;
  background: #f1e7df;
  color: var(--plum);
  font-size: 13px;
  font-weight: 900;
}

.led-story figure {
  margin: 0;
  background: var(--ink);
}

.led-story img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 640px;
  object-fit: cover;
}

.led-story figcaption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.case-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.case-grid b {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin-top: 22px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
}

.pricing {
  background:
    linear-gradient(135deg, rgba(76, 34, 56, 0.95), rgba(45, 95, 137, 0.84)),
    var(--plum);
  color: var(--white);
}

.pricing-copy {
  width: min(var(--max), 100%);
  margin: 0 auto 34px;
}

.pricing-copy p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
}

.pricing-grid {
  display: grid;
  grid-template-columns: minmax(300px, 1.06fr) repeat(2, minmax(260px, 0.97fr));
  gap: 16px;
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.price-card {
  display: flex;
  min-height: 470px;
  flex-direction: column;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.price-card.featured {
  background:
    linear-gradient(135deg, rgba(15, 16, 20, 0.96), rgba(76, 34, 56, 0.9)),
    var(--ink);
  color: var(--white);
}

.price-card span {
  color: var(--rose);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.price-card.featured span {
  color: var(--gold);
}

.price-card h3 {
  margin: 28px 0 0;
  font-size: 24px;
  line-height: 1.22;
}

.price-card strong {
  display: block;
  margin-top: 18px;
  color: var(--ink);
  font-size: clamp(42px, 5vw, 62px);
  line-height: 1;
}

.price-card.featured strong {
  color: var(--gold);
}

.price-card strong::after {
  content: " / 线索";
  color: var(--muted);
  font-size: 15px;
  font-weight: 900;
}

html[lang="en"] .price-card strong::after {
  content: " / lead";
}

.price-card.featured strong::after {
  content: " / 季度";
  color: rgba(255, 255, 255, 0.68);
}

html[lang="en"] .price-card.featured strong::after {
  content: " / quarter";
}

.price-card p {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.72;
}

.price-card.featured p {
  color: rgba(255, 255, 255, 0.72);
}

.price-card ul {
  display: grid;
  gap: 10px;
  margin: auto 0 0;
  padding: 24px 0 0;
  list-style: none;
}

.price-card li {
  color: var(--ink);
  font-weight: 900;
  line-height: 1.45;
}

.price-card.featured li {
  color: rgba(255, 255, 255, 0.86);
}

.pricing-note {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 16px;
  width: min(var(--max), 100%);
  margin: 16px auto 0;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.7;
}

.pricing-note strong {
  color: var(--gold);
}

.pricing-note p {
  margin: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 36px clamp(18px, 5vw, 58px);
  background: #07080b;
  color: rgba(255, 255, 255, 0.82);
}

.site-footer .footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.site-footer .footer-brand strong {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--white);
}

.site-footer .footer-brand span {
  color: rgba(255, 255, 255, 0.56);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.site-footer .footer-brand small {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 12px;
  line-height: 1.6;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  font-weight: 700;
  transition: color 0.25s ease;
}

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

input:focus-visible,
select:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(200, 160, 90, 0.38);
  outline-offset: 2px;
}

@media (max-width: 1080px) {
  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: fixed;
    inset: 74px 12px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(247, 244, 239, 0.98);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 12px;
  }

  .section-head.split,
  .led-story {
    grid-template-columns: 1fr;
  }

  .belief-grid,
  .channel-grid,
  .work-grid,
  .case-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .led-story img {
    min-height: 420px;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 64px;
    padding: 10px 16px;
  }

  .brand-mark {
    width: 52px;
    height: 52px;
  }
  .brand-mark img {
    max-width: none;
  }

  .brand small {
    display: none;
  }

  .brand strong {
    font-size: 17px;
  }

  .site-nav {
    inset: 64px 12px auto;
  }

  /* Hero 媒体：加重遮罩、调整图位避免人物被文字盖住 */
  .hero-media {
    background:
      linear-gradient(
        180deg,
        rgba(15, 16, 20, 0.92) 0%,
        rgba(15, 16, 20, 0.78) 35%,
        rgba(15, 16, 20, 0.55) 65%,
        rgba(15, 16, 20, 0.85) 100%
      ),
      url("./assets/customer-arrival-hero.png") center 30% / cover no-repeat;
    transform: none;
  }

  .hero-inner {
    width: calc(100% - 32px);
    min-height: auto;
    margin: 0 auto;
    padding: 96px 0 56px;
  }

  /* Hero 标题：合理字号 + 行高 + 留白 */
  .hero h1 {
    max-width: 100%;
    font-size: clamp(32px, 9.5vw, 44px);
    line-height: 1.15;
    letter-spacing: -0.01em;
  }

  .hero-inner > p:not(.eyebrow) {
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.75;
  }

  .hero-actions {
    margin-top: 28px;
    gap: 10px;
  }

  .hero-actions .button {
    flex: 1;
    min-width: 0;
    padding: 0 14px;
    font-size: 14px;
  }

  /* 三栏指标改为竖列 + 视觉分隔 */
  .hero-strip,
  .belief-grid,
  .channel-grid,
  .work-grid,
  .case-grid,
  .pricing-grid,
  .pricing-note {
    grid-template-columns: 1fr;
  }

  .hero-strip {
    border-top: 1px solid rgba(255, 255, 255, 0.22);
  }

  .hero-strip article {
    min-height: auto;
    padding: 18px 20px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(15, 16, 20, 0.78);
    backdrop-filter: blur(8px);
  }

  .hero-strip article:last-child {
    border-bottom: 0;
  }

  .hero-strip strong {
    margin-top: 8px;
    font-size: 17px;
  }

  .band {
    padding: 64px 18px;
  }

  .section-head h2,
  .led-copy h2,
  .pricing-copy h2 {
    font-size: clamp(26px, 6.5vw, 32px);
    line-height: 1.25;
  }

  .led-copy {
    padding: 44px 18px;
  }

  .led-story img {
    min-height: auto;
    max-height: 280px;
    object-fit: cover;
  }

  /* 案例/能力卡片图片在手机上限高 */
  .work-grid article img,
  .case-grid article img {
    max-height: 220px;
    object-fit: cover;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 36px 18px;
    gap: 14px;
  }
}

/* 小屏手机（iPhone SE / 老机型）细分适配 */
@media (max-width: 380px) {
  .hero h1 {
    font-size: 30px;
    line-height: 1.18;
  }

  .hero-inner > p:not(.eyebrow) {
    font-size: 14.5px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .section-head h2,
  .led-copy h2,
  .pricing-copy h2 {
    font-size: 24px;
  }

  .band {
    padding: 56px 16px;
  }

  .lang-toggle {
    display: none;
  }
}

/* =========================================================
   Apple-style scroll animations
   ========================================================= */

/* 缓动函数：Apple 常用的 cubic-bezier */
:root {
  --ease-apple: cubic-bezier(0.28, 0.11, 0.32, 1);
  --ease-soft: cubic-bezier(0.16, 1, 0.3, 1);
}

/* 1. 滚动入场基类 */
.reveal {
  opacity: 0;
  transform: translate3d(0, 36px, 0);
  transition:
    opacity 1s var(--ease-apple),
    transform 1.1s var(--ease-apple);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* 变体：从左侧滑入 */
.reveal-left {
  transform: translate3d(-40px, 0, 0);
}
.reveal-left.in {
  transform: translate3d(0, 0, 0);
}

/* 变体：放大显现 */
.reveal-scale {
  transform: scale(0.96);
  transform-origin: center;
}
.reveal-scale.in {
  transform: scale(1);
}

/* 2. Hero 视差 + 入场 */
.hero-media {
  transition:
    transform 1.2s var(--ease-soft),
    opacity 1.2s ease;
  transform: scale(var(--hero-scale, 1.02)) translateY(var(--hero-y, 0px));
}

.hero-inner > .eyebrow,
.hero-inner > h1,
.hero-inner > p:not(.eyebrow),
.hero-actions {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 1s var(--ease-apple),
    transform 1.1s var(--ease-apple);
}
.hero.loaded .hero-inner > .eyebrow { opacity: 1; transform: none; transition-delay: 0.1s; }
.hero.loaded .hero-inner > h1 { opacity: 1; transform: none; transition-delay: 0.25s; }
.hero.loaded .hero-inner > p:not(.eyebrow) { opacity: 1; transform: none; transition-delay: 0.45s; }
.hero.loaded .hero-actions { opacity: 1; transform: none; transition-delay: 0.6s; }

.hero-strip article {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition:
    opacity 0.8s var(--ease-apple),
    transform 0.9s var(--ease-apple);
}
.hero.loaded .hero-strip article:nth-child(1) { opacity: 1; transform: none; transition-delay: 0.75s; }
.hero.loaded .hero-strip article:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.85s; }
.hero.loaded .hero-strip article:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.95s; }

/* 3. 图片 hover 缩放（带柔和阴影） */
.work-grid article,
.case-grid article {
  overflow: hidden;
  transition: transform 0.5s var(--ease-soft), box-shadow 0.5s ease;
}
.work-grid article img,
.case-grid article img,
.led-story figure img {
  transition: transform 0.9s var(--ease-soft), filter 0.9s ease;
  will-change: transform;
}
.work-grid article:hover,
.case-grid article:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(15, 16, 20, 0.18);
}
.work-grid article:hover img,
.case-grid article:hover img {
  transform: scale(1.06);
  filter: brightness(1.04);
}
.led-story figure {
  overflow: hidden;
  border-radius: inherit;
}
.led-story figure:hover img {
  transform: scale(1.04);
}

/* 4. 按钮微动效（Apple 风按下回弹） */
.button {
  transition:
    transform 0.4s var(--ease-soft),
    box-shadow 0.4s ease,
    background 0.3s ease,
    border-color 0.3s ease;
}
.button:active {
  transform: translateY(0) scale(0.98);
}

/* 5. 导航 hover 下划线动效 */
.site-nav a {
  position: relative;
  transition: color 0.3s ease;
}
.site-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.5s var(--ease-soft);
}
.site-nav a:hover::after,
.site-nav a.active::after {
  transform: scaleX(1);
}

/* 6. 数字计数动画 — 用于合作报价 */
.count-up {
  display: inline-block;
  font-variant-numeric: tabular-nums;
}

/* 7. Section eyebrow 金色线条入场 */
.eyebrow {
  position: relative;
  display: inline-block;
}

/* 减少动画偏好用户尊重 */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .hero-inner > *,
  .hero-strip article,
  .hero-media,
  .work-grid article img,
  .case-grid article img {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* =========================================================
   Contact / Offices Section
   ========================================================= */

.contact.band.dark {
  background: linear-gradient(180deg, #0a0a0e 0%, #14110d 100%);
  color: var(--white);
}

.contact .section-head h2 {
  color: var(--white);
}

.contact .section-head p {
  color: rgba(255, 255, 255, 0.65);
}

.offices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.office {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  overflow: hidden;
  transition:
    transform 0.5s var(--ease-soft, ease),
    border-color 0.4s ease,
    box-shadow 0.4s ease,
    background 0.4s ease;
}

.office::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(200, 160, 90, 0.6), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-soft, ease);
}

.office:hover {
  transform: translateY(-8px);
  border-color: rgba(200, 160, 90, 0.35);
  background: linear-gradient(160deg, rgba(200, 160, 90, 0.06) 0%, rgba(255, 255, 255, 0.01) 100%);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(200, 160, 90, 0.18);
}

.office:hover::before {
  transform: scaleX(1);
}

.office-img {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 6;
  overflow: hidden;
  background: #0a0a0a;
}

.office-img svg {
  display: block;
  width: 100%;
  height: 100%;
  transition: transform 0.9s var(--ease-soft, ease), filter 0.5s ease;
}

.office:hover .office-img svg {
  transform: scale(1.05);
  filter: brightness(1.12);
}

/* 建筑底部的城市光晕 */
.office-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(10, 10, 14, 0.85), transparent);
  pointer-events: none;
}

.office-body {
  padding: 24px 22px 26px;
}

.office-tag {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.65);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.office-tag.hq-tag {
  background: linear-gradient(135deg, rgba(245, 225, 168, 0.2), rgba(200, 160, 90, 0.1));
  border-color: rgba(200, 160, 90, 0.4);
  color: var(--gold);
}

.office h3 {
  font-size: 26px;
  font-weight: 900;
  margin: 0 0 10px;
  letter-spacing: 0.02em;
  color: var(--white);
}

.office-bldg {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 4px;
  color: rgba(255, 255, 255, 0.86);
}

.office-addr {
  font-size: 13px;
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.55;
}

.office small {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.05em;
}

/* HQ 卡片：金色装饰边框 + 微光晕背景 */
.office.hq {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(200, 160, 90, 0.12) 0%, transparent 60%),
    linear-gradient(160deg, rgba(200, 160, 90, 0.06) 0%, rgba(255, 255, 255, 0.01) 100%);
  border-color: rgba(200, 160, 90, 0.22);
}

.office.hq::before {
  transform: scaleX(1);
  background: linear-gradient(90deg, transparent, rgba(200, 160, 90, 0.85), transparent);
}

/* 响应式 */
@media (max-width: 1080px) {
  .offices-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

@media (max-width: 720px) {
  .offices-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .office-img {
    aspect-ratio: 16 / 9;
  }

  .office h3 {
    font-size: 22px;
  }
}

/* =========================================================
   Team Section
   ========================================================= */

.team-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(var(--max), 100%);
  margin: 0 auto 36px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.team-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 28px 28px 24px;
  border-right: 1px solid var(--line);
}

.team-stat:last-child {
  border-right: none;
}

.team-stat strong {
  font-size: clamp(40px, 4vw, 56px);
  font-weight: 950;
  line-height: 1;
  color: var(--ink);
}

.team-stat strong em {
  color: var(--gold);
  font-size: 0.6em;
  font-style: normal;
}

.team-stat > span {
  font-size: 13px;
  color: var(--muted);
  font-weight: 700;
}

.team-origins {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  width: min(var(--max), 100%);
  margin: 0 auto 36px;
}

.team-origins::before {
  content: '核心成员来自';
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-right: 4px;
}

.team-origins span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 900;
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(15, 16, 20, 0.06);
}

.team-group-label {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0 8px;
  font-size: 11px;
  font-weight: 900;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.team-group-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}

.member-prev-co {
  display: inline-block;
  padding: 3px 10px;
  margin-bottom: 4px;
  border-radius: 999px;
  background: rgba(15, 16, 20, 0.06);
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
}

@media (max-width: 1080px) {
  .team-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .team-stat:nth-child(2) { border-right: none; }
  .team-stat:nth-child(3),
  .team-stat:nth-child(4) { border-top: 1px solid var(--line); }
}

@media (max-width: 720px) {
  .team-stat { padding: 20px 18px; }
  .team-origins::before { width: 100%; margin-bottom: 4px; }
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 20px 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
  transition:
    transform 0.5s var(--ease-soft),
    box-shadow 0.5s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(15, 16, 20, 0.14);
}

.member-avatar {
  width: 72px;
  height: 72px;
  margin-bottom: 20px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.member-avatar svg,
.member-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-role {
  color: var(--rose);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.team-card strong {
  display: block;
  font-size: 20px;
  font-weight: 900;
  margin: 0 0 10px;
  color: var(--ink);
}

.team-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.72;
}

@media (max-width: 1080px) {
  .team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 380px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Contact Form
   ========================================================= */

.contact-form-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 60px;
  width: min(var(--max), 100%);
  margin: 80px auto 0;
  padding: 56px 52px;
  border-radius: 22px;
  background:
    radial-gradient(ellipse 90% 60% at 0% 0%, rgba(200, 160, 90, 0.12) 0%, transparent 55%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.contact-form-intro h3 {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 14px 0 18px;
  color: var(--white);
}

.contact-form-intro p {
  font-size: 15px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.62);
  margin: 0 0 26px;
}

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

.contact-bullets li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 9px 0;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.75);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.contact-bullets li:last-child { border-bottom: none; }

.contact-bullets li span {
  color: var(--gold);
  font-weight: 900;
  font-size: 20px;
  line-height: 1;
}

/* ===== Form Fields ===== */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  position: relative;
}

.form-field > span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.7);
}

.form-field em {
  color: var(--gold);
  font-style: normal;
  margin-left: 2px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 13px 16px;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  outline: none;
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s var(--ease-soft, ease);
}

.form-field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(200, 160, 90, 0.7) 50%),
    linear-gradient(135deg, rgba(200, 160, 90, 0.7) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 38px;
  cursor: pointer;
}

.form-field select option {
  background: #14110d;
  color: var(--white);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(200, 160, 90, 0.6);
  background: rgba(200, 160, 90, 0.05);
  box-shadow: 0 0 0 4px rgba(200, 160, 90, 0.1);
}

.form-field input:invalid:not(:placeholder-shown),
.form-field select:invalid:not([data-touched=""]) {
  border-color: rgba(231, 96, 96, 0.5);
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field textarea {
  resize: vertical;
  min-height: 92px;
  font-family: inherit;
  line-height: 1.6;
}

/* ===== Agree Checkbox ===== */
.form-agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  cursor: pointer;
  margin-top: 4px;
}

.form-agree input {
  margin: 3px 0 0;
  width: 16px;
  height: 16px;
  accent-color: var(--gold);
  cursor: pointer;
}

/* ===== Submit Button ===== */
.form-submit {
  position: relative;
  margin-top: 12px;
  height: 54px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.05em;
  overflow: hidden;
  background: linear-gradient(135deg, var(--gold), #b78f4d);
  border: none;
  color: var(--ink);
  border-radius: 12px;
  cursor: pointer;
  transition:
    transform 0.3s var(--ease-soft, ease),
    box-shadow 0.3s ease,
    filter 0.3s ease;
}

.form-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transition: left 0.6s var(--ease-soft, ease);
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(200, 160, 90, 0.3);
  filter: brightness(1.08);
}

.form-submit:hover::before {
  left: 100%;
}

.form-submit:active {
  transform: translateY(0) scale(0.98);
}

.form-submit .submit-loading {
  display: none;
}

.contact-form.submitting .submit-text { display: none; }
.contact-form.submitting .submit-loading { display: inline; }
.contact-form.submitting .form-submit { pointer-events: none; opacity: 0.7; }

/* ===== Success State ===== */
.form-success {
  display: none;
  margin: 0;
  padding: 18px 20px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(96, 121, 110, 0.22), rgba(96, 121, 110, 0.08));
  border: 1px solid rgba(96, 121, 110, 0.4);
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.6;
  animation: successPop 0.45s var(--ease-soft, ease) forwards;
}

.form-success strong {
  display: block;
  color: #a8d4bb;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 4px;
}

.contact-form.success .form-success { display: block; }
.contact-form.success .form-submit,
.contact-form.success .form-agree { display: none; }
.contact-form.success .form-field,
.contact-form.success .form-row { opacity: 0.4; pointer-events: none; }

@keyframes successPop {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Responsive ===== */
@media (max-width: 1080px) {
  .contact-form-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 48px 36px;
  }
}

@media (max-width: 720px) {
  .contact-form-wrap {
    padding: 36px 22px;
    margin-top: 56px;
    border-radius: 18px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .form-submit { height: 50px; font-size: 14px; }
}
