/* 现代化触淘App样式 - Vue.js版本 */

/* CSS变量定义 */
:root {
  /* 主色调 */
  --primary-color: #F92C86; /* 洋红色 */
  --primary-dark: #D62270;
  --primary-light: #FF5DA0;
  --secondary-color: #FF8C42; /* 橙色 accent */
  --accent-color: #FFD700; /* 黄色 accent */
  
  /* 中性色 */
  --text-primary: #1a202c;
  --text-secondary: #4a5568;
  --text-on-primary: #ffffff; /* 在主色上的文字颜色 */
  --text-muted: #718096;
  --text-light: #a0aec0;
  --white: #ffffff;
  --black: #000000;
  
  /* 背景色 */
  --bg-primary: #ffffff;
  --bg-secondary: #f7fafc;
  --bg-dark: #1a202c;
  --bg-gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  
  /* 阴影 */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 25px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
  
  /* 边框半径 */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 50px;
  
  /* 间距 */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  
  /* 字体 */
  --font-family: 'Inter', 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  
  /* 动画时长 */
  --duration-fast: 0.15s;
  --duration-normal: 0.3s;
  --duration-slow: 0.5s;
  
  /* 动画缓动 */
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 容器 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-md);
  }
}

/* 加载动画 */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity var(--duration-slow) var(--ease-out);
}

.loading-spinner {
  text-align: center;
  color: var(--white);
}

.spinner-ring {
  display: inline-block;
  width: 60px;
  height: 60px;
  margin: 0 5px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--white);
  animation: spin 1s linear infinite;
}

.spinner-ring:nth-child(2) {
  animation-delay: 0.1s;
}

.spinner-ring:nth-child(3) {
  animation-delay: 0.2s;
}

.loading-text {
  margin-top: var(--space-lg);
  font-size: var(--font-size-lg);
  font-weight: 600;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* 导航栏 */
.navbar-modern {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  z-index: 1000;
  transition: all var(--duration-normal) var(--ease-out);
}

.navbar-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

.navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  cursor: pointer;
  transition: transform var(--duration-normal) var(--ease-out);
}

.navbar-brand:hover {
  transform: scale(1.05);
}

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
}

.brand-text {
  font-size: var(--font-size-xl);
  font-weight: 700;
  background: var(--bg-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-menu {
  display: flex;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: var(--space-lg);
}

.nav-link {
  position: relative;
  padding: var(--space-sm) var(--space-md);
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all var(--duration-normal) var(--ease-out);
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--bg-gradient);
  border-radius: 1px;
  transform: translateX(-50%);
  transition: width var(--duration-normal) var(--ease-out);
}

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

.nav-link:hover::before,
.nav-link.active::before {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: all var(--duration-normal) var(--ease-out);
}

.hamburger-line.active:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-line.active:nth-child(2) {
  opacity: 0;
}

.hamburger-line.active:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* 英雄区域 */
.hero-section-modern {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-background-modern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
  animation: float 6s ease-in-out infinite;
}

.hero-gradient {
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--bg-gradient);
  opacity: 0.05;
}

.hero-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  min-height: 80vh;
}

.hero-text {
  color: var(--text-primary);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-md);
  background: rgba(102, 126, 234, 0.1);
  color: var(--primary-color);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 600;
  margin-bottom: var(--space-lg);
  border: 1px solid rgba(102, 126, 234, 0.2);
}

.hero-title-modern {
  font-size: var(--font-size-5xl);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
}

.title-main {
  display: block;
  background: var(--bg-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-sm);
}

.title-sub {
  display: block;
  font-size: var(--font-size-2xl);
  font-weight: 400;
  color: var(--text-secondary);
}

.hero-description-modern {
  font-size: var(--font-size-lg);
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  max-width: 500px;
}

.hero-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.feature-card {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(102, 126, 234, 0.1);
  transition: all var(--duration-normal) var(--ease-out);
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(102, 126, 234, 0.3);
}

.feature-card i {
  font-size: var(--font-size-lg);
  color: var(--primary-color);
}

