/* ========================================
   栋的刷机服务 - 官方网站样式
   优化版本：科技蓝紫渐变主题
   ======================================== */

/* 全局重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  background: #f8fafc;
  color: #1e293b;
  line-height: 1.6;
  overflow-x: hidden;
}

/* 变量定义 - 科技蓝紫渐变主题 */
:root {
  /* 主色调 - 蓝紫渐变 */
  --primary: #6366f1;
  --primary-light: #8b5cf6;
  --primary-dark: #4f46e5;
  --primary-bg: #eef2ff;
  
  /* 辅助色 - 青色 */
  --accent: #06b6d4;
  --accent-light: #22d3ee;
  --accent-bg: #ecfeff;
  
  /* 强调色 - 金色 */
  --gold: #f59e0b;
  --gold-light: #fbbf24;
  --gold-bg: #fffbeb;
  
  /* 成功色 - 绿色 */
  --success: #10b981;
  --success-light: #34d399;
  --success-bg: #ecfdf5;
  
  /* 文字颜色 */
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  
  /* 背景色 */
  --bg-white: #ffffff;
  --bg-gray: #f8fafc;
  --bg-slate: #f1f5f9;
  --bg-gradient: linear-gradient(135deg, #f0f4ff 0%, #faf5ff 50%, #ecfeff 100%);
  
  /* 边框 */
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --border-primary: rgba(99, 102, 241, 0.2);
  
  /* 阴影 */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-primary: 0 10px 30px -10px rgba(99, 102, 241, 0.5);
  --shadow-gold: 0 10px 30px -10px rgba(245, 158, 11, 0.5);
  
  /* 圆角 */
  --radius-sm: 6px;
  --radius: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  
  /* 渐变 */
  --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  --gradient-primary-hover: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  --gradient-accent: linear-gradient(135deg, #06b6d4 0%, #22d3ee 100%);
  --gradient-gold: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
  --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-dark: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #1e3a5f 100%);
}

/* 容器 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: var(--border-light);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.08);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s;
}

.logo:hover {
  transform: scale(1.02);
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: var(--gradient-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
  position: relative;
  overflow: hidden;
}

.logo-icon::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.3) 50%, transparent 60%);
  animation: logoShine 3s ease-in-out infinite;
}

@keyframes logoShine {
  0% { transform: translateX(-100%) rotate(45deg); }
  100% { transform: translateX(100%) rotate(45deg); }
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.25s ease;
  cursor: pointer;
  position: relative;
}

.nav-link:hover {
  color: var(--primary);
  background: var(--primary-bg);
  transform: translateY(-1px);
}

.nav-link.active {
  color: var(--primary);
  background: var(--primary-bg);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.nav-link i {
  font-size: 14px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s;
  padding: 8px 14px;
  border-radius: 8px;
}

.nav-phone:hover {
  color: var(--primary);
  background: var(--primary-bg);
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: none;
  background: var(--primary-bg);
  cursor: pointer;
  color: var(--primary);
  font-size: 20px;
  border-radius: 10px;
  transition: all 0.25s;
}

.mobile-toggle:hover {
  background: var(--primary);
  color: white;
  transform: scale(1.05);
}

/* 移动端菜单 */
.mobile-menu {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  padding: 20px;
  overflow-y: auto;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-menu.active {
  display: block;
}

.mobile-nav-list {
  list-style: none;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  text-decoration: none;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 500;
  border-radius: 12px;
  transition: all 0.25s;
}

.mobile-nav-link:hover {
  background: var(--primary-bg);
  color: var(--primary);
  transform: translateX(4px);
}

.mobile-nav-link.active {
  color: var(--primary);
  background: var(--primary-bg);
}

.mobile-divider {
  height: 1px;
  background: var(--border);
  margin: 12px 0;
}

/* ========================================
   Hero 区域
   ======================================== */
.hero {
  position: relative;
  padding: 130px 0 90px;
  background: var(--bg-gradient);
  overflow: hidden;
}

/* 背景装饰光斑 */
.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 60%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.12) 0%, transparent 60%);
  border-radius: 50%;
  animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -20px) scale(1.05); }
}

/* 网格背景 */
.hero-grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  animation: fadeInUp 0.8s ease;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: white;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  border-radius: 100px;
  margin-bottom: 24px;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.1);
  border: 1px solid var(--border-primary);
}

.hero-badge i {
  font-size: 12px;
  color: var(--success);
}

