/* 基础与全局 */
body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #f7fafd;
  color: #222;
  line-height: 1.7;
  max-width: 100%;
  overflow-x: hidden;
}

body a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

body a:hover {
  color: #1769fa;
}

/* 顶部导航 - 优化大屏显示 */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  padding: 0 40px;
  height: 72px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  position: sticky;
  top: 0;
  z-index: 100;
  max-width: 100%;
}

.navbar .nav-left,
.navbar .nav-right {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.navbar .nav-left {
  flex: 1;
  min-width: 0;
}

.navbar .logo,
.navbar .logo img {
  height: 48px;
}

.navbar nav {
  display: flex;
  align-items: center;
  margin: 0 30px;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
}

.navbar nav a {
  margin: 0 14px;
  color: rgba(128, 136, 145, 1);
  font-size: 18px;
  text-align: center;
  font-family: PingFangSC-Regular;
  padding: 4px 0;
  position: relative;
  transition: color 0.2s;
}

@media (max-width: 1300px) {
  .navbar nav a {
    font-size: 14px;
  }
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 10px 15px;
  text-decoration: none;
  color: #333;
}

.nav-link.active::after {
  bottom: -5px;
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  background: #0858AB;
  border-radius: 8px;
  display: block;
  z-index: 2;
}

.navbar nav a.active,
.navbar nav a:focus {
  color: #0858AB;
  font-weight: bold;
  font-family: PingFangSC-Semibold;
}

.navbar nav a:hover:not(.active) {
  color: #0858AB;
}

.navbar .slogan {
  color: rgba(16, 54, 122, 1);
  font-size: 20px;
  text-align: center;
  font-family: PingFangSC-Medium;
  margin-right: 20px;
}

.navbar .nav-actions .dev-btn {
  color: #1377DF;
  border: #1377DF 1px solid;
  padding: 8px 18px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s;
}

/* 主视觉区 */
.hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: relative;
}

.hero img {
  width: 100%;
}

.hero .hero-content {
  position: absolute;
  bottom: 50%;
  left: 7%;
  box-sizing: border-box;
}

.hero .hero-content h1 {
  font-family: PingFangSC-Semibold;
  font-size: 50px;
  color: #FFFFFF;
  letter-spacing: 1px;
  margin-bottom: 0px;
  margin-top: 140px;
}

.hero .hero-content p {
  font-size: 20px;
  color: #fff;
  font-family: PingFangSC-Regular;
  margin: 10px 0 40px 0;
}

.hero .hero-content p span {
  margin-right: 14px;
}

.hero .hero-content .cta-btn {
  background: #fff;
  color: #1077e0;
  padding: 14px 48px;
  border-radius: 4px;
  font-size: 16px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(23, 105, 250, 0.08);
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  display: inline-block;
}

.hero .hero-content .cta-btn:hover {
  background: #1077e0;
  color: #fff;
}

.hero .hero-content .cta-btn.small {
  font-size: 14px;
  padding: 8px 20px;
  margin-top: 10px;
}

/* 解决方案 - 优化大屏显示 */
.solution {
  padding: 56px 5% 90px;
  text-align: center;
  max-width: 100%;
  background-color: #fff;
}

.solution h1 {
  font-size: 36px;
  font-family: PingFangSC-Semibold;
}

.solution .solution-desc {
  line-height: 22px;
  color: rgba(128, 136, 145, 1);
  font-size: 16px;
  text-align: center;
  font-family: PingFangSC-Regular;
  display: block;
  margin: -12px 0 35px 0;
}

.solution .solution-tabs {
  display: flex;
  margin: 0 auto 80px auto;
  background: #F0F7FE;
  width: 560px;
  box-shadow: none;
  border: none;
  justify-content: center;
  position: relative;
}

.solution .solution-tabs button {
  flex: 1;
  height: 48px;
  font-size: 18px;
  color: #4E5966;
  background: transparent;
  border: none;
  cursor: pointer;
  font-weight: 500;
  position: relative;
  transition: background 0.2s, color 0.2s;
}

.solution .solution-tabs button.active {
  background: linear-gradient(to right, #1377DF 0%, #319FFF 100%);
  color: #fff;
  font-weight: bold;
}

.solution .solution-tabs button.active::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 100%;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid rgb(34, 139, 239);
}

