/* 全局样式变量 */
:root {
  /* 主色调 */
  --primary-color: #0052D9;
  --primary-light: #4A8BFF;
  --primary-dark: #0033A0;
  
  /* 辅助色 */
  --accent-color: #00D4AA;
  --success-color: #00A870;
  --warning-color: #FF7D00;
  --danger-color: #F53F3F;
  
  /* 中性色 */
  --text-primary: #1D2129;
  --text-secondary: #4E5969;
  --text-tertiary: #86909C;
  --text-disabled: #C9CDD4;
  
  /* 背景色 */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F7F8FA;
  --bg-tertiary: #F2F3F5;
  --bg-quaternary: #E5E6EB;
  
  /* 边框色 */
  --border-color: #E5E6EB;
  --border-light: #F2F3F5;
  
  /* 阴影 */
  --shadow-light: 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-medium: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-heavy: 0 8px 24px rgba(0, 0, 0, 0.12);
  
  /* 圆角 */
  --radius-small: 4px;
  --radius-medium: 8px;
  --radius-large: 12px;
  
  /* 间距 */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-xxl: 48px;
  
  /* 字体 */
  --font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
  --font-size-xs: 12px;
  --font-size-sm: 14px;
  --font-size-md: 16px;
  --font-size-lg: 18px;
  --font-size-xl: 20px;
  --font-size-xxl: 24px;
  --font-size-xxxl: 32px;
  
  /* 行高 */
  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --line-height-loose: 1.75;
  
  /* 过渡 */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* 断点 */
  --breakpoint-sm: 576px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 992px;
  --breakpoint-xl: 1200px;
  --breakpoint-xxl: 1600px;
}

/* 重置样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: var(--font-family);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: var(--line-height-normal);
  color: var(--text-primary);
  background-color: var(--bg-primary);
}

html {
  scroll-behavior: smooth;
}

/* 容器样式 */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

@media (min-width: 576px) {
  .container {
    padding: 0 var(--spacing-lg);
  }
}

@media (min-width: 992px) {
  .container {
    padding: 0 var(--spacing-xl);
  }
}

/* 导航栏样式 */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: transparent;
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.70);
}

.navbar-container {
  display: flex;
  align-items: center;
  padding: 0 20px;
  height: 70px;
  justify-content: space-between;
  width: 100%;
}

.navbar-brand {
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 1.5rem;
  color: #000000;
  flex: 0 0 auto;
  margin-left: 0;
}

.logo {
  width: 40px;
  height: 40px;
}

.brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.navbar-menu {
  display: flex;
  gap: 70px;
  flex: 1 1 auto;
  justify-content: flex-start;
  margin-left: 70px;
}

.nav-link {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #0088ff;
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #0088ff;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 0 0 auto;
  margin-right: 20px;
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 3px 0;
  transition: 0.3s;
}

@media (max-width: 768px) {
  .navbar-toggle {
    display: flex;
    margin-left: auto;
  }
  
  .navbar-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    max-height: calc(100vh - 70px);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    overflow-y: auto;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    margin: 0 auto;
  }
  
  .navbar-menu.is-active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-link {
    padding: 15px 30px;
    width: auto;
    text-align: center;
    font-size: 1.1rem;
    display: inline-block;
  }
  
  .navbar-menu .nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
  }
  
  .navbar-menu .nav-link:hover {
    color: #0088ff;
  }
}

/* 英雄区域样式 */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 70px; /* 导航栏高度 */
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-particles {
  display: none;
}

.particle {
  position: absolute;
  background-color: rgba(26, 115, 232, 0.6);
  border-radius: 50%;
  animation: float linear infinite;
}

@keyframes float {
  0% {
    transform: translateY(100vh) translateX(0);
  }
  100% {
    transform: translateY(-100px) translateX(100px);
  }
}

.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26, 115, 232, 0.1) 0%, rgba(66, 133, 244, 0.05) 50%, rgba(219, 68, 55, 0.05) 100%);
  z-index: -1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  text-align: center;
}

.hero-text {
  flex: 1;
  max-width: 600px;
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.8s ease;
}