.hero-title {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.hero-title .highlight {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

/* 文字轮播样式 */
.hero-title .typing-text {
  display: inline-block;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  min-width: 180px;
  position: relative;
}

.hero-title .typing-text::after {
  content: '|';
  position: absolute;
  right: -8px;
  -webkit-text-fill-color: var(--primary);
  animation: blink 0.8s infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

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

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

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px -10px rgba(99, 102, 241, 0.6);
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-secondary {
  background: white;
  color: var(--text-primary);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.btn-gold {
  background: var(--gradient-gold);
  color: white;
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px -10px rgba(245, 158, 11, 0.6);
}

.btn i {
  font-size: 14px;
}

/* Hero 信任标签 */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(99, 102, 241, 0.1);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}

.trust-item i {
  color: var(--success);
  font-size: 16px;
}

.trust-item.gold i {
  color: var(--gold);
}

/* Hero 轮播图 */
.hero-carousel {
  position: relative;
  animation: fadeInRight 0.8s ease;
}

.carousel-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px -15px rgba(99, 102, 241, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

/* 轮播图发光边框 */
.carousel-wrapper::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--gradient-primary);
  border-radius: 26px;
  z-index: -1;
  opacity: 0.3;
  filter: blur(10px);
  animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
  from { opacity: 0.2; }
  to { opacity: 0.4; }
}

.carousel-slides {
  display: flex;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
  min-width: 100%;
  position: relative;
}

.carousel-slide img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.carousel-slide-more {
  min-width: 100%;
  height: 400px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.carousel-slide-more::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.1) 50%, transparent 60%);
  animation: slideShine 3s ease-in-out infinite;
}

@keyframes slideShine {
  0% { transform: translateX(-100%) rotate(45deg); }
  100% { transform: translateX(100%) rotate(45deg); }
}

.carousel-slide-more:hover {
  background: var(--gradient-primary-hover);
  transform: scale(1.02);
}

.more-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  font-size: 20px;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.more-btn i {
  font-size: 28px;
  animation: pulse 2s ease-in-out infinite;
}

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

.carousel-controls {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 16px;
  pointer-events: none;
}

.carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 18px;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: auto;
  backdrop-filter: blur(10px);
}

.carousel-btn:hover {
  background: var(--primary);
  color: white;
  transform: scale(1.15);
}

.carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(4px);
}

.indicator:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.indicator.active {
  background: white;
  width: 32px;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* ========================================
   通用区块
   ======================================== */
.section {
  padding: 90px 0;
  position: relative;
}

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

.section-badge {
  display: inline-block;
  padding: 8px 18px;
  background: var(--primary-bg);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  border-radius: 100px;
  margin-bottom: 16px;
  border: 1px solid var(--border-primary);
}

.section-title {
  font-size: 38px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ========================================
   信任保障区域
   ======================================== */
.trust-section {
  background: white;
  padding: 60px 0;
  border-bottom: 1px solid var(--border-light);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: var(--bg-gray);
  border-radius: 16px;
  transition: all 0.3s;
  border: 1px solid transparent;
}

.trust-card:hover {
  background: white;
  border-color: var(--border-primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.trust-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.trust-card-icon.primary {
  background: var(--primary-bg);
  color: var(--primary);
}

.trust-card-icon.gold {
  background: var(--gold-bg);
  color: var(--gold);
}

.trust-card-icon.success {
  background: var(--success-bg);
  color: var(--success);
}

.trust-card-icon.accent {
  background: var(--accent-bg);
  color: var(--accent);
}

.trust-card-content h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.trust-card-content p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ========================================
   服务卡片
   ======================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: white;
  border-radius: 20px;
  padding: 36px 32px;
  border: 1px solid var(--border-light);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(99, 102, 241, 0.25);
  border-color: var(--border-primary);
}

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

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 24px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

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

.service-icon.blue {
  background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
  color: #4f46e5;
}

.service-icon.cyan {
  background: linear-gradient(135deg, #cffafe, #a5f3fc);
  color: #0891b2;
}

.service-icon.purple {
  background: linear-gradient(135deg, #f3e8ff, #e9d5ff);
  color: #7c3aed;
}

.service-icon.green {
  background: linear-gradient(135deg, #dcfce7, #bbf7d0);
  color: #059669;
}

.service-icon.orange {
  background: linear-gradient(135deg, #ffedd5, #fed7aa);
  color: #ea580c;
}

.service-icon.pink {
  background: linear-gradient(135deg, #fce7f3, #fbcfe8);
  color: #db2777;
}

.service-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.service-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: 15px;
  font-weight: 600;
}

.service-link i {
  transition: transform 0.3s;
}

.service-card:hover .service-link i {
  transform: translateX(6px);
}

/* ========================================
   优势特色
   ======================================== */
.features-section {
  background: var(--bg-gradient);
  position: relative;
  overflow: hidden;
}

.features-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}

.feature-item {
  text-align: center;
  padding: 32px 28px;
  background: white;
  border-radius: 20px;
  border: 1px solid var(--border-light);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -15px rgba(99, 102, 241, 0.2);
  border-color: var(--border-primary);
}

.feature-icon-wrap {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: var(--gradient-primary);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: white;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
  position: relative;
  overflow: hidden;
}

.feature-icon-wrap::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.2) 50%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-item:hover .feature-icon-wrap {
  transform: scale(1.1) rotate(5deg);
}

.feature-item:hover .feature-icon-wrap::after {
  opacity: 1;
  animation: iconShine 1s ease;
}

@keyframes iconShine {
  0% { transform: translateX(-100%) rotate(45deg); }
  100% { transform: translateX(100%) rotate(45deg); }
}

.feature-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ========================================
   数据统计
   ======================================== */
.stats-section {
  background: var(--gradient-dark);
  color: white;
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 60%);
  border-radius: 50%;
}

.stats-section::after {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.25) 0%, transparent 60%);
  border-radius: 50%;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.stat-item {
  padding: 24px;
  position: relative;
}

.stat-item::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.2), transparent);
}

