:root {
  color-scheme: light;
  --ink: #0b172a;
  --muted: #526072;
  --line: #d8e2ef;
  --soft: #eef5fb;
  --blue: #0765e8;
  --deep: #071b45;
  --cyan: #22b8d6;
  --orange: #f05223;
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(7, 27, 69, 0.14);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  letter-spacing: 0;
}

img,
video {
  display: block;
  max-width: 100%;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(7, 27, 69, 0.92), rgba(7, 27, 69, 0.52));
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: 0 8px 30px rgba(7, 27, 69, 0.09);
}

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

.brand img {
  width: 92px;
  height: 38px;
  object-fit: contain;
  background: var(--white);
  border-radius: 6px;
  padding: 5px 8px;
}

.brand span {
  display: grid;
  gap: 2px;
}

.brand strong {
  font-size: 15px;
  line-height: 1.2;
  white-space: nowrap;
}

.brand small {
  color: currentColor;
  opacity: 0.72;
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a,
.lang-switch {
  min-height: 38px;
  border-radius: 6px;
  padding: 10px 13px;
  font-size: 14px;
  color: currentColor;
}

.site-nav a:hover,
.lang-switch:hover {
  background: rgba(34, 184, 214, 0.14);
}

.lang-switch {
  border: 1px solid currentColor;
  background: transparent;
  cursor: pointer;
  font-weight: 700;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 6px;
  background: transparent;
  color: currentColor;
  cursor: pointer;
}

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

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--deep);
  color: var(--white);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
  opacity: 0.66;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 27, 69, 0.96) 0%, rgba(7, 27, 69, 0.76) 45%, rgba(7, 27, 69, 0.3) 100%),
    linear-gradient(0deg, rgba(7, 27, 69, 0.82), rgba(7, 27, 69, 0.06));
}

.hero-content {
  position: relative;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 152px 0 160px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 870px;
  margin: 0;
  font-size: clamp(38px, 6vw, 78px);
  line-height: 1.04;
  font-weight: 850;
}

.hero-copy {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.75;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 6px;
  padding: 13px 20px;
  font-weight: 800;
}

.button.primary {
  background: var(--blue);
  color: var(--white);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.44);
  color: var(--white);
}

.hero-stats {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 36px));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  border-radius: 8px 8px 0 0;
  box-shadow: var(--shadow);
}

.hero-stats div {
  padding: 24px clamp(16px, 3vw, 34px);
  border-right: 1px solid var(--line);
}

.hero-stats div:last-child {
  border-right: 0;
}

.hero-stats strong {
  display: block;
  color: var(--blue);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
}

.hero-stats span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(72px, 9vw, 112px) 0;
}

.band {
  width: 100%;
  max-width: none;
  padding-left: max(18px, calc((100vw - 1180px) / 2));
  padding-right: max(18px, calc((100vw - 1180px) / 2));
  background: linear-gradient(180deg, #f5f9fc 0%, #edf5fb 100%);
}

.section-head {
  display: grid;
  gap: 8px;
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head h2,
.about-layout h2,
.contact-card h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.15;
}

.wide-copy {
  max-width: 900px;
  margin: 0;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.8;
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.business-card,
.product-card,
.case-card,
.credential-panel,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 44px rgba(7, 27, 69, 0.07);
}

.business-card {
  padding: 28px;
}

.card-index {
  color: var(--orange);
  font-weight: 900;
  font-size: 13px;
}

.business-card h3 {
  margin: 18px 0 12px;
  font-size: 24px;
  line-height: 1.25;
}

.business-card p,
.business-card li,
.case-card p,
.solution-list p,
.about-layout p,
.credential-panel li,
.contact-card p {
  color: var(--muted);
  line-height: 1.7;
}

.business-card ul,
.credential-panel ul {
  margin: 18px 0 0;
  padding-left: 18px;
}

.business-card li + li,
.credential-panel li + li {
  margin-top: 10px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.product-grid-wide {
  grid-template-columns: repeat(3, 1fr);
}

.product-subhead {
  margin: 42px 0 0;
  font-size: 24px;
}

.product-card {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 360px;
  padding: 24px;
}

.product-card strong {
  width: fit-content;
  border-radius: 6px;
  padding: 7px 10px;
  color: var(--white);
  background: var(--deep);
  font-size: 13px;
}

.product-card h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
}

.product-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-tags span {
  border: 1px solid #c8d8ea;
  border-radius: 6px;
  padding: 7px 9px;
  color: var(--deep);
  background: #f6fbff;
  font-size: 13px;
  font-weight: 750;
}

.doc-links.compact {
  margin-top: auto;
}

.doc-links.compact a {
  background: var(--blue);
}

.solution-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 32px;
  align-items: stretch;
}

