/*
 * site-common.css — AI VCS 全站公共层
 * 来源：蓝湖图层数据（.lanhu-tool/*.design.json）
 * 包含：字体 / 设计 Token / Reset / 版心 / 头尾 / Page Banner / CTA / 分页 / 视频卡交互层
 * 页面专属样式写在各页内联 <style>
 */

/* ===== Fonts（自托管 @fontsource woff2）===== */
@font-face {
  font-family: 'Space Grotesk';
  src: url('../font/webfonts/space-grotesk-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-display: swap
}

@font-face {
  font-family: 'Space Grotesk';
  src: url('../font/webfonts/space-grotesk-latin-500-normal.woff2') format('woff2');
  font-weight: 500;
  font-display: swap
}

@font-face {
  font-family: 'Inter';
  src: url('../font/webfonts/inter-latin-300-normal.woff2') format('woff2');
  font-weight: 300;
  font-display: swap
}

@font-face {
  font-family: 'Inter';
  src: url('../font/webfonts/inter-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-display: swap
}

@font-face {
  font-family: 'Inter';
  src: url('../font/webfonts/inter-latin-500-normal.woff2') format('woff2');
  font-weight: 500;
  font-display: swap
}

@font-face {
  font-family: 'Inter';
  src: url('../font/webfonts/inter-latin-600-normal.woff2') format('woff2');
  font-weight: 600;
  font-display: swap
}

@font-face {
  font-family: 'Poppins';
  src: url('../font/webfonts/poppins-latin-300-normal.woff2') format('woff2');
  font-weight: 300;
  font-display: swap
}

@font-face {
  font-family: 'Poppins';
  src: url('../font/webfonts/poppins-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-display: swap
}

@font-face {
  font-family: 'Poppins';
  src: url('../font/webfonts/poppins-latin-600-normal.woff2') format('woff2');
  font-weight: 600;
  font-display: swap
}
 
/* ===== Design Tokens ===== */
:root {
  --bg: #02090A;
  --cyan: #00EEFF;
  --cyan-deep: #00D8FF;
  --red: #FF3131;
  --white: #fff;
  --panel: #1C1C1C;
  /* 内页卡片底 */
  --panel-2: #262829;
  /* 侧栏/表单容器底 */
  --pill-bg: rgba(0, 216, 255, .15);
  --card-r: 10px;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-alt: 'Poppins', sans-serif;
  --max: 1200px;
}

/* ===== Reset / Global ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  overflow-x: clip
}

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  overflow-x: clip
}

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

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

ul {
  list-style: none
}

button {
  font-family: inherit
}

.container {
  width: min(var(--max), 92%);
  margin: 0 auto;
  position: relative
}

.img_box {
  display: block;
  overflow: hidden
}

.img_box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease
}

.img_box:hover img {
  transform: scale(1.05)
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0)
}

/* 揭示动画（common.js IntersectionObserver 驱动） */
.wow {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .8s ease, transform .8s ease
}

.wow.animated {
  opacity: 1;
  transform: none
}

/* ===== Header ===== */
.site-header {
  position: relative;
  z-index: 50;
  background: var(--bg)
}

.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../../images/header-bg.png') center/cover no-repeat;
  opacity: .55;
  pointer-events: none
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 100px
}

.site-logo img {
  width: 190px;
  height: auto
}


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

.site-nav li {
  position: relative;
}

.site-nav .nav-one a,
.site-nav .nav-one .nav-parent {
  font-family: var(--font-display);
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: .3px;
  transition: color .3s
}

.site-nav .nav-one a:hover,
.site-nav .nav-one a.active,
.site-nav .nav-one .nav-parent:hover,
.site-nav .nav-one .nav-parent.active {
  color: var(--cyan)
}

.site-nav .nav-one .nav-parent {
  appearance: none;
  -webkit-appearance: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  cursor: default;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--white)
}

/* ===== Page Banner（内页通用：大标题 + 配图背景）===== */
.page-banner {
  position: relative;
  display: flex;
  min-height: 360px
}

.page-banner .banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center
}

/* .page-banner .banner-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .55))
} */