.feature-card span {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--text-primary);
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.btn-primary-modern {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  background: var(--bg-gradient);
  color: var(--white);
  border: none;
  border-radius: var(--radius-full);
  font-size: var(--font-size-base);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
  box-shadow: var(--shadow-md);
}

.btn-primary-modern:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  filter: brightness(1.1);
}

.btn-secondary-modern {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: var(--radius-full);
  font-size: var(--font-size-base);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
}

.btn-secondary-modern:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.hero-stats {
  display: flex;
  gap: var(--space-xl);
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: var(--font-size-2xl);
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  margin-top: var(--space-xs);
}

.hero-visual {
  position: relative;
  text-align: center;
}

.phone-mockup {
  position: relative;
  display: inline-block;
}

.phone-image {
  max-width: 400px;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
}

.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  animation: float 3s ease-in-out infinite;
}

.floating-card i {
  font-size: var(--font-size-lg);
  color: var(--primary-color);
}

.floating-card span {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
}

.card-discount {
  top: 15%;
  left: -20%;
  animation-delay: 0s;
}

.card-reward {
  top: 50%;
  right: -25%;
  animation-delay: 1s;
}

.card-money {
  bottom: 20%;
  left: -15%;
  animation-delay: 2s;
}

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

/* 关于我们区域 */
.about-section-modern {
  padding: var(--space-2xl) 0;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.about-section-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 80%, rgba(102, 126, 234, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(118, 75, 162, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-tag {
  display: inline-block;
  padding: var(--space-xs) var(--space-md);
  background: var(--bg-gradient);
  color: var(--white);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 600;
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section-title-modern {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  line-height: 1.2;
}

.highlight-text {
  background: var(--bg-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.about-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.feature-card-modern {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  padding: var(--space-xl);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(102, 126, 234, 0.1);
  transition: all var(--duration-normal) var(--ease-out);
}

.feature-card-modern:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(102, 126, 234, 0.3);
}

.feature-icon-modern {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-gradient);
  border-radius: var(--radius-md);
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
}

.feature-icon-modern i {
  font-size: var(--font-size-xl);
  color: var(--white);
}

.feature-content h4 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.feature-content p {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.about-visual {
  position: relative;
  text-align: center;
}

.visual-container {
  position: relative;
  display: inline-block;
}

.feature-image {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.visual-decorations {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.decoration-circle {
  position: absolute;
  border-radius: 50%;
  background: var(--bg-gradient);
  opacity: 0.1;
  animation: pulse 4s ease-in-out infinite;
}

.decoration-circle.circle-1 {
  width: 100px;
  height: 100px;
  top: 10%;
  right: 10%;
  animation-delay: 0s;
}

.decoration-circle.circle-2 {
  width: 80px;
  height: 80px;
  bottom: 20%;
  left: 5%;
  animation-delay: 2s;
}

.decoration-dots {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  background-image: radial-gradient(circle, rgba(102, 126, 234, 0.1) 2px, transparent 2px);
  background-size: 20px 20px;
  animation: rotate 20s linear infinite;
}

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

@keyframes rotate {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* 功能特色区域 */
.features-section-modern {
  padding: var(--space-2xl) 0;
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.feature-item-modern {
  text-align: center;
  padding: var(--space-xl);
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  transition: all var(--duration-normal) var(--ease-out);
  border: 1px solid rgba(102, 126, 234, 0.1);
}

.feature-item-modern:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  background: var(--white);
  border-color: rgba(102, 126, 234, 0.3);
}

.feature-icon-large {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-gradient);
  border-radius: var(--radius-md);
  margin: 0 auto var(--space-lg);
  box-shadow: var(--shadow-md);
}

.feature-icon-large i {
  font-size: var(--font-size-2xl);
  color: var(--white);
}

.feature-item-modern h4 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.feature-item-modern p {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.revenue-system {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  margin-top: var(--space-2xl);
  padding: var(--space-2xl);
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
}

.system-visual {
  text-align: center;
}

.system-image {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.system-content h3 {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
}

.system-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.system-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-normal) var(--ease-out);
}

.system-item:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
}

.system-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-gradient);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.system-icon i {
  font-size: var(--font-size-lg);
  color: var(--white);
}

.system-text h5 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.system-text p {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* 截图展示区域 */
.screenshots-section-modern {
  padding: var(--space-2xl) 0;
  background: var(--bg-secondary);
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
}

.screenshot-item {
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
}

.screenshot-item:hover {
  transform: translateY(-10px);
}

.screenshot-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--duration-normal) var(--ease-out);
}

.screenshot-wrapper:hover {
  box-shadow: var(--shadow-xl);
}

.screenshot-wrapper img {
  width: 100%;
  height: auto; /* 移除固定高度，自适应比例 */
  object-fit: cover;
  transition: transform var(--duration-normal) var(--ease-out);
  display: block; /* 避免图片底部出现空隙 */
}

.screenshot-wrapper:hover img {
  transform: scale(1.05);
}

.screenshot-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(102, 126, 234, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
}

.screenshot-wrapper:hover .screenshot-overlay {
  opacity: 1;
}

.overlay-content {
  text-align: center;
  color: var(--white);
}

.overlay-content i {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-sm);
}

.overlay-content span {
  display: block;
  font-size: var(--font-size-base);
  font-weight: 600;
}

/* 灯箱效果 */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeIn var(--duration-normal) var(--ease-out);
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  width: 40px;
  height: 40px;
  background: var(--white);
  border: none;
  border-radius: 50%;
  color: var(--text-primary);
  font-size: var(--font-size-lg);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
}

.lightbox-close:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: scale(1.1);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  width: 100%;
  pointer-events: none;
}

.nav-btn {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  color: var(--text-primary);
  font-size: var(--font-size-lg);
  cursor: pointer;
  pointer-events: auto;
  transition: all var(--duration-normal) var(--ease-out);
}

.nav-btn:hover {
  background: var(--white);
  transform: scale(1.1);
}

.nav-btn.prev {
  margin-left: -25px;
}

.nav-btn.next {
  margin-right: -25px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* 共赢说明区域 */
.winwin-section-modern {
  padding: var(--space-2xl) 0;
  background: var(--white);
}

.winwin-carousel {
  max-width: 800px;
  margin: 0 auto;
}

.carousel-container {
  position: relative;
  height: 300px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.winwin-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateX(100%);
  transition: all var(--duration-slow) var(--ease-out);
}

.winwin-slide.active {
  opacity: 1;
  transform: translateX(0);
}

.slide-content {
  text-align: center;
  color: var(--white);
  padding: var(--space-xl);
  max-width: 600px;
}

.slide-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  margin: 0 auto var(--space-lg);
}

.slide-icon i {
  font-size: var(--font-size-2xl);
  color: var(--white);
}

.slide-content h3 {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.slide-content p {
  font-size: var(--font-size-base);
  line-height: 1.7;
  margin: 0;
  opacity: 0.9;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.control-btn {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(102, 126, 234, 0.3);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
}

.control-btn.active {
  background: var(--primary-color);
  transform: scale(1.2);
}

/* 优势表明区域 */
.advantages-section-modern {
  padding: var(--space-2xl) 0;
  background: var(--bg-secondary);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: var(--space-xl);
}

.advantage-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out);
}

.advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.card-header {
  padding: var(--space-xl);
  background: var(--bg-gradient);
  color: var(--white);
  text-align: center;
}

.card-header h3 {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  margin: 0;
}

.card-content {
  padding: var(--space-xl);
}

.advantage-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.advantage-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--duration-normal) var(--ease-out);
}

