/* ===== 全局样式重置和变量定义 ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-blue: #000B5A;
  --secondary-blue: #3b82f6;
  --light-blue: #e8f0fe;
  --dark-text: #1f2937;
  --gray-text: #6b7280;
  --light-gray: #f3f4f6;
  --white: #ffffff;
  --footer-bg: #2c2421;
  --card-shadow: 0 0.02rem 0.08rem rgba(0, 0, 0, 0.08);
  --card-hover-shadow: 0 0.08rem 0.2rem rgba(0, 0, 0, 0.12);
}

/* ===== 顶部导航样式 ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 0.7rem;
  background: #fff;
  box-shadow: 0 0.02rem 0.08rem rgba(0, 0, 0, 0.06);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.header>.container {
  display: flex;
  align-items: center;
  width: 100%;
}

.header-logo {
  height: 0.5rem;
  width: auto;
  display: block;
}

.header-nav {
  display: flex;
  align-items: center;
  margin-left: 0.8rem;
  gap: 0.3rem;
}

.header-nav>a,
.header-nav>.nav-dropdown {
  display: flex;
  align-items: center;
}

.header-nav>a {
  color: #333;
  text-decoration: none;
  font-size: 0.16rem;
  font-weight: 500;
  transition: color 0.3s ease;
  border-bottom: 0.02rem solid #fff;
  padding-bottom: 0.04rem;
}

.header-nav a:hover {
  color: #d61518;
}

.header-nav a.active {
  color: #d61518;
  border-bottom: 0.02rem solid #d61518;
  padding-bottom: 0.04rem;
}

/* 下拉菜单样式 */
.nav-dropdown {
  position: relative;
}

.dropdown-trigger {
  color: #333;
  text-decoration: none;
  font-size: 0.16rem;
  font-weight: 500;
  transition: color 0.3s ease;
  margin: 0 0.2rem;
  display: flex;
  align-items: center;
  cursor: pointer;
  white-space: nowrap;
  border-bottom: 0.02rem solid #fff;
  padding-bottom: 0.04rem;
}

.nav-dropdown:hover .dropdown-trigger {
  color: #d61518;
}

.nav-dropdown:hover .dropdown-trigger::after {
  border-top-color: #d61518;
}

/* 菜单挂在 header 全宽展开 */
.header-nav {
  position: static;
}

.header {
  position: fixed;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 0.34rem;
  left: 50%;
  padding: 0.32rem 0;
  z-index: 999;
  width: 8rem;
  margin-left: -3rem;
}

.nav-dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu-inner {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.2rem;
  padding: 0.3rem 0.4rem;
  background: rgba(35, 36, 52, 0.95);
  border-radius: 0.16rem;
  position: relative;
}

.dropdown-menu-inner::before {
  content: '';
  position: absolute;
  top: -0.12rem;
  left: 37%;
  transform: translateX(-50%);
  border: 0.12rem solid transparent;
  border-bottom-color: rgba(35, 36, 52, 0.95);
  border-top: none;
}

.dropdown-col {
  flex: 1;
  border-right: 0.01rem solid rgba(255, 255, 255, 0.08);
}

.dropdown-col:first-child {
  padding-left: 0;
}

.dropdown-col:last-child {
  border-right: none;
}

.dropdown-col h4 {
  color: #fff;
  font-size: 0.15rem;
  font-weight: 700;
  margin-bottom: 0.1rem;
  padding-bottom: 0;
  white-space: nowrap;
}

.dropdown-col a {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.14rem;
  text-decoration: none;
  transition: color 0.2s ease;
  line-height: 0.3rem;
}

