:root {
  --ink: #0d1720;
  --ink-2: #25313c;
  --muted: #6b7785;
  --line: rgba(18, 30, 42, 0.12);
  --panel: #ffffff;
  --soft: #f4f7f9;
  --soft-2: #e8eef2;
  --brand: #ff6a00;
  --brand-2: #00a6b4;
  --deep: #101923;
  --deep-2: #162635;
  --radius: 8px;
  --shadow: 0 18px 60px rgba(10, 24, 38, 0.14);
  --max: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
  line-height: 1.65;
}

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

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

button {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 36px rgba(9, 22, 35, 0.12);
  backdrop-filter: blur(16px);
}

.nav-shell {
  width: min(100%, var(--max));
  height: 76px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.site-header.is-scrolled .brand,
.site-header.is-scrolled .nav-links a {
  color: var(--ink);
}

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

.brand strong,
.brand small {
  display: block;
}

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

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #fff;
  font-size: 15px;
}

.nav-links a {
  position: relative;
  padding: 10px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.22s ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
  color: #fff;
}

.site-header.is-scrolled .nav-toggle span {
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 760px;
  padding: 160px 24px 80px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: end;
  gap: 40px;
  overflow: hidden;
  color: #fff;
}

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

.hero-video {
  object-fit: cover;
  background: var(--deep);
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(8, 17, 26, 0.88), rgba(8, 17, 26, 0.58) 48%, rgba(8, 17, 26, 0.82)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.36), rgba(0, 0, 0, 0.12) 40%, rgba(0, 0, 0, 0.6));
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(0deg, var(--soft), rgba(244, 247, 249, 0));
}

.hero-content,
.hero-panel {
  position: relative;
  z-index: 1;
}

.hero-content {
  width: min(720px, 100%);
  margin-left: max(0px, calc((100vw - var(--max)) / 2));
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 74px);
  line-height: 1.08;
  max-width: 760px;
}

.hero-copy {
  max-width: 660px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 14px 34px rgba(255, 106, 0, 0.24);
}

.btn.secondary {
  border-color: rgba(255, 255, 255, 0.34);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.contact .btn.secondary {
  border-color: var(--line);
  color: var(--ink);
  background: #fff;
}

.hero-panel {
  width: min(360px, calc(100vw - 48px));
  margin-right: max(0px, calc((100vw - var(--max)) / 2));
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(15, 26, 37, 0.68);
  backdrop-filter: blur(18px);
}

.hero-panel div {
  padding: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

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

.hero-panel span {
  display: block;
  color: var(--brand-2);
  font-size: 12px;
  font-weight: 800;
}

.hero-panel strong {
  display: block;
  margin-top: 4px;
  font-size: 18px;
}

.hero-panel p {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

main > section:not(.hero) {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 86px 24px;
}

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

.section-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.18;
}

.section-head.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 36px;
  align-items: end;
}

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

.capability-grid,
.solution-grid,
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.capability-grid article,
.solution-card,
.product-card,
.strength-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.capability-grid article {
  padding: 24px;
  min-height: 270px;
}

.capability-grid img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  margin-bottom: 20px;
}

.capability-grid h3,
.solution-card h3,
.product-card h3,
.strength-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.35;
}

.capability-grid p,
.solution-card p,
.product-card p,
.strength-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.solutions,
.products {
  border-top: 1px solid var(--line);
}

.solution-card,
.product-card {
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.solution-card:hover,
.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 106, 0, 0.38);
  box-shadow: var(--shadow);
}

.solution-card img,
.product-card img {
  width: 100%;
  height: 178px;
  object-fit: cover;
  background: var(--soft-2);
}

.solution-card .card-body,
.product-card .card-body {
  padding: 22px;
}

.card-meta {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--brand-2);
  font-size: 12px;
  font-weight: 800;
}

.card-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--brand);
  font-weight: 800;
}

.product-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -8px 0 26px;
}

.product-tabs button {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink-2);
  padding: 10px 16px;
  cursor: pointer;
}

.product-tabs button.is-active {
  color: #fff;
  background: var(--deep);
  border-color: var(--deep);
}

.strength-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 18px;
}

.strength-card {
  padding: 24px;
  overflow: hidden;
}

.strength-card.wide {
  grid-row: span 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 22px;
}

.strength-card img {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.strength-card.dark {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(0, 166, 180, 0.24), rgba(255, 106, 0, 0.12)),
    var(--deep);
}

.strength-card.dark h3,
.strength-card.dark p,
.strength-card.dark a {
  color: #fff;
}

