/* ========== 重置样式 ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

/* ========== 全局变量 ========== */
:root {
  --bg-start: #e8f4f8;
  --bg-end: #fce4ec;
  --primary: #0b4f6c;
  --primary-light: #2c7da0;
  --secondary: #ff8c00;
  --secondary-light: #ffa733;
  --purple: #7b1fa2;
  --purple-light: #9c27b0;
  --blue: #2196f3;
  --blue-light: #42a5f5;
  --white: #ffffff;
  --gray-light: #f5f7fa;
  --gray: #6b7280;
  --text-dark: #1f2937;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06), 0 4px 16px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1), 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 20px rgba(0, 0, 0, 0.15);
  --radius-sm: 16px;
  --radius-md: 20px;
  --radius-lg: 28px;
}

/* 隐藏横向滚动条，保留纵向滚动条 */
html {
  overflow-x: hidden;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: linear-gradient(145deg, var(--bg-start), var(--bg-end));
  min-height: 100vh;
  color: var(--text-dark);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* 保留纵向滚动条样式 */
body::-webkit-scrollbar {
  width: 8px;
  height: 0;
}
body::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.05);
  border-radius: 4px;
}
body::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.2);
  border-radius: 4px;
}
body::-webkit-scrollbar-thumb:hover {
  background: rgba(0,0,0,0.3);
}

/* 确保没有任何横向溢出 */
body * {
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* ========== 超级水泡背景 ========== */
.bubbles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.bubble {
  position: absolute;
  bottom: -80px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.6), rgba(255,255,255,0.1));
  box-shadow: 0 0 20px rgba(255,255,255,0.3);
  animation: rise linear infinite;
}

@keyframes rise {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.6;
  }
  50% {
    opacity: 0.3;
  }
  100% {
    transform: translateY(-120vh) scale(1.3);
    opacity: 0;
  }
}

/* ========== SEO隐藏 ========== */
.seo-h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ========== 主内容包装器（加载后显示） ========== */
.app-main-wrapper {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s cubic-bezier(0.2, 0.9, 0.4, 1.1), visibility 0.6s;
}

.app-main-wrapper.visible {
  opacity: 1;
  visibility: visible;
}