.more-link {
  color: #1077e0;
  text-decoration: none;
  font-size: 16px;
  font-family: PingFangSC-Regular;
}

.more-link:hover {
  text-decoration: underline;
}

.solution .solution-content {
  margin: 0 auto;
  min-height: 420px;
  position: relative;
  max-width: 1400px;
  padding: 0 20px;
  box-sizing: border-box;
}

.solution .solution-content .solution-panel.active {
  display: block;
}

.solution .solution-title {
  font-size: 24px;
  font-weight: bold;
  font-family: PingFangSC-Medium;
  color: #222;
  margin: 32px 0 44px 0;
  text-align: center;
}

/* 智能旅程引擎 */
.solution .solution-finance-row {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-bottom: 48px;
}

.solution .solution-finance-row img {
  width: 380px;
  height: 196px;
}

/* 智能提效双枢 */
.solution-dual-list {
  display: flex;
  justify-content: center;
  gap: 80px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.solution-dual-card {
  position: relative;
}

.solution-dual-card img {
  width: 580px;
  height: 320px;
}

.solution-dual-card .btn {
  position: absolute;
  top: 84px;
  left: 37px;
  width: 140px;
  background-color: #1077E0;
  color: #fff;
  display: inline-block;
  padding: 9px 0;
  font-size: 14px;
  text-align: center;
  font-family: PingFangSC-Regular;
  border-radius: 4px;
  border: none;
}

/* 政务领域内容 */
.solution .gov-metrics-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  margin: 0 auto 50px;
  padding: 0 20px;
  box-sizing: border-box;
}

.solution .gov-metric-card {
  width: 100%;
  box-sizing: border-box;
  padding: 30px 50px;
  text-align: center;
  position: relative;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.solution .gov-metric-card:nth-child(odd) {
  background: rgba(240, 247, 254, 0.7);
}

.solution .gov-metric-card .gov-metric-title {
  font-size: 18px;
  color: #222;
  margin-bottom: 8px;
  font-weight: bold;
}

.solution .gov-metric-card .gov-metric-desc {
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
  line-height: 1.5;
}

.solution .gov-metric-card .gov-metric-value {
  font-size: 22px;
  color: #1377DF;
  font-weight: bold;
}

.solution .gov-metric-card .gov-metric-value .metric-text {
  font-size: 24px;
}

.solution .gov-metric-card .gov-metric-value .metric-desc {
  font-size: 20px;
}

/* 核心技术 - 优化大屏显示 */
.core-tech {
  padding: 70px 5% 0px;
  text-align: center;
  max-width: 100%;
}

.core-tech h2 {
  color: rgba(19, 119, 223, 1);
  font-size: 36px;
  font-family: PingFangSC-Semibold;
  margin-bottom: 0px;
}

.core-tech .core-tech-desc {
  color: rgba(128, 136, 145, 1);
  font-size: 16px;
  text-align: center;
  font-family: PingFangSC-Regular;
  margin: 0 auto 80px;
}

.core-tech-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 120px;
  max-width: 1400px;
  margin: 0 auto;
}

.core-tech-list img {
  width: 406px;
  height: 506px;
}

.core-tech-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin: 87px 0 113px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.core-tech-icons img {
  width: 280px;
  height: 240px;
}

/* 客户案例 - 优化大屏显示 */
.cases {
  background: #f7fafd;
  position: relative;
  max-width: 100%;
}

.cases-desc {
  position: absolute;
  top: 100px;
  left: calc(50% - 108px);
  width: 272px;
  text-align: center;
}

.cases-desc h2 {
  font-size: 36px;
  font-family: PingFangSC-Semibold;
  margin-bottom: 18px;
}

.cases-desc p {
  line-height: 22px;
  color: rgba(128, 136, 145, 1);
  font-size: 16px;
  font-family: PingFangSC-Regular;
}

.cases img {
  width: 100%;
}

/* 资源中心 - 优化大屏显示 */
.resources {
  padding: 60px 5% 95px;
  text-align: center;
  max-width: 100%;
}

.resources h2 {
  font-size: 36px;
  margin-bottom: 0px;
  font-family: PingFangSC-Semibold;
}

.resources .resources-desc {
  line-height: 22px;
  color: rgba(128, 136, 145, 1);
  font-size: 16px;
  font-family: PingFangSC-Regular;
  margin-bottom: 80px;
}

