/* index_v2.css - 主页样式文件 */
.hero {
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(circle at 50% 10%, rgba(118, 75, 162, 0.15) 0%, transparent 60%);
  padding-top: 60px;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 0;
  background: rgba(11, 14, 20, 0.85);
  backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  height: 80px;
  display: flex;
  align-items: center;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-size: 24px;
  font-weight: 800;
  background: var(--primary-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav-links a {
  font-size: 15px;
  color: var(--text-secondary);
  font-weight: 500;
  text-decoration: none;
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-links a:hover {
  color: var(--text-main);
}

.nav-item-with-popover {
  /* position: relative; */
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-item-with-popover>a {
  display: flex;
  align-items: center;
  height: 100%;
}

.btn-primary {
  padding: 12px 32px;
  background: #2563eb;
  color: white;
  border-radius: 50px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  background: #1d4ed8;
}

/* 底边栏样式 */
.bottomSidebar {
  background: #000;
  color: #FFF;
  padding: 50px;
  /* margin-top: 50px; */
}

.bottomSidebar .bottomSidebar-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #FFF;
  width: 1220px;
  padding: 30px 0;
  margin-bottom: 30px;
}

.bottomSidebar .bottomSidebar-top .top-item {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #94a3b8;
  transition: color 0.3s ease;
}

.bottomSidebar .bottomSidebar-top .top-item img {
  width: 40px;
}

.bottomSidebar .bottomSidebar-top .top-item:hover {
  color: #ffffff;
}

.bottomSidebar .bottomSidebar-flex {
  width: 1220px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

.bottomSidebar .bottomSidebar-flex .logo .logo-img {
  width: 200px;
}

.bottomSidebar .bottomSidebar-flex .logo .logo-box {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-top: 20px;
}

.bottomSidebar .bottomSidebar-flex .logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.bottomSidebar .bottomSidebar-flex .logo .logo-box img {
  margin-right: 10px;
  margin-top: 10px;
}

.bottomSidebar .bottomSidebar-flex .util-list {
  color: #FFF;
  line-height: 40px;
  margin-left: 40px;
}

.bottomSidebar .bottomSidebar-flex .util-list h1 {
  margin-bottom: 12px;
  line-height: 16px;
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
}

.bottomSidebar .bottomSidebar-flex .info {
  margin-left: 40px;
  line-height: 40px;
}

.bottomSidebar .bottomSidebar-flex .info h1 {
  margin-bottom: 12px;
  line-height: 16px;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

.bottomSidebar .bottomSidebar-flex .info p {
  display: flex;
  align-items: center;
}

.bottomSidebar .bottomSidebar-flex .info p img {
  width: 30px;
  margin-right: 5px;
}

.bottomSidebar .bottomSidebar-flex .info .qrcode {
  display: flex;
  text-align: center;
  margin-top: 9px;
}

.bottomSidebar .bottomSidebar-flex .info .qrcode .qrcode-item {
  text-align: center;
  margin-right: 40px;
}

.bottomSidebar .bottomSidebar-flex .info .qrcode .qrcode-item img {
  width: 90px;
}

.bottomSidebar .bottomSidebar-flex .info .qrcode .qrcode-item div {
  margin-top: -12px;
}

.bottomSidebar .copyright {
  text-align: center;
  font-size: 13px;
  margin-top: 20px;
}

/* 联系模块样式 */
.contact-hero {
  padding-top: 160px;
  padding-bottom: 80px;
  background: radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(192, 132, 252, 0.1) 0%, transparent 40%);
  font-family: "Inter", "Noto Sans SC", sans-serif;
}

/* 增大关于我们和员工防伪模块的高度 */
#about.section-padding,
#employee-verification.section-padding {
  padding: 100px 0;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  padding: 0 20px;
}

/* 左侧文案区 */
.contact-info-side h1 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.2;
  font-family: "Inter", "Noto Sans SC", sans-serif;
}

.contact-method-item {
  margin-top: 40px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.method-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60A5FA;
  font-size: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 右侧表单区 - 玻璃拟态 */
.form-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  padding: 48px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.full-width {
  grid-column: span 2;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  color: #94a3b8;
  font-weight: 500;
  margin-left: 4px;
  font-family: "Inter", "Noto Sans SC", sans-serif;
}

.form-group label span {
  color: #ef4444;
  margin-left: 4px;
}

/* 输入框样式 */
.form-control {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 14px 18px;
  color: white;
  font-size: 15px;
  transition: all 0.3s ease;
  font-family: "Inter", "Noto Sans SC", sans-serif;
}

/* 修复浏览器验证时的背景色问题 */
.form-control:valid {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
}

.form-control:invalid {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
}

/* 针对Chrome/Safari的自动填充样式 */
.form-control:-webkit-autofill,
.form-control:-webkit-autofill:hover,
.form-control:-webkit-autofill:focus,
.form-control:-webkit-autofill:active {
  -webkit-background-clip: text;
  -webkit-text-fill-color: white;
  background-color: rgba(15, 23, 42, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 5000s ease-in-out 0s;
}

/* 针对Firefox的自动填充样式 */
.form-control:-moz-autofill {
  background-color: rgba(15, 23, 42, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 确保输入框在所有状态下的样式一致 */
.form-control:not(:focus):not(:hover):not(:valid):not(:invalid) {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
}

/* 隐藏浏览器默认的验证提示框 */
input:invalid {
  box-shadow: none !important;
}

input:focus:invalid {
  box-shadow: none !important;
  outline: none !important;
}

/* 隐藏浏览器默认的验证提示气泡 */
input::-webkit-validation-bubble {
  display: none !important;
}

input::-webkit-validation-bubble-top-outer-arrow {
  display: none !important;
}

input::-webkit-validation-bubble-top-inner-arrow {
  display: none !important;
}

input::-webkit-validation-bubble-message {
  display: none !important;
}

input::-webkit-validation-bubble-message-override {
  display: none !important;
}

/* 设置输入框placeholder颜色 */
.form-control::placeholder {
  color: #94a3b8;
  opacity: 1;
}

.form-control::-webkit-input-placeholder {
  color: #94a3b8;
  opacity: 1;
}

.form-control::-moz-placeholder {
  color: #94a3b8;
  opacity: 1;
}

.form-control:-ms-input-placeholder {
  color: #94a3b8;
  opacity: 1;
}

.form-control:focus {
  outline: none;
  border-color: #3b82f6;
  background: rgba(15, 23, 42, 0.8);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 16px;
  /* color: white; */
}

/* 选中状态的下拉框文字颜色 */
select.form-control option:checked {
  color: white;
}

textarea.form-control {
  resize: none;
  height: 120px;
}

.submit-btn {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 16px;
  margin-top: 10px;
}

@media (max-width: 968px) {
  .contact-container {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .full-width {
    grid-column: span 1;
  }
}

/* Swiper 轮播图样式 */
.swiper {
  width: 100%;
  padding: 40px 0;
}

.swiper-slide {
  display: flex;
  justify-content: center;
}

.mySwiper .case-card-featured {
  width: 100%;
  max-width: 600px;
  /* 限制单个案例卡片的最大宽度 */
}

/* 分页器样式 */
.swiper-pagination {
  bottom: 0 !important;
}

.swiper-pagination-bullet {
  background: #9ca3af;
  opacity: 0.5;
  transition: opacity 0.3s, background 0.3s;
}

.swiper-pagination-bullet-active {
  background: #3b82f6;
  opacity: 1;
}

/* 导航按钮样式 */
.swiper-button-next,
.swiper-button-prev {
  color: #3b82f6;
  background: rgba(255, 255, 255, 0.1);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: all 0.3s;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: #3b82f6;
  color: white;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 18px;
  font-weight: bold;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .swiper {
    padding: 20px 0;
  }

  .mySwiper .case-card-featured {
    max-width: 100%;
    margin: 0 10px;
  }
}