.stat-item:last-child::after {
  display: none;
}

.stat-number {
  font-size: 52px;
  font-weight: 800;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #ffffff, #a5b4fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

/* ========================================
   每日抽奖区域
   ======================================== */
.lottery-section {
  background: white;
  padding: 70px 0;
}

.lottery-card {
  background: var(--gradient-gold);
  border-radius: 28px;
  padding: 50px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(245, 158, 11, 0.4);
}

.lottery-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
  border-radius: 50%;
}

.lottery-card::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
  border-radius: 50%;
}

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

.lottery-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.25);
  color: white;
  font-size: 13px;
  font-weight: 600;
  border-radius: 100px;
  margin-bottom: 16px;
  backdrop-filter: blur(10px);
}

.lottery-title {
  font-size: 32px;
  font-weight: 800;
  color: white;
  margin-bottom: 12px;
  line-height: 1.3;
}

.lottery-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 500px;
}

.lottery-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lottery-tag {
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 13px;
  font-weight: 500;
  border-radius: 100px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.lottery-icon {
  width: 140px;
  height: 140px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  color: white;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  backdrop-filter: blur(10px);
  border: 3px solid rgba(255, 255, 255, 0.3);
  animation: bounce 2s ease-in-out infinite;
}

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

/* ========================================
   客户评价
   ======================================== */
.reviews-section {
  background: var(--bg-gray);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.review-card {
  background: white;
  border-radius: 20px;
  padding: 32px 28px;
  border: 1px solid var(--border-light);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.review-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 80px;
  font-family: Georgia, serif;
  color: var(--primary-bg);
  line-height: 1;
  font-weight: 700;
}

.review-card:hover {
  box-shadow: 0 20px 40px -15px rgba(99, 102, 241, 0.2);
  transform: translateY(-6px);
  border-color: var(--border-primary);
}

.review-stars {
  color: var(--gold);
  font-size: 16px;
  margin-bottom: 20px;
  display: flex;
  gap: 4px;
}

.review-text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 24px;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

.review-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.review-info h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.review-info p {
  font-size: 13px;
  color: var(--text-muted);
}

/* ========================================
   服务流程
   ======================================== */
.process-section {
  background: white;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process-step {
  text-align: center;
  position: relative;
  padding: 20px;
}

.step-number {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 28px;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.35);
  position: relative;
  z-index: 1;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-step:hover .step-number {
  transform: scale(1.1);
  box-shadow: 0 15px 40px rgba(99, 102, 241, 0.45);
}

.step-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* 连接线 */
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 36px;
  right: -12px;
  width: 24px;
  height: 2px;
  background: linear-gradient(to right, var(--primary), var(--primary-light));
  opacity: 0.3;
}

/* ========================================
   支持品牌
   ======================================== */
.brands-section {
  background: var(--bg-gray);
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.brand-item {
  background: white;
  border-radius: 14px;
  padding: 28px 20px;
  text-align: center;
  border: 1px solid var(--border-light);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
}

.brand-item:hover {
  border-color: var(--border-primary);
  box-shadow: 0 10px 25px -5px rgba(99, 102, 241, 0.15);
  transform: translateY(-4px);
  background: var(--primary-bg);
}

.brand-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  transition: color 0.3s;
}

.brand-item:hover .brand-name {
  color: var(--primary);
}

/* ========================================
   工具入口
   ======================================== */
.tools-section {
  background: white;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.tool-card {
  background: var(--bg-gray);
  border-radius: 16px;
  padding: 28px 24px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
  display: block;
  position: relative;
  overflow: hidden;
}

.tool-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.tool-card:hover {
  background: white;
  border-color: var(--border-primary);
  box-shadow: 0 15px 30px -10px rgba(99, 102, 241, 0.2);
  transform: translateY(-4px);
}

.tool-card:hover::before {
  transform: scaleX(1);
}

.tool-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
  transition: all 0.3s;
}

.tool-card:hover .tool-icon {
  transform: scale(1.1);
}

.tool-icon.blue {
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  color: #2563eb;
}

.tool-icon.green {
  background: linear-gradient(135deg, #dcfce7, #bbf7d0);
  color: #16a34a;
}

.tool-icon.purple {
  background: linear-gradient(135deg, #f3e8ff, #e9d5ff);
  color: #9333ea;
}

.tool-icon.orange {
  background: linear-gradient(135deg, #ffedd5, #fed7aa);
  color: #ea580c;
}

.tool-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.tool-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ========================================
   CTA 区域
   ======================================== */
.cta-section {
  background: var(--gradient-primary);
  padding: 90px 0;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
  border-radius: 50%;
  animation: float 10s ease-in-out infinite reverse;
}

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

.cta-title {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.3;
}

.cta-subtitle {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 36px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-white {
  background: white;
  color: var(--primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.btn-outline-white {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  transform: translateY(-3px);
}

/* ========================================
   页脚
   ======================================== */
.footer {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
  color: white;
  padding: 70px 0 30px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(99, 102, 241, 0.5), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-brand .logo {
  color: white;
  margin-bottom: 20px;
}

.footer-brand .logo-icon {
  background: var(--gradient-primary);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.footer-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
  margin-bottom: 24px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.25s;
}

.footer-contact-item:hover {
  color: white;
  transform: translateX(4px);
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 24px;
  color: white;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 14px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.25s;
  display: inline-block;
}

.footer-links a:hover {
  color: white;
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 28px;
  text-align: center;
}

.footer-copyright {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 8px;
}

.footer-beian {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  text-decoration: none;
  transition: color 0.25s;
}

.footer-beian:hover {
  color: rgba(255, 255, 255, 0.5);
}

.footer-admin {
  margin-top: 14px;
}

.footer-admin a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.25);
  text-decoration: none;
  transition: color 0.25s;
}

.footer-admin a:hover {
  color: rgba(255, 255, 255, 0.4);
}

/* ========================================
   页面标题区域（内页）
   ======================================== */
.page-header {
  background: var(--gradient-dark);
  color: white;
  padding: 110px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.25) 0%, transparent 60%);
  border-radius: 50%;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, transparent 60%);
  border-radius: 50%;
}

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

.page-title {
  font-size: 44px;
  font-weight: 800;
  margin-bottom: 14px;
}

.page-subtitle {
  font-size: 18px;
  opacity: 0.85;
}

.page-content {
  padding: 70px 0;
}

/* ========================================
   FAQ 手风琴
   ======================================== */
.faq-list {
  max-width: 850px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: all 0.3s;
}

.faq-item:hover {
  border-color: var(--border-primary);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.08);
}

.faq-item.active {
  border-color: var(--border-primary);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.12);
}

.faq-question {
  padding: 22px 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 16px;
  transition: all 0.25s;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-question i {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--text-muted);
  font-size: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-gray);
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
  color: white;
  background: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
  max-height: 600px;
}

.faq-answer-content {
  padding: 0 28px 24px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.9;
}

/* FAQ 搜索 */
.faq-search {
  max-width: 520px;
  margin: 0 auto 48px;
  position: relative;
}

.faq-search input {
  width: 100%;
  padding: 16px 24px 16px 56px;
  border: 2px solid var(--border);
  border-radius: 14px;
  font-size: 15px;
  outline: none;
  transition: all 0.3s;
  background: white;
}

.faq-search input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.faq-search i {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 18px;
}

/* ========================================
   教程页面
   ======================================== */
.tutorial-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.tutorial-tab {
  padding: 12px 24px;
  border: 1px solid var(--border);
  background: white;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.3s;
}

.tutorial-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.tutorial-tab.active {
  background: var(--gradient-primary);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.tutorial-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.tutorial-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 28px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.tutorial-card:hover {
  border-color: var(--border-primary);
  box-shadow: 0 15px 35px -10px rgba(99, 102, 241, 0.2);
  transform: translateY(-4px);
}

.tutorial-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.tutorial-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: var(--primary-bg);
  color: var(--primary);
  transition: all 0.3s;
}

.tutorial-card:hover .tutorial-icon {
  transform: scale(1.1);
}

.tutorial-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.tutorial-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.tutorial-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  color: var(--text-muted);
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.tutorial-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ========================================
   联系页面
   ======================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
}

