/* 印索科技官网 - 样式按 moban8035 模版 */
:root {
  --color-primary: #2d74ba;
  --color-primary-hover: #2563a8;
  --color-primary-dark: #1e5a9e;
  --text-color: #040408;
  --text-secondary: #45474f;
  --text-grey: #6b6d75;
  --bg-page: #fafafa;
  --divider: #e8e8ec;
  --bg-dark: #0f0f0f;
  --bg-footer: #040408;
}

body {
  font-family: 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
  color: var(--text-secondary);
  font-size: 14px;
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--color-primary); transition: all 0.3s ease; }
a:hover { color: var(--color-primary-dark); text-decoration: none; }

/* 主按钮 - 与 features-stats-card 统一样式色系 */
.btn-primary {
  background: var(--color-primary);
  border: 1px solid var(--color-primary);
  border-radius: 12px;
  color: #fff;
  font-weight: 600;
  transition: all 0.2s ease;
}
.btn-primary:hover {
  background: var(--color-primary-hover);
  color: #fff;
  border-color: var(--color-primary-hover);
  transform: translateY(-1px);
}
.btn-cta {
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 12px;
}

/* 页眉 - moban8035：白底深字，蓝色高亮 */
.header {
  position: fixed;
  width: 100%;
  z-index: 1000;
  height: 60px;
  background: #fff;
  border-bottom: 1px solid var(--divider);
  transition: box-shadow 0.3s;
}
.header.header-scrolled {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.header .logo-text,
.header .nav-link { color: var(--text-color); font-weight: 700; }
.header .nav-link:hover,
.header .nav-link.active { color: var(--color-primary); }
.header .logo .highlight { color: var(--color-primary); }

.logo { margin: 0; display: inline-block; float: left; font-size: 24px; padding-top: 15px; }

.main-nav { margin-top: 8px; }
.main-nav .nav-link {
  font-weight: 500;
  padding: 10px 15px !important;
}
.navbar-toggler { border-color: var(--divider); }
.navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23040408' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }

/* 首屏轮播 - moban8035 风格：浅底 + 蓝点缀 */
.hero-section {
  min-height: 500px;
  padding-top: 60px;
  background: linear-gradient(180deg, #f0f4fb 0%, var(--bg-page) 100%);
}
.hero-section .carousel-item {
  position: relative;
  min-height: 500px;
  background-size: cover;
  background-position: center;
}
.hero-section .item-1,
.hero-section .item-2,
.hero-section .item-3,
.hero-section .item-4 { background: transparent; }

.carousel-content {
  padding: 80px 15px 70px;
}
.hero-row {
  max-width: 1140px;
  margin: 0 auto;
}
.hero-section .heading {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.35;
  color: var(--text-color);
}
.hero-section .intro {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  max-width: 100%;
  line-height: 1.5;
}
.hero-section .btn-cta {
  padding: 8px 22px;
  font-size: 14px;
}
/* 轮播左侧文字区 - 浅边框卡片 */
.hero-text {
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--divider);
  border-radius: 12px;
}
/* 轮播左侧亮点区 - 与 features-stats-card 统一风格 */
.hero-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--divider);
}
.hero-highlight-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--divider);
  border-radius: 12px;
  font-size: 14px;
  transition: all 0.3s ease;
}
.hero-highlight-item:hover {
  border-color: var(--color-primary);
  box-shadow: 0 4px 16px rgba(45, 116, 186, 0.1);
}
.hero-highlight-item .icon-box {
  flex-shrink: 0;
  background: rgba(45, 116, 186, 0.1) !important;
  color: var(--color-primary) !important;
}
.hero-highlight-item span {
  font-weight: 500;
  color: var(--text-color);
}
.hero-figure-col {
  margin-top: 0;
}
/* 轮播图，标准响应式 16:9 */
.carousel-figure {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  border: 1px solid var(--divider);
}
.carousel-figure-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.carousel-indicators {
  bottom: 30px;
  z-index: 5;
}
.carousel-indicators li {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0,0,0,0.15);
  border: none;
}
.carousel-indicators li.active { background: var(--color-primary); }
.carousel-indicators li:hover { background: rgba(45, 116, 186, 0.5); }