.advantage-list li:hover {
  background: rgba(102, 126, 234, 0.1);
  transform: translateX(5px);
}

.advantage-list i {
  font-size: var(--font-size-lg);
  color: var(--primary-color);
  margin-top: 2px;
  flex-shrink: 0;
}

.advantage-list strong {
  color: var(--text-primary);
}

/* 下载区域 */
.download-section-modern {
  padding: var(--space-2xl) 0;
  background: var(--bg-gradient);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.download-section-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.download-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.download-title {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  margin-bottom: var(--space-md);
  line-height: 1.2;
}

.download-description {
  font-size: var(--font-size-lg);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
  opacity: 0.9;
}

.download-buttons {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.download-btn {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-md);
  color: var(--white);
  text-decoration: none;
  transition: all var(--duration-normal) var(--ease-out);
  backdrop-filter: blur(10px);
}

.download-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--white);
  text-decoration: none;
}

.download-btn i {
  font-size: var(--font-size-2xl);
}

.btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.btn-subtitle {
  font-size: var(--font-size-xs);
  opacity: 0.8;
}

.btn-title {
  font-size: var(--font-size-base);
  font-weight: 600;
}

.qr-code-section {
  text-align: center;
}

.qr-code {
  width: 120px;
  height: 120px;
  background: var(--white);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  box-shadow: var(--shadow-md);
}

