:root { 
  --primary-bg: #f8f9fa; /* 浅灰白底，奠定清新基调 */
  --card-bg: #fff; /* 纯白卡片，干净通透 */
  --accent-gradient: linear-gradient(90deg, #ff9a9e, #fad0c4); /* 粉橙渐变，日系核心配色 */
  --text-light: #333; /* 深灰文字，比纯黑更柔和 */
  --text-gray: #868e96; /* 浅灰描述，不刺眼 */
  --border-color: #f0f0f0; /* 淡灰边框，弱化轮廓感 */
} 

/* 全局基础样式 */
* { 
  box-sizing: border-box; 
  margin: 0; 
  padding: 0; 
  -webkit-touch-callout: none; 
  -webkit-tap-highlight-color: transparent; 
} 

body { 
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
  background: var(--primary-bg); 
  color: var(--text-light); 
  line-height: 1.6; 
  min-height: 100vh; 
} 

.container { 
  max-width: 1200px; 
  margin: 0 auto; 
  padding: 0 1rem; 
} 

/* 头部样式 - 清新化调整 */
header { 
  background: #fff; 
  padding: 1rem; 
  text-align: center; 
  position: sticky; 
  top: 0; 
  z-index: 100; 
  box-shadow: 0 2px 8px rgba(0,0,0,0.05); /* 浅阴影，无厚重感 */
  border-bottom: 1px solid var(--border-color);
} 

header h1 { 
  margin: 0; 
  font-size: 2rem; 
  background: var(--accent-gradient); 
  -webkit-background-clip: text; 
  background-clip: text; 
  color: transparent; 
  font-weight: 700; /* 降低字重，更柔和 */
} 

/* 英雄区样式 - 柔和渐变 */
.hero { 
  text-align: center; 
  padding: 3rem 1rem; 
  background: linear-gradient(135deg, #fff5f5, #fff0f0); /* 浅粉白渐变 */
  border-radius: 12px; 
  margin: 1.5rem auto; 
  max-width: 1000px; 
  box-shadow: 0 5px 15px rgba(0,0,0,0.03); 
  border: 1px solid var(--border-color);
} 

.hero h2 { 
  margin-bottom: 0.5rem; 
  font-size: 2.2rem; 
  color: #333;
} 

.hero p { 
  font-size: 1.2rem; 
  opacity: 0.9; 
  color: var(--text-gray);
} 

/* 卡片区样式 - 纯白通透 */
.grid { 
  display: flex; 
  flex-wrap: wrap; 
  gap: 1.5rem; 
  justify-content: center; 
  margin: 2.5rem 1rem; 
} 

.card { 
  flex: 0 0 calc(33.333% - 1.5rem); 
  background: var(--card-bg); 
  padding: 1.5rem; 
  border-radius: 12px; 
  text-align: center; 
  transition: transform 0.3s, box-shadow 0.3s; 
  box-shadow: 0 4px 12px rgba(0,0,0,0.03); 
  border: 1px solid var(--border-color);
} 

.card:hover { 
  transform: translateY(-5px); /* 减小上浮距离，更轻盈 */
  box-shadow: 0 8px 20px rgba(0,0,0,0.05); 
  border-color: #fad0c4; /* hover时变浅粉边框 */
} 

.card-img-container { 
  width: 100%; 
  height: 0; 
  padding-bottom: 75%; /* 4:3 比例 */ 
  position: relative; 
  overflow: hidden; 
  border-radius: 8px; 
  margin-bottom: 1rem; 
  border: 1px solid var(--border-color);
} 

.card-img { 
  position: absolute; 
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  transition: filter 0.3s;
} 

.card:hover .card-img {
  filter: brightness(1.05); /* hover时轻微提亮图片 */
} 

.card h3 { 
  margin-bottom: 0.5rem; 
  font-size: 1.4rem; 
  color: #333;
} 

.card p { 
  color: var(--text-gray); 
  font-size: 0.95rem; 
  min-height: 40px; 
} 

.card-actions { 
  display: flex; 
  justify-content: center; 
  gap: 0.8rem; 
  margin-top: 1.2rem; 
} 

/* 按钮样式 - 粉系清新风 */
.cta-button { 
  background: var(--accent-gradient); 
  color: #fff; 
  padding: 0.6rem 1.5rem; 
  border: none; 
  border-radius: 30px; 
  cursor: pointer; 
  transition: transform 0.3s, box-shadow 0.3s; 
  font-weight: 600; 
  display: inline-flex; 
  align-items: center; 
  gap: 0.5rem; 
} 

.cta-button:hover { 
  transform: translateY(-3px); 
  box-shadow: 0 6px 15px rgba(255,154,158,0.2); /* 浅粉阴影 */
} 

.cta-button.secondary { 
  background: #fff; 
  border: 1px solid #ff9a9e; /* 浅粉边框 */
  color: #ff9a9e; /* 浅粉文字 */
} 

.cta-button.secondary:hover {
  background: #fff5f5;
  box-shadow: none;
} 

/* 底部样式 - 轻量化 */
footer { 
  text-align: center; 
  padding: 1.5rem; 
  background: #fff; 
  font-size: 0.95rem; 
  color: var(--text-gray); 
  margin-top: 2rem; 
  border-top: 1px solid var(--border-color);
} 

/* 弹窗样式 - 清新化 */
.modal { 
  display: none; 
  position: fixed; 
  inset: 0; 
  background: rgba(255,255,255,0.8); /* 白透背景，替代原深色 */
  z-index: 1000; 
  backdrop-filter: blur(5px); 
  padding: 1rem; 
  overflow-y: auto; 
} 

.modal-content { 
  position: relative; 
  background: #fff; 
  border-radius: 12px; 
  max-width: 600px; 
  margin: 5vh auto; 
  padding: 2rem; 
  color: var(--text-light); 
  box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
  animation: fadeIn 0.3s ease; 
  border: 1px solid var(--border-color); 
} 

.modal-img-container { 
  width: 100%; 
  height: 0; 
  padding-bottom: 199.12%; /* 保持原图片比例 */ 
  position: relative; 
  overflow: hidden; 
  border-radius: 8px; 
  margin: 1.5rem 0; 
  border: 1px solid var(--border-color);
} 

.modal-img { 
  position: absolute; 
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
} 

.modal-details { 
  display: flex; 
  flex-direction: column; 
  gap: 1rem; 
} 

.detail-item { 
  display: flex; 
  align-items: center; 
  gap: 0.8rem; 
} 

.detail-item i { 
  color: #ff9a9e; /* 浅粉图标，统一风格 */
  width: 24px; 
} 

.close { 
  position: absolute; 
  top: 1rem; 
  right: 1.2rem; 
  font-size: 1.8rem; 
  cursor: pointer; 
  color: var(--text-gray); 
  transition: color 0.3s; 
} 

.close:hover { 
  color: #ff9a9e; 
} 

/* 客服模块样式 - 适配清新风 */
.customer-service { 
  position: fixed; 
  bottom: 30px; 
  right: 30px; 
  z-index: 9999; 
} 

.service-btn { 
  width: 100px; 
  height: 100px; 
  border-radius: 50%; 
  display: flex; 
  justify-content: center; 
  align-items: center; 
  cursor: pointer; 
  position: relative; 
  z-index: 2; 
  overflow: hidden; 
  animation: shake 1.5s infinite ease-in-out; 
  border: 2px solid #fad0c4; /* 浅粉边框 */
  background: #fff; 
  padding: 0; 
} 

@keyframes shake { 
  0%, 100% { transform: rotate(0deg); } 
  25% { transform: rotate(-5deg); } 
  75% { transform: rotate(5deg); } 
} 

.service-btn img { 
  width: 90%; 
  height: 90%; 
  object-fit: cover; 
  border-radius: 50%; 
} 

.exclamation { 
  position: absolute; 
  top: -5px; 
  right: -5px; 
  width: 20px; 
  height: 20px; 
  border-radius: 50%; 
  background: #ff9a9e; /* 浅粉感叹号，替代原红色 */
  color: white; 
  display: flex; 
  justify-content: center; 
  align-items: center; 
  font-size: 12px; 
  font-weight: bold; 
  border: 2px solid #fff;
} 

.service-btn:hover { 
  box-shadow: 0 2px 12px rgba(255,154,158,0.15); 
} 

.service-panel { 
  position: absolute; 
  bottom: 70px; 
  right: 0; 
  width: 300px; 
  background: white; 
  border-radius: 8px; 
  box-shadow: 0 5px 15px rgba(0,0,0,0.05); 
  padding: 20px; 
  opacity: 0; 
  visibility: hidden; 
  transform: translateY(10px); 
  transition: all 0.2s ease; 
  border: 1px solid var(--border-color); 
} 

.service-panel.active { 
  opacity: 1; 
  visibility: visible; 
  transform: translateY(0); 
} 

.close-btn { 
  position: absolute; 
  top: 10px; 
  right: 10px; 
  width: 25px; 
  height: 25px; 
  border-radius: 50%; 
  background: transparent; 
  display: flex; 
  justify-content: center; 
  align-items: center; 
  cursor: pointer; 
  color: var(--text-gray); 
  border: 1px solid var(--border-color); 
} 

.close-btn:hover { 
  background: #fff5f5; 
  color: #ff9a9e; 
  border-color: #ff9a9e; 
  transform: none; 
} 

.panel-header { 
  text-align: center; 
  margin-bottom: 15px; 
  padding-bottom: 10px; 
  border-bottom: 1px solid var(--border-color); 
  color: #333; 
  font-weight: 600; 
  font-size: 18px; 
} 

.contact-item { 
  display: flex; 
  align-items: center; 
  margin-bottom: 15px; 
  background: transparent; 
  padding: 12px; 
  border-radius: 6px; 
  transition: none; 
  cursor: pointer; 
  border: 1px solid var(--border-color); 
} 

.contact-item:hover { 
  background: #fff5f5; 
  transform: none; 
  border-color: #fad0c4; 
} 

.contact-icon { 
  width: 35px; 
  height: 35px; 
  display: flex; 
  justify-content: center; 
  align-items: center; 
  margin-right: 12px; 
  flex-shrink: 0; 
  background: transparent; 
  border: none; 
} 

.contact-icon img { 
  width: 28px; 
  height: 28px; 
  object-fit: contain; 
  filter: none; 
} 

.contact-info { 
  flex-grow: 1; 
  text-align: left; 
} 

.contact-type { 
  font-size: 13px; 
  color: var(--text-gray); 
  margin-bottom: 3px; 
} 

.contact-value { 
  font-size: 15px; 
  color: #333; 
  font-weight: 500; 
} 

.copy-btn { 
  background: transparent; 
  color: #ff9a9e; 
  border: 1px solid #ff9a9e; 
  padding: 5px 10px; 
  border-radius: 4px; 
  font-size: 12px; 
  cursor: pointer; 
  transition: none; 
} 

.copy-btn:hover { 
  background: #ff9a9e; 
  color: white; 
} 

.success-toast { 
  position: fixed; 
  bottom: 100px; 
  left: 50%; 
  transform: translateX(-50%); 
  background: rgba(255,154,158,0.9); /* 浅粉背景提示 */
  color: white; 
  padding: 10px 20px; 
  border-radius: 4px; 
  font-size: 14px; 
  opacity: 0; 
  visibility: hidden; 
  transition: all 0.3s; 
  z-index: 1001; 
} 

.success-toast.active { 
  opacity: 1; 
  visibility: visible; 
} 

/* 动画定义 */
@keyframes fadeIn { 
  from { opacity: 0; transform: translateY(-30px); } 
  to { opacity: 1; transform: translateY(0); } 
} 

/* 响应式适配 */
@media (max-width: 900px) { 
  .card { flex: 0 0 calc(50% - 1.5rem); } 
} 

@media (max-width: 768px) { 
  .service-panel { width: 260px; right: -5px; } 
  .service-btn { width: 50px; height: 50px; } 
  .exclamation { width: 16px; height: 16px; font-size: 10px; } 
} 

@media (max-width: 600px) { 
  .card { flex: 1 1 100%; } 
  .hero { padding: 2rem 1rem; } 
  .hero h2 { font-size: 1.8rem; } 
  .card-actions { flex-direction: column; } 
  .cta-button { width: 100%; justify-content: center; } 
  .customer-service { bottom: 20px; right: 20px; } 
  .service-panel { width: 240px; } 
  .service-btn { width: 45px; height: 45px; } 
  .exclamation { width: 14px; height: 14px; font-size: 9px; } 
}
