/* ========================================
   联系我们页面样式
   ======================================== */

/* ---- 页面 Banner ---- */
.page-banner {
  position: relative;
  padding: 160px 0 80px;
  background: linear-gradient(135deg, #0A0A0A 0%, #1a0a0c 50%, #0A0A0A 100%);
  text-align: center;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(214, 0, 28, 0.08) 0%, transparent 60%);
}

.page-banner-content {
  position: relative;
  z-index: 1;
}

.page-banner h1 {
  font-size: 48px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 16px;
}

.page-banner h1 span {
  color: var(--color-red);
}

.page-banner p {
  font-size: 18px;
  color: var(--color-gray-light);
  max-width: 560px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 14px;
  color: var(--color-gray-mid);
}

.breadcrumb a:hover {
  color: var(--color-red);
}

/* ---- 联系信息 ---- */
.contact-info-section {
  background-color: var(--color-black);
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.contact-info-card {
  background: var(--color-gray-dark);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 40px 32px;
  text-align: center;
  transition: all 0.3s ease;
}

.contact-info-card:hover {
  border-color: rgba(214, 0, 28, 0.3);
  transform: translateY(-4px);
}

.contact-info-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: rgba(214, 0, 28, 0.1);
  border: 1px solid rgba(214, 0, 28, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-red);
}

.contact-info-card h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 8px;
}

.contact-info-card p {
  font-size: 15px;
  color: var(--color-gray-light);
  line-height: 1.6;
}

/* ---- 表单区域 ---- */
.contact-form-section {
  background-color: #0d0d0d;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-form-left h3 {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 16px;
}

.contact-form-left h3 span {
  color: var(--color-red);
}

.contact-form-left > p {
  font-size: 16px;
  color: var(--color-gray-light);
  line-height: 1.7;
  margin-bottom: 40px;
}

.contact-form {
  background: var(--color-gray-dark);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 40px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-white);
  margin-bottom: 8px;
}

.form-group label .required {
  color: var(--color-red);
  margin-left: 2px;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  outline: none;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-input::placeholder {
  color: var(--color-gray-mid);
}

.form-input:focus {
  border-color: rgba(214, 0, 28, 0.5);
  background: rgba(255, 255, 255, 0.05);
}

textarea.form-input {
  min-height: 140px;
  resize: vertical;
}

.form-submit {
  width: 100%;
  padding: 16px;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-white);
  background: var(--color-red);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-submit:hover {
  background: var(--color-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(214, 0, 28, 0.3);
}

/* 表单成功提示 */
.form-success {
  display: none;
  text-align: center;
  padding: 60px 40px;
}

.form-success.active {
  display: block;
}

.form-success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: rgba(214, 0, 28, 0.1);
  border: 2px solid var(--color-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-red);
}

.form-success h4 {
  font-size: 22px;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 12px;
}

.form-success p {
  font-size: 15px;
  color: var(--color-gray-light);
  line-height: 1.6;
}

/* ---- 合作支持 ---- */
.support-section {
  background-color: var(--color-black);
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.support-card {
  background: var(--color-gray-dark);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.support-card:hover {
  border-color: rgba(214, 0, 28, 0.3);
  transform: translateY(-4px);
}

.support-card .number {
  font-size: 36px;
  font-weight: 800;
  color: var(--color-red);
  margin-bottom: 8px;
}

.support-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 8px;
}

.support-card p {
  font-size: 14px;
  color: var(--color-gray-light);
  line-height: 1.6;
}

/* ========================================
   响应式
   ======================================== */
@media (max-width: 1023px) {
  .page-banner {
    padding: 140px 0 60px;
  }

  .page-banner h1 {
    font-size: 38px;
  }

  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .support-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .page-banner {
    padding: 120px 0 48px;
  }

  .page-banner h1 {
    font-size: 30px;
  }

  .page-banner p {
    font-size: 16px;
  }

  .contact-form-left h3 {
    font-size: 24px;
  }

  .contact-form {
    padding: 28px 20px;
  }

  .support-grid {
    grid-template-columns: 1fr;
  }

  .support-card {
    padding: 28px 20px;
  }
}