.qr-placeholder {
  text-align: center;
  color: var(--text-muted);
}

.qr-placeholder i {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-xs);
}

.qr-placeholder span {
  display: block;
  font-size: var(--font-size-xs);
  font-weight: 600;
}

.qr-text {
  font-size: var(--font-size-sm);
  opacity: 0.8;
  margin: 0;
}

.download-visual {
  position: relative;
  text-align: center;
}

.phones-mockup {
  position: relative;
  display: inline-block;
}

.phone-main {
  max-width: 300px;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

.download-effects {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.effect-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  animation: pulse 3s ease-in-out infinite;
}

.effect-circle.circle-1 {
  width: 100px;
  height: 100px;
  top: 10%;
  right: 10%;
  animation-delay: 0s;
}

.effect-circle.circle-2 {
  width: 80px;
  height: 80px;
  bottom: 30%;
  left: 15%;
  animation-delay: 1s;
}

.effect-circle.circle-3 {
  width: 60px;
  height: 60px;
  top: 50%;
  right: 20%;
  animation-delay: 2s;
}

/* 页脚 */
.footer-modern {
  background: var(--bg-dark);
  color: var(--white);
  padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-xl);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-logo {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
}

.footer-brand-text {
  font-size: var(--font-size-xl);
  font-weight: 700;
  background: var(--bg-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-description {
  font-size: var(--font-size-base);
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.link-group h4 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--space-md);
  color: var(--white);
}

.link-group ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.link-group a {
  color: var(--text-light);
  text-decoration: none;
  font-size: var(--font-size-sm);
  transition: color var(--duration-normal) var(--ease-out);
}

.link-group a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: var(--font-size-sm);
  color: var(--text-light);
  margin: 0;
}

.social-links {
  display: flex;
  gap: var(--space-md);
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white);
  text-decoration: none;
  transition: all var(--duration-normal) var(--ease-out);
}

.social-link:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
  color: var(--white);
}

/* 动画类 */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all var(--duration-slow) var(--ease-out);
}

.animate-on-scroll.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .hero-title-modern {
    font-size: var(--font-size-4xl);
  }
  
  .floating-card {
    display: none;
  }
}

@media (max-width: 992px) {
  .hero-content-grid,
  .about-content-grid,
  .revenue-system,
  .download-content {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  .hero-text,
  .download-text {
    text-align: center;
  }
  
  .section-title-modern {
    font-size: var(--font-size-3xl);
  }
  
  .navbar-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    transition: all var(--duration-normal) var(--ease-out);
    z-index: 999;
  }
  
  .navbar-menu.menu-open {
    transform: translateY(0);
    opacity: 1;
  }
  
  .nav-links {
    flex-direction: column;
    padding: var(--space-lg);
    gap: 0;
  }
  
  .nav-link {
    padding: var(--space-md);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-md);
  }
  
  .hero-section-modern {
    padding-top: 100px;
    min-height: auto;
  }
  
  .hero-title-modern {
    font-size: var(--font-size-3xl);
  }
  
  .hero-features-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-actions {
    flex-direction: column;
  }
  
  .hero-stats {
    justify-content: center;
    gap: var(--space-lg);
  }
  
  .section-title-modern {
    font-size: var(--font-size-2xl);
  }
  
  .features-grid,
  .screenshots-grid,
  .advantages-grid {
    grid-template-columns: 1fr;
  }
  
  .download-buttons {
    flex-direction: column;
  }
  
  .footer-content,
  .footer-links {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
}