.resources .resources-list {
  display: flex;
  justify-content: center;
  gap: 32px;
  max-width: 1400px;
  margin: 0 auto;
}

.resources .resources-list .resource-card {
  width: 560px;
  height: 280px;
  background: #f7fafd;
  border-radius: 12px;
  text-align: left;
  display: flex;
  flex-direction: column;
  position: relative;
}

.resource-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.resource-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 52px;
  padding-top: 46px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.resources .resources-list .resource-card h3 {
  margin: 0;
  color: rgba(31, 42, 54, 1);
  font-size: 24px;
  font-family: PingFangSC-Semibold;
  margin-bottom: 12px;
}

.download {
  display: block;
  padding: 6px 0;
  color: rgba(78, 89, 102, 1);
  font-size: 16px;
  font-family: PingFangSC-Regular;
  transition: color 0.2s;
  display: flex;
  align-items: center;
}

.download:hover {
  color: #1077E0;
}

.download:hover img {
  content: url('./assets/icons/download-onclick.png');
}

.download img {
  vertical-align: middle;
  margin-right: 8px;
  width: 16px;
  height: 16px;
}

.resource-card .btn {
  border-radius: 4px;
  background-color: rgba(16, 119, 224, 1);
  color: rgba(255, 255, 255, 1);
  font-size: 14px;
  text-align: center;
  font-family: PingFangSC-Regular;
  border: none;
  padding: 9px 20px;
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
}

.resource-card .btn img {
  width: 16px;
  height: 16px;
  margin-left: 4px;
}

/* 关于我们 - 优化大屏显示 */
.about {
  background: #fff;
  padding: 68px 5% 95px;
  text-align: center;
  max-width: 100%;
}

.about h2 {
  color: rgba(31, 42, 54, 1);
  font-size: 36px;
  font-family: PingFangSC-Semibold;
  margin: 0;
}

.about .about-desc {
  color: rgba(128, 136, 145, 1);
  font-size: 16px;
  font-family: PingFangSC-Regular;
  margin: 0;
}

.about .about-main {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  margin: 88px auto;
  max-width: 1400px;
}

.about .about-main img {
  width: 190px;
  height: 56px;
}

.about .about-main .about-text {
  max-width: 706px;
  color: rgba(78, 89, 102, 1);
  font-size: 16px;
  text-align: left;
  font-family: PingFangSC-Regular
}

.about img {
  width: 100%;
  max-width: 1200px;
  height: auto;
}

/* 体验 - 优化大屏显示 */
.experience {
  position: relative;
  margin-bottom: 0;
  max-width: 100%;
}

.experience img {
  width: 100%;
  display: block;
}

.experience-content {
  position: absolute;
  top: 43%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.experience-content h2 {
  color: rgba(31, 42, 54, 1);
  font-size: 36px;
  text-align: center;
  font-family: PingFangSC-Semibold;
  margin-bottom: 0;
}

.experience-desc {
  color: rgba(78, 89, 102, 1);
  font-size: 18px;
  text-align: center;
  font-family: PingFangSC-Regular;
  margin-bottom: 50px;
}

.experience-btns {
  display: flex;
  justify-content: center;
  gap: 60px;
}

.experience-btns .btn {
  border-radius: 4px;
  background-color: rgba(16, 119, 224, 1);
  color: rgba(255, 255, 255, 1);
  font-size: 14px;
  text-align: center;
  font-family: PingFangSC-Regular;
  border: none;
  padding: 12px 34px;
  margin-top: auto;
}

.experience-btns .plain {
  color: #1077E0;
  border: 1px solid #1077E0;
  background-color: transparent
}

/* 页脚 - 优化大屏显示 */
.footer {
  background: #1F2A36;
  text-align: center;
  padding: 100px 5% 0;
  color: #fff;
  font-size: 14px;
  max-width: 100%;
}

.footer-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-right: 440px;
}

.footer-left .footer-logo {
  width: 220px;
  margin-bottom: 44px;
}

.OpenbankAI {
  margin-bottom: 0;
}

.footer-left h2 {
  font-size: 36px;
  margin: 0;
  color: #1769fa;
  font-family: PingFangSC-Semibold;
}