.page-banner .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2
}


.page-banner h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 50px;
  text-transform: lowercase; 
  letter-spacing: .5px
}

.page-banner h1::first-letter {
  text-transform: uppercase; 
}

/* ===== Automatic Breadcrumb（独立显示在 Banner 下方）===== */
.page-breadcrumb {
  position: relative;
  z-index: 3;
  background: #031012;
  border-top: 1px solid rgba(255, 255, 255, .06);
  border-bottom: 1px solid rgba(255, 255, 255, .08)
}

.page-breadcrumb .container {
  min-height: 58px;
  display: flex;
  align-items: center
}

.page-breadcrumb ol {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 15px 0;
  list-style: none;
  font-size: 14px;
  line-height: 1.7
}

.page-breadcrumb li {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  color: rgba(255, 255, 255, .72)
}

.page-breadcrumb li + li::before {
  content: '/';
  flex: 0 0 auto;
  margin: 0 11px;
  color: rgba(255, 255, 255, .32)
}

.page-breadcrumb a {
  color: var(--cyan);
  transition: opacity .2s ease
}

.page-breadcrumb a:hover {
  opacity: .78
}

.page-breadcrumb li[aria-current='page'] {
  color: rgba(255, 255, 255, .9)
}

/* ===== 通用 overview 标题组 ===== */
.mod-overview {
  display: flex;
  flex-direction: column;
  gap: 18px
}

.mod-overview .titles {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 48px;
  line-height: 1.26; 
}

 

.mod-overview .texts {
  font-size: 24px;
  font-weight: 400; 
    text-transform: lowercase; 
}
.mod-overview .texts::first-letter {
  text-transform: uppercase; 
}

/* ===== CTA 大区块（全站复用）===== */
.cta-strip {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
  background-color: linear-gradient(180deg, #02090A 0%, #04222b 70%, #052e39 100%);
  background-size: cover;
  background-position: center;

}

/* .cta-strip::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 140px;
  background: url('../../images/common/cta-wave.png') bottom center/cover no-repeat;
  pointer-events: none
} */

.cta-strip .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2
}

.cta-strip h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 50px;
  text-transform: capitalize;
  text-align: center
}

.cta-strip .keys {
  margin-top: 18px;
  font-size: 24px;
  font-weight: 400;
  text-align: center
}

.cta-strip .btns-row {
  display: flex;
  gap: 24px;
  margin-top: 56px;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 2
}

.cta-strip .btns-row .btn-solid {
    min-width: 195px;
}

.btn-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 50px;
  padding: 0 30px;
  border-radius: 6px;
  font-size: 17px;
  font-weight: 500;
  color: #000;
  transition: transform .3s, box-shadow .3s
}

.btn-solid:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 238, 255, .25)
}

.btn-solid.cyan {
  background: var(--cyan)
}

.btn-solid.white {
  background: var(--white)
}

.btn-solid svg {
  width: 20px;
  height: 13px
}

/* ===== 分页 ===== */
.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin: 64px 0 0;
  font-size: 18px
}

.pager a {
  opacity: .85;
  transition: color .3s
}

.pager a:hover {
  color: var(--cyan)
}

.pager .cur {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 5px
}

.pager .arr {
  font-size: 32px;
  line-height: 1
}

/* ===== Footer ===== */
.site-footer {
  background: #000
}

.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 108px 0 36px
}

.footer-brand {
  display: flex;
  flex-direction: column;
  max-width: 442px
}

.footer-brand .logo img {
  width: 216px
}

.footer-brand .desc {
  margin-top: 18px;
  font-size: 16px;
  font-weight: 300;
  line-height: 26px
}

.footer-social {
  display: flex;
  gap: 8px;
  margin-top: 62px
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 39px;
  height: 39px;
  border-radius: 4px;
  background: #1A525D;
  transition: background .3s
}

.footer-social a:hover {
  background: #00A8BD
}

.footer-social img {
  width: 18px;
  height: 16px;
  object-fit: contain
}

.footer-col {
  display: flex;
  flex-direction: column
}

.footer-col h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 26px;
  margin-bottom: 28px
}

