:root {
  --ink: #13243a;
  --ink-soft: #4c5f76;
  --muted: #6b7b8e;
  --brand: #164a96;
  --brand-deep: #0e397c;
  --brand-soft: #eaf2fc;
  --surface: #f4f7fb;
  --white: #fff;
  --line: #dbe4ee;
  --shadow-sm: 0 10px 30px rgba(27, 56, 93, .08);
  --shadow-lg: 0 28px 72px rgba(27, 56, 93, .16);
  --radius: 16px;
  --max: 1240px;
  --header-height: 72px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --font: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { overflow-x: hidden; background: var(--surface); color: var(--ink); font-family: var(--font); line-height: 1.7; }
body.lightbox-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { border: 0; font: inherit; cursor: pointer; }
.wrap { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 999; top: 8px; left: 8px; padding: 8px 12px; background: #fff; color: var(--brand); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.eyebrow { color: var(--brand); font-size: .75rem; font-weight: 760; letter-spacing: .08em; }
h1, h2, h3 { line-height: 1.16; letter-spacing: -.035em; }
h1 { font-size: clamp(3rem, 5.2vw, 5rem); }
h2 { font-size: clamp(2.15rem, 3.5vw, 3.55rem); }
h3 { font-size: 1.28rem; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: .78rem 1.42rem; border: 1px solid transparent; border-radius: 9px; font-size: .88rem; font-weight: 700; transition: transform .2s var(--ease), background .2s ease, border-color .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--brand); color: #fff; box-shadow: 0 12px 26px rgba(22, 74, 150, .22); }
.button-primary:hover { background: var(--brand-deep); }
.button-secondary { border-color: #aebdce; background: rgba(255,255,255,.82); color: var(--ink); }
.button-secondary:hover { border-color: var(--brand); color: var(--brand); }
.button-light { background: #fff; color: var(--brand); }

.site-header { position: fixed; z-index: 100; inset: 0 0 auto; height: var(--header-height); border-bottom: 1px solid rgba(22,74,150,.1); background: rgba(255,255,255,.94); backdrop-filter: blur(18px); }
.header-inner { display: grid; height: 100%; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; }
.brand { display: flex; width: 126px; align-items: center; }
.brand img { width: 100%; height: auto; object-fit: contain; }
.desktop-nav { display: flex; justify-content: center; gap: 4px; }
.desktop-nav a { padding: 8px 13px; border-radius: 8px; color: #506176; font-size: .88rem; font-weight: 590; }
.desktop-nav a:hover, .desktop-nav a.active { background: var(--brand-soft); color: var(--brand); }
.menu-toggle { display: none; min-width: 44px; height: 40px; border-radius: 8px; background: var(--brand-soft); color: var(--brand); font-weight: 700; }
.mobile-menu { position: fixed; z-index: 99; inset: var(--header-height) 0 auto; display: grid; gap: 5px; padding: 22px; border-bottom: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-lg); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a { padding: 12px; border-radius: 8px; }

.hero { position: relative; overflow: hidden; padding: calc(var(--header-height) + 86px) 0 96px; background: linear-gradient(135deg, #f7faff 0%, #eaf2fc 100%); }
.hero::before { position: absolute; width: 720px; height: 720px; right: -330px; top: -360px; border: 1px solid rgba(22,74,150,.1); border-radius: 50%; box-shadow: 0 0 0 100px rgba(22,74,150,.022), 0 0 0 200px rgba(22,74,150,.014); content: ""; }
.hero-grid { position: relative; display: grid; grid-template-columns: .88fr 1.12fr; gap: 64px; align-items: center; }
.hero-copy h1 { max-width: 10em; margin-top: 17px; }
.hero-copy h1 span { color: var(--brand); }
.hero-lead { max-width: 600px; margin-top: 24px; color: var(--ink-soft); font-size: 1rem; line-height: 1.9; }
.hero-actions { display: flex; gap: 12px; margin-top: 31px; }
.hero-proof { display: grid; max-width: 540px; grid-template-columns: repeat(3, 1fr); margin-top: 40px; border-top: 1px solid #cad7e6; }
.hero-proof div { padding: 20px 12px 0 0; }
.hero-proof strong, .hero-proof span { display: block; }
.hero-proof strong { color: var(--brand); font-size: 1.35rem; line-height: 1.2; }
.hero-proof span { margin-top: 4px; color: var(--muted); font-size: .68rem; }
.hero-showcase { position: relative; min-height: 510px; }
.hero-desktop, .hero-phone { position: absolute; overflow: hidden; border: 7px solid #fff; background: #fff; box-shadow: var(--shadow-lg); }
.hero-desktop { inset: 40px 0 40px 72px; border-radius: 13px; }
.hero-desktop img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-phone { width: 27%; height: 68%; bottom: 0; border-radius: 25px; }
.hero-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.hero-phone-left { left: 0; }
.hero-phone-right { right: 5%; }
.hero-caption { position: absolute; right: 16%; bottom: -32px; color: var(--muted); font-size: .7rem; }
.image-button { display: block; width: 100%; height: 100%; background: transparent; }
.image-button img { transition: transform .45s var(--ease), filter .25s ease; }
.image-button:hover img { transform: scale(1.035); filter: saturate(1.04); }

.catalog-nav { position: sticky; z-index: 50; top: var(--header-height); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.95); backdrop-filter: blur(16px); }
.catalog-nav-inner { display: flex; min-height: 88px; align-items: center; justify-content: space-between; gap: 28px; }
.catalog-nav-inner > div:first-child { flex: 0 0 auto; }
.catalog-nav-inner strong, .catalog-nav-inner span { display: block; }
.catalog-nav-inner strong { font-size: .86rem; }
.catalog-nav-inner span { margin-top: 3px; color: var(--muted); font-size: .65rem; }
.scene-filters { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.scene-filter { min-height: 36px; padding: 7px 12px; border: 1px solid #c5d1df; border-radius: 7px; background: #fff; color: #52647a; font-size: .7rem; font-weight: 690; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.scene-filter:hover { border-color: var(--brand); color: var(--brand); }
.scene-filter.active { border-color: var(--brand); background: var(--brand); color: #fff; }

.case-catalog { background: #fff; }
.case-catalog-list { padding: 48px 0 112px; }
.solution-case { scroll-margin-top: calc(var(--header-height) + 110px); display: grid; grid-template-columns: .72fr 1.28fr; gap: 72px; align-items: center; padding: 76px 0; border-bottom: 1px solid var(--line); }
.solution-case[hidden] { display: none; }
.solution-case-reverse { grid-template-columns: 1.28fr .72fr; }
.solution-case-reverse .solution-copy { order: 2; }
.solution-copy h2 { max-width: 10em; margin-top: 13px; font-size: clamp(2rem, 3vw, 3.1rem); }
.solution-copy > p:not(.eyebrow) { margin-top: 20px; color: var(--ink-soft); font-size: .86rem; line-height: 1.85; }
.solution-copy ul { display: grid; gap: 8px; margin-top: 22px; color: var(--muted); font-size: .76rem; list-style: none; }
.solution-copy li { position: relative; padding-left: 16px; }
.solution-copy li::before { position: absolute; top: .72em; left: 0; width: 5px; height: 5px; background: var(--brand); content: ""; }
.screen-hover-hint { margin-top: 24px; padding: 11px 13px; border-left: 3px solid var(--brand); background: #edf4fc; color: var(--ink-soft); font-size: .72rem; line-height: 1.65; }
.gallery-button { margin-top: 28px; padding: 11px 16px; border: 1px solid #aebed0; border-radius: 8px; background: #fff; color: var(--brand); font-size: .76rem; font-weight: 730; transition: border-color .2s ease, background .2s ease, transform .2s var(--ease); }
.gallery-button:hover { border-color: var(--brand); background: var(--brand-soft); transform: translateY(-2px); }
.screen-composition { display: grid; min-width: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.screen-card { min-width: 0; overflow: hidden; border: 1px solid #dbe4ee; border-radius: var(--radius); background: #f1f5fa; box-shadow: var(--shadow-sm); }
.screen-card .image-button { height: 316px; overflow: hidden; padding: 18px 28px 0; background: linear-gradient(145deg, #e9f0f8, #f8fafc); }
.screen-card .image-button img { width: 100%; height: auto; border: 6px solid #fff; border-bottom: 0; border-radius: 21px 21px 0 0; object-position: top; box-shadow: 0 16px 34px rgba(25,49,82,.14); transform: translateY(0); transition: transform var(--pan-duration, 6s) cubic-bezier(.22,.72,.18,1), filter .25s ease; }
.screen-card .image-button:hover img { filter: saturate(1.02); transform: translateY(0); }
.screen-card .image-button.is-panning img { transform: translateY(var(--pan-offset, 0px)); will-change: transform; }
.screen-card .image-button:not(.is-panning) img { transition-duration: .7s; }
.screen-card figcaption { padding: 17px 18px 19px; background: #fff; }
.screen-card figcaption strong, .screen-card figcaption span { display: block; }
.screen-card figcaption strong { font-size: .8rem; }
.screen-card figcaption span { margin-top: 3px; color: var(--muted); font-size: .66rem; }
.screen-card-main { grid-row: span 2; }
.screen-card-main .image-button { height: 680px; padding-inline: 42px; }
.screen-composition-four .screen-card-main { grid-row: span 3; }
.screen-composition-four .screen-card:not(.screen-card-main) .image-button { height: 198px; padding-inline: 45px; }
.screen-composition-finance { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.screen-composition-finance .screen-card { grid-column: span 2; }
.screen-composition-finance .screen-card-landscape { grid-column: 1 / -1; }
.screen-card-landscape .image-button { height: 280px; padding: 24px; }
.screen-card-landscape .image-button img { height: 100%; border: 6px solid #fff; border-radius: 10px; object-fit: contain; background: #fff; }

.delivery-proof { padding: 104px 0; background: #f3f7fc; }
.delivery-layout { display: grid; grid-template-columns: .68fr 1.32fr; gap: 86px; align-items: start; }
.delivery-layout h2 { max-width: 9em; margin-top: 14px; }
.delivery-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid #d7e1ec; border-left: 1px solid #d7e1ec; }
.delivery-grid article { min-height: 210px; padding: 30px; border-right: 1px solid #d7e1ec; border-bottom: 1px solid #d7e1ec; background: #fff; }
.delivery-grid span { color: var(--brand); font-size: .72rem; font-weight: 760; }
.delivery-grid h3 { margin-top: 28px; }
.delivery-grid p { margin-top: 12px; color: var(--muted); font-size: .76rem; }
.cta-section { padding: 0 0 96px; background: #f3f7fc; }
.cta-box { display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: center; padding: 58px 62px; background: var(--brand); color: #fff; }
.cta-box .eyebrow { color: #c2d9f8; }
.cta-box h2 { margin-top: 12px; color: #fff; }
.cta-box p:last-child { max-width: 680px; margin-top: 15px; color: #d7e6fa; font-size: .86rem; }

.site-footer { border-top: 1px solid var(--line); background: #fff; }
.footer-main { display: grid; grid-template-columns: 1fr auto; gap: 60px; padding: 56px 0; }
.footer-brand img { width: 145px; height: auto; }
.footer-brand p { max-width: 440px; margin-top: 17px; color: var(--muted); font-size: .76rem; }
.footer-links { display: grid; grid-template-columns: repeat(2, 150px); gap: 48px; }
.footer-links div { display: flex; flex-direction: column; gap: 10px; }
.footer-links strong { margin-bottom: 4px; font-size: .76rem; }
.footer-links a { color: var(--muted); font-size: .72rem; }
.footer-links a:hover { color: var(--brand); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .68rem; }
.footer-bottom a { color: var(--brand); font-weight: 700; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 18px; }
.gongan-beian { display: inline-flex; align-items: center; gap: 6px; }
.gongan-beian img { width: 16px; height: 16px; flex: 0 0 16px; object-fit: contain; }

.lightbox { width: min(96vw, 1600px); max-width: none; height: 94dvh; max-height: none; margin: auto; padding: 0; overflow: hidden; border: 0; border-radius: 14px; background: #edf2f7; color: var(--ink); box-shadow: 0 38px 110px rgba(8,25,50,.42); }
.lightbox::backdrop { background: rgba(8,22,42,.82); backdrop-filter: blur(7px); }
.lightbox-panel { display: grid; height: 100%; grid-template-rows: auto minmax(0, 1fr) auto; }
.lightbox-head { display: flex; min-height: 62px; align-items: center; justify-content: space-between; gap: 20px; padding: 11px 16px 11px 20px; border-bottom: 1px solid var(--line); background: #fff; }
.lightbox-head strong, .lightbox-head span { display: block; }
.lightbox-head strong { font-size: .84rem; }
.lightbox-head span { margin-top: 2px; color: var(--muted); font-size: .66rem; }
.lightbox-close, .lightbox-prev, .lightbox-next { min-height: 38px; padding: 7px 14px; border: 1px solid #b9c6d5; border-radius: 7px; background: #fff; color: var(--ink); font-size: .72rem; font-weight: 700; }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { border-color: var(--brand); color: var(--brand); }
.lightbox-stage { min-height: 0; overflow: auto; padding: 24px; text-align: center; overscroll-behavior: contain; }
.lightbox-stage img { display: inline-block; width: auto; max-width: 100%; max-height: calc(94dvh - 150px); object-fit: contain; background: #fff; box-shadow: var(--shadow-sm); }
.lightbox-stage img.is-tall { width: min(100%, 880px); max-height: none; height: auto; }
.lightbox-footer { display: grid; min-height: 76px; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px 16px; border-top: 1px solid var(--line); background: #fff; }
.lightbox-thumbs { display: flex; min-width: 0; justify-content: center; gap: 7px; overflow-x: auto; scrollbar-width: thin; }
.lightbox-thumb { flex: 0 0 50px; height: 50px; overflow: hidden; padding: 2px; border: 2px solid transparent; border-radius: 6px; background: #edf2f7; }
.lightbox-thumb.active { border-color: var(--brand); }
.lightbox-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .desktop-nav, .header-cta { display: none; }
  .header-inner { grid-template-columns: auto 1fr auto; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; justify-self: end; }
  .hero-grid { grid-template-columns: 1fr; gap: 54px; }
  .hero-copy { max-width: 780px; }
  .hero-showcase { width: min(100%, 760px); margin-inline: auto; }
  .catalog-nav-inner { align-items: flex-start; flex-direction: column; gap: 14px; padding: 17px 0; }
  .scene-filters { justify-content: flex-start; }
  .solution-case, .solution-case-reverse { grid-template-columns: 1fr; gap: 44px; }
  .solution-case-reverse .solution-copy { order: 0; }
  .solution-copy { max-width: 760px; }
  .solution-copy h2 { max-width: 13em; }
  .delivery-layout { grid-template-columns: 1fr; gap: 46px; }
  .delivery-layout h2 { max-width: 14em; }
}

@media (max-width: 760px) {
  :root { --header-height: 68px; }
  .wrap { width: min(calc(100% - 32px), var(--max)); }
  .brand { width: 116px; }
  .hero { padding: calc(var(--header-height) + 54px) 0 78px; }
  .hero h1 { font-size: clamp(2.7rem, 12vw, 4rem); }
  .hero-lead { font-size: .92rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-proof { grid-template-columns: repeat(3, 1fr); }
  .hero-showcase { min-height: 390px; }
  .hero-desktop { inset: 28px 0 42px 36px; }
  .hero-phone { width: 32%; height: 67%; border-width: 5px; border-radius: 18px; }
  .hero-phone-right { right: 2%; }
  .hero-caption { right: 8%; bottom: -26px; }
  .catalog-nav { position: relative; top: auto; }
  .scene-filters { width: 100%; display: grid; grid-template-columns: repeat(2, 1fr); }
  .scene-filter:first-child { grid-column: 1 / -1; }
  .case-catalog-list { padding-top: 18px; padding-bottom: 76px; }
  .solution-case { padding: 62px 0; scroll-margin-top: 84px; }
  .solution-copy h2 { font-size: clamp(2rem, 9vw, 2.7rem); }
  .screen-hover-hint { display: none; }
  .screen-card .image-button { height: 250px; padding-inline: 20px; }
  .screen-card .image-button img, .screen-card .image-button.is-panning img { height: 100%; border-bottom: 6px solid #fff; border-radius: 18px; object-fit: contain; background: #fff; transform: none; }
  .screen-card-main .image-button { height: 548px; padding-inline: 24px; }
  .screen-composition-four .screen-card:not(.screen-card-main) .image-button { height: 166px; padding-inline: 24px; }
  .screen-composition-finance { grid-template-columns: repeat(2, 1fr); }
  .screen-composition-finance .screen-card { grid-column: span 1; }
  .screen-composition-finance .screen-card-landscape { grid-column: 1 / -1; }
  .delivery-proof { padding: 76px 0; }
  .delivery-grid article { min-height: 190px; padding: 24px; }
  .cta-section { padding-bottom: 70px; }
  .cta-box { grid-template-columns: 1fr; gap: 28px; padding: 38px 24px; }
  .cta-box .button { width: 100%; }
  .footer-main { grid-template-columns: 1fr; gap: 40px; padding: 44px 0; }
  .footer-links { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 7px; }
  .footer-legal { justify-content: flex-start; }
  .lightbox { width: 100vw; height: 100dvh; border-radius: 0; }
  .lightbox-stage { padding: 10px; }
  .lightbox-stage img { max-height: calc(100dvh - 142px); }
  .lightbox-stage img.is-tall { width: 100%; max-height: none; }
  .lightbox-footer { min-height: 68px; grid-template-columns: auto 1fr auto; gap: 7px; padding: 8px; }
  .lightbox-thumb { flex-basis: 42px; height: 42px; }
}

@media (max-width: 520px) {
  .wrap { width: min(calc(100% - 26px), var(--max)); }
  .hero-showcase { min-height: 340px; }
  .hero-desktop { left: 24px; }
  .hero-phone { width: 35%; }
  .hero-proof span { font-size: .6rem; }
  .screen-composition { gap: 10px; }
  .screen-card .image-button { height: 190px; padding: 14px 14px 0; }
  .screen-card .image-button img { border-width: 4px; border-radius: 14px 14px 0 0; }
  .screen-card-main .image-button { height: 430px; padding-inline: 16px; }
  .screen-composition-four .screen-card:not(.screen-card-main) .image-button { height: 126px; padding-inline: 14px; }
  .screen-card figcaption { padding: 14px; }
  .screen-card figcaption span { display: none; }
  .screen-card-landscape .image-button { height: 170px; }
  .delivery-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; }
  .lightbox-thumbs { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .image-button:hover img, .button:hover, .gallery-button:hover, .screen-card .image-button.is-panning img { transform: none; }
}