.footer-center {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-center .footer-qr {
  width: 150px;
  height: 150px;
  border: 1px solid #4a4a4a;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  margin-bottom: 10px;
}

.footer-center p {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5)
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 2;
  margin-right: 88px;
}

.footer-right p {
  margin: 8px 0;
  font-size: 14px;
  color: #ccc;
}

.footer-bottom {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  margin: 12px 0;
  border-top: 1px solid #4a4a4a;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.footer-bottom p {
  line-height: 36px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  font-family: PingFangSC-Regular;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 464px;
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  background-image: url('./assets/imgs/modal.png');
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow:
    0 50px 40px -40px rgba(0, 0, 0, 0.25),
    /* 下方主阴影，从50px开始 */
    -50px 50px 40px -40px rgba(0, 0, 0, 0.15),
    /* 左侧阴影 */
    50px 50px 40px -40px rgba(0, 0, 0, 0.15);
  /* 右侧阴影 */


}

.close {
  color: #1377DF;
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
  position: absolute;
  top: 30px;
  right: 5px;
}

/* 响应式优化 */
@media (max-width: 600px) {
  .modal-content {
    width: 95%;
    margin: 0;
  }
}

.form-group {
  margin-bottom: 30px;
}

.form-group label {
  width: 66px;
  margin-bottom: 8px;
  font-size: 14px;
  color: #4E5966;
  display: inline-block;
  text-align: left;
  margin-right: 20px;
}

.form-group input {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  line-height: 20px;
  width: 240px;
  box-sizing: border-box;
}

.form-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.btn {
  padding: 7px 46px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  color: rgba(255, 255, 255, 1);
  font-size: 14px;
  text-align: center;
  font-family: PingFangSC-Regular;
}

.cancel {
  color: #1077E0;
  background-color: #fff;
  border: 1px solid #1077E0;
}

.submit {
  background-color: #007bff;
  color: white;
}

/* 大屏优化 - 针对宽屏显示器 */
@media (min-width: 1700px) {

  .core-tech,
  .resources,
  .about {
    padding-left: 10%;
    padding-right: 10%;
  }

  .solution .solution-content,
  .core-tech-list,
  .resources .resources-list,
  .about .about-main,
  .footer-content {
    max-width: 1700px;
  }

  .solution .solution-finance-row img {
    width: 420px;
    height: 220px;
  }

  .solution-dual-card img {
    width: 640px;
    height: 360px;
  }

  .core-tech-list img {
    width: 450px;
    height: 560px;
  }

  .core-tech-icons img {
    width: 320px;
    height: 280px;
  }

  .resources .resources-list .resource-card {
    width: 640px;
    height: 320px;
  }
}

/* 响应式设计 - 保持原有响应式设计 */
@media (max-width: 1200px) {
  .solution .gov-metrics-container {
    grid-template-columns: repeat(2, 1fr);
    max-width: 900px;
  }
}

@media (max-width: 1100px) {

  .features,
  .core-tech-list,
  .cases-list,
  .resources-list,
  .about-features {
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }

  .about-main {
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }

  .solution-financial-row,
  .solution-dual-row,
  .gov-metrics-row {
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }

  .solution-tabs {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 900px) {
  .navbar {
    flex-direction: column;
    height: auto;
  }

  .hero .hero-content {
    margin-left: 0;
    margin-bottom: 40px;
  }

  .hero .hero-img {
    margin-left: 0;
    margin-top: 24px;
  }
}

@media (max-width: 768px) {
  .solution .gov-metrics-container {
    grid-template-columns: 1fr;
    max-width: 400px;
    gap: 30px;
  }

  .solution .gov-metric-card {
    padding: 25px 30px;
    min-height: 250px;
  }

  .solution .gov-metric-card .gov-metric-desc {
    width: auto;
  }
}

@media (max-width: 600px) {
  .hero-content h1 {
    font-size: 24px;
  }

  .hero-img {
    width: 100%;
    height: 120px;
  }

  .feature-item,
  .dual-drive-card,
  .core-tech-card,
  .case-card,
  .resource-card,
  .about-feature {
    width: 95vw;
    min-width: 0;
    max-width: 99vw;
  }

  .about-text {
    max-width: 98vw;
  }

  .solution-metric-card,
  .solution-dual-card,
  .gov-metric-card {
    min-width: 0;
    width: 95vw;
    max-width: 99vw;
    padding: 18px 8px;
  }
}