.hero-text.animate {
  transform: translateY(0);
  opacity: 1;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

/* 移动设备上标题换行显示 */
@media (max-width: 768px) {
  .hero-title {
    white-space: normal;
  }
}

.highlight {
  background: linear-gradient(45deg, #1a73e8, #4285f4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 顶部下载链接样式 */
.hero-download-links {
  width: 100%;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.download-area {
  display: flex;
  justify-content: center;
  align-items: center;
}

.download-area__item-wrap {
  display: flex;
  align-items: center;
}

.download-area__item {
  position: relative;
  padding: 12px 24px;
}

.download-area__item-intro {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
  padding: 14px 20px;
  border-radius: 28px;
  cursor: pointer;
}

.download-area__item-intro:hover {
  background-color: rgba(0, 136, 255, 0.1);
  color: #0088ff;
}

.download-area__item-intro__logo {
  position: relative;
  width: 40px;
  height: 40px;
  margin-right: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.download-area__item-intro__logo--svg {
  width: 24px;
  height: 24px;
}

.download-area__item-intro__txt {
  font-size: 18px;
  font-weight: 500;
  white-space: nowrap;
}

.download-area__item-split-line {
  display: none;
}

@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
  
  .hero-text {
    max-width: 100%;
  }
  
  .download-area {
    padding: 8px;
    border-radius: 16px;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: space-between;
    max-width: 280px;
    margin: 0 auto;
  }
  
  .download-area__item-wrap {
    width: calc(50% - 4px);
    justify-content: center;
  }
  
  .download-area__item {
    padding: 6px 8px;
    width: 100%;
  }
  
  .download-area__item-intro {
    padding: 8px 10px;
    width: 100%;
    justify-content: center;
  }
  
  .download-area__item-intro__logo {
    width: 28px;
    height: 28px;
    margin-right: 6px;
  }
  
  .download-area__item-intro__txt {
    font-size: 13px;
  }
}

/* 超小屏幕手机适配 */
@media (max-width: 480px) {
  .download-area {
    padding: 6px;
    gap: 6px;
    max-width: 240px;
  }
  
  .download-area__item-wrap {
    width: calc(50% - 3px);
  }
  
  .download-area__item {
    padding: 4px 6px;
  }
  
  .download-area__item-intro {
    padding: 6px 8px;
  }
  
  .download-area__item-intro__logo {
    width: 24px;
    height: 24px;
    margin-right: 4px;
  }
  
  .download-area__item-intro__txt {
    font-size: 12px;
  }
}

/* 下载区域样式 */
.download-section {
  padding: 5rem 0;
  background-color: #ffffff;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: #1a1a1a;
}

.download-platforms {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.platform-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
  transition: all 0.3s ease;
  background: transparent;
  text-decoration: none;
  color: inherit;
  border-radius: 16px;
  min-width: 150px;
  border: 2px solid transparent;
  cursor: pointer;
}

.platform-card:hover {
  background-color: rgba(0, 136, 255, 0.1);
}

.platform-card:hover .platform-icon svg,
.platform-card:hover h3 {
  color: #0088ff;
}

.platform-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.platform-icon svg {
  width: 40px;
  height: 40px;
  color: #1a1a1a;
}

.platform-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
  color: #1a1a1a;
}

@media (max-width: 768px) {
  .download-platforms {
    gap: 2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .platform-card {
    min-width: 120px;
    padding: 1rem;
  }
}

/* 解决方案区域样式 */
.solutions-section {
  padding: 5rem 0;
  background-color: #f9f9f9;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.solution-card {
  background-color: white;
  border-radius: var(--radius-large);
  padding: 2rem;
  box-shadow: var(--shadow-light);
  transition: all var(--transition-normal);
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
}

.solution-card.animate {
  opacity: 1;
  transform: translateY(0);
}

.solution-card:hover {
  box-shadow: var(--shadow-medium);
  transform: translateY(-5px);
}

.solution-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 82, 217, 0.1);
  border-radius: 50%;
}

.solution-icon svg {
  width: 30px;
  height: 30px;
  color: var(--primary-color);
}

.solution-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.solution-card p {
  color: var(--text-secondary);
  line-height: var(--line-height-normal);
}

/* 页脚样式 */
.footer {
  background-color: #ffffff;
  color: #333333;
  padding: 80px 20px 20px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
}

.footer-logo {
  width: 40px;
  height: 40px;
  margin-bottom: 1rem;
}

.footer-info {
  text-align: center;
  color: #666666;
}

.footer-bottom {
  padding-top: 20px;
  text-align: center;
  color: #666666;
  border-top: 1px solid var(--border-light);
  margin-top: 2rem;
}

.footer-links {
  margin-bottom: 10px;
}

.footer-link {
  color: #666666;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #0088ff;
}

.separator {
  margin: 0 8px;
  color: #666666;
}

/* 动画效果 */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeIn {
  animation: fadeIn 0.6s ease forwards;
}

/* 底部空白区域样式 */
.bottom-spacer {
  height: 80px;
  width: 100%;
}

/* 响应式工具类 */
@media (max-width: 768px) {
  .solutions-grid {
    grid-template-columns: 1fr;
  }
}