html, body {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}

/* 页面基础 */
.page {
  width: 100%;
  min-height: 100vh;
  background-color: #f5f7fb;
}

/* 导航栏 */
.navbar {
  background: #fff;
  box-shadow: 0 0.053rem 0.16rem rgba(0,0,0,0.08);
  height: 2.667rem;
  padding: 0 1.28rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  width: 5.787rem;
  height: 1.493rem;
}

.nav-links {
  gap: 2.133rem;
}

.nav-link {
  font-size: 0.64rem;
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-link:hover {
  color: #3f6dc0;
}

.nav-link.active {
  color: #3f6dc0;
}

.nav-link-btn {
  font-size: 0.64rem;
  color: #003d72;
  text-decoration: none;
  padding: 0.267rem 0.8rem;
  border: 1px solid #003d72;
  border-radius: 0.213rem;
  transition: all 0.3s;
}

.nav-link-btn:hover {
  background: #003d72;
  color: #fff;
}

/* Banner区域 */
.banner {
  background: linear-gradient(rgba(3,67,122,0.24), rgba(0,61,114,0.2)), url('../assets/images/standardized-dataset/0de2f7d65de14af4a5a3851f323cc9df_mergeImage.png');
  background-size: cover;
  background-position: center;
  height: 17.6rem;
  padding: 4rem 0;
}

.banner-title {
  font-size: 2.133rem;
  color: #fff;
  margin: 2.5rem 0 0.8rem 0;
}

.banner-desc {
  font-size: 0.64rem;
  color: #fff;
  margin: 0 0 2rem 0;
}

.banner-actions {
  width: 48.64rem;
  gap: 0.533rem;
}

.banner-subtitle {
  font-size: 0.533rem;
  color: #fff;
}

.data-market-btn {
  background: #fff;
  border: none;
  border-radius: 1.067rem;
  padding: 0.267rem 0.533rem;
  gap: 0.213rem;
  color: #3f6dc0;
  font-size: 0.48rem;
  cursor: pointer;
  transition: all 0.3s;
}
.data-market-btn a {
  text-decoration: none;
  color: #003D72;
}

.data-market-btn:hover {
  background: #f0f0f0;
}

.data-market-btn img {
  width: 0.427rem;
  height: 0.427rem;
}

/* 主内容区 */
.main-content {
  padding: 1.6rem 2.56rem;
}

/* 数据分类导航 */
.category-nav {
  background: #fff;
  padding: 0.8rem 2.133rem;
  border-radius: 0.267rem;
  margin-bottom: 1.6rem;
  position: sticky;
  top: 2.93rem;
  z-index: 50;
}

.category-link {
  font-size: 0.64rem;
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.3s;
  position: relative;
  display: inline-block;
}

.category-link:hover {
  color: #3f6dc0;
}

.category-link.active {
  color: #003D72;
}

.category-link.active::after {
  content: '';
  position: absolute;
  bottom: -0.8rem;
  left: 0;
  width: 100%;
  height: 2px;
  background: #003D72;
}

/* 内容容器 */
.content-container {
  /* 移除固定高度，让内容自然流动 */
}

/* 数据分类区域 */
.data-section {
  margin-bottom: 2.133rem;
}

.section-header {
  gap: 0.427rem;
  margin-bottom: 1.067rem;
}

.section-header img {
  width: 0.96rem;
  height: 0.96rem;
}

.section-header h2 {
  font-size: 1.067rem;
  color: #1a1a1a;
  margin: 0;
}

/* 卡片网格 */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.067rem;
}

/* 数据卡片 */
.data-card {
  background: #fff;
  border-radius: 0.267rem;
  padding: 0.8rem;
  transition: all 0.3s;
  cursor: pointer;
  overflow: hidden;
}

.data-card:hover {
  box-shadow: 0 0.267rem 1.067rem rgba(0,0,0,0.1);
  transform: translateY(-0.267rem);
}

.card-img {
  width: calc(100% + 1.6rem);
  height: 5.333rem;
  object-fit: cover;
  border-radius: 0.267rem 0.267rem 0 0;
  margin: -0.8rem -0.8rem 0.533rem -0.8rem;
}

.card-building {
  height: 5.333rem;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  border-radius: 0.213rem;
  margin-bottom: 0.533rem;
  color: #999;
  padding-bottom: 0.267rem;
  font-size: 0.533rem;
  background-image: url('../assets//images//standardized-dataset/empty.png');
  background-size: cover;
  background-position: center;
}

.card-header {
  margin-bottom: 0.427rem;
}

.card-header h3 {
  font-size: 0.64rem;
  color: #1a1a1a;
  margin: 0;
}

.tag {
  background: #e8f0ff;
  color: #3f6dc0;
  font-size: 0.427rem;
  padding: 0.107rem 0.32rem;
  border-radius: 0.107rem;
}
.place-tag{
  color: #32B6FF;
  background: #E6F6FF;
}

.card-desc {
  font-size: 0.427rem;
  color: #666;
  line-height: 1.5;
  height: 2.4rem;
  margin: 0 0 0.533rem 0;
  padding-bottom: 0.533rem;
  word-break: break-all;
  border-bottom: 1px dashed #e0e0e0;
}

/* 卡片特性 */
.card-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.32rem;
}

