/* =========================================================
   style.css
   已重新格式化，方便手动修改。

   常用颜色在 :root 里修改：
   --blue  主蓝色
   --blue2 渐变蓝
   --cyan  科技青色
========================================================= */

:root {
  --blue: #0c63ff;
  --blue2: #00a3ff;
  --cyan: #21d4fd;
  --dark: #071427;
  --dark2: #0b1d36;
  --text: #26364d;
  --muted: #6b7a90;
  --line: #e5ebf3;
  --soft: #f5f8fc;
  --white: #fff;
  --shadow: 0 20px 50px rgba(7, 20, 39, .10);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  line-height: 1.75;
}

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

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

.container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

.section-soft, .news-home {
  background: var(--soft);
}

.section-dark {
  color: rgba(255, 255, 255, .78);
  background: radial-gradient(circle at 78% 18%, rgba(33, 212, 253, .24), transparent 30%), linear-gradient(135deg, #071427, #0b1d36 55%, #071427);
}

.section-dark h2, .section-dark h3 {
  color: #fff;
}

.eyebrow, .section-head p {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.section-dark .eyebrow {
  color: var(--cyan);
}

.section-head {
  text-align: center;
  margin-bottom: 42px;
}

.section-head.row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  text-align: left;
}

.section-head h2 {
  margin: 0 0 10px;
  color: var(--dark);
  font-size: 38px;
  line-height: 1.22;
}

.section-head span {
  color: var(--muted);
  display: inline-block;
  max-width: 740px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 99;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(229, 235, 243, .85);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--dark);
  font-size: 21px;
  font-weight: 900;
  white-space: nowrap;
}

.logo img {
  width: auto;
  height: 52px;
  max-width: 220px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #22324a;
  font-size: 15px;
}

.nav a {
  position: relative;
  padding: 27px 0;
}

.nav a:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 19px;
  width: 0;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transition: .2s;
}

.nav a:hover, .nav a.active {
  color: var(--blue);
}

.nav a:hover:after, .nav a.active:after {
  width: 100%;
}

.nav .lang {
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 99px;
}

.nav .lang:after {
  display: none;
}

.menu-btn {
  display: none;
  border: 0;
  background: transparent;
  width: 42px;
  height: 42px;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  height: 2px;
  margin: 7px 0;
  background: var(--dark);
}

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  overflow: hidden;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 70% 15%, rgba(12, 99, 255, .20), transparent 28%), radial-gradient(circle at 18% 22%, rgba(33, 212, 253, .16), transparent 28%), linear-gradient(135deg, #f8fbff 0%, #eef5ff 45%, #fff 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: .38;
  background-image: linear-gradient(rgba(12, 99, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(12, 99, 255, .08) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 58px;
  padding: 70px 0;
}

.hero h1 {
  margin: 0;
  color: var(--dark);
  font-size: clamp(44px, 6vw, 70px);
  line-height: 1.12;
  letter-spacing: -1.6px;
}

.hero-desc {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 0;
}

.hero-tags span {
  padding: 8px 14px;
  border: 1px solid rgba(12, 99, 255, .16);
  border-radius: 999px;
  color: var(--blue);
  background: rgba(255, 255, 255, .8);
  font-weight: 700;
  font-size: 14px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 25px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  font-size: 15px;
  transition: .2s;
}

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

.btn.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue2));
  box-shadow: 0 16px 32px rgba(12, 99, 255, .26);
}

.btn.ghost {
  color: var(--blue);
  background: #fff;
  border: 1px solid var(--line);
}

.btn.full {
  width: 100%;
}

.hero-visual, .image-panel {
  padding: 28px;
  border-radius: 36px;
  background: rgba(255, 255, 255, .72);
  box-shadow: var(--shadow);
}

.image-panel.soft {
  background: var(--soft);
}

.sub-hero {
  position: relative;
  overflow: hidden;
  padding: 112px 0;
  color: #fff;
  background: radial-gradient(circle at 75% 20%, rgba(33, 212, 253, .24), transparent 28%), linear-gradient(135deg, #071427, #0b3263 70%, #071427);
}

.sub-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: .55;
}

.sub-hero .container {
  position: relative;
  z-index: 1;
}

.sub-hero h1 {
  margin: 0;
  font-size: 46px;
  line-height: 1.2;
}

.sub-hero p {
  margin: 10px 0 0;
  font-size: 18px;
  color: rgba(255, 255, 255, .7);
  letter-spacing: 1px;
}