/* ========== 主容器 ========== */
.container {
  position: relative;
  z-index: 2;
  max-width: 500px;
  margin: 0 auto;
  padding: 20px 16px 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ========== 标题区域 ========== */
.hero-title {
  text-align: center;
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(135deg, #0b4f6c, #ff8c00, #ff0080, #0b4f6c);
  background-size: 300% 300%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  letter-spacing: 2px;
  margin-bottom: 8px;
  animation: gradientFlow 4s ease infinite, fadeInUp 0.6s ease;
  position: relative;
}

@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* 动态生成12条星芒 - 由JS动态添加，这里只需预留样式 */
.star-ray {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 110px;
  background: linear-gradient(180deg, transparent, #ffd700, #ffaa33, #ffd700, transparent);
  transform-origin: center;
  border-radius: 2px;
  filter: blur(0.5px);
}

.hero-title::before {
  content: '✨';
  position: absolute;
  left: -30px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  animation: sparkle 1.5s ease-in-out infinite;
}

.hero-title::after {
  content: '✨';
  position: absolute;
  right: -30px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  animation: sparkle 1.5s ease-in-out infinite 0.75s;
}

@keyframes sparkle {
  0%, 100% { opacity: 0.3; transform: translateY(-50%) scale(0.8); }
  50% { opacity: 1; transform: translateY(-50%) scale(1.2); }
}

.hero-sub {
  text-align: center;
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease 0.1s both;
}

/* ========== 头像 ========== */
.avatar {
  width: 100px;
  height: 100px;
  margin: 0 auto 24px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 0 0 4px rgba(255,255,255,0.5), 0 0 0 8px rgba(255,105,180,0.3), 0 10px 30px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: avatarPulse 2s ease-in-out infinite;
}

@keyframes avatarPulse {
  0% { box-shadow: 0 0 0 4px rgba(255,255,255,0.5), 0 0 0 8px rgba(255,105,180,0.2), 0 10px 30px rgba(0,0,0,0.2); }
  50% { box-shadow: 0 0 0 6px rgba(255,255,255,0.7), 0 0 0 12px rgba(255,105,180,0.5), 0 15px 40px rgba(0,0,0,0.25); }
  100% { box-shadow: 0 0 0 4px rgba(255,255,255,0.5), 0 0 0 8px rgba(255,105,180,0.2), 0 10px 30px rgba(0,0,0,0.2); }
}

.avatar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.avatar:hover img {
  transform: scale(1.05);
}

/* ========== 客服卡片 ========== */
.card-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 16px;
}

.service-card {
  display: flex;
  align-items: center;
  text-align: left;
  padding: 14px 18px;
  background: linear-gradient(135deg, #ffffff, #f8f9fa);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.2, 0.9, 0.4, 1), 
              box-shadow 0.25s ease;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  gap: 14px;
  will-change: transform;
  isolation: isolate;
}

.service-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.25);
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ff0080, #ff8c00, #ffd700, #00ff88, #00bfff, #ff0080);
  background-size: 200% 100%;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
  pointer-events: none;
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  pointer-events: none;
}

.service-card:hover::before {
  left: 100%;
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  background: #ffffff;
  transition: transform 0.3s ease;
}

.service-card:hover .card-icon {
  transform: scale(1.05) rotate(5deg);
}

.web-icon {
  background: linear-gradient(145deg, #ffffff, #f0f0f0);
  border: 2px solid var(--primary);
  animation: iconGlowBlue 2s ease-in-out infinite;
}

@keyframes iconGlowBlue {
  0% { box-shadow: 0 0 0 0 rgba(11, 79, 108, 0.4); }
  70% { box-shadow: 0 0 0 6px rgba(11, 79, 108, 0); }
  100% { box-shadow: 0 0 0 0 rgba(11, 79, 108, 0); }
}

.wechat-icon {
  background: linear-gradient(145deg, #ffffff, #f0f0f0);
  border: 2px solid var(--secondary);
  animation: iconGlowOrange 2s ease-in-out infinite;
}

@keyframes iconGlowOrange {
  0% { box-shadow: 0 0 0 0 rgba(255, 140, 0, 0.4); }
  70% { box-shadow: 0 0 0 6px rgba(255, 140, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 140, 0, 0); }
}

.card-icon img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.card-info {
  flex: 1;
}

.card-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 4px;
  transition: color 0.3s ease;
}

.service-card:hover .card-title {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.card-desc {
  font-size: 11px;
  color: var(--gray);
  line-height: 1.4;
}

.card-arrow {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, rgba(0,0,0,0.06), rgba(0,0,0,0.02));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.arrow-img {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
  opacity: 0.7;
}

.service-card:hover .arrow-img {
  transform: translateX(5px);
  opacity: 1;
}

/* ========== 分割线 ========== */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 16px 0 20px;
  gap: 15px;
}

.divider-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ff69b4, #ff8c00, #ff69b4, transparent);
  background-size: 200% 100%;
  animation: lineFlow 3s linear infinite;
  border-radius: 2px;
}

@keyframes lineFlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.divider-text {
  font-size: 12px;
  background: linear-gradient(135deg, #ff69b4, #ff8c00);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  letter-spacing: 3px;
  font-weight: 600;
  padding: 0 10px;
  position: relative;
}

.divider-text::before,
.divider-text::after {
  content: '✦';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  color: #ff69b4;
}

.divider-text::before {
  left: -15px;
}

.divider-text::after {
  right: -15px;
}

/* ========== 政策扶持卡片 ========== */
.policy-card {
  margin-bottom: 12px;
  position: relative;
}

.policy-card::before {
  content: "🔥 推荐 🔥";
  position: absolute;
  top: -14px;
  right: 10px;
  background: linear-gradient(135deg, #ff4081, #ff6b6b, #ff4081);
  background-size: 200% 100%;
  color: white;
  font-size: 11px;
  font-weight: bold;
  padding: 4px 12px;
  border-radius: 30px;
  z-index: 10;
  box-shadow: 0 2px 15px rgba(255, 64, 129, 0.5);
  animation: recommendPulse 1.5s ease-in-out infinite;
  white-space: nowrap;
}

@keyframes recommendPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.policy-card a {
  display: block;
  text-decoration: none;
  background: linear-gradient(135deg, #2196f3, #1a88e0, #0d6efd);
  background-size: 200% 100%;
  border-radius: var(--radius-md);
  padding: 0;
  transition: transform 0.25s cubic-bezier(0.2, 0.9, 0.4, 1), 
              box-shadow 0.25s ease;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.policy-card a:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 15px 35px -12px rgba(33,150,243,0.5);
}

.policy-card a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ffd700, #ffffff, #ffd700);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
  pointer-events: none;
}

.policy-card a:hover::after {
  transform: scaleX(1);
}

.policy-content {
  display: flex;
  align-items: center;
  padding: 14px 18px;
  gap: 14px;
}

.policy-icon {
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  backdrop-filter: blur(4px);
  transition: transform 0.3s ease;
}

.policy-card a:hover .policy-icon {
  transform: scale(1.05) rotate(5deg);
}

.policy-icon img {
  width: 42px;
  height: 42px;
  border-radius: 21px;
  object-fit: cover;
}

.policy-info {
  flex: 1;
}

.policy-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 4px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.policy-desc {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.9);
}

.policy-arrow {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.arrow-img-white {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.policy-card a:hover .arrow-img-white {
  transform: translateX(5px);
}

/* ========== 飞利猫卡片 ========== */
.flm-card {
  margin-bottom: 20px;
}

.flm-card a {
  display: block;
  text-decoration: none;
  background: linear-gradient(135deg, #7b1fa2, #9c27b0, #ab47bc);
  background-size: 200% 100%;
  border-radius: var(--radius-md);
  transition: transform 0.25s cubic-bezier(0.2, 0.9, 0.4, 1), 
              box-shadow 0.25s ease;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.flm-card a:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 15px 35px -12px rgba(123, 31, 162, 0.5);
}

.flm-card a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #e040fb, #ffffff, #e040fb);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
  pointer-events: none;
}

.flm-card a:hover::after {
  transform: scaleX(1);
}

.flm-content {
  display: flex;
  align-items: center;
  padding: 14px 18px;
  gap: 14px;
}

.flm-icon {
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  backdrop-filter: blur(4px);
  transition: transform 0.3s ease;
}

.flm-card a:hover .flm-icon {
  transform: scale(1.05) rotate(-5deg);
}

.flm-icon img {
  width: 42px;
  height: 42px;
  border-radius: 21px;
  object-fit: cover;
}

.flm-info {
  flex: 1;
}

.flm-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 4px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.flm-desc {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.9);
}

.flm-arrow {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.flm-card a:hover .arrow-img-white {
  transform: translateX(5px);
}

/* ========== 服务时间卡片 ========== */
.worktime {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  margin: 16px 0 20px;
  box-shadow: var(--shadow-md);
  transition: transform 0.25s cubic-bezier(0.2, 0.9, 0.4, 1), 
              box-shadow 0.25s ease,
              background 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.6);
  position: relative;
  overflow: hidden;
  cursor: pointer;  /* 添加这一行，让鼠标变成手型，提示可点击 */
}

.worktime::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: left 0.6s ease;
}

.worktime:hover::before {
  left: 100%;
}

.worktime:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  background: rgba(255, 255, 255, 0.98);
}

.line1, .line2, .line3, .line4, .line5 {
  padding: 6px 0;
  font-size: 12px;
  line-height: 1.5;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.06);
}

