/* 联系页面样式 */

/* Hero 区域 */
.contact-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 50%, #fcd34d 100%);
}

.hero-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.3;
  animation: float 6s ease-in-out infinite;
}

.shape-1 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, #fcd34d, #f59e0b);
  top: 10%;
  left: -100px;
  animation-delay: 0s;
}

.shape-2 {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, #fbbf24, #d97706);
  top: 60%;
  right: -50px;
  animation-delay: 2s;
}

.shape-3 {
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, #f59e0b, #b45309);
  bottom: 10%;
  left: 20%;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

/* 卡通小猫 */
.cat-container {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
}

.cat {
  position: relative;
  width: 200px;
  height: 220px;
  animation: catBounce 2s ease-in-out infinite;
}

@keyframes catBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.cat-ears {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 50px;
}

.ear {
  position: absolute;
  width: 40px;
  height: 50px;
  background: linear-gradient(180deg, #fbbf24 0%, #f59e0b 100%);
  border-radius: 50% 50% 0 0;
}

.ear::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 30px;
  background: #fcd9e6;
  border-radius: 50% 50% 0 0;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
}

.ear-left {
  left: 10px;
  transform: rotate(-15deg);
}

.ear-right {
  right: 10px;
  transform: rotate(15deg);
}

.cat-head {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 120px;
  background: linear-gradient(180deg, #fcd34d 0%, #fbbf24 100%);
  border-radius: 50% 50% 45% 45%;
}

.cat-face {
  position: relative;
  width: 100%;
  height: 100%;
}

.cat-eyes {
  position: absolute;
  top: 35px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 30px;
}

.eye {
  width: 30px;
  height: 35px;
  background: #1f2937;
  border-radius: 50%;
  position: relative;
  animation: blink 4s ease-in-out infinite;
}

@keyframes blink {
  0%, 45%, 55%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.1); }
}

.pupil {
  position: absolute;
  width: 15px;
  height: 20px;
  background: #1f2937;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.highlight {
  position: absolute;
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
  top: 8px;
  left: 8px;
}

.cat-nose {
  position: absolute;
  top: 70px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 10px;
  background: #f472b6;
  border-radius: 50% 50% 50% 50% / 30% 30% 70% 70%;
}

.cat-mouth {
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 15px;
}

.mouth-left, .mouth-right {
  position: absolute;
  width: 15px;
  height: 15px;
  border: 2px solid #78350f;
  border-top: none;
  border-left: none;
  border-radius: 0 0 50% 50%;
}

.mouth-left {
  left: 0;
  transform: rotate(-10deg);
}

.mouth-right {
  right: 0;
  transform: rotate(10deg);
}

.cat-whiskers {
  position: absolute;
  top: 75px;
  width: 100%;
}

.whisker {
  position: absolute;
  width: 40px;
  height: 2px;
  background: #78350f;
}

.whisker-left-1 { left: -20px; top: 0; transform: rotate(-10deg); }
.whisker-left-2 { left: -25px; top: 10px; transform: rotate(5deg); }
.whisker-right-1 { right: -20px; top: 0; transform: rotate(10deg); }
.whisker-right-2 { right: -25px; top: 10px; transform: rotate(-5deg); }

.cat-cheeks {
  position: absolute;
  top: 65px;
  width: 100%;
}

.cheek {
  position: absolute;
  width: 20px;
  height: 12px;
  background: #fcd9e6;
  border-radius: 50%;
  opacity: 0.7;
}

.cheek-left { left: 15px; }
.cheek-right { right: 15px; }