.family-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.family-card {
  position: relative;
  min-height: 420px;
  padding: 42px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.family-card.dark {
  color: rgba(255, 255, 255, .82);
  background: radial-gradient(circle at 80% 20%, rgba(33, 212, 253, .22), transparent 32%), linear-gradient(135deg, #071427, #0b3263);
}

.family-card.light {
  color: var(--text);
  background: linear-gradient(135deg, #fff, #edf6ff);
  border: 1px solid var(--line);
}

.family-card b {
  color: var(--cyan);
  font-size: 42px;
  line-height: 1;
  font-weight: 900;
}

.family-card.light b {
  color: var(--blue);
}

.family-card h3 {
  margin: 18px 0 14px;
  color: inherit;
  font-size: 28px;
}

.family-card.dark h3 {
  color: #fff;
}

.family-card ul {
  margin: 24px 0;
  padding-left: 20px;
}

.family-card span {
  color: var(--cyan);
  font-weight: 900;
}

.family-card.light span {
  color: var(--blue);
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
}

.split-grid h2 {
  margin: 0 0 18px;
  color: var(--dark);
  font-size: 38px;
  line-height: 1.25;
}

.section-dark .split-grid h2 {
  color: #fff;
}

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

.stat-grid div {
  padding: 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .10);
}

.stat-grid strong {
  display: block;
  color: var(--cyan);
  font-size: 34px;
  line-height: 1;
}

.stat-grid span {
  display: block;
  margin-top: 8px;
  font-size: 14px;
}

.app-grid, .product-grid, .solution-grid, .news-grid, .culture-grid, .diagram-grid {
  display: grid;
  gap: 24px;
}

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

.app-grid a, .product-card, .solution-grid article, .news-grid article, .news-list article, .culture-grid div, .diagram-card, .job-list article, .contact-cards div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  transition: .22s;
}

.app-grid a:hover, .product-card:hover, .solution-grid article:hover, .news-grid article:hover, .diagram-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px rgba(7, 20, 39, .13);
}

.app-grid a, .product-card, .solution-grid article, .news-grid article, .news-list article, .culture-grid div, .job-list article, .contact-cards div {
  padding: 28px;
}

.app-grid span, .solution-grid span {
  display: inline-flex;
  padding: 5px 11px;
  margin-bottom: 20px;
  border-radius: 99px;
  color: var(--blue);
  background: rgba(12, 99, 255, .08);
  font-size: 12px;
  font-weight: 900;
}

h3 {
  color: var(--dark);
}

.app-grid h3, .product-card h3, .solution-grid h3, .news-grid h3, .diagram-card h3 {
  margin: 0 0 12px;
  font-size: 20px;
}

.app-grid p, .product-card p, .solution-grid p, .news-grid p, .diagram-card p {
  margin: 0;
  color: var(--muted);
}

.text-link {
  color: var(--blue);
  font-weight: 900;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.filter-bar button {
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 10px 18px;
  background: #fff;
  cursor: pointer;
  font-weight: 800;
  color: var(--text);
}

.filter-bar button.active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--blue), var(--blue2));
}

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

.product-card {
  min-height: 310px;
}

.chip-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--blue), var(--blue2));
  position: relative;
  box-shadow: inset 0 0 0 8px rgba(255, 255, 255, .18);
}

.chip-icon:before, .chip-icon:after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 2px solid rgba(255, 255, 255, .75);
  border-radius: 7px;
}

.product-card .spec {
  color: var(--dark);
  font-weight: 900;
}

.product-card .rate {
  color: var(--blue);
  font-weight: 900;
}

.product-card a {
  display: inline-block;
  margin-top: 18px;
  color: var(--blue);
  font-weight: 900;
}

.cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

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

.diagram-card {
  overflow: hidden;
  padding: 0;
}

.diagram-card img {
  width: 100%;
  background: #eef6ff;
}

.diagram-card h3, .diagram-card p {
  padding-left: 22px;
  padding-right: 22px;
}

.diagram-card h3 {
  padding-top: 22px;
}

.diagram-card p {
  padding-bottom: 24px;
}

.timeline {
  position: relative;
  display: grid;
  gap: 22px;
  max-width: 880px;
  margin: 0 auto;
}

.timeline:before {
  content: "";
  position: absolute;
  left: 22px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--line);
}

.timeline div {
  position: relative;
  padding: 24px 28px 24px 74px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.timeline div:before {
  content: "";
  position: absolute;
  left: 13px;
  top: 32px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue2));
  box-shadow: 0 0 0 7px rgba(12, 99, 255, .12);
}

.timeline b {
  display: block;
  color: var(--blue);
  font-size: 28px;
}

.culture-grid {
  grid-template-columns: repeat(2, 1fr);
  max-width: 820px;
  margin: 0 auto;
}

.culture-grid span {
  display: block;
  color: var(--blue);
  font-size: 38px;
  font-weight: 900;
}

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

.news-grid time, .news-list time {
  color: var(--blue);
  font-weight: 900;
}

.news-list {
  display: grid;
  gap: 22px;
}

.news-list h3 {
  margin: 10px 0;
  color: var(--dark);
  font-size: 23px;
}

.job-list {
  display: grid;
  gap: 22px;
}

.job-list h3 {
  margin: 0 0 8px;
  color: var(--dark);
}

