/* 现代设计变量 */
:root {
  --primary: #6366f1;
  --primary-glow: rgba(99, 102, 241, 0.6);
  --secondary: #a855f7;
  --bg-dark: #0f172a;
  --bg-darker: #020617;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --nav-height: 70px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* 导航栏 */
.glass-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-content {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
}

.nav-logo {
  width: 32px;
  height: 32px;
}

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

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #fff;
}

.btn-download-nav {
  padding: 8px 16px;
  background: var(--primary);
  color: #fff !important;
  border-radius: 20px;
  font-size: 0.9rem;
  transition: transform 0.2s, box-shadow 0.2s !important;
}

.btn-download-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px var(--primary-glow);
}

/* 按钮通用样式 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border: 1px solid transparent;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

.glow-effect:hover {
  box-shadow: 0 0 20px var(--primary-glow);
  transform: translateY(-2px);
}

/* 毛玻璃卡片通用 */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 24px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Hero 区域 */
.hero {
  position: relative;
  padding-top: calc(var(--nav-height) + 80px);
  padding-bottom: 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(15, 23, 42, 0) 70%);
  z-index: -1;
  animation: pulse 8s infinite ease-in-out;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 24px;
  font-weight: 800;
}

.gradient-text {
  background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-btns {
  display: flex;
  gap: 16px;
}

/* 模拟软件窗口 */
.app-window {
  width: 100%;
  aspect-ratio: 16/10;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
  transition: transform 0.5s ease;
}

.app-window:hover {
  transform: perspective(1000px) rotateY(0) rotateX(0);
}

.window-header {
  height: 40px;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 16px;
  border-bottom: 1px solid var(--glass-border);
}

.dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.red { background: #ef4444; }
.yellow { background: #f59e0b; }
.green { background: #22c55e; }

.window-title {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: monospace;
}

.window-body {
  flex: 1;
  display: flex;
  background: rgba(0, 0, 0, 0.4);
}

.mock-sidebar {
  width: 60px;
  border-right: 1px solid var(--glass-border);
}

.mock-content {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mock-card {
  height: 120px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

.mock-row {
  display: flex;
  gap: 16px;
  flex: 1;
}

.mock-box {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

/* 章节通用 */
.section {
  padding: 100px 0;
}

.section-dark {
  background: var(--bg-darker);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
  font-weight: 700;
}

/* 功能特点 */
.grid-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  text-align: center;
  padding: 40px 30px;
}

.feature-card .icon-box {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(168, 85, 247, 0.2));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--primary);
}

.feature-card h3 {
  margin-bottom: 16px;
  font-size: 1.25rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* 工作流程 */
.timeline {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--glass-border);
  z-index: 0;
}

.timeline-item {
  position: relative;
  flex: 1;
  z-index: 1;
}

.step-num {
  width: 50px;
  height: 50px;
  background: var(--bg-darker);
  border: 2px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 20px;
  box-shadow: 0 0 0 8px var(--bg-darker);
}

.step-content {
  padding: 20px;
}

.step-content h4 {
  margin-bottom: 8px;
  color: var(--primary);
}

.step-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* 图片展示相关样式 */
.hero-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feature-showcase {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 40px;
}

.showcase-text {
  flex: 1;
}

.showcase-text h3 {
  font-size: 1.8rem;
  margin-bottom: 16px;
  color: #fff;
}

.showcase-text p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  margin-bottom: 12px;
  padding-left: 24px;
  position: relative;
  color: var(--text-main);
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

.showcase-image {
  flex: 1.2;
}

.rounded-shadow {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  border: 1px solid var(--glass-border);
}

.workflow-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px;
}

.preview-header {
  margin-bottom: 30px;
  max-width: 600px;
}

.workflow-img {
  width: 100%;
  max-width: 800px;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* 案例展示 */
.showcase-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.showcase-info {
  flex: 1;
}

.showcase-info h3 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.stats-row {
  display: flex;
  gap: 40px;
  margin-top: 30px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--secondary);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.showcase-img-wrapper {
  flex: 1.5;
}

.mb-5 { margin-bottom: 3rem; }

@media (max-width: 768px) {
  .feature-showcase, .showcase-content {
    flex-direction: column;
  }
  
  .showcase-image, .showcase-img-wrapper {
    width: 100%;
  }
}

/* 使用指南 */
.usage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.usage-step {
  position: relative;
  padding-left: 80px;
}

.step-icon {
  position: absolute;
  left: 24px;
  top: 24px;
  font-size: 2rem;
  font-weight: 800;
  opacity: 0.2;
  color: var(--primary);
}

.notice-box {
  margin-top: 40px;
  border-left: 4px solid var(--secondary);
}

.notice-box h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--secondary);
}

.notice-box ul {
  padding-left: 20px;
  color: var(--text-muted);
}

/* 下载区域 */
.section-download {
  background: radial-gradient(circle at center, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
}

.download-desc {
  color: var(--text-muted);
  margin-bottom: 40px;
}

.download-card {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}

.platform-icon {
  margin-bottom: 20px;
  color: var(--primary);
}

.ver-info {
  color: var(--text-muted);
  margin-bottom: 30px;
  font-size: 0.9rem;
}

.btn-group {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

.file-size {
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0.6;
}

/* 页脚 */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--glass-border);
  background: var(--bg-darker);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.8;
}

.copyright {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* 动画类 */
@keyframes pulse {
  0% { transform: translateX(-50%) scale(1); opacity: 0.5; }
  50% { transform: translateX(-50%) scale(1.1); opacity: 0.7; }
  100% { transform: translateX(-50%) scale(1); opacity: 0.5; }
}

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

.breathing {
  animation: float 6s ease-in-out infinite;
}

/* 滚动显现动画 */
.fade-in, .fade-in-up, .fade-in-right {
  opacity: 0;
  transition: all 0.8s ease-out;
}

.fade-in-up {
  transform: translateY(30px);
}

.fade-in-right {
  transform: translateX(-30px);
}

.visible {
  opacity: 1;
  transform: translate(0);
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }

/* 响应式适配 */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-btns {
    justify-content: center;
  }
  
  .hero-text h1 {
    font-size: 2.5rem;
  }
  
  .timeline {
    flex-direction: column;
  }
  
  .timeline::before {
    width: 2px;
    height: 100%;
    left: 24px;
    top: 0;
  }
  
  .timeline-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
  }
  
  .step-num {
    flex-shrink: 0;
    margin-bottom: 0;
  }
  
  .usage-grid {
    grid-template-columns: 1fr;
  }
  
  .nav-links {
    display: none; /* 简化：移动端隐藏菜单 */
  }
}