.line5 {
  border-bottom: none;
  padding-bottom: 0;
}

.line1:first-child {
  padding-top: 0;
}

.line1 {
  color: var(--primary);
  font-weight: 700;
  font-size: 13px;
}

.line2 {
  color: #2e7d32;
}

.line3 {
  color: var(--secondary);
  font-weight: 600;
}

.line4 {
  color: #c2185b;
}

.line5 {
  color: #5e35b1;
  font-weight: 600;
}

/* ========== 页脚 ========== */
.copyright {
  text-align: center;
  padding: 20px 0 12px;
  font-size: 11px;
  color: #9ca3af;
  margin-top: auto;
}

.copyright a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s ease;
}

.copyright a:hover {
  color: var(--primary);
}

/* ========== 自定义光标 ========== */
.cursor {
  width: 16px;
  height: 16px;
  position: fixed;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,105,180,0.8), rgba(255,140,0,0.4));
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease;
  z-index: 9999;
  mix-blend-mode: difference;
}

/* ========== 动画 ========== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== 简约加载动画 ========== */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, var(--bg-start), var(--bg-end));
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loading-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* 简约加载容器 */
.simple-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

/* 简约Logo动画 */
.simple-logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  animation: logoScale 1.2s ease-in-out infinite;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.simple-logo img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

@keyframes logoScale {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.05); opacity: 1; }
}

/* 简约加载文字 */
.simple-text {
  font-size: 14px;
  color: var(--gray);
  letter-spacing: 2px;
  animation: textPulse 1.5s ease-in-out infinite;
}

@keyframes textPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* 进度条区域 */
.progress-container {
  width: 200px;
  margin-top: 10px;
  text-align: center;
}

.progress-bar-bg {
  width: 100%;
  height: 4px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 10px;
  transition: width 0.1s linear;
}

.progress-percent {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 1px;
}

/* ========== 平板适配 ========== */
@media (min-width: 768px) {
  .container {
    max-width: 600px;
    padding: 30px 24px 30px;
  }
  .hero-title {
    font-size: 36px;
  }
  .avatar {
    width: 120px;
    height: 120px;
  }
  .avatar img {
    width: 96px;
    height: 96px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 700px;
  }
}