.cat-body {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 70px;
  background: linear-gradient(180deg, #fbbf24 0%, #f59e0b 100%);
  border-radius: 50% 50% 45% 45%;
}

.cat-paws {
  position: absolute;
  bottom: 0;
  width: 100%;
  display: flex;
  justify-content: space-around;
}

.paw {
  width: 30px;
  height: 20px;
  background: #fcd34d;
  border-radius: 50% 50% 45% 45%;
}

.cat-tail {
  position: absolute;
  bottom: 30px;
  right: 10px;
  width: 60px;
  height: 15px;
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  border-radius: 10px;
  transform: rotate(30deg);
  transform-origin: left center;
  animation: tailWag 1s ease-in-out infinite;
}

@keyframes tailWag {
  0%, 100% { transform: rotate(20deg); }
  50% { transform: rotate(40deg); }
}

/* 对话气泡 */
.cat-bubble {
  margin-top: 20px;
  padding: 15px 25px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  animation: bubblePop 0.5s ease-out;
}

@keyframes bubblePop {
  0% { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.cat-bubble::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid white;
}

.cat-bubble span {
  font-size: 16px;
  color: #78350f;
  font-weight: 500;
}

/* 页面内容 */
.hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  padding: 20px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: 100px;
  font-size: 14px;
  color: #b45309;
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: #f59e0b;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.title-line {
  display: block;
  color: #78350f;
}

.gradient-text {
  background: linear-gradient(135deg, #f59e0b 0%, #ec4899 50%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  color: #92400e;
  max-width: 500px;
  margin: 0 auto;
}

/* 联系方式卡片 */
.contact-section {
  padding: 80px 20px;
  background: #fffbeb;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-card {
  background: white;
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid #fef3c7;
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(245, 158, 11, 0.15);
  border-color: #fcd34d;
}

.card-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-radius: 20px;
  font-size: 30px;
  color: #b45309;
}

.contact-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: #78350f;
  margin-bottom: 12px;
}

.contact-card p {
  font-size: 15px;
  color: #92400e;
  margin-bottom: 20px;
  line-height: 1.6;
}

.contact-card .big-text {
  font-size: 22px;
  font-weight: 600;
  color: #78350f;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #f59e0b;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.card-link:hover {
  color: #d97706;
}

.card-link .arrow {
  transition: transform 0.3s ease;
}

.card-link:hover .arrow {
  transform: translateX(4px);
}

/* 地图区域 */
.map-section {
  padding: 80px 20px;
  background: white;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 700;
  color: #78350f;
  margin-bottom: 12px;
}

.section-header p {
  font-size: 16px;
  color: #92400e;
}

.map-container {
  max-width: 1000px;
  margin: 0 auto;
  height: 450px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  width: 100%;
  height: 100%;
}

.map-overlay {
  position: absolute;
  bottom: 20px;
  right: 20px;
}

.map-fullscreen-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: white;
  border-radius: 10px;
  text-decoration: none;
  color: #78350f;
  font-weight: 500;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.map-fullscreen-btn:hover {
  background: #fef3c7;
}

/* 微信公众号 */
.wechat-section {
  padding: 80px 20px;
  background: linear-gradient(180deg, #fffbeb 0%, #fef3c7 100%);
}

.wechat-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  max-width: 900px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.qrcode-container {
  position: relative;
  padding: 20px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.qrcode-img {
  width: 180px;
  height: 180px;
  display: block;
  border-radius: 10px;
}

.qrcode-frame {
  position: absolute;
  inset: 10px;
  border: 3px solid #f59e0b;
  border-radius: 15px;
  pointer-events: none;
}

.wechat-info {
  text-align: center;
}

.wechat-info h3 {
  font-size: 28px;
  font-weight: 700;
  color: #78350f;
  margin-bottom: 8px;
}

.wechat-info > p {
  font-size: 16px;
  color: #92400e;
  margin-bottom: 24px;
}

.wechat-features {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 15px 20px;
  background: white;
  border-radius: 12px;
}

.feature-item i {
  font-size: 24px;
  color: #f59e0b;
}

.feature-item span {
  font-size: 13px;
  color: #78350f;
}

/* 底部信息 */
.footer-info {
  padding: 30px 20px;
  background: #78350f;
}

.info-content {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fde68a;
  font-size: 14px;
}

.info-item i {
  font-size: 16px;
}

.info-item a {
  color: #fde68a;
  text-decoration: none;
}

.info-item a:hover {
  text-decoration: underline;
}

/* 响应式 */
@media (max-width: 768px) {
  .hero-title {
    font-size: 36px;
  }

  .cat {
    transform: scale(0.8);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .map-container {
    height: 350px;
  }

  .wechat-content {
    gap: 30px;
  }

  .wechat-features {
    flex-direction: column;
  }
}