.footer-col ul {
  display: flex;
  flex-direction: column
}

.footer-col ul a,
.footer-col ul .footer-static-link {
  font-family: var(--font-alt);
  font-weight: 300;
  font-size: 16px;
  line-height: 36.6px;
  transition: color .3s
}

.footer-col ul a:hover {
  color: var(--cyan)
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 16px;
  font-weight: 300;
  line-height: 20px;
  padding: 10px 0;
  max-width: 288px
}

.footer-contact li img {
  width: 14px;
  height: 14px;
  margin-top: 3px;
  flex-shrink: 0
}

.footer-contact a{
    line-height: revert !important;
}

.footer-bottom {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70px;
  font-family: var(--font-alt);
  font-size: 14px
}

.footer-bottom::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none
}

.footer-bottom span {
  position: relative
}

/* ===== 视频卡交互层（悬停预览 + 点击弹窗，common.js 驱动）===== */
[data-video] {
  cursor: pointer
}

.video-embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity .35s ease
}

.video-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: #000
}

.playing .video-embed.live {
  opacity: 1
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center
}

.video-modal[hidden] {
  display: none
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 4, 5, .86);
  backdrop-filter: blur(6px)
}

.video-modal-box {
  position: relative;
  width: min(1170px, 92vw);
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 80px rgba(0, 238, 255, .12), 0 10px 40px rgba(0, 0, 0, .6)
}

.video-modal-box iframe {
  width: 100%;
  height: 100%;
  border: 0
}

.video-modal-close {
  position: absolute;
  right: 0;
  top: -52px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--cyan-deep);
  border-radius: 50%;
  background: rgba(0, 216, 255, .12);
  color: var(--cyan);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background .3s
}

.video-modal-close:hover {
  background: rgba(0, 216, 255, .3)
}

.video-modal-wrap {
  position: relative
}




.nav-one {
  position: relative;
}

.nav-two {
  position: absolute;
  left: 0;
  top: 100%; 
  padding-top: 10px;
  display: none;
}

.nav-two div {
  background: #000;
  /*border-left: 2px solid var(--cyan);*/
  box-shadow: rgba(255, 255, 255, 0.12) 0px 0px 12px;
  border-radius: 6px;
  padding: 5px 0;

}
.nav-case .nav-two div {
      min-width: 230px;
}

.nav-two a img{
    width: 28px;
    height: auto;
    margin-right: 10px;
}

.nav-two a {
  white-space: nowrap;
  font-size: 16px;
  color: #fff;
  padding: 14px 30px; 
  transition: ease-out .2s;
  display: block;
}

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

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




/* ===== Responsive（公共部分）===== */
@media (max-width:1680px) {
  .mod-overview .titles {
    font-size: clamp(30px, 2.5vw, 48px)
  }

  .page-banner h1 {
    font-size: clamp(32px, 2.6vw, 50px)
  }

  .cta-strip h2 {
    font-size: clamp(30px, 2.6vw, 50px)
  }
}

@media (max-width:1200px) {
  .site-header .container {
    min-height: 96px
  }

  .site-nav ul {
    gap: 28px
  }

  .site-nav .nav-one a,
  .site-nav .nav-one .nav-parent {
    font-size: 17px
  }

  .footer-main {
    flex-wrap: wrap
  }
 
  .cta-strip {
    padding: 90px 0
  }

  .cta-strip .keys {
    font-size: 19px
  }
}

