/* ============================================
   康一康App - 清新健康风格
   生生健康 © 2024
   ============================================ */

/* 基础重置 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #5DB5A0;
  --primary-light: #ACE8D7;
  --primary-lighter: #D3E8EA;
  --primary-dark: #4A9A87;
  --secondary: #7DDBC4;
  --white: #ffffff;
  --text-dark: #2d3436;
  --text-gray: #636e72;
  --shadow: 0 10px 40px rgba(93, 181, 160, 0.15);
  --shadow-hover: 0 20px 60px rgba(93, 181, 160, 0.25);
}

/* ============================================
   酷炫动画关键帧
   ============================================ */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

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

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes ripple {
  0% { transform: scale(1); opacity: 0.4; }
  100% { transform: scale(2.5); opacity: 0; }
}

@keyframes slideInUp {
  from { opacity: 0; transform: translateY(60px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(93, 181, 160, 0.3); }
  50% { box-shadow: 0 0 40px rgba(93, 181, 160, 0.6), 0 0 60px rgba(93, 181, 160, 0.3); }
}

@keyframes rotateGradient {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes textGlow {
  0%, 100% { text-shadow: 0 0 10px rgba(255, 255, 255, 0.3); }
  50% { text-shadow: 0 0 20px rgba(255, 255, 255, 0.6), 0 0 40px rgba(93, 181, 160, 0.4); }
}

/* 用户偏好减少动画时，禁用所有动画 */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
  color: var(--white);
  background: linear-gradient(135deg, #ACE8D7 0%, #D3E8EA 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ============================================
   隐藏不需要的元素
   ============================================ */
.page-loader,
.cursor-glow,
#particles-canvas,
.hero-glow,
.floating-elements,
.hero-dots {
  display: none !important;
}

/* ============================================
   导航栏
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0 5%;
  transition: all 0.3s ease;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.35);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.logo-text {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-gray);
  padding: 0.5rem 0;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* ============================================
   语言切换器
   ============================================ */
.lang-switcher {
  position: relative;
  margin-left: 1.5rem;
  z-index: 1001;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: rgba(93, 181, 160, 0.1);
  border: 1px solid rgba(93, 181, 160, 0.3);
  border-radius: 20px;
  color: var(--primary);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.lang-btn:hover {
  background: rgba(93, 181, 160, 0.2);
  border-color: var(--primary);
}

.lang-icon {
  flex-shrink: 0;
}

.lang-arrow {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.lang-switcher.active .lang-arrow {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(93, 181, 160, 0.2);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(93, 181, 160, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  max-height: 300px;
  overflow-y: auto;
}

.lang-switcher.active .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown a {
  display: block;
  padding: 10px 16px;
  color: #2d3436;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.lang-dropdown a:first-child {
  border-radius: 12px 12px 0 0;
}

.lang-dropdown a:last-child {
  border-radius: 0 0 12px 12px;
}

.lang-dropdown a:hover {
  background: rgba(93, 181, 160, 0.1);
  color: var(--primary);
}

.lang-dropdown a.active {
  background: rgba(93, 181, 160, 0.15);
  color: var(--primary);
  font-weight: 600;
}

/* 滚动条美化 */
.lang-dropdown::-webkit-scrollbar {
  width: 4px;
}

.lang-dropdown::-webkit-scrollbar-track {
  background: transparent;
}

.lang-dropdown::-webkit-scrollbar-thumb {
  background: rgba(93, 181, 160, 0.3);
  border-radius: 2px;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ============================================
   Hero区域 - 酷炫动态效果
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(-45deg, #5DB5A0, #7DDBC4, #ACE8D7, #D3E8EA, #7DDBC4, #5DB5A0);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
}

/* 动态光效背景层 */
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.3) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(93, 181, 160, 0.2) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(125, 219, 196, 0.15) 0%, transparent 50%);
  animation: rotateGradient 30s linear infinite;
  pointer-events: none;
}

/* 浮动光斑效果 */
.hero::after {
  content: '';
  position: absolute;
  top: 10%;
  right: 10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite, pulse 4s ease-in-out infinite;
  pointer-events: none;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 5%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 20px rgba(93, 181, 160, 0.2);
  animation: slideInUp 0.8s ease-out;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.hero-tag::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  animation: shimmer 3s infinite;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.75rem;
  color: var(--white);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  animation: slideInUp 0.8s ease-out 0.2s both, textGlow 3s ease-in-out infinite;
}

.hero-content h1 .highlight {
  background: linear-gradient(135deg, #ffffff 0%, #e0f7fa 50%, #ffffff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1.25rem;
  letter-spacing: 3px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  animation: slideInUp 0.8s ease-out 0.4s both;
}

.hero-content .desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  max-width: 480px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* 按钮样式 - 酷炫效果 */
.btn {
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: none;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  animation: slideInUp 0.8s ease-out 0.6s both;
}

.btn-primary {
  background: linear-gradient(135deg, #ffffff 0%, #f0f9f7 100%);
  color: var(--primary);
  box-shadow: 0 8px 30px rgba(93, 181, 160, 0.3);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(93, 181, 160, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 15px 40px rgba(93, 181, 160, 0.4);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
}

.btn-secondary::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50px;
  padding: 2px;
  background: linear-gradient(135deg, rgba(255,255,255,0.5), rgba(255,255,255,0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.btn-secondary:hover::before {
  opacity: 1;
}

/* Hero图片 - 酷炫浮动效果 */
.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: slideInUp 1s ease-out 0.4s both;
}

.hero-image-wrapper {
  position: relative;
  animation: float 6s ease-in-out infinite;
}

.hero-image-wrapper::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: linear-gradient(135deg, rgba(93, 181, 160, 0.3), rgba(125, 219, 196, 0.2), rgba(172, 232, 215, 0.3));
  border-radius: 32px;
  filter: blur(30px);
  animation: pulse 4s ease-in-out infinite;
  z-index: -1;
}

.hero-image-wrapper::after {
  content: '';
  position: absolute;
  inset: -5px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), transparent, rgba(255, 255, 255, 0.2));
  border-radius: 28px;
  animation: glowPulse 3s ease-in-out infinite;
  z-index: -1;
}

.hero-image-frame {
  display: none;
}

.hero-image img {
  border-radius: 24px;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  max-width: 100%;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.hero-image:hover img {
  transform: scale(1.02);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.3),
    0 0 60px rgba(93, 181, 160, 0.2);
}

/* ============================================
   功能特色区域
   ============================================ */
.features {
  padding: 100px 5%;
  background: var(--white);
  position: relative;
}

.features::before {
  display: none;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-block;
  padding: 8px 20px;
  background: var(--primary-lighter);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
  border: none;
  box-shadow: none;
  animation: none;
}

.section-tag::after {
  display: none;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  text-shadow: none;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* 功能卡片 - 酷炫交互效果 */
.feature-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid rgba(93, 181, 160, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--primary-light));
  background-size: 200% auto;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.feature-card::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(93, 181, 160, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 60px rgba(93, 181, 160, 0.25);
  border-color: var(--primary-light);
}

.feature-card:hover::before {
  transform: scaleX(1);
  animation: shimmer 2s infinite;
}

.feature-card:hover::after {
  width: 300px;
  height: 300px;
}

.feature-icon {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  background: var(--primary-lighter);
  border: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 30px rgba(93, 181, 160, 0.3);
}

.feature-icon.shop { background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%); }
.feature-icon.food { background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%); }
.feature-icon.ai { background: linear-gradient(135deg, #fce4ec 0%, #f8bbd9 100%); }
.feature-icon.sleep { background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%); }
.feature-icon.music { background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%); }
.feature-icon.tcm { background: linear-gradient(135deg, #e0f2f1 0%, #b2dfdb 100%); }

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.feature-card:hover h3 {
  color: var(--primary);
  text-shadow: none;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-gray);
  line-height: 1.7;
}

/* 功能卡片链接样式 */
a.feature-card {
  text-decoration: none;
  display: block;
}

.feature-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.feature-card:hover .feature-link {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================
   关于我们 - 动态渐变背景
   ============================================ */
.about {
  padding: 100px 5%;
  background: linear-gradient(-45deg, #5DB5A0, #7DDBC4, #ACE8D7, #D3E8EA);
  background-size: 300% 300%;
  animation: gradientShift 12s ease infinite;
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(93, 181, 160, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.about::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
  border-radius: 50%;
  animation: float 10s ease-in-out infinite reverse;
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-content h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
  text-shadow: none;
}

.about-content h2 .highlight {
  color: var(--white);
  opacity: 0.9;
}

.about-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.about-content strong {
  color: var(--white);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem 1rem;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

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

.stat-item:hover {
  transform: translateY(-8px) scale(1.05);
  background: rgba(255, 255, 255, 0.4);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.stat-item:hover::before {
  left: 100%;
}

.stat-number {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--white);
  display: block;
  background: linear-gradient(135deg, #ffffff 0%, #e0f7fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 0.25rem;
}

.about-image {
  position: relative;
  display: flex;
  justify-content: center;
}

.about-image::before {
  display: none;
}

.about-image-wrapper {
  position: relative;
}

.about-image img {
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
}

/* ============================================
   页脚
   ============================================ */
.footer {
  background: #2d3436;
  color: #ffffff;
  padding: 60px 5% 30px;
  position: relative;
}

.footer::before {
  display: none;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-light);
}

.footer-brand p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  max-width: 400px;
}

.footer-links h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: var(--primary-light);
}

.footer-contact p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.6;
}

.footer-contact p:hover {
  color: var(--primary-light);
  transform: none;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

.footer-bottom a {
  color: var(--primary-light);
}

.footer-bottom a:hover {
  text-decoration: underline;
  text-shadow: none;
}

/* ============================================
   回到顶部
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(93, 181, 160, 0.4);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(93, 181, 160, 0.5);
}

.back-to-top svg {
  stroke: var(--white);
}

/* ============================================
   动画
   ============================================ */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================
   响应式设计
   ============================================ */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-content .desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-content {
    order: 1;
  }

  .about-image {
    order: 2;
  }
}

@media (max-width: 768px) {
  /* 移动端：保留背景渐变动画，禁用部分耗性能的伪元素动画 */
  .hero::before {
    display: none;
  }

  .hero-tag::before {
    display: none;
  }

  .hero-content h1 {
    animation: slideInUp 0.8s ease-out 0.2s both;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem 5%;
    gap: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
  }

  .nav-links a::after {
    display: none;
  }

  /* 移动端语言切换器 */
  .lang-switcher {
    margin-left: auto;
    margin-right: 1rem;
  }

  .lang-btn {
    padding: 6px 10px;
    font-size: 0.8rem;
  }

  .lang-btn #currentLangName {
    display: none;
  }

  .lang-dropdown {
    right: -1rem;
    min-width: 140px;
  }

  .mobile-menu-btn {
    display: flex;
    z-index: 1001;
  }

  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero-container {
    padding: 40px 5%;
  }

  .hero-content h1 {
    font-size: 2.25rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }

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

  .feature-card {
    padding: 1.5rem;
  }

  .about-stats {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .section-header h2,
  .about-content h2 {
    font-size: 1.75rem;
  }

  /* 移动端显示下载横条 */
  .app-download-bar {
    display: block;
  }

  body {
    padding-bottom: 70px;
  }
}

/* ============================================
   底部下载横条
   ============================================ */
.app-download-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 12px 16px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom, 0));
}

.download-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 600px;
  margin: 0 auto;
}

.app-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.app-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.app-text {
  display: flex;
  flex-direction: column;
}

.app-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
}

.app-desc {
  font-size: 12px;
  color: var(--text-gray);
}

.download-btn {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}

.download-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(93, 181, 160, 0.4);
}

.download-btn:active {
  transform: scale(0.98);
}

/* ============================================
   微信内打开提示
   ============================================ */
.browser-tip {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 10000;
  flex-direction: column;
  align-items: flex-end;
  padding: 20px;
}

.browser-tip.show {
  display: flex;
}

.browser-tip .tip-arrow {
  width: 60px;
  height: 60px;
  margin-right: 20px;
  animation: bounce 1s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.browser-tip .tip-content {
  background: var(--white);
  padding: 24px;
  border-radius: 16px;
  margin-top: 20px;
  margin-right: 10px;
  text-align: center;
  max-width: 280px;
}

.browser-tip .tip-content p {
  color: var(--text-dark);
  margin: 0;
}

.browser-tip .tip-content p:first-child {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.browser-tip .tip-content p:last-child {
  font-size: 14px;
  color: var(--text-gray);
}