.strength-card.dark a {
  display: inline-flex;
  margin-top: 18px;
  font-weight: 800;
}

.about {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 42px;
  align-items: center;
}

.about-media {
  min-height: 320px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(0, 166, 180, 0.1), rgba(255, 106, 0, 0.08)),
    #fff;
  border: 1px solid var(--line);
}

.about-media img {
  width: min(360px, 80%);
}

.about-copy h2,
.contact-card h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.2;
}

.about-copy p:not(.eyebrow),
.contact-card p {
  margin: 18px 0 0;
  color: var(--muted);
}

.contact {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: stretch;
}

.contact-card,
.contact-info {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  padding: 34px;
}

.contact-card {
  background:
    linear-gradient(135deg, rgba(0, 166, 180, 0.12), rgba(255, 106, 0, 0.1)),
    #fff;
}

.contact-info {
  display: grid;
  gap: 14px;
}

.contact-info div {
  padding: 18px;
  border-radius: var(--radius);
  background: var(--soft);
}

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

.contact-info strong {
  display: block;
  margin-top: 5px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.45;
}

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

.friend-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.friend-card {
  min-height: 170px;
  padding: 18px 14px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.friend-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 106, 0, 0.34);
  box-shadow: var(--shadow);
}

.friend-card img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  border-radius: 6px;
}

.friend-card span {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.site-footer {
  padding: 28px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255, 255, 255, 0.72);
  background: var(--deep);
}

.site-footer strong {
  display: block;
  color: #fff;
}

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

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
}

.modal.is-open {
  display: block;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 12, 18, 0.72);
}

.modal-panel {
  position: absolute;
  inset: 6vh max(24px, calc((100vw - 1120px) / 2));
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.36);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.modal-body {
  height: 100%;
  display: grid;
  grid-template-columns: 42% 58%;
}

.modal-media {
  background: var(--soft-2);
  display: grid;
  place-items: center;
  padding: 28px;
}

.modal-media img {
  max-height: 72vh;
  object-fit: contain;
}

.modal-content {
  overflow: auto;
  padding: 46px;
}

.modal-content h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.18;
}

.modal-content #modalDetail {
  color: var(--ink-2);
}

.modal-content #modalDetail h1 {
  margin: 26px 0 8px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.35;
}

.modal-content #modalDetail img {
  margin: 18px 0;
  border-radius: var(--radius);
  background: var(--soft);
}

.modal-content .combination-list {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.modal-content .combination-list img {
  width: 50%;
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 720px;
  }

  .hero-content,
  .hero-panel {
    margin-left: 0;
    margin-right: 0;
  }

  .hero-panel {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-panel div {
    border-bottom: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
  }

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

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

@media (max-width: 820px) {
  .nav-shell {
    height: 68px;
  }

  .brand {
    color: var(--ink);
  }

  .site-header {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 28px rgba(9, 22, 35, 0.1);
  }

  .nav-toggle {
    display: block;
    color: var(--ink);
    border-color: var(--line);
    background: #fff;
  }

  .nav-toggle span {
    color: var(--ink);
  }

  .nav-links {
    position: fixed;
    top: 68px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 14px 10px;
    border-bottom: 1px solid var(--line);
  }

  .nav-links a:last-child {
    border-bottom: 0;
  }

  .hero {
    min-height: auto;
    padding: 118px 18px 58px;
  }

  .hero h1 {
    font-size: 38px;
  }

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

  .hero-panel {
    grid-template-columns: 1fr;
  }

  .hero-panel div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  main > section:not(.hero) {
    padding: 58px 18px;
  }

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

  .capability-grid,
  .solution-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

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

  .capability-grid article {
    min-height: auto;
  }

  .solution-card img,
  .product-card img {
    height: 210px;
  }

  .modal-panel {
    inset: 20px;
  }

  .modal-body {
    grid-template-columns: 1fr;
    overflow: auto;
  }

  .modal-media {
    min-height: 240px;
  }

  .modal-media img {
    max-height: 260px;
  }

  .modal-content {
    overflow: visible;
    padding: 28px 22px 34px;
  }

  .modal-content .combination-list {
    flex-direction: column;
  }

  .modal-content .combination-list img {
    width: 100%;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .brand img {
    width: 36px;
    height: 36px;
  }

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

  .hero h1 {
    font-size: 32px;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .solution-card img,
  .product-card img {
    height: 180px;
  }

  .contact-card,
  .contact-info {
    padding: 24px;
  }

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