/* 轮播左右箭头，支持手动切换 */
.hero-section .carousel-control-prev,
.hero-section .carousel-control-next {
  width: 48px;
  height: 48px;
  top: 50%;
  transform: translateY(-50%);
  bottom: auto;
  opacity: 1;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  z-index: 10;
  transition: all 0.2s;
}
.hero-section .carousel-control-prev { left: 15px; }
.hero-section .carousel-control-next { right: 15px; }
.hero-section .carousel-control-prev:hover,
.hero-section .carousel-control-next:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
}
.hero-section .carousel-control-prev-icon,
.hero-section .carousel-control-next-icon {
  width: 24px;
  height: 24px;
  background-size: 100% 100%;
  filter: none;
}
.hero-section .carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%232d74ba' viewBox='0 0 16 16'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}
.hero-section .carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%232d74ba' viewBox='0 0 16 16'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.hero-section .carousel-control-prev:hover .carousel-control-prev-icon,
.hero-section .carousel-control-next:hover .carousel-control-next-icon {
  filter: brightness(0) invert(1);
}

/* 通用区块 */
.section {
  padding: 80px 0;
  color: var(--text-color);
}
.section-title {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-color);
}
.intro {
  color: var(--text-grey);
  font-size: 16px;
  margin-bottom: 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* 核心数据 - moban8035 三栏中间突出 */
.features-stats-section {
  background: var(--bg-page);
  padding-top: 60px;
  padding-bottom: 60px;
}
.features-stats-card {
  padding: 40px 32px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--divider);
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
}
.features-stats-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 8px 24px rgba(45, 116, 186, 0.1);
}
.features-stats-card.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}
.features-stats-card.active .features-stats-num,
.features-stats-card.active .features-stats-desc { color: #fff; }
.features-stats-num {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
}
.features-stats-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* 关于我们 - moban8035 */
.about-section { background: #fff; }
.about-row { margin-top: 2rem; }
.about-text-col { margin-bottom: 1.5rem; }
.about-text-block {
  background: #fff;
  padding: 32px 28px;
  border-radius: 12px;
  border: 1px solid var(--divider);
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
  text-align: left;
}
.about-subtitle {
  position: relative;
  padding-left: 16px;
  font-size: 17px;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 10px;
  margin-top: 22px;
  line-height: 1.4;
}
.about-subtitle::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 4px;
  background: linear-gradient(180deg, var(--color-primary) 0%, rgba(45, 116, 186, 0.5) 100%);
  border-radius: 2px;
}
.about-subtitle:first-child { margin-top: 0; }
/* 全站统一图标 - moban8035 主色 */
.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(45, 116, 186, 0.12);
  color: var(--color-primary);
  vertical-align: middle;
  flex-shrink: 0;
}
.icon-box--lg {
  width: 56px;
  height: 56px;
  font-size: 24px;
  margin-right: 14px;
}
.icon-box--md {
  width: 48px;
  height: 48px;
  font-size: 20px;
  margin-right: 14px;
}
.icon-box--sm {
  width: 38px;
  height: 38px;
  font-size: 16px;
  margin-right: 10px;
}
.about-section .about-desc {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.75;
  margin-bottom: 0;
}
.about-video-col {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
}
.about-video-wrap {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: 320px;
  border-radius: 12px;
  overflow: hidden;
  background: #eef0f4;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.about-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.about-video-link {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  text-decoration: none;
  color: inherit;
}
.about-video-embed {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 280px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #07c160;
}
.about-video-cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.35);
  transition: background 0.3s ease;
}
.about-video-link:hover .about-video-overlay { background: rgba(0,0,0,0.45); }
.about-video-play {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: rgba(255,255,255,0.35);
  border-radius: 50%;
  margin-bottom: 16px;
}
.about-video-play i {
  font-size: 40px;
  color: #fff;
}
.about-video-text {
  font-size: 16px;
  color: #fff;
  font-weight: 500;
}
.about-video-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  margin-top: 6px;
}
.about-section .about-video-caption {
  color: var(--text-grey) !important;
  font-size: 13px;
  margin-bottom: 0;
}
.about-section .section-title { color: var(--text-color); }
.about-section .intro { color: var(--text-grey); }


