* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  /* background-color: #0f5de7; */
}

section {
  display: none;
}

.index {
  display: block;
  position: relative;
}

.index a {
  position: absolute;

}

#enter {
  top: 85vw;
  left: 16vw;
  width: 68vw;
  height: 15vw;
}

#detail {
  top: 103vw;
  left: 17vw;
  width: 32vw;
  height: 12vw;
}

#download {
  top: 103vw;
  left: 51vw;
  width: 32vw;
  height: 12vw;
}

#submit {
  top: 117vw;
  left: 16vw;
  width: 68vw;
  height: 15vw;
}

.index img {
  width: 100%;
}

.brand {
  background-color: #0f5de7;
  padding-bottom: 20px;
}

/* 海报样式 */
.poster {
  width: 100%;
}

.poster img {
  width: 100%;
  height: auto;
  display: block;
}

/* 品牌列表样式 */
.brand-list {
  list-style: none;
  margin: 20px auto;
  width: 92%;
}

.brand-item {
  display: flex;
  padding: 15px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  margin: 8px 0;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0px 1px 1px 0px #a5a5a5;
}

.brand-item:hover {
  background-color: #f5f5f5;
}

.brand-logo {
  width: 70px;
  height: 70px;
  margin-right: 15px;
  object-fit: contain;
  border: 1px solid #e3e3e3;
}

.brand-info {
  flex: 1;
}

.brand-name {
  font-size: 14px;
  color: #666;
  line-height: 1.4;
}

.brand-desc {
  font-size: 16px;
  margin-bottom: 5px;
}

/* 弹框样式 */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
  justify-content: center;
  align-items: center;
  /* 修改为底部对齐 */
}

.modal.show {
  display: flex;
  justify-content: center;
  align-items: center;
  /* 修改为底部对齐 */
  opacity: 1;
}

.modal-content {
  background-color: white;
  width: 88%;
  max-width: 500px;
  border-radius: 8px;
  overflow: hidden;
  transform: translateY(100%);
  /* 初始位置在屏幕外 */
  transition: transform 0.4s ease-out;
}

.modal.show .modal-content {
  transform: translateY(0);
  /* 滑动到正常位置 */
}

.modal-header {
  display: flex;
  padding: 15px;
  border-bottom: 1px solid #eee;
}

.modal-logo {
  width: 80px;
  height: 80px;
  /* border-radius: 8px; */
  margin-right: 15px;
  object-fit: contain;
  border: 1px solid #e3e3e3;
}

.modal-company-info {
  flex: 1;
}

.modal-company-name {
  font-size: 18px;
  margin-bottom: 5px;
}

.modal-industry {
  font-size: 14px;
  color: #666;
}

.modal-body {
  padding: 15px;
  max-height: 130vw;
  overflow: auto;
}

.modal-desc {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 10px;
}

.modal-footer {
  display: flex;
  padding: 10px;
  margin: 10px 0;
  border-top: 1px solid #eee;
}

.modal-btn {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-size: 14px;
  margin: 0 5px;
}

.btn-back {
  background-color: #f0f0f0;
}

.btn-website {
  background-color: #0f5de7;
  color: white;
}