.job-list p {
  margin: 0 0 14px;
  color: var(--blue);
  font-weight: 900;
}

.career-note {
  margin-top: 28px;
  padding: 22px;
  border-radius: var(--radius);
  color: var(--blue);
  background: rgba(12, 99, 255, .08);
  font-weight: 900;
}

.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 46px;
  align-items: start;
}

.contact-cards {
  display: grid;
  gap: 18px;
}

.contact-cards b, .contact-cards span {
  display: block;
}

.contact-cards b {
  color: var(--dark);
  font-size: 18px;
  margin-bottom: 10px;
}

.contact-cards span {
  color: var(--muted);
}

.contact-form {
  padding: 34px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.contact-form h2 {
  margin: 0 0 24px;
  color: var(--dark);
}

.contact-form label {
  display: block;
  margin-bottom: 17px;
  color: var(--dark);
  font-weight: 900;
}

.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  margin-top: 7px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  background: #f7faff;
  color: var(--text);
  font: inherit;
}

.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(12, 99, 255, .12);
}

.form-tip {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--blue);
  font-size: 14px;
  text-align: center;
}

.map-section {
  padding: 0 0 90px;
}

.map-card {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 32px;
  align-items: center;
  padding: 30px;
  border-radius: 28px;
  background: var(--soft);
  border: 1px solid var(--line);
}

.site-footer {
  color: rgba(255, 255, 255, .72);
  background: #071427;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr .7fr .8fr 1fr;
  gap: 38px;
  padding: 54px 0;
}

.footer-brand img {
  width: 46px;
  margin-bottom: 14px;
}

.site-footer h3, .site-footer h4 {
  margin: 0 0 14px;
  color: #fff;
}

.site-footer a, .site-footer p {
  display: block;
  margin: 0 0 8px;
}

.site-footer a:hover {
  color: #fff;
}

.copyright {
  padding: 18px 20px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  text-align: center;
  font-size: 14px;
}


/* -----------------------------
   响应式布局
----------------------------- */
@media(max-width:1060px) {

  .nav {
    gap: 16px;
    font-size: 14px;
  }

  .hero-grid, .split-grid, .contact-grid, .map-card {
    grid-template-columns: 1fr;
  }

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

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

  .hero {
    min-height: auto;
  }
}


/* -----------------------------
   响应式布局
----------------------------- */
@media(max-width:820px) {

  .section {
    padding: 68px 0;
  }

  .menu-btn {
    display: block;
  }

  .nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 78px;
    display: none;
    padding: 12px;
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: grid;
    gap: 0;
  }

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

  .nav a:after {
    display: none;
  }

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

  .family-grid, .solution-grid, .diagram-grid, .news-grid, .culture-grid, .stat-grid {
    grid-template-columns: 1fr;
  }

  .section-head.row {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .cta-row {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* -----------------------------
   响应式布局
----------------------------- */
@media(max-width:560px) {

  .container {
    width: min(100% - 28px, 1200px);
  }

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

  .sub-hero {
    padding: 82px 0;
  }

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

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

  .btn {
    width: 100%;
  }

  .app-grid, .product-grid, .footer-main {
    grid-template-columns: 1fr;
  }

  .family-card {
    padding: 30px;
  }
}

.footer-brand img {
  width: 220px;
  height: auto;
  max-height: 80px;
  object-fit: contain;
  display: block;
  margin-bottom: 16px;
  background: #fff;
  padding: 10px 14px;
  border-radius: 8px;
}


/* 顶部 Logo：适合横向公司 Logo */
.logo img {
  width: auto;
  height: 52px;
  max-width: 220px;
  object-fit: contain;
}

/* 顶部导航高度同步加高 */
.nav-wrap {
  height: 88px;
}

/* 底部 Logo */
.footer-brand img {
  width: 220px;
  height: auto;
  max-height: 80px;
  object-fit: contain;
  display: block;
  margin-bottom: 16px;
  background: #fff;
  padding: 10px 14px;
  border-radius: 8px;
}

/* 手机端稍微缩小 */
@media(max-width:560px) {
  .logo img {
    height: 42px;
    max-width: 170px;
  }

  .footer-brand img {
    width: 180px;
  }
}



.hero-visual {
  padding: 0;
  border-radius: 36px;
  background: transparent;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-visual img {
  width: 100%;
  height: auto;
  display: block;
}

/* 联系我们：联系方式 + 地图左右对称 */
.contact-grid {
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

/* 右侧地图卡片 */
.contact-map-card {
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

/* 地图图片填满右侧卡片 */
.contact-map-card img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  display: block;
  object-fit: cover;
}

/* 左侧联系方式撑满高度 */
.contact-cards {
  height: 100%;
}

/* 手机端上下排列 */
@media(max-width:1060px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-map-card img {
    height: auto;
    min-height: 0;
  }
}
