@font-face {
  font-family: InterLocal;
  src: url("fonts/Inter-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: InterLocal;
  src: url("fonts/Inter-SemiBold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #10243d;
  --muted: #5d6b7e;
  --line: #dce6f0;
  --blue: #0758a8;
  --blue-2: #0b77c8;
  --cyan: #2cc4d5;
  --green: #54b86b;
  --soft: #f4f8fb;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(10, 53, 93, 0.12);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: InterLocal, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  background: var(--white);
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 82px;
  padding: 0 clamp(20px, 5vw, 72px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, min-height 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  min-height: 70px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px rgba(12, 38, 67, 0.08);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  width: 42px;
  height: 48px;
  object-fit: contain;
}

.brand strong {
  display: block;
  font-size: 18px;
  line-height: 1.1;
  letter-spacing: 0;
}

.brand small {
  display: block;
  margin-top: 3px;
  color: currentColor;
  font-size: 11px;
  opacity: 0.76;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.3vw, 34px);
  font-size: 15px;
}

.site-nav a {
  position: relative;
  padding: 28px 0;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 21px;
  height: 2px;
  background: var(--cyan);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 160ms ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: var(--radius);
  padding: 3px;
  background: rgba(255, 255, 255, 0.12);
}

.site-header.is-scrolled .language-switch,
.site-header.is-open .language-switch {
  border-color: var(--line);
  background: #eef6fc;
}

.language-switch button {
  min-width: 42px;
  height: 34px;
  border: 0;
  border-radius: 6px;
  color: currentColor;
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.language-switch button.is-active {
  color: var(--blue);
  background: var(--white);
  box-shadow: 0 6px 14px rgba(10, 53, 93, 0.12);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 22px;
  font-weight: 700;
  line-height: 1;
}

.header-cta {
  color: var(--white);
  background: var(--blue);
}

.site-header:not(.is-scrolled):not(.is-open) .header-cta {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.42);
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 760px;
  color: var(--white);
  overflow: hidden;
}

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

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

.hero-shade {
  background:
    linear-gradient(90deg, rgba(4, 28, 56, 0.92) 0%, rgba(4, 37, 72, 0.74) 46%, rgba(4, 37, 72, 0.24) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 190px 0 92px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue-2);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #77e5f2;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(42px, 6vw, 82px);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  font-size: 22px;
  line-height: 1.25;
}

.hero-copy {
  max-width: 610px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 12px 22px rgba(7, 88, 168, 0.22);
}

.btn-primary:hover {
  background: #064b90;
}

.btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.12);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 150px));
  gap: 16px;
  margin: 72px 0 0;
}

.hero-stats div {
  border-left: 2px solid var(--cyan);
  padding-left: 18px;
}

.hero-stats dt {
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
}

.hero-stats dd {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 96px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-head.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  align-items: end;
  gap: 36px;
  max-width: none;
}

.section-head.split > p {
  margin-bottom: 4px;
  color: var(--muted);
}

.intro-grid,
.solution-grid,
.product-grid,
.timeline,
.case-grid {
  display: grid;
  gap: 22px;
}

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

.intro-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  background: var(--white);
}

.intro-grid .icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 28px;
  border-radius: 50%;
  color: var(--blue);
  background: #e8f3ff;
  font-weight: 700;
}

.intro-grid p,
.product-card p,
.timeline p,
.case-grid p {
  color: var(--muted);
}

.solutions {
  width: 100%;
  max-width: none;
  padding: 96px max(20px, calc((100vw - var(--max)) / 2));
  background: var(--soft);
}

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

.solution-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 35px rgba(10, 53, 93, 0.07);
}

.solution-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 28px;
  background: #edf5fb;
}

.solution-card div {
  padding: 28px;
}

.solution-card p,
.tag {
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.solution-card ul {
  margin: 20px 0 0;
  padding: 0 0 0 18px;
  color: var(--muted);
}

.solution-card.featured {
  border-color: rgba(7, 88, 168, 0.36);
  box-shadow: var(--shadow);
}

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

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 24px;
  background: #f7fafc;
}