.feature-item {
  gap: 0.213rem;
  overflow: hidden;
}

.dot {
  width: 0.16rem;
  height: 0.16rem;
  background: #3f6dc0;
  border-radius: 50%;
  flex-shrink: 0;
}

.feature-item span:last-child {
  font-size: 0.373rem;
  color: #666;
  line-height: 1.4;
}

/* 页脚 */
.footer {
  background: #2c3e50;
  color: #fff;
  padding: 2.133rem 2.56rem 1.067rem;
}

.footer-nav {
  gap: 2.667rem;
  margin-bottom: 1.6rem;
}

.footer-title {
  font-size: 0.64rem;
  font-weight: 500;
}

.footer-content {
  gap: 2.133rem;
  margin-bottom: 1.6rem;
}

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

.footer-col a {
  color: rgba(255,255,255,0.8);
  font-size: 0.48rem;
  text-decoration: none;
  transition: color 0.3s;
}

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

.footer-contact {
  flex: 1;
}

.footer-contact p {
  font-size: 0.427rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
  margin: 0.267rem 0;
}

.footer-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.267rem;
}

.footer-qr img {
  width: 3.2rem;
  height: 3.2rem;
}

.footer-qr p {
  font-size: 0.427rem;
  color: rgba(255,255,255,0.8);
  margin: 0;
}

.footer-copyright {
  text-align: center;
  font-size: 0.427rem;
  color: rgba(255,255,255,0.6);
  padding-top: 1.067rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* 滚动动画 */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(0.8rem);
  transition: opacity 0.6s, transform 0.6s;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 不同列数布局 */
.card-features.cols-1 {
  grid-template-columns: 1fr;
}

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

.card-features.cols-3-1 {
  grid-template-columns: 1fr 1fr;
}

.card-features.cols-3-1 .feature-item:nth-child(1),
.card-features.cols-3-1 .feature-item:nth-child(3) {
  grid-column: 1;
}

.card-features.cols-3-1 .feature-item:nth-child(2) {
  grid-column: 1 / 3;
}

.card-features.cols-3-1 .feature-item:nth-child(4) {
  grid-column: 2;
  grid-row: 1;
}

/* 充电桩卡片特殊样式 */
.charging-pile-card .card-desc {
  color: #BEBEBE;
  word-break: break-all;
}

.charging-pile-card .feature-item span:last-child {
  color: #BEBEBE;
}
.img-wrap{
  position: relative;
}
.img-wrap .tips {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.373rem;
  color: #1A1A1A;
}

/* 卡片操作按钮 */
.data-card {
  position: relative;
}

.card-actions {
  position: absolute;
  bottom: 0.8rem;
  left: 0.8rem;
  right: 0.8rem;
  display: flex;
  gap: 0.533rem;
  opacity: 0;
  transform: translateY(0.267rem);
  transition: all 0.3s;
  pointer-events: none;
  padding: 0.2rem;
  background-color: #fff;
}

.data-card:hover .card-actions {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.card-actions button {
  flex: 1;
  padding: 0.267rem 0.533rem;
  border: none;
  border-radius: 0.213rem;
  font-size: 0.427rem;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-detail {
  background: #fff;
  color: #3f6dc0;
  border: 1px solid #3f6dc0 !important;
}

.btn-detail:hover {
  background: #f0f5ff;
  border-color: #3f6dc0 !important;
}

.btn-consult {
  background: linear-gradient(270deg,#0070AB 0%, #003D72 100%);
  color: #fff;
}

.btn-consult:hover {
  opacity: 0.9;
}

/* 模态框 */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal-overlay.active {
  display: flex;
}

.modal-container {
  background: #fff;
  border-radius: 0.267rem;
  width: 90%;
  max-width: 16rem;
  max-height: 90vh;
  overflow: auto;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem;
  border-bottom: 1px solid #e0e0e0;
}

.modal-header h3 {
  margin: 0;
  font-size: 0.64rem;
  color: #1a1a1a;
}

.close-btn {
  background: none;
  border: none;
  font-size: 1.067rem;
  color: #999;
  cursor: pointer;
  line-height: 1;
}

.close-btn:hover {
  color: #333;
}

.modal-body {
  padding: 0.8rem;
}

.form-group {
  margin-bottom: 0.533rem;
}

.form-group label {
  display: block;
  font-size: 0.427rem;
  color: #333;
  margin-bottom: 0.213rem;
}

.required {
  color: #f56c6c;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.267rem;
  border: 1px solid #dcdfe6;
  border-radius: 0.107rem;
  font-size: 0.427rem;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #3f6dc0;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.533rem;
  padding: 0.8rem;
  border-top: 1px solid #e0e0e0;
}

.modal-footer button {
  padding: 0.267rem 0.8rem;
  border: none;
  border-radius: 0.213rem;
  font-size: 0.427rem;
  cursor: pointer;
}

.btn-cancel {
  background: #fff;
  color: #606266;
  border: 1px solid #dcdfe6;
}

.btn-cancel:hover {
  background: #f5f7fa;
}

.btn-submit {
  background: linear-gradient(135deg, #3f6dc0 0%, #5a8dd9 100%);
  color: #fff;
}

.btn-submit:hover {
  opacity: 0.9;
}