/* 产品服务 - moban8035 卡片 */
.products-section { background: var(--bg-page); }
.products-section .product-card {
  background: #fff;
  border: 1px solid var(--divider);
  border-radius: 16px;
  padding: 30px;
  height: 100%;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: all 0.3s ease;
}
.products-section .product-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 8px 24px rgba(45, 116, 186, 0.15);
  transform: translateY(-2px);
}
.products-section .product-card h4 { color: var(--text-color); }
.products-section .product-card p { color: var(--text-secondary); }
.products-section .product-icon { margin-bottom: 18px; }
.products-section .product-icon .icon-box { margin-right: 0; }
.products-section .product-card h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}
.products-section .product-card p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}
/* 产品卡片 - 封面图样式 */
.products-section .product-card--cover {
  padding: 0;
  overflow: hidden;
}
.products-section .product-card--cover .product-card-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eef0f4;
}
.products-section .product-card--cover .product-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.products-section .product-card--cover .product-card-body {
  padding: 20px 24px;
}
.products-section .product-card--cover .product-card-body h4 {
  margin-bottom: 10px;
}
.products-section .product-card--cover .product-intro {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 12px !important;
}
.products-section .product-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.products-section .product-tag {
  display: inline-block;
  padding: 4px 10px;
  font-size: 12px;
  color: var(--color-primary);
  background: rgba(45, 116, 186, 0.08);
  border-radius: 6px;
}

/* 项目实施 - moban8035 卡片封面样式 */
.services-section { background: var(--bg-page); }
.services-section .service-card--cover {
  background: #fff;
  border: 1px solid var(--divider);
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: all 0.3s ease;
}
.services-section .service-card--cover:hover {
  border-color: var(--color-primary);
  box-shadow: 0 8px 24px rgba(45, 116, 186, 0.15);
  transform: translateY(-2px);
}
.services-section .service-card-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eef0f4;
}
.services-section .service-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.services-section .service-card-body {
  padding: 20px 24px;
}
.services-section .service-card-body h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 12px;
}
.services-section .service-card-body p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 10px 0;
}
.services-section .service-card-body p:last-child {
  margin-bottom: 0;
}
.services-section .para-num {
  display: inline-block;
  width: 22px;
  height: 22px;
  line-height: 22px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-primary);
  background: rgba(45, 116, 186, 0.12);
  border-radius: 6px;
  margin-right: 8px;
  vertical-align: middle;
}
.services-section .product-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.services-section .product-tag {
  display: inline-block;
  padding: 4px 10px;
  font-size: 12px;
  color: var(--color-primary);
  background: rgba(45, 116, 186, 0.08);
  border-radius: 6px;
}
.services-section .section-title { color: var(--text-color); }
.services-section .intro { color: var(--text-grey); }

/* 项目案例 - 卡片式，两行：公司名 + 关键字 */
.features-section { background: var(--bg-page); }
.features-section .cases-row { margin-top: 2rem; }
.features-section .case-card {
  background: #fff;
  border: 1px solid var(--divider);
  border-radius: 16px;
  padding: 18px 20px;
  height: 100%;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: all 0.3s ease;
}
.features-section .case-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 8px 24px rgba(45, 116, 186, 0.15);
  transform: translateY(-2px);
}
.features-section .case-card .case-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 26px;
  margin-right: 12px;
  background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  border-radius: 6px;
  vertical-align: middle;
  box-shadow: 0 2px 6px rgba(13, 148, 136, 0.3);
}
.features-section .case-card h4 {
  display: inline;
  font-size: 17px;
  font-weight: 600;
  color: #1e3a5f;
  margin: 0;
  line-height: 1.5;
}
.features-section .case-card .product-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  margin-bottom: 0;
}
.features-section .case-card .product-tag {
  display: inline-block;
  padding: 4px 10px;
  font-size: 12px;
  color: var(--color-primary);
  background: rgba(45, 116, 186, 0.08);
  border-radius: 6px;
}
.features-section .case-summary-card {
  margin-top: 1.5rem;
}
.features-section .section-title { color: var(--text-color); }
.features-section .intro { color: var(--text-grey); }

