/* 全局变量 */
:root {
  --primary-color: #1890ff;
  --primary-hover: #40a9ff;
  --text-primary: #333;
  --text-secondary: #666;
  --text-light: #999;
  --bg-white: #f9f9fb;
  --bg-light: #fcfcfd;
  --border-color: #e8e8e8;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.15);
  
  /* 响应式断点 */
  --breakpoint-sm: 640px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 1024px;
  --breakpoint-xl: 1280px;
}

/* 全局重置 */
* {
  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', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #333;
  line-height: 1.6;
  min-height: 100vh;
}

/* 工具类 */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 40px;
  }
}

.container_header {
  box-sizing: border-box;
  padding: 0 120px;
}

@media (max-width: 768px) {
  .container_header {
    padding: 0 20px;
  }
}

.section {
  padding: 80px 0;
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  padding: 16px 0;
}

@media (max-width: 768px) {
  .header {
    padding: 12px 0;
  }
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
}

.logo-icon {
  font-size: 28px;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  color: #333;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.logo-text {
  background: linear-gradient(135deg, #333333, #333333);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

@media (max-width: 768px) {
  .nav {
    gap: 16px;
  }
}

.nav-link {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-link-primary {
  padding: 8px 24px;
  border-radius: 24px;
  background-color: #536dda;
  color: #fff;
}

.nav-link-primary:hover {
  background: var(--primary-color);
  color: white;
}

/* Hero Section */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 240px 0 160px 0;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../images/background.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(24, 144, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(114, 46, 209, 0.1) 0%, transparent 50%);
  opacity: 0.6;
}

.hero-pattern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255, 255, 255, 0.05) 35px, rgba(255, 255, 255, 0.05) 70px);
}

.hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  z-index: 1;
}

.hero-title {
  font-size: 64px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 40px;
    margin-bottom: 16px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 32px;
  }
}

.hero-subtitle {
  font-size: 24px;
  color: var(--text-secondary);
  margin-bottom: 48px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .hero-subtitle {
    font-size: 18px;
    margin-bottom: 32px;
  }
}

@media (max-width: 480px) {
  .hero-subtitle {
    font-size: 16px;
  }
}

.hero-downloads {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero-downloads {
    gap: 12px;
  }
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 32px;
  background: #536dda;
  color: white;
  text-decoration: none;
  border-radius: 2px;
  font-size: 18px;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

@media (max-width: 768px) {
  .download-btn {
    padding: 6px 24px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .download-btn {
    padding: 10px 20px;
    font-size: 14px;
    gap: 8px;
  }
}

.download-btn:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  background: #536dda;
}

.download-icon {
  width: 24px;
  height: 24px;
}

.download-icon.macos {
  width: 30px;
  height: 30px;
}

.download-text {
  white-space: nowrap;
}

.download-arrow {
  width: 26px;
  height: 26px;
  opacity: 0.8;
}

/* Feature Section */
.feature-section {
  background: var(--bg-white);
  box-shadow: none !important;
}

.feature-section:nth-child(even) {
  background: var(--bg-light);
}

.feature-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 1200px) {
  .feature-content {
    gap: 80px;
    grid-template-columns: 1fr 2fr;
  }
}

@media (max-width: 1024px) {
  .feature-content {
    gap: 60px;
    grid-template-columns: 1fr 1.1fr;
  }
}

@media (max-width: 768px) {
  .feature-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.feature-content.feature-reverse {
  direction: rtl;
}

@media (max-width: 768px) {
  .feature-content.feature-reverse {
    direction: ltr;
  }
}

.feature-content.feature-reverse > * {
  direction: ltr;
}

.feature-text {
  /* 移动端居中 */
}

@media (max-width: 768px) {
  .feature-text {
    text-align: center;
  }
}

.feature-title {
  font-size: 42px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
  line-height: 1.3;
}

@media (max-width: 1024px) {
  .feature-title {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .feature-title {
    font-size: 32px;
    margin-bottom: 16px;
  }
}

@media (max-width: 480px) {
  .feature-title {
    font-size: 28px;
  }
}

.feature-description {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.8;
}

@media (max-width: 768px) {
  .feature-description {
    font-size: 16px;
  }
}

.feature-image {
  position: relative;
  width: 100%;
  max-width: 100%;
  box-shadow: none !important;
  filter: none !important;
}

.feature-image::before,
.feature-image::after {
  display: none !important;
  content: none !important;
  box-shadow: none !important;
}

@media (max-width: 768px) {
  .feature-image {
    order: -1;
  }
}

.feature-screenshot {
  position: relative;
  overflow: hidden;
  background: transparent;
  padding: 0;
  margin: 0;
  width: 100%;
  box-shadow: none !important;
  filter: none !important;
  text-shadow: none !important;
}

.feature-screenshot::before,
.feature-screenshot::after {
  display: none !important;
  content: none !important;
  box-shadow: none !important;
}

.feature-screenshot img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 6px;
  max-width: 100%;
  margin: 0;
  padding: 0;
  box-shadow: none !important;
  filter: none !important;
  text-shadow: none !important;
  border: none !important;
  outline: none !important;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.feature-screenshot img::before,
.feature-screenshot img::after {
  display: none !important;
  content: none !important;
  box-shadow: none !important;
}

/* Footer */
.footer {
  background: #eef0f5;
  padding: 60px 0 24px;
}

@media (max-width: 768px) {
  .footer {
    padding: 40px 0 20px;
  }
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-bottom: 40px;
}

@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.footer-brand {
  max-width: 300px;
}

@media (max-width: 768px) {
  .footer-brand {
    max-width: 100%;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-logo .logo-icon {
  font-size: 28px;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  color: #333;
}

.footer-logo .logo-text {
  background: linear-gradient(135deg, #333333, #333333);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.footer-description {
  font-size: 14px;
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

@media (max-width: 768px) {
  .footer-links {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.footer-column-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-list {
  list-style: none;
}

.footer-list li {
  margin-bottom: 12px;
}

.footer-link {
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
  color: #333;
}

.footer-link:hover {
  color: var(--primary-color);
}

/* Material Symbols 图标基础样式 */
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  user-select: none;
}

/* 动画 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}