.dropdown-col a:hover {
  color: #fff;
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.header-actions a {
  color: #333;
  text-decoration: none;
  font-size: 0.15rem;
}

.header-actions a:hover {
  color: #d61518;
}

.header-actions .btn-register:hover {
  background: #000844;
}

/* 汉堡菜单按钮 - 默认隐藏 */
.hamburger-menu {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger-menu img {
  height: 0.25rem;
  width: auto;
  display: block;
}

body {
  padding-top: 0.7rem;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--dark-text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 12rem;
  margin: 0 auto;
  padding: 0 0.2rem;
}

/* ===== 通用样式 ===== */
.section-title {
  font-size: 0.32rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 0.08rem;
  color: var(--dark-text);
}

.section-subtitle {
  font-size: 0.16rem;
  text-align: center;
  color: #e5e7eb;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.02rem;
}

.subsection-title {
  font-size: 0.24rem;
  margin-bottom: 0.3rem;
  color: #094ef0;
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.subsection-title::before {
  content: '';
  display: inline-block;
  width: 0.46rem;
  height: 0.4rem;
  background: url('../image/thumb1.png') no-repeat center 0.03rem;
  background-size: contain;
}

.card {
  background: var(--white);
  border-radius: 0.12rem;
  padding: 0.3rem;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: var(--card-hover-shadow);
  transform: translateY(-0.05rem);
}

/* 轮播指示器 */
.carousel-indicator {
  display: flex;
  justify-content: center;
  gap: 0.08rem;
  margin-top: 0.4rem;
}

.carousel-indicator .dot {
  width: 0.3rem;
  height: 0.04rem;
  border-radius: 0.02rem;
  background: #ddd;
}

.carousel-indicator .dot.active {
  background: var(--primary-blue);
  width: 0.4rem;
}

/* ===== Banner 样式 ===== */
.banner {
  padding: 0;
  position: relative;
  overflow: hidden;
}

.banner-swiper {
  width: 100%;
  height: 6rem;
}

.swiper-slide {
  position: relative;
  overflow: hidden;
}

.swiper-slide img {
  width: 100%;
  display: block;
}

/* Swiper 自定义样式 */
.banner .swiper-pagination {
  bottom: 0.25rem;
  display: flex;
  justify-content: center;
}

.banner .swiper-pagination-bullet {
  width: 0.3rem;
  height: 0.04rem;
  border-radius: 0.02rem;
  background: #ffc7c7;
  opacity: 1;
}

.banner .swiper-pagination-bullet-active {
  background: #ce1417;
  width: 0.4rem;
}

/* ===== AI+场景样式 ===== */
.ai-scenario {
  padding: 0.66rem 0;
  background: var(--white);
}

.section-title-img {
  display: block;
  margin: 0 auto 0.4rem;
  height: 0.9rem;
}

.scenario-swiper {
  padding-bottom: 0.5rem;
}

.scenario-swiper .swiper-slide {
  height: auto;
}

/* 每个slide内的三列卡片布局 */
.scenario-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.86rem;
}

.scenario-card {
  border-radius: 0.12rem;
  text-align: center;
  height: 100%;
}

.scenario-icon {
  width: 100%;
  height: 2.04rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(0deg, #e1ebff 0%, #e1ebff00 50%);
}

.scenario-icon img {
  width: 1.6rem;
  object-fit: contain;
}

.message-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.32rem;
  z-index: 1;
}

.call-icon::after {
  content: '📞';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.32rem;
  z-index: 1;
}

.bidding-icon::after {
  content: '📄';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.32rem;
  z-index: 1;
}

.contract-icon::after {
  content: '⚖️';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.32rem;
  z-index: 1;
}

.data-icon::after {
  content: '📊';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.32rem;
  z-index: 1;
}

.marketing-icon::after {
  content: '🎯';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.32rem;
  z-index: 1;
}

.police-icon::after {
  content: '👮';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.32rem;
  z-index: 1;
}

.social-icon::after {
  content: '🤝';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.32rem;
  z-index: 1;
}

.government-icon::after {
  content: '️';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.32rem;
  z-index: 1;
}

.scenario-content {
  height: 2.2rem;
  background: linear-gradient(180deg, #ffffff 0%, #f3f3ff 50%);
}

.scenario-title {
  font-size: 0.2rem;
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 0.16rem;
  position: relative;
  z-index: 1;
  padding: 0.14rem 0;
  margin-top: 0.1rem;
}

.scenario-title::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0.64rem;
  height: 0.02rem;
  background: #ccd8f7;
  margin-left: -0.32rem;
}

.scenario-desc {
  font-size: 0.14rem;
  color: #767b9e;
  line-height: 1.8;
  padding: 0 0.32rem;
  text-align: left;
  text-indent: 2em;
}

/* 场景轮播分页器样式 */
.scenario-swiper .swiper-pagination {
  bottom: 0;
  display: flex;
  justify-content: center;
}

.scenario-swiper .swiper-pagination-bullet {
  width: 0.3rem;
  height: 0.04rem;
  border-radius: 0.02rem;
  background: #ffc7c7;
  opacity: 1;
}

.scenario-swiper .swiper-pagination-bullet-active {
  background: #ce1417;
  width: 0.4rem;
}

/* ===== 优势区域样式 ===== */
.advantages {
  padding: 0.8rem 0;
  background: linear-gradient(0deg, #ffffff 0%, #e6f0ff 100%);
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}

.advantage-card {
  border-radius: 0.16rem;
  padding: 0.4rem 0.3rem;
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
  border: 0.0267rem solid #fff;
  background: var(--white);
  background: linear-gradient(180deg, #ffffff 0%, #f3f3ff 100%);
}

.advantage-card:hover {
  box-shadow: var(--card-hover-shadow);
  transform: translateY(-0.05rem);
}

.advantage-icon {
  width: 100%;
  height: 2rem;
  margin: 0 auto 0.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.advantage-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.llm-icon::before {
  content: '🤖';
}

.data-icon::before {
  content: '📊';
}

.module-icon::before {
  content: '⚙️';
}

.advantage-text {
  font-size: 0.16rem;
  color: #00094d;
  line-height: 1.6;
}

/* ===== 服务区域样式 ===== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}

.service-card {
  border-radius: 0.16rem;
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
  border: 0.0267rem solid #fff;
  background: var(--white);
  background: linear-gradient(180deg, #ffffff 0%, #f3f3ff 100%);
}

.service-card:hover {
  box-shadow: var(--card-hover-shadow);
  transform: translateY(-0.05rem);
}

.service-illustration {
  width: 100%;
  height: 3.16rem;
  border-radius: 0.08rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.service-illustration img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-content {
  padding: 0.26rem 0.46rem 0.46rem 0.46rem;
}

.explore-img::before {
  content: '';
}

.empower-img::before {
  content: '🚀';
}

.protect-img::before {
  content: '️';
}

.service-title {
  font-size: 0.18rem;
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 0.12rem;
}

.service-desc {
  font-size: 0.14rem;
  color: #767b9e;
  line-height: 1.8;
}

/* ===== 认证区域样式 ===== */
.certification-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.38rem;
  margin-bottom: 0.4rem;
}

.certification-card {
  border-radius: 0.16rem;
  text-align: center;
  transition: all 0.3s ease;
  background: linear-gradient(0deg, #f3f3ff 0%, #e1ebff00 100%);
  padding-bottom: 0.2rem;
}

.certification-card:hover {
  box-shadow: var(--card-hover-shadow);
  transform: translateY(-0.05rem);
}

.cert-logo {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cert-name {
  font-size: 0.16rem;
  color: var(--dark-text);
  font-weight: 500;
  position: relative;
  padding: 0.16rem 0;
}

.cert-name::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  height: 0.02rem;
  width: 0.64rem;
  margin-left: -0.32rem;
  background: #ccd8f7;
}

/* ===== 合作伙伴样式 ===== */
.partners {
  padding: 0.4rem 0 0.8rem;
  background: var(--white);
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.16rem;
}

.partner-card {
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  min-height: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* ===== 公司简介样式 ===== */
.company-intro {
  padding: 0.8rem 0 0 0;
  background: linear-gradient(0deg, #ffffff 0%, #e6f0ff 100%);
}

.intro-content {
  align-items: center;
  margin-top: 0.4rem;
}

.intro-text {
  flex: 1;
}

.intro-text p {
  font-size: 0.15rem;
  color: #4a4a5a;
  line-height: 2;
  margin-bottom: 0.2rem;
  text-indent: 2em;
}

.intro-text p:last-child {
  margin-bottom: 0;
}

.intro-image {
  flex: 0 0 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.intro-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 0.12rem;
}

/* ===== Footer 样式 ===== */
.footer {
  background: var(--footer-bg);
  padding: 0.6rem 0 0.3rem;
  color: #d1d5db;
}

/* PC端隐藏手机端元素 */
.footer-arrow {
  display: none;
}

.footer-accordion-body {
  display: block;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  margin-bottom: 0.3rem;
  align-items: start;
}

.footer-column {
  flex: 1;
}

.footer-title {
  font-size: 0.16rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.2rem;
}

.footer-links {
  list-style: none;
  height: fit-content;
}

.footer-links-two-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 0.3rem;
  align-items: start;
}

.footer-links li {
  margin-bottom: 0.1rem;
  font-size: 0.14rem;
  line-height: 1.5;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.14rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--white);
}

.contact-info p {
  font-size: 0.14rem;
  color: #9ca3af;
  margin-bottom: 0.08rem;
  line-height: 1.6;
}

.contact-info strong {
  color: var(--white);
  font-size: 0.16rem;
}

.footer-copyright {
  text-align: center;
  padding-top: 0.3rem;
  border-top: 0.01rem solid rgba(255, 255, 255, 0.1);
}

.footer-copyright a {
  color: #6b7280;
}

.footer-copyright p {
  font-size: 0.13rem;
  color: #6b7280;
}

.swiper-slide img.pc-none {
  display: none;
}
.swiper-slide img.pc-black {
  display: block;
}
.pc-black {
  display: block;
}