@media (max-width:992px) {
    
    .nav-two a img{
        display:none;
    }
    
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #04161A;
    padding: 12px 0;
    z-index: 60
  }

  .site-nav.open {
    display: flex
  }

  .site-nav .nav-one a,
  .site-nav .nav-one .nav-parent {
    padding: 14px 6%;
    width: 100%
  }

  .nav-toggle {
    display: flex
  }

  .footer-main {
    flex-direction: column;
    gap: 24px;
    padding: 70px 0 40px
  }

  .footer-social {
    margin-top: 28px
  }

  .footer-col h4 {
    margin-bottom: 12px
  }




  .site-nav {
    position: fixed;
    left: -101%;
    top: 0;
    width: 60%;
    height: 100vh;
    background: #000;
    display: block;
    padding: 40px 0;
    transition: ease-out .36s;
    z-index: 999;
  }

  .site-nav.on {
    left: 0;
  }

  .site-nav ul {
    display: block;
  }

  .nav-toggle {
    transition: .36s;
  }

  .nav-toggle.on {
    transform: rotate(90deg);
  }

  .nav-modal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .5);
    display: none;
    z-index: 888;
  }

  .site-nav li {
    margin: 0;
  }

  .site-nav .nav-one {
    padding-left: 0;
    padding-right: 0;
    display: flex;
    align-items: center;
  }

  .site-nav .nav-one a,
  .site-nav .nav-one .nav-parent {
    font-size: 18px;
    cursor: pointer;
    line-height: 1.6;
    flex: 1;
    padding-right: 30px;
    padding-bottom: 8px;
    padding-top: 8px;
  }

  .site-nav .nav-one .nav-submenu-toggle {
    position: relative;
    right: 0;
    top: 0;
    transform: translateY(0) rotate(-90deg);
    padding: 18px;

    background-image: url("data:image/svg+xml,%3Csvg t='1784021328154' class='icon' viewBox='0 0 1024 1024' version='1.1' xmlns='http://www.w3.org/2000/svg' p-id='5128' width='20' height='20'%3E%3Cpath d='M512 657.28l377.6-377.6a40.32 40.32 0 0 1 58.24 0 41.6 41.6 0 0 1 0 58.24l-406.4 406.4a40.32 40.32 0 0 1-58.24 0L76.16 337.92A40.32 40.32 0 0 1 64 308.48a39.04 39.04 0 0 1 12.16-28.8 41.6 41.6 0 0 1 58.24 0z' fill='%23ffffff' p-id='5129'%3E%3C/path%3E%3C/svg%3E");
    background-size: 20px auto;
    background-position: center;
    background-repeat: no-repeat;

    transition: ease-out .36s;
    display: block;
  }

  .site-nav .nav-one .nav-submenu-toggle.on {
    transform: translateY(0) rotate(0);
  }

  .site-nav .nav-one .nav-submenu-toggle img {
    width: 22px;
  }


  .site-nav li .nav-two {
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    transform: translateX(0);
    padding: 10px 0;
    background: rgba(255, 255, 255, .12);
    border-radius: 0;
    display: none;
    box-shadow: none;
  }

  .site-nav li .nav-two a {
    font-size: 16px;
    padding: 0 40px;
    text-align: left;
    border-bottom: none;
    padding: 5px 0;
    white-space: wrap;
    line-height: 1.5;
  }

  .site-nav .nav-two div {
    background: none;
    box-shadow: none;
    padding: 0 25px;
    border-left: none;
  }

  .site-nav .nav-one a::after {
    display: none;
  }

  .site-nav_modal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .5);
    display: none;
    z-index: 888;
  }

  /* .site-nav_icon {
    display: block;
    margin-left: auto;
    transition: ease-out .36s;
    position: relative;
    padding: .5rem;
  }

  .site-nav_icon img {
    width: 2.5rem;
    transition: ease-out .36s;
  }

  .site-nav_icon2 {
    transform: rotate(90deg);
  } */
}

@media (max-width:768px) {
  .page-breadcrumb .container {
    min-height: 50px
  }

  .page-breadcrumb ol {
    padding: 12px 0;
    font-size: 13px
  }

  .page-breadcrumb li + li::before {
    margin: 0 8px
  }

  .site-logo img {
    width: 150px
  }

  .page-banner {
    min-height: 300px
  }

  .mod-overview .texts {
    font-size: 17px
  }

  .cta-strip {
    padding: 64px 0
  }

  .cta-strip .keys {
    font-size: 15px
  }

  .cta-strip .btns-row {
    margin-top: 32px;
    gap: 14px
  }

  .btn-solid {
    height: 44px;
    padding: 0 20px;
    font-size: 15px
  }

  .footer-bottom {
    font-size: 12px;
    min-height: 70px
  }


}