.contact-info {
  background: white;
  border-radius: 20px;
  padding: 36px 32px;
  border: 1px solid var(--border-light);
}

.contact-info h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 28px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border-light);
  transition: all 0.3s;
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-item:hover {
  transform: translateX(4px);
}

.contact-item-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  transition: all 0.3s;
}

.contact-item:hover .contact-item-icon {
  transform: scale(1.1);
}

.contact-item-icon.blue {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  color: #2563eb;
}

.contact-item-icon.green {
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  color: #16a34a;
}

.contact-item-icon.purple {
  background: linear-gradient(135deg, #faf5ff, #f3e8ff);
  color: #9333ea;
}

.contact-item-content h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.contact-item-content p,
.contact-item-content a {
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  line-height: 1.7;
}

.contact-item-content a:hover {
  color: var(--primary);
}

.contact-form {
  background: white;
  border-radius: 20px;
  padding: 36px 32px;
  border: 1px solid var(--border-light);
}

.contact-form h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font-size: 15px;
  outline: none;
  transition: all 0.3s;
  font-family: inherit;
  background: var(--bg-gray);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ========================================
   工具下载页面
   ======================================== */
.tools-download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.download-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 32px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.download-card:hover {
  border-color: var(--border-primary);
  box-shadow: 0 20px 40px -15px rgba(99, 102, 241, 0.2);
  transform: translateY(-4px);
}

.download-card-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.download-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  transition: all 0.3s;
}

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

