/* ===== 设计系统 ===== */
:root {
  --primary: #6366f1;
  --primary-light: #818cf8;
  --primary-dark: #4f46e5;
  --secondary: #06b6d4;
  --accent: #f59e0b;
  --success: #10b981;
  --text: #0f172a;
  --text-light: #475569;
  --text-muted: #94a3b8;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-dark: #0f172a;
  --border: #e2e8f0;
  --card-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.06);
  --card-shadow-hover: 0 4px 12px rgba(0,0,0,0.08), 0 12px 32px rgba(0,0,0,0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: linear-gradient(135deg, #e0e7ff 0%, #fce7f3 50%, #cffafe 100%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 5%;
  left: 5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(99,102,241,0.5) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  filter: blur(60px);
}

body::after {
  content: '';
  position: fixed;
  bottom: 20%;
  right: 5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(6,182,212,0.4) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  filter: blur(60px);
}

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

/* ===== 背景装饰球 ===== */
.bg-blob {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  filter: blur(80px);
}

.blob-1 {
  top: 10%;
  left: 10%;
  width: 350px;
  height: 350px;
  background: rgba(99,102,241,0.4);
}

.blob-2 {
  top: 50%;
  right: 5%;
  width: 300px;
  height: 300px;
  background: rgba(6,182,212,0.35);
}

.blob-3 {
  bottom: 15%;
  left: 20%;
  width: 400px;
  height: 400px;
  background: rgba(236,72,153,0.3);
}

/* ===== 导航栏 ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  z-index: 1000;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
}

.logo-icon { 
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.logo-icon .icon { width: 20px; height: 20px; }

.nav-links { display: flex; gap: 36px; }
.nav-links a {
  text-decoration: none;
  color: var(--text-light);
  font-weight: 500;
  font-size: 14px;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--primary); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.lang-toggle {
  background: var(--bg-alt);
  border: none;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 12px;
  color: var(--text-light);
  transition: all 0.2s;
}
.lang-toggle:hover { background: var(--border); color: var(--primary); }

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: white;
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(99,102,241,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 16px 32px; font-size: 15px; border-radius: var(--radius); }

/* ===== Hero ===== */
.hero {
  padding: 140px 0 60px;
  background: transparent;
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 48px;
}

.hero-content {
  max-width: 640px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(99,102,241,0.1);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 24px;
}

.hero-title {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-title .gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 20px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 12px;
}

.hero-desc {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-actions { 
  display: flex; 
  gap: 14px; 
  flex-wrap: wrap; 
  justify-content: center;
}

.hero-image { 
  position: relative;
  width: 100%;
  max-width: 1100px;
  padding: 0 24px;
}

.screenshot-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 80px rgba(0,0,0,0.18), 0 10px 30px rgba(99,102,241,0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.screenshot-img:hover {
  transform: translateY(-6px);
  box-shadow: 0 35px 100px rgba(0,0,0,0.22), 0 15px 40px rgba(99,102,241,0.2);
}

.screenshot-placeholder {
  background: linear-gradient(145deg, #1e293b 0%, #334155 100%);
  border-radius: var(--radius-lg);
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
  box-shadow: var(--card-shadow-hover);
  position: relative;
  overflow: hidden;
}

.screenshot-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(99,102,241,0.1) 100%);
}

.screenshot-placeholder .mock-dots {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  gap: 8px;
}

.screenshot-placeholder .mock-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.screenshot-placeholder .mock-dots span:nth-child(1) { background: #ef4444; }
.screenshot-placeholder .mock-dots span:nth-child(2) { background: #f59e0b; }
.screenshot-placeholder .mock-dots span:nth-child(3) { background: #22c55e; }

/* ===== 通用标题 ===== */
.section-title {
  font-size: 40px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 17px;
  margin-bottom: 56px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== 痛点区域 ===== */
.pain-points { padding: 100px 0; background: transparent; }

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

.pain-card {
  background: rgba(255,255,255,0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: none;
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  box-shadow: 0 8px 32px rgba(99,102,241,0.1);
}

.pain-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(99,102,241,0.2);
}

.pain-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(135deg, var(--primary-light), var(--secondary));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s;
}

.pain-card:hover::before { opacity: 1; }

.pain-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(99,102,241,0.1) 0%, rgba(6,182,212,0.1) 100%);
  color: var(--primary);
}

.pain-icon .icon { width: 24px; height: 24px; }

.pain-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.pain-card p { color: var(--text-light); font-size: 14px; line-height: 1.6; }

/* ===== 功能区域 ===== */
.features { padding: 100px 0; background: transparent; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.feature-card {
  background: rgba(255,255,255,0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: none;
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.3s;
  box-shadow: 0 8px 32px rgba(99,102,241,0.1);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(99,102,241,0.2);
}

.feature-card.highlight {
  background: rgba(99,102,241,0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.feature-card.highlight:hover {
  box-shadow: 0 12px 32px rgba(99,102,241,0.15);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
}

.feature-icon .icon { width: 22px; height: 22px; }

.feature-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 10px; }
.feature-card p { color: var(--text-light); font-size: 14px; line-height: 1.7; }

/* ===== 部署区域 ===== */
.deploy { padding: 100px 0; background: transparent; }

.deploy-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
}

.deploy-step {
  text-align: center;
  padding: 32px 24px;
  background: rgba(255,255,255,0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: none;
  border-radius: var(--radius);
  transition: all 0.3s;
  box-shadow: 0 8px 32px rgba(99,102,241,0.1);
}

.deploy-step:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(99,102,241,0.2); }

.step-number {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: white;
  margin: 0 auto 20px;
}

.deploy-step h3 { font-size: 17px; font-weight: 600; margin-bottom: 10px; }
.deploy-step p { color: var(--text-light); font-size: 14px; line-height: 1.7; }

.platform-tabs {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-bottom: 14px;
}

.tab-btn {
  padding: 8px 14px;
  border: none;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-light);
  transition: all 0.2s;
}

.tab-btn:hover { background: var(--border); }
.tab-btn.active { background: var(--primary); color: white; }

.code-block {
  background: var(--bg-dark);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  width: 320px;
  height: 44px;
  margin-left: auto;
  margin-right: auto;
  gap: 12px;
}

.code-block code {
  color: var(--secondary);
  font-family: 'Monaco', 'Consolas', monospace;
  font-size: 13px;
  white-space: nowrap;
  overflow-x: auto;
  flex: 1;
  line-height: 1;
}

.copy-btn {
  flex-shrink: 0;
}

.copy-btn {
  background: var(--primary);
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  font-size: 12px;
  transition: all 0.2s;
}

.copy-btn:hover { background: var(--primary-dark); }

.deploy-note {
  text-align: center;
  margin-top: 40px;
  padding: 16px 24px;
  background: rgba(6,182,212,0.08);
  border-radius: var(--radius-sm);
  color: var(--text-light);
  font-size: 14px;
}

/* ===== 使用场景 ===== */
.use-cases { padding: 100px 0; background: transparent; }

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

.case-card {
  background: rgba(255,255,255,0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: none;
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: all 0.3s;
  box-shadow: 0 8px 32px rgba(99,102,241,0.1);
}

.case-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(99,102,241,0.2); }

.case-avatar {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(245,158,11,0.1) 0%, rgba(245,158,11,0.2) 100%);
  color: var(--accent);
}

.case-avatar .icon { width: 28px; height: 28px; }

.case-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.case-card p { color: var(--text-light); font-size: 14px; }

/* ===== FAQ ===== */
.faq { padding: 100px 0; background: transparent; }

.faq-list { max-width: 720px; margin: 56px auto 0; }

.faq-item {
  border: none;
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
  transition: all 0.2s;
  background: rgba(255,255,255,0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.faq-item:hover { box-shadow: 0 8px 32px rgba(99,102,241,0.15); }

.faq-question {
  width: 100%;
  padding: 18px 22px;
  background: transparent;
  border: none;
  text-align: left;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}

.faq-question:hover { background: var(--bg-alt); }

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--primary);
  transition: all 0.3s;
}

.faq-item.active .faq-icon { transform: rotate(45deg); background: var(--primary); color: white; }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; }
.faq-item.active .faq-answer { max-height: 200px; }
.faq-answer p { padding: 0 22px 20px; color: var(--text-light); font-size: 14px; line-height: 1.7; }

/* ===== CTA ===== */
.cta {
  padding: 100px 0;
  background: transparent;
  text-align: center;
}

.cta h2 { font-size: 36px; font-weight: 700; color: var(--text); margin-bottom: 12px; }
.cta p { color: var(--text-light); font-size: 17px; margin-bottom: 32px; }
.cta .btn-primary { background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%); color: white; }
.cta .btn-primary:hover { box-shadow: 0 8px 32px rgba(99,102,241,0.3); }

/* ===== Footer ===== */
.footer {
  padding: 60px 0 40px;
  background: rgba(15,23,42,0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: white;
}

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

.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand .logo-icon { background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%); }
.footer-brand .logo-text { font-size: 18px; font-weight: 700; }

.footer-links { display: flex; gap: 32px; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-links a:hover { color: white; }

.footer-bottom { text-align: center; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-bottom p { color: var(--text-muted); font-size: 13px; }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .hero .container { gap: 36px; }
  .hero-image { max-width: 100%; }
  .hero-title { font-size: 40px; }
  .pain-grid, .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .deploy-steps { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero { padding: 120px 0 60px; }
  .hero-title { font-size: 32px; }
  .hero-subtitle { font-size: 18px; }
  .section-title { font-size: 28px; }
  .pain-grid, .cases-grid, .features-grid { grid-template-columns: 1fr; }
  .footer-content { flex-direction: column; gap: 24px; text-align: center; }
}
