:root {
  color-scheme: light;
  --navy-950: #041426;
  --navy-900: #071d35;
  --navy-800: #0d2b4a;
  --navy-700: #16436d;
  --blue-500: #2e72c4;
  --blue-100: #dcecff;
  --red-600: #c71420;
  --red-500: #e12a35;
  --ink: #122234;
  --muted: #5f6f80;
  --line: #d8e1ea;
  --paper: #ffffff;
  --soft: #f3f7fa;
  --shadow: 0 22px 70px rgba(4, 20, 38, 0.14);
  --shadow-soft: 0 14px 38px rgba(4, 20, 38, 0.08);
  --radius: 18px;
  --shell: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", Arial, sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}
.home-page {
  --ink-on-page: #f1f9fb;
  --muted-on-page: #b8cfda;
  --panel: rgba(14, 42, 59, 0.72);
  --edge: rgba(177, 231, 235, 0.25);
  --accent: #66dfd7;
}
.home-page body {
  background:
    radial-gradient(ellipse 72% 22% at 94% 15%, #166775 0%, transparent 78%),
    radial-gradient(ellipse 75% 32% at 6% 70%, #124e68 0%, transparent 84%),
    linear-gradient(160deg, #071625, #0b3047 48%, #081d31);
}
img, video { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
a { color: inherit; }
h1, h2, h3, p, figure { margin-top: 0; }
h1, h2, h3 { line-height: 1.15; overflow-wrap: anywhere; }
h1 { margin-bottom: 0; font-size: clamp(48px, 6.2vw, 84px); letter-spacing: -0.045em; }
h2 { margin-bottom: 0; font-size: clamp(34px, 4vw, 54px); letter-spacing: -0.035em; }
h3 { margin-bottom: 0; font-size: 21px; }
:focus-visible { outline: 3px solid #62a7ff; outline-offset: 3px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  padding: 0 max(4vw, calc((100vw - var(--shell)) / 2));
  border-bottom: 1px solid rgba(216, 225, 234, 0.86);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  min-width: 0;
}
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; flex: 0 0 auto; color: var(--navy-900); text-decoration: none; }
.brand-mark { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 12px; color: #fff; background: linear-gradient(145deg, var(--red-500), #97131c); box-shadow: 0 10px 24px rgba(199, 20, 32, 0.22); font-size: 15px; font-weight: 800; letter-spacing: 0.04em; }
.brand-copy { display: grid; min-width: 0; line-height: 1.08; }
.brand-copy strong { font-size: 18px; }
.brand-copy small { margin-top: 5px; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: 0.18em; }
.site-nav { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 2.2vw, 34px); min-width: 0; margin-left: auto; color: #42566a; font-size: 15px; font-weight: 700; }
.site-nav a { text-decoration: none; cursor: pointer; }
.nav-link { position: relative; display: inline-flex; align-items: center; min-height: 76px; white-space: nowrap; }
.nav-link::after { position: absolute; right: 0; bottom: 0; left: 0; height: 3px; border-radius: 99px 99px 0 0; background: var(--red-500); content: ""; opacity: 0; transform: scaleX(0.45); transition: opacity 180ms ease, transform 180ms ease; }
.nav-link:hover { color: var(--navy-900); }
.nav-link:hover::after { opacity: 1; transform: scaleX(1); }
.home-page .site-header {
  background: var(--panel);
  border-color: var(--edge);
}
.home-page :is(.brand, .hero, .section-cases .section-heading, .contact-section, .nav-link:hover, .site-footer strong) {
  color: var(--ink-on-page);
}
.home-page :is(.site-nav, .brand-copy small, .platform-capabilities, .contact-copy > p:last-child, .form-heading small, .contact-form label > span, .site-footer, .site-footer > div span, .form-status) {
  color: var(--muted-on-page);
}
.home-page :is(.hero-visual, .contact-card, .button-ghost, .contact-form input, .contact-form textarea) {
  background: var(--panel);
  border-color: var(--edge);
  color: var(--ink-on-page);
}
.home-page .button-ghost:hover { border-color: var(--accent); }
.nav-toggle { display: none; width: 44px; height: 44px; min-width: 44px; flex: 0 0 44px; padding: 0; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.nav-toggle span { display: block; width: 19px; height: 2px; margin: 4px auto; border-radius: 99px; background: var(--navy-900); }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 23px; border: 1px solid transparent; border-radius: 11px; text-decoration: none; font-weight: 800; transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease; cursor: pointer; }
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 42px; padding: 0 17px; font-size: 14px; }
.button-primary, .header-cta { color: #fff; background: var(--red-600); box-shadow: 0 12px 25px rgba(199, 20, 32, 0.2); }
.button-primary:hover, .header-cta:hover { background: #ac101a; box-shadow: 0 16px 32px rgba(199, 20, 32, 0.28); }
.button-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.45); background: rgba(255, 255, 255, 0.06); }
.button-ghost:hover { background: rgba(255, 255, 255, 0.13); }
.nav-mobile-cta { display: none; }

.section-shell { width: min(var(--shell), calc(100% - 8vw)); margin-inline: auto; }
.section { position: relative; padding: clamp(80px, 9vw, 126px) 0; scroll-margin-top: 74px; }
.section-light { background: #fff; }
.section-ink { color: #fff; background: radial-gradient(circle at 84% 18%, rgba(46, 114, 196, 0.24), transparent 30%), linear-gradient(140deg, var(--navy-950), var(--navy-900)); }
.section-accent { background: #edf3f8; }
.section-cases .section-heading { color: #fff; }
.eyebrow { margin-bottom: 12px; color: var(--red-600); font-size: 12px; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.65fr); gap: 50px; align-items: end; margin-bottom: 52px; }
.section-heading > p { margin-bottom: 4px; color: var(--muted); font-size: 17px; }
.section-heading-inverse > p { color: rgba(255, 255, 255, 0.64); }

.hero { position: relative; min-height: calc(100vh - 76px); color: #fff; }
.hero-inner { position: relative; z-index: 1; display: grid; width: min(var(--shell), calc(100% - 8vw)); min-height: calc(100vh - 76px); grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(28px, 3vw, 44px); align-items: center; margin: 0 auto; padding: 80px 0; }
.hero-copy { max-width: 700px; min-width: 0; }
.hero-copy h1 { max-width: 100%; font-size: clamp(28px, 3.45vw, 46px); letter-spacing: -0.035em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 38px; }
.hero-highlights { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 44px; }
.hero-highlights span { display: inline-flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, 0.82); font-size: 14px; font-weight: 700; }
.hero-highlights span::before { width: 7px; height: 7px; border-radius: 50%; background: var(--red-500); box-shadow: 0 0 0 5px rgba(225, 42, 53, 0.15); content: ""; }
.hero-visual { position: relative; margin: 0; }
.platform-capabilities {
  margin: 30px 0 0;
  padding-left: 1.2em;
  color: rgba(255, 255, 255, 0.84);
}
.platform-capabilities li::marker { color: var(--accent); }
.hero-visual {
  min-width: 0;
  padding: clamp(12px, 2vw, 22px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}
.gui-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-weight: 700; }
.gui-screen { width: 100%; height: auto; border-radius: 4px; }
.hero-slides { aspect-ratio: 1920 / 1032; overflow: hidden; border-radius: 4px; background: #fff; }
.hero-slides .gui-screen { height: 100%; object-fit: contain; }
.hero-slides [hidden] { display: none; }
.hero-controls:not([hidden]) { display: flex; justify-content: flex-end; align-items: center; gap: 10px; margin-top: 12px; font-size: 13px; font-variant-numeric: tabular-nums; }
.hero-controls button { min-width: 34px; min-height: 34px; border: 1px solid var(--edge); border-radius: 7px; background: transparent; color: inherit; cursor: pointer; }
.hero-controls button:hover { border-color: var(--accent); }
.case-explorer {
  display: grid;
  grid-template-columns: clamp(138px, 13vw, 180px) clamp(110px, 10vw, 140px) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}
.case-sidebar, .case-list {
  min-width: 0;
  padding: 18px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.case-sidebar-title, .case-list > p { margin: 0 12px 13px; color: var(--muted); font-size: 12px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.workflow-steps {
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.workflow-steps li { position: relative; min-width: 0; }
.workflow-steps li:not(:last-child)::after {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  color: var(--red-600);
  content: "↓" / "";
  line-height: 20px;
}
.workflow-label, .workflow-steps .case-group-button {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 9px 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  text-align: center;
}
.workflow-label { color: var(--muted); background: var(--soft); }
.case-group-button, .case-list-button { display: grid; width: 100%; padding: 13px 12px; border: 1px solid transparent; border-radius: 11px; color: var(--ink); background: transparent; text-align: left; cursor: pointer; transition: background 160ms ease, border-color 160ms ease, color 160ms ease; }
.case-group-button span, .case-list-button span { font-weight: 500; }
.case-group-button small, .case-list-button small { margin-top: 3px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.case-group-button:hover:not(:disabled), .case-group-button.is-active, .case-list-button:hover, .case-list-button.is-active { border-color: rgba(199, 20, 32, 0.22); background: #fff3f3; }
.case-group-button.is-active span, .case-list-button.is-active span { font-weight: 800; color: var(--red-600); }
.case-list-button + .case-list-button { margin-top: 7px; }
.case-viewer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: clamp(16px, 2vw, 28px);
  min-width: 0;
  padding: clamp(18px, 2vw, 30px);
  border-radius: 24px;
  background: #e6edf7;
}
.case-viewer-copy { min-width: 0; }
.case-viewer-copy h3 { font-size: clamp(24px, 2vw, 32px); }
.case-viewer-copy > p:not(.eyebrow):not(.case-reference) { margin: 20px 0 0; }
.case-parameters { display: grid; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.case-parameters li { position: relative; padding-left: 18px; font-size: 14px; }
.case-parameters li::before { position: absolute; top: 0.7em; left: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--red-500); content: ""; }
.case-reference { margin-top: 28px; color: var(--muted); font-size: 12px; }
.case-viewer-media { min-width: 0; }
.case-thumbnails { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 13px; }
.case-thumbnail { width: 76px; height: 58px; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 9px; background: rgba(255, 255, 255, 0.12); cursor: pointer; opacity: 0.7; transition: border-color 160ms ease, opacity 160ms ease, transform 160ms ease; }
.case-thumbnail:hover, .case-thumbnail.is-active { border-color: #f05a64; opacity: 1; transform: translateY(-2px); }
.case-thumbnail img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.case-main-image { min-height: 360px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 15px; background: rgba(255, 255, 255, 0.92); }
.case-main-image .technical-media { width: 100%; height: 100%; min-height: 360px; }
.case-main-image .technical-media img { width: 100%; height: 100%; max-height: 540px; object-fit: contain; }
.case-caption { margin: 12px 0 0; color: var(--ink); font-size: 14px; }
.technical-media { position: relative; display: block; padding: 0; overflow: hidden; border: 0; background: transparent; cursor: zoom-in; }
.technical-media img { transition: transform 300ms ease; }
.technical-media:hover img { transform: scale(1.025); }
.media-zoom { position: absolute; right: 12px; bottom: 12px; padding: 6px 9px; border-radius: 7px; color: #fff; background: rgba(4, 20, 38, 0.72); font-size: 11px; opacity: 0; transition: opacity 160ms ease; }
.technical-media:hover .media-zoom, .technical-media:focus-visible .media-zoom { opacity: 1; }

.contact-section { color: #fff; }
.contact-layout { display: grid; grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr); gap: 70px; align-items: start; }
.contact-card { padding: clamp(24px, 4vw, 42px); border: 1px solid var(--edge); border-radius: 24px; font-style: normal; }
.contact-details { display: grid; gap: 22px; margin: 0; }
.contact-details > div + div { padding-top: 20px; border-top: 1px solid var(--edge); }
.contact-details dt { margin-bottom: 6px; color: var(--muted-on-page); font-size: 14px; }
.contact-details dd { margin: 0; font-size: clamp(16px, 2vw, 22px); }
.contact-details dd + dd { margin-top: 4px; }
.contact-details a { overflow-wrap: anywhere; text-underline-offset: 0.2em; text-decoration-color: var(--edge); }
.contact-details a:hover, .contact-details a:focus-visible { text-decoration-color: currentColor; }

.site-footer { display: flex; justify-content: space-between; gap: 24px; padding: 28px max(4vw, calc((100vw - var(--shell)) / 2)); color: rgba(255, 255, 255, 0.62); background: var(--navy-950); font-size: 12px; }
.site-footer > div { display: grid; gap: 4px; }
.home-page .site-footer { flex-wrap: wrap; background: transparent; }
.site-filing { flex-basis: 100%; margin: 0; text-align: center; }
.site-footer strong { color: #fff; font-size: 14px; }
.site-footer > div span { color: rgba(255, 255, 255, 0.42); }

.lightbox { width: min(94vw, 1080px); max-width: none; padding: 24px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 18px; color: #fff; background: #071d35; box-shadow: 0 30px 100px rgba(0, 0, 0, 0.5); }
.lightbox::backdrop { background: rgba(0, 8, 18, 0.82); backdrop-filter: blur(6px); }
.lightbox figure { display: grid; gap: 14px; margin: 0; }
.lightbox img { width: 100%; max-height: 78vh; object-fit: contain; }
.lightbox figcaption { color: rgba(255, 255, 255, 0.68); font-size: 13px; }
.lightbox-close { position: absolute; top: 8px; right: 14px; width: 38px; height: 38px; border: 0; color: #fff; background: transparent; font-size: 30px; cursor: pointer; }
.image-error { min-height: 80px; background: repeating-linear-gradient(135deg, #eef2f5, #eef2f5 10px, #e1e7ec 10px, #e1e7ec 20px); }

@media (max-width: 1120px) {
  .site-header { gap: 18px; }
  .site-nav { gap: 18px; font-size: 14px; }
}

@media (max-width: 860px) {
  .site-header { min-height: 68px; padding-inline: 5vw; }
  .nav-toggle { display: block; margin-left: auto; }
  .site-nav { position: absolute; top: calc(100% + 1px); right: 5vw; left: 5vw; display: none; align-items: stretch; gap: 0; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
  .site-nav.is-open { display: grid; }
  .home-page .site-nav { background: var(--panel); border-color: var(--navy-700); backdrop-filter: blur(18px); }
  .nav-link { min-height: 48px; padding: 0 13px; }
  .nav-link::after { display: none; }
  .nav-mobile-cta { display: inline-flex; margin-top: 8px; }
  .header-cta { display: none; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); min-height: auto; padding-block: 90px 70px; }
  .hero-copy { max-width: 760px; }
  .hero-visual { max-width: 700px; }
  .section-heading { grid-template-columns: 1fr; gap: 18px; margin-bottom: 36px; }
  .case-explorer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-viewer { grid-column: 1 / -1; }
  .contact-layout { grid-template-columns: 1fr; gap: 38px; }
}

@media (max-width: 560px) {
  .hero-copy h1 { font-size: clamp(24px, 8vw, 40px); }
  h1 { font-size: clamp(42px, 13vw, 62px); }
  h2 { font-size: clamp(32px, 10vw, 46px); }
  .section { padding-block: 72px; }
  .section-shell, .hero-inner { width: min(100% - 10vw, var(--shell)); }
  .form-grid { grid-template-columns: 1fr; }
  .case-viewer { grid-template-columns: 1fr; padding: 24px 18px; }
  .case-main-image, .case-main-image .technical-media { min-height: 260px; }
  .case-main-image .technical-media img { max-height: 360px; }
  .form-heading { display: grid; gap: 5px; }
  .site-footer { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

@media (prefers-reduced-motion: no-preference) {
  .reveal.is-visible { animation: reveal-in 350ms ease-out; }
  @keyframes reveal-in { from { opacity: 0; transform: translateY(8px); } }
}