.download-icon.blue {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  color: #2563eb;
}

.download-icon.green {
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  color: #16a34a;
}

.download-icon.orange {
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
  color: #ea580c;
}

.download-icon.purple {
  background: linear-gradient(135deg, #faf5ff, #f3e8ff);
  color: #9333ea;
}

.download-info h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.download-info p {
  font-size: 13px;
  color: var(--text-muted);
}

.download-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--gradient-primary);
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

/* ========================================
   服务简介页面
   ======================================== */
.info-content {
  max-width: 850px;
  margin: 0 auto;
  background: white;
  border-radius: 24px;
  padding: 56px 64px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
}

.info-content h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 36px 0 18px;
}

.info-content h2:first-child {
  margin-top: 0;
}

.info-content p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 2;
  margin-bottom: 18px;
}

.info-content ul {
  margin: 20px 0;
  padding-left: 28px;
}

.info-content li {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 2;
  margin-bottom: 10px;
}

.info-highlight {
  background: var(--primary-bg);
  border-left: 4px solid var(--primary);
  padding: 24px 28px;
  border-radius: 0 14px 14px 0;
  margin: 28px 0;
}

.info-highlight p {
  color: var(--primary);
  font-weight: 500;
  margin: 0;
}

/* ========================================
   404 页面
   ======================================== */
.not-found {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-gradient);
  text-align: center;
  padding: 40px 20px;
}

.not-found-content {
  max-width: 520px;
}

.not-found-code {
  font-size: 140px;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 24px;
}

.not-found-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.not-found-desc {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.7;
}

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

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* 延迟动画类 */
.fade-in.delay-1 { transition-delay: 0.1s; }
.fade-in.delay-2 { transition-delay: 0.2s; }
.fade-in.delay-3 { transition-delay: 0.3s; }
.fade-in.delay-4 { transition-delay: 0.4s; }
.fade-in.delay-5 { transition-delay: 0.5s; }
.fade-in.delay-6 { transition-delay: 0.6s; }