@media (max-width: 576px) {
  .hero-title-modern {
    font-size: var(--font-size-2xl);
  }
  
  .title-sub {
    font-size: var(--font-size-lg);
  }
  
  .section-title-modern {
    font-size: var(--font-size-xl);
  }
  
  .download-title {
    font-size: var(--font-size-2xl);
  }
  
  .advantages-grid {
    grid-template-columns: 1fr;
  }
  
  .advantage-card {
    min-width: auto;
  }
}

/* 性能优化 */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* 打印样式 */
@media print {
  .navbar-modern,
  .mobile-menu-toggle,
  .floating-elements,
  .download-section-modern {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
  
  .hero-section-modern {
    background: white !important;
    color: black !important;
  }
}

/* 高对比度模式支持 */
@media (prefers-contrast: high) {
  :root {
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 25px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.6);
  }
  
  .nav-link,
  .btn-primary-modern,
  .btn-secondary-modern {
    border: 2px solid currentColor;
  }
}

/* 深色模式支持 */
@media (prefers-color-scheme: dark) {
  :root {
    --text-primary: #f7fafc;
    --text-secondary: #e2e8f0;
    --text-muted: #a0aec0;
    --bg-primary: #1a202c;
    --bg-secondary: #2d3748;
    --bg-dark: #0f1419;
  }
  
  .navbar-modern {
    background: rgba(26, 32, 44, 0.95);
    border-bottom-color: rgba(255, 255, 255, 0.1);
  }
  
  .feature-card,
  .feature-card-modern,
  .advantage-card {
    background: var(--bg-secondary);
    border-color: rgba(255, 255, 255, 0.1);
  }
}

/* -- New Light Hero Styles -- */

.hero-section-modern {
  background-color: var(--bg-secondary); /* Light grey background */
  min-height: 85vh;
  background-image: radial-gradient(var(--text-light) 0.5px, transparent 0.5px);
  background-size: 15px 15px;
}

.hero-background-modern {
  display: none;
}

.hero-text {
  color: var(--text-primary); /* Dark text */
}

.hero-title-modern {
    line-height: 1.2;
}

.hero-title-modern .title-main {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--text-primary); /* Dark text */
  -webkit-text-fill-color: unset;
  background: none;
}

.hero-title-modern .title-sub {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-secondary); /* Lighter dark text */
}

.hero-features-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-features-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.1rem;
  font-weight: 500;
}

.hero-features-list i {
  color: var(--primary-color); /* Blue checkmarks */
}

.hero-qr-section {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  max-width: 500px;
  border: 1px solid #e0e0e0;
}

.qr-code-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  min-width: 140px;
}

.qr-code-img {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-md);
  background: white;
  padding: 5px;
}

.qr-code-wrapper p {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
}

.qr-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.qr-btn {
  background: var(--primary-color); /* Blue buttons */
  color: var(--white);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background var(--duration-normal);
}

.qr-btn:hover {
  background: var(--primary-dark); /* Darker blue on hover */
}

.phone-image {
  max-width: 360px;
}

/* Navbar adjustments */
.navbar-modern {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}
.navbar-modern .brand-text {
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.navbar-modern .nav-link {
    color: var(--text-primary);
}
.navbar-modern .hamburger-line {
    background: var(--text-primary);
}
.nav-link.active {
    color: var(--primary-color);
    font-weight: 700;
}
.nav-link:hover, .navbar-scrolled .nav-link:hover, .navbar-scrolled .nav-link.active {
    color: var(--primary-color);
}
.nav-link::before {
    background: var(--primary-color);
}
.navbar-scrolled .nav-link::before {
    background: var(--bg-gradient);
}

.hero-mascot {
    display: none; /* Hide mascot for now, as it was part of the vibrant theme */
}

@media (max-width: 992px) {
    .hero-qr-section {
        margin-left: auto;
        margin-right: auto;
    }
}
