/* ============================================
   相亲角页 - 玫瑰金主题
   ============================================ */

/* ============================================
   页面头部横幅
   ============================================ */
.page-header {
  position: relative;
  background: #d43f50;
  color: #fff;
  padding: 80px 0 60px;
  text-align: center;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  z-index: 0;
}

.page-header h1 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 4px;
  position: relative;
  margin-bottom: 16px;
}

.page-header p {
  font-size: 18px;
  opacity: .92;
  letter-spacing: 2px;
  position: relative;
}

/* ============================================
   内容卡片
   ============================================ */
.content-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 40px;
  margin-bottom: 30px;
  box-shadow: var(--shadow);
  border: 2px solid var(--border-light);
  transition: all 0.3s ease;
}

.content-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.content-card h2 {
  font-size: 24px;
  color: var(--primary);
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--bg);
}

.content-card h3 {
  font-size: 18px;
  color: var(--text);
  margin: 25px 0 15px;
}

.content-card p {
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 15px;
}

/* ============================================
   特色网格布局
   ============================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 30px 0;
}

.feature-item {
  text-align: center;
  padding: 30px;
  background: var(--bg);
  border-radius: var(--radius);
  transition: all .3s ease;
  border: 2px solid var(--border-light);
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.feature-item .icon {
  font-size: 48px;
  margin-bottom: 15px;
  display: block;
}

.feature-item h4 {
  font-size: 16px;
  margin-bottom: 10px;
  color: var(--primary);
}

.feature-item p {
  font-size: 14px;
  color: var(--text-muted);
}

/* ============================================
   信息表格
   ============================================ */
.info-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.info-table th,
.info-table td {
  padding: 15px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.info-table th {
  background: var(--bg);
  color: var(--primary);
  font-weight: 600;
  width: 200px;
}

.info-table td {
  color: var(--text-light);
}

/* ============================================
   CTA 按钮（宜昌相亲角页内联）
   ============================================ */
.btn-jidi-cta {
  display: inline-block;
  padding: 12px 40px;
  background: #d43f50;
  color: #fff;
  border-radius: 25px;
  font-size: 16px;
  transition: all 0.3s ease;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(212, 63, 80, 0.3);
  letter-spacing: 2px;
}

.btn-jidi-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(212, 63, 80, 0.4);
}

/* ============================================
   客服二维码区域（与 cases 页面统一）
   ============================================ */
.qrcode-section {
  padding: 60px 20px;
  background: linear-gradient(180deg, #fff5f7 0%, #ffffff 40%);
  position: relative;
}

.qrcode-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #d43f50;
}

.qrcode-section-header {
  text-align: center;
  margin-bottom: 36px;
}

.qrcode-section-header h2 {
  font-size: 28px;
  font-weight: 700;
  color: #333;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.qrcode-section-header p {
  font-size: 15px;
  color: #999;
  letter-spacing: 1px;
}

.qrcode-card {
  max-width: 920px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #fce0e4;
  border-radius: 24px;
  padding: 48px 56px;
  display: flex;
  align-items: center;
  gap: 52px;
  box-shadow: 0 4px 24px rgba(212, 63, 80, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.qrcode-card::after {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(212, 63, 80, 0.04) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.qrcode-left {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.qrcode-title {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin-bottom: 14px;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.qrcode-title::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 24px;
  background: #d43f50;
  border-radius: 2px;
  flex-shrink: 0;
}

.qrcode-desc {
  font-size: 15px;
  color: #777;
  margin-bottom: 6px;
  line-height: 1.8;
  padding-left: 12px;
}

.qrcode-contact {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-left: 12px;
}

.qrcode-phone,
.qrcode-wechat {
  background: #fff;
  padding: 10px 22px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  color: #d43f50;
  border: 1px solid #fce0e4;
  transition: all 0.3s ease;
}

.qrcode-phone:hover,
.qrcode-wechat:hover {
  background: #d43f50;
  color: #fff;
  border-color: #d43f50;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(212, 63, 80, 0.25);
}

.qrcode-right {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.qrcode-img-wrapper {
  background: #fff;
  padding: 16px;
  border-radius: 20px;
  box-shadow: 0 6px 28px rgba(212, 63, 80, 0.15);
  display: inline-block;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease;
  border: 1px solid #fce0e4;
  position: relative;
}

.qrcode-img-wrapper:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 40px rgba(212, 63, 80, 0.25);
}

.qrcode-img-wrapper img {
  display: block;
  border-radius: 12px;
}

.qrcode-tip {
  margin-top: 14px;
  font-size: 13px;
  color: #aaa;
  letter-spacing: 1px;
  text-align: center;
  font-weight: 500;
}

/* ============================================
   响应式布局
   ============================================ */
@media (max-width: 768px) {
  .qrcode-section { padding: 40px 16px; }
  .qrcode-card {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
    gap: 28px;
  }
  .qrcode-contact { justify-content: center; padding-left: 0; }
  .qrcode-title { font-size: 20px; justify-content: center; }
  .qrcode-desc { padding-left: 0; }
  .qrcode-section-header h2 { font-size: 22px; }

  .page-header {
    padding: 50px 0 40px;
  }

  .page-header h1 {
    font-size: 26px;
    letter-spacing: 2px;
  }

  .page-header p {
    font-size: 15px;
    letter-spacing: 1px;
  }

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

  .info-table th {
    width: 120px;
    min-width: 100px;
  }

  .content-card {
    padding: 24px 16px;
  }
}

@media (max-width: 480px) {
  .qrcode-section { padding: 28px 12px; }
  .qrcode-card { padding: 24px 18px; }
  .qrcode-img-wrapper img { width: 140px; height: 140px; }

  .info-table th {
    width: auto;
    min-width: 80px;
    white-space: nowrap;
  }

  .page-header {
    padding: 36px 0 28px;
  }

  .page-header h1 {
    font-size: 22px;
    letter-spacing: 2px;
  }

  .page-header p {
    font-size: 14px;
  }

  .feature-item {
    padding: 20px 16px;
  }

  .feature-item .icon {
    font-size: 36px;
  }

  .content-card {
    padding: 20px 14px;
  }

  .content-card h2 {
    font-size: 18px;
  }

  .btn-jidi-cta {
    padding: 10px 28px;
    font-size: 14px;
  }
}