.product-card div {
  padding: 24px;
}

.text-link {
  justify-self: start;
  color: var(--blue);
  font-weight: 700;
  border-bottom: 2px solid var(--cyan);
}

.process {
  border-top: 1px solid var(--line);
}

.timeline {
  grid-template-columns: repeat(4, 1fr);
  counter-reset: step;
}

.timeline article {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.timeline span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 26px;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue);
  font-weight: 700;
}

.cases {
  padding: 104px 20px;
  background: url("media/cases.jpg") center / cover no-repeat;
}

.cases-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
  color: var(--white);
}

.cases .section-head {
  margin-bottom: 34px;
}

.cases .eyebrow {
  color: #8df1ff;
}

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

.case-grid article {
  min-height: 190px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: var(--radius);
  padding: 28px;
  background: rgba(4, 38, 70, 0.7);
  backdrop-filter: blur(10px);
}

.case-grid p {
  color: rgba(255, 255, 255, 0.76);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.72fr);
  gap: 42px;
  border-radius: var(--radius);
  padding: clamp(28px, 5vw, 58px);
  background: #eef6fc;
}

.contact-copy p {
  color: var(--muted);
}

.contact-methods {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.contact-methods a {
  color: var(--blue);
  font-weight: 700;
}

.lead-form {
  display: grid;
  gap: 16px;
  border-radius: var(--radius);
  padding: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--white);
  outline: none;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--blue-2);
  box-shadow: 0 0 0 3px rgba(11, 119, 200, 0.12);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 34px;
  padding: 56px clamp(20px, 5vw, 72px) 34px;
  color: rgba(255, 255, 255, 0.78);
  background: #071e36;
}

.site-footer .brand {
  color: var(--white);
}

.site-footer p {
  max-width: 520px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px 28px;
  color: var(--white);
}

.copyright {
  grid-column: 1 / -1;
  margin: 24px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 24px;
  font-size: 13px;
}

.float-contact {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 12;
  display: grid;
  gap: 10px;
}

.float-contact a {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 14px 24px rgba(7, 88, 168, 0.24);
  font-weight: 700;
}

@media (max-width: 1020px) {
  .site-header {
    grid-template-columns: auto auto auto;
    justify-content: space-between;
    gap: 12px;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.16);
  }

  .site-header.is-scrolled .nav-toggle,
  .site-header.is-open .nav-toggle {
    background: #eaf3fb;
  }

  .nav-toggle span {
    width: 22px;
    height: 2px;
    margin: 3px 0;
    background: currentColor;
  }

  .site-nav {
    position: fixed;
    left: 20px;
    right: 20px;
    top: 82px;
    display: none;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 14px;
    color: var(--ink);
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 14px 10px;
  }

  .site-nav a::after,
  .header-cta {
    display: none;
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1;
  }

  .nav-toggle {
    grid-column: 3;
    grid-row: 1;
  }

  .section-head.split,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .intro-grid,
  .solution-grid,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 680px) {
  .site-header {
    min-height: 66px;
    padding: 0 16px;
  }

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

  .brand small {
    display: none;
  }

  .language-switch button {
    min-width: 36px;
  }

  .hero {
    min-height: 720px;
  }

  .hero-content {
    width: min(100% - 32px, var(--max));
    padding-top: 138px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    margin-top: 42px;
  }

  .section {
    width: min(100% - 32px, var(--max));
    padding: 72px 0;
  }

  .solutions {
    padding: 72px 16px;
  }

  .intro-grid,
  .solution-grid,
  .product-grid,
  .timeline,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .cases {
    padding: 72px 16px;
  }

  .contact-panel {
    padding: 22px;
  }

  .lead-form {
    padding: 18px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer nav {
    justify-content: flex-start;
  }

  .float-contact {
    right: 14px;
    bottom: 14px;
  }
}