/* ========================================
   响应式
   ======================================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .hero-title {
    font-size: 44px;
  }
  
  .services-grid,
  .features-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stat-item::after {
    display: none;
  }
  
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }
  
  .process-step:not(:last-child)::after {
    display: none;
  }
  
  .brands-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .tutorial-list {
    grid-template-columns: 1fr;
  }
  
  .tools-download-grid {
    grid-template-columns: 1fr;
  }
  
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .lottery-card {
    flex-direction: column;
    text-align: center;
    padding: 40px;
  }
  
  .lottery-tags {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .nav-menu,
  .nav-phone {
    display: none;
  }
  
  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .hero {
    padding: 110px 0 70px;
  }
  
  .hero-title {
    font-size: 36px;
  }
  
  .hero-title .typing-text {
    min-width: 140px;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
  
  .carousel-slide img,
  .carousel-slide-more {
    height: 260px;
  }
  
  .section {
    padding: 70px 0;
  }
  
  .section-title {
    font-size: 30px;
  }
  
  .services-grid,
  .features-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .stat-number {
    font-size: 40px;
  }
  
  .process-steps {
    grid-template-columns: 1fr;
  }
  
  .brands-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .cta-title {
    font-size: 30px;
  }
  
  .cta-subtitle {
    font-size: 16px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  
  .trust-grid {
    grid-template-columns: 1fr;
  }
  
  .lottery-card {
    padding: 36px 28px;
  }
  
  .lottery-title {
    font-size: 26px;
  }
  
  .lottery-icon {
    width: 100px;
    height: 100px;
    font-size: 48px;
  }
  
  .info-content {
    padding: 36px 28px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .page-title {
    font-size: 36px;
  }
  
  .hero-trust {
    gap: 14px;
  }
  
  .trust-item {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 30px;
  }
  
  .btn {
    padding: 12px 24px;
    font-size: 14px;
  }
  
  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .tools-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  
  .stat-number {
}

/* ========================================
   新增：描边主按钮样式
   ======================================== */
.btn-outline-primary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline-primary:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow-primary);
}

/* ========================================
   新增：底部留白防止悬浮按钮遮挡
   ======================================== */
body {
  padding-bottom: 0;
}

@media (max-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

/* ========================================
   新增：高级动效增强
   ======================================== */
/* 卡片悬浮光泽效果 */
.service-card::after,
.feature-item::after,
.review-card::after,
.tool-card::after,
.brand-item::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 40%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

.service-card:hover::after,
.feature-item:hover::after,
.review-card:hover::after,
.tool-card:hover::after,
.brand-item:hover::after {
  opacity: 1;
  animation: cardShine 0.8s ease;
}

@keyframes cardShine {
  0% {
    transform: translateX(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) rotate(45deg);
  }
}

/* 渐入动画延迟优化 */
.services-grid .service-card:nth-child(1) { transition-delay: 0.05s; }
.services-grid .service-card:nth-child(2) { transition-delay: 0.1s; }
.services-grid .service-card:nth-child(3) { transition-delay: 0.15s; }
.services-grid .service-card:nth-child(4) { transition-delay: 0.2s; }
.services-grid .service-card:nth-child(5) { transition-delay: 0.25s; }
.services-grid .service-card:nth-child(6) { transition-delay: 0.3s; }

.features-grid .feature-item:nth-child(1) { transition-delay: 0.05s; }
.features-grid .feature-item:nth-child(2) { transition-delay: 0.1s; }
.features-grid .feature-item:nth-child(3) { transition-delay: 0.15s; }
.features-grid .feature-item:nth-child(4) { transition-delay: 0.2s; }
.features-grid .feature-item:nth-child(5) { transition-delay: 0.25s; }
.features-grid .feature-item:nth-child(6) { transition-delay: 0.3s; }

/* 抽奖卡片呼吸光效 */
.lottery-card {
  animation: lotteryGlow 4s ease-in-out infinite;
}

@keyframes lotteryGlow {
  0%, 100% {
    box-shadow: 0 25px 50px -12px rgba(245, 158, 11, 0.4);
  }
  50% {
    box-shadow: 0 25px 60px -8px rgba(245, 158, 11, 0.6);
  }
}

/* 导航栏链接下划线动画 */
.nav-link::before {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 20px;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
  transition: transform 0.3s ease;
}

.nav-link:hover::before {
  transform: translateX(-50%) scaleX(1);
}

.nav-link.active::before {
  transform: translateX(-50%) scaleX(1);
}

/* 滚动条美化 */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-gray);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

/* 选中文字样式 */
::selection {
  background: var(--primary);
  color: white;
}

/* 图片懒加载淡入 */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.5s ease;
}

img[loading="lazy"].loaded {
  opacity: 1;
}
    font-size: 36px;
  }
}