/* 联系我们 - moban8035 */
.contact-section {
  background: linear-gradient(180deg, #e8f2fc 0%, #f5f9fd 100%);
  color: var(--text-color);
}
.contact-content {
  max-width: 100%;
  text-align: left;
}
.contact-content p {
  margin-bottom: 14px;
  font-size: 15px;
  color: var(--text-secondary);
}
.contact-content p strong { color: var(--text-color); }
.contact-section .section-title { color: var(--text-color); }
.contact-section .icon-box {
  background: rgba(45, 116, 186, 0.12);
  color: var(--color-primary);
}
.contact-card .icon-box {
  background: rgba(45, 116, 186, 0.12) !important;
  color: var(--color-primary) !important;
}
.contact-qr-wrap {
  display: inline-block;
  padding: 16px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--divider);
  box-shadow: 0 4px 16px rgba(45, 116, 186, 0.08);
}
.contact-qr-img {
  display: block;
  width: 160px;
  height: 160px;
  max-width: 100%;
  object-fit: contain;
}
.contact-qr-caption {
  margin: 12px 0 0 0;
  font-size: 14px;
  color: var(--text-secondary);
}
.contact-section .btn-cta {
  background: #fff;
  border: 1px solid #fff;
  color: var(--color-primary);
  font-weight: 600;
  border-radius: 12px;
}
.contact-section .btn-cta .icon-box {
  background: rgba(45, 116, 186, 0.15);
  color: var(--color-primary);
}
.contact-section .btn-cta:hover {
  background: rgba(255,255,255,0.95);
  border-color: #fff;
  color: var(--color-primary);
}

/* 页脚 - moban8035 */
.footer {
  background: var(--bg-footer);
  color: rgba(255,255,255,0.7);
  padding: 20px 0;
  border-top: none;
}
.footer a { color: rgba(255,255,255,0.9); }
.footer .copyright { font-size: 13px; }

/* 响应式 - 移动端导航白底深字 */
@media (max-width: 991px) {
  .hero-figure-col { margin-top: 24px; }
}
@media (max-width: 767px) {
  .hero-section .heading { font-size: 18px; }
  .hero-section .intro { font-size: 13px; }
  .carousel-content { padding: 60px 15px 50px; }
  .hero-highlights { margin-top: 18px; padding-top: 16px; gap: 10px 12px; }
  .hero-highlight-item { font-size: 12px; }
  .hero-figure-col { margin-top: 20px; }
  .hero-section .carousel-control-prev,
  .hero-section .carousel-control-next {
    width: 40px;
    height: 40px;
  }
  .hero-section .carousel-control-prev { left: 8px; }
  .hero-section .carousel-control-next { right: 8px; }
  .hero-section .carousel-control-prev-icon,
  .hero-section .carousel-control-next-icon { width: 20px; height: 20px; }
  .section { padding: 50px 0; }
  .section-title { font-size: 26px; }
  .main-nav .navbar-collapse {
    background: #fff;
    padding: 15px;
    margin-top: 10px;
    border-radius: 12px;
    border: 1px solid var(--divider);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  }
  .main-nav .nav-link { text-align: center; }
  .main-nav .nav-link:hover { color: var(--color-primary) !important; }
  .main-nav .nav-link.active { color: var(--color-primary) !important; }
}