.solution-layout img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
  border-radius: 8px;
}

.solution-list {
  display: grid;
  gap: 14px;
}

.solution-list div {
  padding: 22px 0 22px 24px;
  border-left: 3px solid var(--blue);
  background: linear-gradient(90deg, rgba(7, 101, 232, 0.07), rgba(7, 101, 232, 0));
}

.solution-list h3 {
  margin: 0 0 8px;
  font-size: 21px;
}

.solution-list p {
  margin: 0;
}

.case-copy {
  margin-bottom: 30px;
  font-size: 18px;
}

.media-showcase {
  display: grid;
  gap: 26px;
}

.media-group {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 44px rgba(7, 27, 69, 0.06);
}

.media-group-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.media-group-head h3 {
  margin: 0;
  font-size: clamp(24px, 3vw, 32px);
}

.media-group-head p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.case-card {
  overflow: hidden;
}

.case-card video,
.case-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--deep);
}

.case-card div {
  padding: 18px;
}

.case-card span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
}

.case-card h4 {
  margin: 8px 0 8px;
  font-size: 19px;
  line-height: 1.35;
}

.case-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 36px;
  align-items: start;
}

.about-layout p {
  max-width: 760px;
  font-size: 18px;
}

.credential-panel {
  padding: 28px;
}

.credential-panel h3 {
  margin: 0 0 14px;
  font-size: 24px;
}

.doc-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.doc-links a {
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--white);
  background: var(--deep);
  font-size: 14px;
  font-weight: 800;
}

.contact-section {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: max(18px, calc((100vw - 1180px) / 2));
  padding-right: max(18px, calc((100vw - 1180px) / 2));
  background: var(--deep);
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 30px;
  padding: clamp(28px, 5vw, 52px);
  background: linear-gradient(135deg, #ffffff 0%, #eef6ff 100%);
}

.contact-methods {
  display: grid;
  gap: 12px;
}

.contact-methods a,
.contact-methods p {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.contact-methods span {
  color: var(--muted);
  font-size: 13px;
}

.contact-methods strong {
  font-size: clamp(18px, 2vw, 22px);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.72);
  background: #04102b;
  font-size: 14px;
}

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

  .site-nav {
    position: absolute;
    top: 72px;
    left: 18px;
    right: 18px;
    display: none;
    padding: 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.98);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a,
  .lang-switch {
    width: 100%;
    text-align: left;
  }

  .brand strong {
    max-width: 42vw;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero-stats,
  .business-grid,
  .product-grid,
  .product-grid-wide,
  .solution-layout,
  .about-layout,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .media-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .media-group-head {
    display: grid;
  }

  .hero-content {
    padding-bottom: 210px;
  }

  .hero-stats div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-stats div:last-child {
    border-bottom: 0;
  }

  .solution-layout img {
    min-height: 260px;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 66px;
  }

  .brand img {
    width: 76px;
    height: 34px;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 900px;
  }

  .hero-content {
    width: min(100% - 28px, 1180px);
    padding-top: 120px;
  }

  .hero-actions {
    display: grid;
  }

  .hero-stats {
    width: calc(100% - 28px);
  }

  .section,
  .band,
  .contact-section {
    width: 100%;
    padding-left: 14px;
    padding-right: 14px;
  }

  .business-card {
    padding: 22px;
  }

  .media-grid {
    grid-template-columns: 1fr;
  }

  .media-group {
    padding: 14px;
  }

  .site-footer {
    display: grid;
  }
}