@media (max-height: 600px) and (orientation: landscape) {
  .container {
    padding: 16px 20px 20px;
  }
  .main-content {
    justify-content: flex-start;
  }
  .hero-title {
    font-size: 24px;
    margin-bottom: 4px;
  }
  .hero-title::before,
  .hero-title::after {
    font-size: 16px;
  }
  .hero-sub {
    font-size: 12px;
    margin-bottom: 12px;
  }
  .avatar {
    width: 64px;
    height: 64px;
    margin-bottom: 12px;
  }
  .avatar img {
    width: 50px;
    height: 50px;
  }
  .card-grid {
    gap: 12px;
    margin-bottom: 10px;
  }
  .service-card {
    padding: 10px 14px;
  }
  .card-icon {
    width: 44px;
    height: 44px;
  }
  .card-icon img {
    width: 32px;
    height: 32px;
  }
  .worktime {
    padding: 12px 16px;
    margin: 10px 0 12px;
  }
  .line1, .line2, .line3, .line4, .line5 {
    padding: 3px 0;
    font-size: 10px;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-start: #1a1a2e;
    --bg-end: #16213e;
    --white: #2d2d44;
    --text-dark: #e5e5e5;
    --gray: #a0a0b0;
  }
  .service-card {
    background: linear-gradient(135deg, #2d2d44, #252540);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }
  .card-icon {
    background: #3d3d5c;
  }
  .web-icon {
    background: #3d3d5c;
    border: 2px solid var(--primary);
  }
  .wechat-icon {
    background: #3d3d5c;
    border: 2px solid var(--secondary);
  }
  .policy-icon {
    background: rgba(255, 255, 255, 0.15);
  }
  .flm-icon {
    background: rgba(255, 255, 255, 0.15);
  }
  .card-arrow {
    background: rgba(255, 255, 255, 0.1);
  }
  .arrow-img {
    opacity: 0.8;
  }
  .worktime {
    background: rgba(45, 45, 68, 0.95);
  }
  .line1, .line2, .line3, .line4, .line5 {
    border-bottom-color: rgba(255, 255, 255, 0.08);
  }
  .card-title {
    color: #e5e5e5;
  }
  .divider-line {
    background: linear-gradient(90deg, transparent, rgba(255, 105, 180, 0.5), rgba(255, 140, 0, 0.5), transparent);
  }
  .arrow-img-white {
    filter: brightness(0) invert(1);
  }
}

/* ========== 超级无敌吊炸天的模态框样式 ========== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  max-width: 90%;
  width: 500px;
  background: linear-gradient(145deg, #ffffff, #f8f9fa);
  border-radius: 48px;
  padding: 32px 28px;
  text-align: center;
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.3), 0 0 0 3px rgba(255, 215, 0, 0.6), 0 0 30px rgba(255, 215, 0, 0.3);
  transform: scale(0.7) rotateX(-20deg);
  transition: transform 0.5s cubic-bezier(0.34, 1.2, 0.64, 1);
  position: relative;
}

.modal-overlay.active .modal-content {
  transform: scale(1) rotateX(0deg);
}

.modal-close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 36px;
  height: 36px;
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  color: #999;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  transform-origin: center center;
  /* 添加阴影让按钮更醒目 */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.modal-close:hover {
  color: #ff4500;
  background: rgba(0, 0, 0, 0.1);
  /* 原地旋转360度，不会发生位移 */
  transform: rotate(360deg) scale(1.1);
}

/* 模态框内的卡片样式 - 放大版 */
.modal-worktime {
  background: transparent;
  box-shadow: none;
  padding: 0;
  margin: 0;
  cursor: default;
}

.modal-worktime:hover {
  transform: none;
  box-shadow: none;
}

.modal-worktime .line1,
.modal-worktime .line2,
.modal-worktime .line3,
.modal-worktime .line4,
.modal-worktime .line5 {
  font-size: 16px;
  padding: 12px 0;
  border-bottom-color: rgba(0, 0, 0, 0.1);
}

.modal-worktime .line1 {
  font-size: 22px;
  font-weight: 800;
}

.modal-worktime .line2,
.modal-worktime .line3,
.modal-worktime .line4,
.modal-worktime .line5 {
  font-size: 15px;
}

/* 移动端适配 */
@media (max-width: 550px) {
  .modal-content {
    padding: 28px 20px;
    width: 88%;
  }
  .modal-worktime .line1 {
    font-size: 18px;
  }
  .modal-worktime .line2,
  .modal-worktime .line3,
  .modal-worktime .line4,
  .modal-worktime .line5 {
    font-size: 13px;
    padding: 10px 0;
  }
  .modal-close {
    top: 12px;
    right: 16px;
    width: 32px;
    height: 32px;
    font-size: 24px;
  }
}

/* 夜间模式适配 */
@media (prefers-color-scheme: dark) {
  .modal-content {
    background: linear-gradient(145deg, #2d2d44, #252540);
  }
  .modal-worktime .line1,
  .modal-worktime .line2,
  .modal-worktime .line3,
  .modal-worktime .line4,
  .modal-worktime .line5 {
    border-bottom-color: rgba(255, 255, 255, 0.1);
  }
}