/**
 * 爱点亮 - 联系我们页面样式
 */

/* ============================================
   Hero 区域
   ============================================ */
.contact-hero {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.contact-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #252525 50%, #1a1a1a 100%);
}

.contact-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 30% 50%, rgba(201, 169, 98, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(201, 169, 98, 0.08) 0%, transparent 50%);
}

.contact-hero-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A962' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.contact-hero-content {
  position: relative;
  z-index: 1;
  padding: 120px var(--container-padding) 60px;
}

.contact-hero-label {
  display: inline-block;
  font-size: 13px;
  color: var(--accent-gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.contact-hero-title {
  font-size: clamp(36px, 6vw, 52px);
  font-weight: 300;
  color: var(--text-inverse);
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}

.contact-hero-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ============================================
   联系方式概览
   ============================================ */
.contact-overview {
  padding: 60px var(--container-padding);
  background: var(--surface-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.overview-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  transition: all 0.4s ease;
}

.overview-card:hover {
  background: rgba(201, 169, 98, 0.05);
  border-color: rgba(201, 169, 98, 0.2);
  transform: translateY(-4px);
}

.overview-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 169, 98, 0.1);
  border-radius: 12px;
  color: var(--accent-gold);
}

.overview-content h3 {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.overview-value {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-inverse);
  text-decoration: none;
  margin-bottom: 6px;
  line-height: 1.5;
}

a.overview-value:hover {
  color: var(--accent-gold);
}

.overview-note {
  font-size: 12px;
  color: var(--text-muted);
}

/* ============================================
   主要内容区
   ============================================ */
.contact-main {
  padding: 80px var(--container-padding);
  background: var(--surface-dark);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  max-width: 1400px;
  margin: 0 auto;
}

/* ============================================
   信息面板
   ============================================ */
.contact-info-panel {
  padding-right: 40px;
}

.info-section {
  margin-bottom: 40px;
}

.info-section:last-child {
  margin-bottom: 0;
}

.info-title {
  font-size: 24px;
  font-weight: 400;
  color: var(--text-inverse);
  margin-bottom: 16px;
}

.info-text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
}

.info-subtitle {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-inverse);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.advantage-list {
  list-style: none;
}

.advantage-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 14px;
  color: var(--text-muted);
}

.advantage-list li:last-child {
  border-bottom: none;
}

.advantage-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 169, 98, 0.15);
  border-radius: 50%;
  color: var(--accent-gold);
}

/* 合作流程 */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.process-step:hover {
  background: rgba(201, 169, 98, 0.08);
  border-color: rgba(201, 169, 98, 0.2);
}

.step-number {
  font-size: 24px;
  font-weight: 300;
  color: var(--accent-gold);
  margin-bottom: 8px;
}

.step-text {
  font-size: 13px;
  color: var(--text-muted);
}

/* ============================================
   表单面板
   ============================================ */
.contact-form-panel {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 40px;
}

.form-header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.form-title {
  font-size: 22px;
  font-weight: 400;
  color: var(--text-inverse);
  margin-bottom: 8px;
}

.form-desc {
  font-size: 14px;
  color: var(--text-muted);
}

/* 表单样式 */
.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}

.contact-form label .required {
  color: #e74c3c;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--text-inverse);
  font-size: 14px;
  transition: all 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-muted);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent-gold);
  background: rgba(201, 169, 98, 0.05);
}

.contact-form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.contact-form select option {
  background: var(--surface-dark);
  color: var(--text-inverse);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

/* 复选框 */
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  appearance: none;
  transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
}

.checkbox-label input[type="checkbox"]:checked::after {
  content: '✓';
  display: block;
  color: var(--surface-dark);
  font-size: 12px;
  text-align: center;
  line-height: 16px;
}

.checkbox-text {
  font-size: 13px;
  color: var(--text-muted);
}

.checkbox-text a {
  color: var(--accent-gold);
  text-decoration: none;
}

.checkbox-text a:hover {
  text-decoration: underline;
}

/* 提交按钮 */
.form-submit {
  margin-top: 32px;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 32px;
  background: var(--accent-gold);
  border: none;
  border-radius: 10px;
  color: var(--surface-dark);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  background: var(--accent-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 169, 98, 0.3);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* 成功提示 */
.form-success {
  text-align: center;
  padding: 40px 20px;
}

.success-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  background: rgba(34, 197, 94, 0.1);
  border-radius: 50%;
  color: #22c55e;
}

.form-success h3 {
  font-size: 22px;
  color: var(--text-inverse);
  margin-bottom: 12px;
}

.form-success p {
  font-size: 14px;
  color: var(--text-muted);
}

/* ============================================
   地图区域
   ============================================ */
.contact-map {
  background: var(--surface-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.map-container {
  display: grid;
  grid-template-columns: 360px 1fr;
  max-width: 1400px;
  margin: 0 auto;
  min-height: 400px;
}

.map-info {
  padding: 60px 40px;
  background: rgba(201, 169, 98, 0.05);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.map-info h3 {
  font-size: 22px;
  font-weight: 400;
  color: var(--text-inverse);
  margin-bottom: 12px;
}

.map-info p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.7;
}

.map-transport {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.transport-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-muted);
}

.transport-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  color: var(--accent-gold);
}

.map-embed {
  min-height: 400px;
}

/* ============================================
   社交链接
   ============================================ */
.social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: rgba(201, 169, 98, 0.15);
  border-color: rgba(201, 169, 98, 0.3);
  color: var(--accent-gold);
  transform: translateY(-2px);
}

/* ============================================
   FAQ 区域
   ============================================ */
.contact-faq {
  padding: 80px var(--container-padding);
  background: var(--surface-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-title {
  font-size: 28px;
  font-weight: 400;
  color: var(--text-inverse);
  text-align: center;
  margin-bottom: 48px;
  letter-spacing: 0.1em;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(201, 169, 98, 0.2);
}

.faq-item.active {
  border-color: rgba(201, 169, 98, 0.3);
  background: rgba(201, 169, 98, 0.03);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  user-select: none;
}

.faq-q {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-inverse);
  flex: 1;
}

.faq-icon {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--accent-gold);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================
   响应式
   ============================================ */
@media (max-width: 1200px) {
  .overview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .contact-info-panel {
    padding-right: 0;
  }
  
  .map-container {
    grid-template-columns: 1fr;
  }
  
  .map-info {
    padding: 40px var(--container-padding);
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
}

@media (max-width: 768px) {
  .contact-hero-content {
    padding: 100px var(--container-padding) 50px;
  }
  
  .overview-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .overview-card {
    padding: 20px;
  }
  
  .contact-main {
    padding: 50px var(--container-padding);
  }
  
  .contact-form-panel {
    padding: 28px;
  }
  
  .contact-form .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-faq {
    padding: 50px var(--container-padding);
  }
  
  .faq-title {
    font-size: 22px;
    margin-bottom: 32px;
  }
  
  .faq-question {
    padding: 16px 20px;
  }
  
  .faq-answer p {
    padding: 0 20px 16px;
  }
}

@media (max-width: 480px) {
  .contact-hero-title {
    font-size: 28px;
  }
  
  .process-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  
  .process-step {
    padding: 14px 8px;
  }
  
  .step-number {
    font-size: 18px;
  }
  
  .step-text {
    font-size: 11px;
  }
}
