:root {
  --blue: #165dff;
  --blue-deep: #0e42d2;
  --ink: #1d2129;
  --muted: #4e5969;
  --line: #e5e8ef;
  --soft: #f4f7ff;
  --chip: #f2f3f5;
  --max: 1120px;
  --header: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 600; line-height: 1.25; letter-spacing: -0.03em; }
button, input { font: inherit; }

.skip {
  position: absolute; left: 16px; top: 12px; z-index: 20;
  transform: translateY(-160%);
  background: var(--ink); color: #fff; padding: 8px 12px;
}
.skip:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.section { padding: 104px 0; scroll-margin-top: var(--header); }
.section-soft { background: linear-gradient(180deg, #f3f6fb 0%, #f7f8fa 100%); }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head h2, .about h2 { font-size: clamp(32px, 4vw, 44px); margin: 10px 0 14px; }
.section-head h2 span, .hero h1 span { color: var(--blue); }
.section-head p, .about p { color: var(--muted); font-size: 16px; }
.about p + p { margin-top: 12px; }
.kicker { color: var(--blue); font-size: 12px; font-weight: 600; letter-spacing: 0.16em; }

.site-header {
  position: sticky; top: 0; z-index: 10; height: var(--header);
  background: rgba(255,255,255,.86); backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck { border-bottom-color: rgba(229,232,239,.95); box-shadow: 0 10px 30px rgba(29,33,41,.05); }
.header-bar { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 36px; height: 36px; display: block; line-height: 0; filter: drop-shadow(0 8px 14px rgba(22,93,255,.32)); }
.brand-mark svg { display: block; width: 36px; height: 36px; }
.brand strong { display: block; font-size: 16px; line-height: 1.2; }
.brand small { display: block; color: var(--muted); font-size: 12px; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { padding: 8px 14px; border-radius: 999px; color: #344256; font-size: 14px; }
.site-nav a:hover { color: var(--blue); }
.site-nav a.is-current { background: #e8f3ff; color: var(--blue); }
.nav-cta { background: var(--blue) !important; color: #fff !important; box-shadow: 0 8px 18px rgba(22,93,255,.28); }
.nav-cta:hover { background: var(--blue-deep) !important; }
.nav-cta::after { content: " →"; }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.nav-toggle i { display: block; width: 16px; height: 1.5px; margin: 4px auto; background: var(--ink); }

.hero {
  position: relative; overflow: hidden; min-height: 780px; padding: 108px 0 56px; text-align: center;
  background:
    radial-gradient(ellipse 55% 42% at 50% 36%, rgba(22,93,255,.16), transparent 70%),
    linear-gradient(180deg, #f4f8ff 0%, #fff 78%);
}
.hero::before, .hero::after {
  content: ""; position: absolute; width: 460px; height: 460px; border-radius: 50%;
  filter: blur(20px); pointer-events: none;
}
.hero::before { left: -160px; top: 40px; background: rgba(22,93,255,.12); }
.hero::after { right: -140px; bottom: -40px; background: rgba(90,150,255,.14); }
.grid-bg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.grid-bg {
  background-image:
    linear-gradient(rgba(22,93,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22,93,255,.07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 72%);
}
.hero-center { position: relative; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px;
  padding: 7px 14px; border: 1px solid rgba(22,93,255,.22); border-radius: 999px;
  background: rgba(255,255,255,.8); color: var(--blue); font-size: 13px; font-weight: 600;
  box-shadow: 0 8px 24px rgba(22,93,255,.08);
}
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(22,93,255,.15); }
.hero h1 { font-size: clamp(42px, 5.2vw, 64px); }
.lede { max-width: 40em; margin: 18px auto 0; color: var(--muted); font-size: 17px; }
.actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px;
  border-radius: 999px; font-weight: 600; transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.btn-primary { background: linear-gradient(180deg, #3b82ff, #165dff); color: #fff; box-shadow: 0 10px 24px rgba(22,93,255,.34); }
.btn-primary::after { content: " →"; }
.btn-primary:hover { background: var(--blue-deep); transform: translateY(-1px); }
.btn-ghost { background: rgba(255,255,255,.9); border: 1px solid #d5deea; box-shadow: 0 6px 16px rgba(29,33,41,.04); }
.btn-ghost:hover { border-color: #b9ccf5; color: var(--blue); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 820px; margin: 64px auto 0; padding-top: 28px; border-top: 1px solid rgba(22,93,255,.12); }
.stats div + div { border-left: 1px solid #e6ebf2; }
.stats dd { margin: 0; font-size: 52px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.stats dd span { margin-left: 4px; color: var(--blue); font-size: 22px; }
.stats dt { margin-top: 8px; color: var(--muted); }
.down { display: inline-block; margin-top: 40px; color: #86909c; font-size: 13px; letter-spacing: .08em; }
.down::before { content: "↓ "; }

.cap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cap {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  height: 100%; padding: 28px; border: 1px solid rgba(229,232,239,.9); border-radius: 18px;
  background: linear-gradient(180deg, #fff, #fbfcff); text-align: left;
  box-shadow: 0 10px 30px rgba(29,33,41,.04);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.cap:hover {
  transform: translateY(-8px);
  border-color: #c5d8ff;
  box-shadow: 0 22px 48px rgba(22,93,255,.18);
}
.idx { color: var(--blue); font-size: 13px; font-weight: 600; letter-spacing: .08em; }
.cap h3 { font-size: 26px; }
.cap p { color: var(--muted); }
.case-head { margin-bottom: 22px; }
.case-head h2 small { margin-left: 10px; color: #86909c; font-size: 22px; font-weight: 400; letter-spacing: 0; }
.case-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.case-tabs button { border: 1px solid transparent; background: transparent; color: var(--muted); padding: 7px 16px; border-radius: 999px; cursor: pointer; }
.case-tabs button.is-on { background: #fff; border-color: #d6e4ff; color: var(--blue); box-shadow: 0 6px 16px rgba(22,93,255,.08); }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 28px; }
.shot { width: 100%; padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer; text-align: center; }
.shot-frame {
  display: flex; flex-direction: column; aspect-ratio: 16 / 10; overflow: hidden;
  border: 1px solid #e6ebf2; border-radius: 14px; background: #fff;
  box-shadow: 0 14px 34px rgba(29,33,41,.07);
  transition: transform .2s ease, box-shadow .2s ease;
}
.shot-bar { display: flex; gap: 6px; align-items: center; height: 32px; padding: 0 12px; background: #f4f6fa; border-bottom: 1px solid #eef1f6; }
.shot-bar i { width: 8px; height: 8px; border-radius: 50%; background: #d5dbe3; }
.shot-bar i:first-child { background: #ff8a80; }
.shot-bar i:nth-child(2) { background: #ffd166; }
.shot-bar i:nth-child(3) { background: #7ddea5; }
.shot-pic {
  position: relative; min-height: 0; flex: 1; display: grid; place-items: center; color: #8aa0c8; font-size: 13px; letter-spacing: .14em;
  background:
    linear-gradient(rgba(22,93,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22,93,255,.05) 1px, transparent 1px),
    linear-gradient(165deg, #eef3ff, #f8fafc 60%);
  background-size: 22px 22px, 22px 22px, auto;
}
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.shot strong { display: block; margin-top: 16px; padding-bottom: 14px; border-bottom: 1px solid #e6ebf2; font-size: 16px; font-weight: 600; }
.shot:hover .shot-frame { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(22,93,255,.14); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 8px 0 0; }
.pills li { padding: 4px 12px; border-radius: 999px; background: #eef3ff; color: #345; font-size: 13px; }
.en { margin-top: auto; padding-top: 18px; color: #c0c6d0 !important; font-size: 12px; letter-spacing: 0.14em; }

.work { background: linear-gradient(180deg, #fff, #f6f8fc); }
.steps { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.steps li { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 10px 28px rgba(29,33,41,.04); }
.steps span {
  display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 14px;
  border-radius: 50%; color: #fff; font-size: 13px; font-weight: 600;
  background: linear-gradient(160deg, #4c8dff, #165dff);
  box-shadow: 0 8px 16px rgba(22,93,255,.28);
}
.steps h3 { margin-bottom: 6px; font-size: 20px; }
.steps p { color: var(--muted); }

.about { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: start; }
.about dl { margin: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 12px 32px rgba(29,33,41,.05); }
.about dl div { display: grid; grid-template-columns: 9em 1fr; gap: 12px; padding: 14px 18px; background: #fff; }
.about dl div + div { border-top: 1px solid var(--line); }
.about dt { color: var(--muted); }
.about dd { margin: 0; font-weight: 600; }

.site-footer { background: #0c1424; color: #d5deea; padding: 56px 0 22px; scroll-margin-top: var(--header); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .7fr 1.5fr; gap: 28px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.08); }
.site-footer strong { color: #fff; font-size: 18px; }
.site-footer p { margin: 8px 0 0; color: #9aa8bd; }
.footer-grid a { display: block; margin-top: 8px; color: #d5deea; }
.footer-grid a:hover { color: #fff; }
.footer-label { color: #fff !important; font-weight: 600; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 16px; color: #93a0b5; font-size: 13px; }

.case-dialog { width: min(760px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 0; border: 0; border-radius: 24px; color: var(--ink); overflow: auto; box-shadow: 0 24px 80px rgba(12,20,36,.28); }
.case-dialog::backdrop { background: rgba(12,20,36,.62); }
.case-dialog-cover { position: relative; height: 220px; overflow: hidden; background: radial-gradient(circle at 80% 0%, rgba(255,255,255,.28), transparent 36%), linear-gradient(110deg, #0e42d2, #165dff 55%, #4c8dff); }
.case-dialog-cover img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.case-dialog-cover span { position: absolute; left: 28px; bottom: 16px; color: #fff; font-size: 32px; font-weight: 600; }
.case-dialog-body { position: relative; padding: 28px; }
.case-dialog-body h2 { font-size: 32px; margin: 6px 0 10px; }
.case-dialog-summary, .case-blocks p { color: var(--muted); }
.case-tag { color: var(--blue); font-size: 13px; font-weight: 600; }
.case-close { position: absolute; top: 16px; right: 16px; border: 1px solid var(--line); background: #fff; border-radius: 999px; min-height: 36px; padding: 0 14px; cursor: pointer; }
.case-blocks { display: grid; gap: 12px; margin-top: 20px; }
.case-blocks section { background: var(--soft); border-radius: 16px; padding: 16px 18px; }
.case-blocks h3 { font-size: 16px; margin-bottom: 6px; }

:focus-visible { outline: 3px solid #94bfff; outline-offset: 3px; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    display: none; position: absolute; left: 16px; right: 16px; top: calc(var(--header) + 8px);
    flex-direction: column; align-items: stretch; padding: 12px; background: #fff;
    border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 16px 40px rgba(29,33,41,.08);
  }
  .site-nav.is-open { display: flex; }
  .cap-grid, .case-grid, .steps, .about, .footer-grid, .stats { grid-template-columns: 1fr; }
  .stats div + div { border-left: 0; border-top: 1px solid #e6ebf2; padding-top: 16px; }
  .hero { min-height: 0; padding-top: 64px; }
  .section { padding: 64px 0; }
  .footer-bottom { flex-direction: column; }
  .about dl div { grid-template-columns: 1fr; gap: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .cap, .shot-frame { transition: none; }
}
