/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@media (max-width: 480px) {
  .hero-subtitle {
    max-width: 100%;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-note {
    text-align: center;
    margin-top: var(--spacing-xs);
  }

  .hero-benefits {
    justify-content: flex-start;
  }

  .scenario-card {
    padding: var(--spacing-md);
  }

  .scenario-highlight {
    flex-direction: column;
    align-items: flex-start;
  }
}

:root {
  /* Primary - 温暖橙色 */
  --primary: #ff6b35;
  --primary-dark: #e55a2b;
  --primary-light: #ff8c61;
  
  /* Background - 羊皮纸色调 */
  --bg-cream: #fef9f3;
  --bg-warm: #fdf6ed;
  --bg-paper: #fcf3e8;
  
  /* Text */
  --text-primary: #2d2d2d;
  --text-secondary: #5a5a5a;
  --text-muted: #8a8a8a;
  
  /* Accent - 温暖色调 */
  --accent-gold: #d4a574;
  --accent-brown: #8b6f47;
  --secondary: #d4a574;
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  
  /* Grays (保留兼容) */
  --gray-50: #fef9f3;
  --gray-100: #fdf6ed;
  --gray-200: #f5ebe0;
  --gray-300: #e8dcc8;
  --gray-400: #c4b5a0;
  --gray-500: #8b6f47;
  --gray-600: #5a5a5a;
  --gray-700: #4a4a4a;
  --gray-800: #2d2d2d;
  --gray-900: #1a1a1a;
  
  /* Highlight Colors - 柔和色调 */
  --highlight-collocation: #fff4e6;
  --highlight-idiom: #e8f4f8;
  --highlight-connector: #f3e8ff;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  
  /* Shadows - 柔和阴影 */
  --shadow-soft: 0 2px 8px rgba(139, 111, 71, 0.08);
  --shadow-sm: 0 2px 4px rgba(139, 111, 71, 0.06);
  --shadow-md: 0 4px 12px rgba(139, 111, 71, 0.1);
  --shadow-lg: 0 8px 20px rgba(139, 111, 71, 0.12);
  --shadow-xl: 0 12px 28px rgba(139, 111, 71, 0.15);
  
  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 中文字体优化 */
html[lang="zh-CN"],
html[lang="zh-Hant"] {
  letter-spacing: 0.02em;
}

/* 英文和其他语言字体优化 */
html[lang="en"],
html[lang="fr"],
html[lang="ko"] {
  letter-spacing: -0.01em;
  word-spacing: 0.05em;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* Navigation */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--gray-900);
}

.logo-icon {
  font-size: 1.5rem;
}

.logo-icon img {
  height: 26px;
  width: auto;
  display: block;
}

.navbar .logo-icon img {
  height: 28px;
}

.footer .logo-icon img {
  height: 24px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
}

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

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

/* 导航栏中的按钮保持原始大小 */
.nav-links .btn-primary {
  padding: 0.625rem 1.25rem;
  font-size: 0.9375rem;
  background: linear-gradient(135deg, #ff6b35 0%, #ff8c61 100%);
  color: white;
  border: none;
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.25);
  transition: all 0.3s ease;
}

.nav-links .btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.35);
  background: linear-gradient(135deg, #ff6b35 0%, #ff8c61 100%);
  color: white;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--gray-800);
  transition: var(--transition);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 1rem;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #ff6b35 0%, #ff8c61 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.35);
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #e55a2b 0%, #ff6b35 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.45);
}

.btn-secondary {
  background: var(--bg-paper);
  color: var(--text-primary);
  border: 2px solid var(--accent-brown);
}

.btn-secondary:hover {
  background: var(--bg-warm);
  border-color: var(--accent-gold);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* Hero Section */
.hero {
  padding: 100px 0 60px; /* 稍微调整上下内边距 */
  background: linear-gradient(180deg, var(--bg-cream) 0%, #fff 100%); /* 渐变改为从上到下，更自然 */
  position: relative;
  overflow: visible; /* 允许阴影溢出 */
}

.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 1200px;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 900px;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  margin-bottom: 2rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-700);
  border: 1px solid var(--gray-200);
}

.hero-title {
  font-size: 3.75rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--gray-900);
  letter-spacing: -0.02em;
}

/* 英文/法语标题 */
html[lang="en"] .hero-title,
html[lang="fr"] .hero-title {
  font-size: 4rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #555;
  margin-bottom: 2rem;
  line-height: 1.7;
  max-width: 640px;
}

.hero-benefits {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--gray-700);
  background: rgba(255,255,255,0.6);
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.cta-note {
  font-size: 0.9rem;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-image {
  width: 100%;
  max-width: 1080px;
  perspective: 1000px;
  margin-top: 30px;
}

/* 浏览器外壳 - 旗舰级质感 */
.browser-mockup {
  background: white;
  border-radius: 16px;
  box-shadow: 
    0 0 0 1px rgba(0,0,0,0.06),
    0 30px 60px -12px rgba(50, 50, 93, 0.25),
    0 18px 36px -18px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transform: translateY(0);
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.browser-mockup:hover {
  transform: translateY(-10px);
  box-shadow: 
    0 0 0 1px rgba(0,0,0,0.06),
    0 40px 80px -12px rgba(50, 50, 93, 0.3),
    0 24px 48px -18px rgba(0, 0, 0, 0.35);
}

.browser-content {
  background: #111; /* 视频背景深色 */
  aspect-ratio: 16/9; /* 保持比例 */
  padding: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 裁剪黑边，填满容器 */
  display: block;
}

/* 移除之前的 img 样式，因为它已经被 video 替代或共用 */
.browser-content img {
  width: 100%;
  height: auto;
  display: none; /* 隐藏可能存在的 fallback 图片 */
}

.placeholder-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.placeholder-line {
  height: 12px;
  background: var(--gray-200);
  border-radius: var(--radius-sm);
  animation: pulse 2s infinite;
}

.placeholder-line:nth-child(1) { width: 90%; }
.placeholder-line:nth-child(2) { width: 70%; }
.placeholder-line:nth-child(3) { width: 85%; }
.placeholder-line:nth-child(4) { width: 60%; }
.placeholder-line:nth-child(5) { width: 80%; }

.placeholder-line.highlight {
  background: linear-gradient(90deg, var(--primary-light), var(--primary));
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Features Section */
.features {
  padding: 120px 0;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFF8F5 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

/* 英文/法语 Section 标题优化 */
html[lang="en"] .section-title,
html[lang="fr"] .section-title {
  font-size: 2.5rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--gray-600);
  max-width: 800px;
  margin: 0 auto;
}

/* 英文/法语 Section 副标题优化 */
html[lang="en"] .section-subtitle,
html[lang="fr"] .section-subtitle {
  font-size: 1.0625rem;
  line-height: 1.7;
  max-width: 900px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.feature-card {
  padding: 2.5rem;
  background: var(--bg-paper);
  border: 1px solid rgba(139, 111, 71, 0.15);
  border-radius: 16px;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: var(--shadow-soft);
}

.feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: var(--radius-xl);
  box-shadow: inset 0 0 20px rgba(212, 165, 116, 0.1);
  pointer-events: none;
}

.feature-card:hover {
  border-color: var(--accent-gold);
  box-shadow: 0 12px 24px rgba(139, 111, 71, 0.15);
  transform: translateY(-8px);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.feature-description {
  color: #555;
  line-height: 1.8;
  font-size: 1rem;
}

/* 英文/法语卡片描述优化 */
html[lang="en"] .feature-description,
html[lang="fr"] .feature-description {
  font-size: 0.9375rem;
  line-height: 1.75;
  letter-spacing: -0.01em;
}

html[lang="en"] .feature-title,
html[lang="fr"] .feature-title {
  font-size: 1.375rem;
  letter-spacing: -0.01em;
}

/* How It Works */
.how-it-works {
  padding: 120px 0;
  background: var(--bg-warm);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
}

.step {
  display: flex;
  gap: var(--spacing-md);
}

.step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.25rem;
}

.step-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--spacing-xs);
}

.step-description {
  color: var(--gray-600);
}

/* Pricing */
.pricing-hero {
  padding: var(--spacing-2xl) 0 var(--spacing-lg) 0;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-lg);
}

.billing-option {
  font-weight: 600;
  color: var(--gray-600);
  cursor: pointer;
  transition: var(--transition);
}

.billing-option.active {
  color: var(--primary);
}

.discount-badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  background: var(--success);
  color: white;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  margin-left: 0.5rem;
}

.toggle-switch {
  position: relative;
  width: 48px;
  height: 24px;
  background: var(--gray-300);
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.toggle-switch.active {
  background: var(--primary);
}

.toggle-slider {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  transition: var(--transition);
}

.toggle-switch.active .toggle-slider {
  transform: translateX(24px);
}

.pricing-section {
  padding: var(--spacing-xl) 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

.pricing-card {
  position: relative;
  padding: var(--spacing-lg);
  background: white;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-xl);
  transition: var(--transition);
}

.pricing-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.375rem 1rem;
  background: var(--primary);
  color: white;
  border-radius: var(--radius-2xl);
  font-size: 0.875rem;
  font-weight: 700;
}

.pricing-header {
  text-align: center;
  padding-bottom: var(--spacing-lg);
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: var(--spacing-lg);
}

.plan-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--spacing-sm);
}

.plan-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: var(--spacing-sm);
}

/* Blog List Page Styling */
.blog-hero {
  padding: 80px 0 60px;
  background: linear-gradient(180deg, #fff9f0 0%, #fff 100%);
  text-align: center;
}

.blog-hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: #1a202c;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.blog-hero-subtitle {
  font-size: 1.25rem;
  color: #718096;
  max-width: 600px;
  margin: 0 auto;
}

.featured-article {
  margin-bottom: 80px;
}

.featured-badge {
  display: inline-block;
  background: #2d3748;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.article-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.article-card.featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  border: none;
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}

.article-card.featured .article-image {
  min-height: 400px;
}

.article-card.featured .article-content {
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fdfbf9;
}

.article-image {
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: #f7fafc;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.article-card:hover .article-image img {
  transform: scale(1.05);
}

.article-tag {
  display: inline-block;
  background: var(--primary-color);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.article-title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 12px;
  color: #1a202c;
}

.article-card.featured .article-title {
  font-size: 2.25rem;
  margin-bottom: 20px;
}

.article-excerpt {
  color: #718096;
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-meta {
  display: flex;
  gap: 16px;
  font-size: 0.875rem;
  color: #a0aec0;
  margin-bottom: 24px;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.2s ease;
}

.read-more:hover {
  gap: 10px;
}

/* Responsive Blog */
@media (max-width: 768px) {
  .article-card.featured {
    grid-template-columns: 1fr;
  }
  
  .article-card.featured .article-image {
    min-height: 240px;
  }
  
  .article-card.featured .article-content {
    padding: 30px;
  }
  
  .article-card.featured .article-title {
    font-size: 1.75rem;
  }
}

/* Blog Detail Page Typography */
.article-body {
  padding: 60px 0 100px;
  background: #fff;
}

.article-body-content {
  max-width: 740px; /* 最佳阅读宽度 */
  margin: 0 auto;
  font-size: 1.125rem; /* 18px 正文 */
  line-height: 1.8;
  color: #2d3748;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Typography Scale & Spacing */
.article-body-content h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #1a202c;
  margin-top: 3.5rem;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.article-body-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2d3748;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.article-body-content p {
  margin-bottom: 1.75rem;
}

/* Lists */
.article-body-content ul,
.article-body-content ol {
  margin-bottom: 2rem;
  padding-left: 1.5rem;
}

.article-body-content li {
  margin-bottom: 0.75rem;
  padding-left: 0.5rem;
}

.article-body-content li::marker {
  color: var(--primary-color);
}

/* Blockquotes */
.article-body-content blockquote {
  margin: 2.5rem 0;
  padding: 1.5rem 2rem;
  background: #fcf6f3; /* 品牌色淡色背景 */
  border-left: 4px solid var(--primary-color);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #4a5568;
  font-size: 1.2rem;
  line-height: 1.6;
}

/* Images */
.article-body-content img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  margin: 2.5rem auto;
}

.article-body-content figure {
  margin: 2.5rem 0;
}

.article-body-content figcaption {
  text-align: center;
  font-size: 0.9rem;
  color: #718096;
  margin-top: 0.75rem;
}

/* Links */
.article-body-content a {
  color: var(--primary-color);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: all 0.2s;
}

.article-body-content a:hover {
  text-decoration-thickness: 2px;
  background: rgba(255, 107, 53, 0.1);
}

/* Strong/Bold */
.article-body-content strong {
  font-weight: 600;
  color: #1a202c;
}

/* Mobile Optimization */
@media (max-width: 768px) {
  .article-body-content {
    font-size: 1.0625rem; /* 17px */
    padding: 0 1.25rem;
  }
  
  .article-body-content h2 {
    font-size: 1.75rem;
    margin-top: 2.5rem;
  }
  
  .article-body-content h3 {
    font-size: 1.35rem;
  }
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.feature-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--success);
}

.feature-item span {
  color: var(--gray-700);
  line-height: 1.5;
}

/* FAQ */
.faq-section {
  padding: var(--spacing-2xl) 0;
  background: var(--gray-50);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.faq-item {
  padding: var(--spacing-lg);
  background: white;
  border-radius: var(--radius-lg);
}

.faq-question {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--spacing-sm);
}

.faq-answer {
  color: var(--gray-600);
  line-height: 1.6;
}

/* FAQ Section */
.faq-section {
  padding: var(--spacing-2xl) 0;
  background: var(--bg-warm);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.faq-item {
  background: var(--bg-paper);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(139, 111, 71, 0.1);
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.faq-question {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
  line-height: 1.4;
}

.faq-answer {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.9375rem;
}

.faq-answer strong {
  color: var(--primary);
  font-weight: 600;
}

.faq-cta {
  margin-top: var(--spacing-2xl);
  text-align: center;
  padding: var(--spacing-xl);
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, rgba(218, 165, 32, 0.05) 100%);
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(139, 111, 71, 0.2);
}

.faq-cta-text {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
}

/* CTA Section */
.cta,
.pricing-teaser {
  padding: var(--spacing-2xl) 0;
  background: linear-gradient(135deg, #ff6b35 0%, #d4a574 100%);
  text-align: center;
}

.cta-content,
.pricing-teaser-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: var(--spacing-sm);
}

.cta-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--spacing-lg);
}

.cta .btn-primary {
  background: white;
  color: var(--primary);
}

.cta .btn-primary:hover {
  background: var(--gray-100);
}

/* Footer */
.footer {
  padding: var(--spacing-2xl) 0 var(--spacing-lg) 0;
  background: var(--gray-900);
  color: var(--gray-400);
}

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

.footer-brand .logo {
  color: white;
  margin-bottom: var(--spacing-sm);
}

.footer-description {
  max-width: 300px;
  line-height: 1.6;
}

.footer-description {
  max-width: 340px;
  line-height: 1.7;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: var(--spacing-lg);
}

.footer-column h4 {
  color: white;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}

.footer-column a {
  display: block;
  color: var(--gray-400);
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: var(--transition);
}

.footer-column a:hover {
  color: white;
}

.footer-bottom {
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--gray-800);
  text-align: center;
}

/* Hero Benefits */
.hero-benefits {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.benefit-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  background: rgba(255, 107, 53, 0.08);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}

/* 英文/法语 benefit 优化 */
html[lang="en"] .benefit-item,
html[lang="fr"] .benefit-item {
  font-size: 0.8125rem;
  padding: 0.35rem 0.8rem;
  white-space: nowrap;
}

.cta-note {
  margin-top: 0.5rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-weight: 500;
}

.pricing-teaser-inline {
  margin-top: var(--spacing-md);
}

.pricing-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: rgba(255, 107, 53, 0.1);
  border: 1px solid rgba(255, 107, 53, 0.2);
  border-radius: var(--radius-2xl);
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
}

/* Feature Examples */
.feature-example {
  margin-top: 1.25rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 107, 53, 0.05);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent-gold);
}

.feature-example small {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Scenario Cards */
.scenario-card {
  padding: var(--spacing-lg);
  background: var(--bg-paper);
  border: 1px solid rgba(139, 111, 71, 0.15);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.scenario-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.scenario-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 107, 53, 0.1);
  color: var(--accent-brown);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: var(--spacing-sm);
}

.scenario-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
}

.scenario-description {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--spacing-md);
  max-width: 560px;
}

.highlight-demo {
  background: var(--highlight-collocation);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
  color: var(--text-primary);
}

.scenario-highlight {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 107, 53, 0.08);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--accent-gold);
  margin-bottom: var(--spacing-md);
  font-size: 0.9rem;
}

.highlight-label {
  font-weight: 600;
  color: var(--accent-brown);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.highlight-pill {
  background: white;
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  font-weight: 600;
  color: var(--primary);
}

.scenario-highlight .translation {
  color: var(--text-secondary);
  font-style: italic;
}

.scenario-quote {
  padding: var(--spacing-sm) var(--spacing-md);
  background: rgba(212, 165, 116, 0.1);
  border-left: 3px solid var(--accent-gold);
  border-radius: var(--radius-sm);
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Trust Signals */
.trust-signals {
  display: flex;
  gap: var(--spacing-lg);
  justify-content: center;
  margin-top: var(--spacing-md);
  flex-wrap: wrap;
}

.trust-signals span {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9375rem;
  font-weight: 500;
}

/* Language Switcher */
.language-switcher {
  position: relative;
  display: inline-block;
}

.language-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: var(--bg-paper);
  border: 1px solid rgba(139, 111, 71, 0.2);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
}

.language-btn:hover {
  background: var(--bg-warm);
  border-color: var(--accent-gold);
}

.lang-flag {
  font-size: 1.125rem;
  line-height: 1;
}

.lang-name {
  font-weight: 500;
}

.lang-arrow {
  transition: transform 0.3s ease;
  color: var(--text-muted);
}

.language-btn[aria-expanded="true"] .lang-arrow {
  transform: rotate(180deg);
}

.language-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 180px;
  background: var(--bg-paper);
  border: 1px solid rgba(139, 111, 71, 0.2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.language-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 1rem;
  background: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.875rem;
  color: var(--text-primary);
  text-align: left;
}

.language-option:first-child {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.language-option:last-child {
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.language-option:hover {
  background: rgba(255, 107, 53, 0.05);
}

.language-option.active {
  background: rgba(255, 107, 53, 0.1);
  font-weight: 600;
}

.lang-check {
  margin-left: auto;
  color: var(--primary);
  font-weight: 700;
}

/* Language Suggestion Banner */
.language-suggestion-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-gold) 100%);
  color: white;
  padding: 0.75rem 1rem;
  z-index: 9999;
  box-shadow: var(--shadow-md);
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

.language-suggestion-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9375rem;
}

.language-suggestion-content .btn-switch {
  padding: 0.375rem 1rem;
  background: white;
  color: var(--primary);
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.language-suggestion-content .btn-switch:hover {
  background: var(--bg-warm);
}

.language-suggestion-content .btn-dismiss {
  margin-left: auto;
  padding: 0.25rem 0.5rem;
  background: none;
  border: none;
  color: white;
  font-size: 1.25rem;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.language-suggestion-content .btn-dismiss:hover {
  opacity: 1;
}

/* Auto Highlight Animation - 模拟插件核心功能 */
.auto-highlight {
  position: relative;
  display: inline;
  background-color: transparent;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s, border-bottom-color 0.2s;
  padding: 0 4px; /* 增加左右内边距 */
  margin: 0 -2px; /* 微调外边距补偿 */
  border-radius: 4px; /* 圆角背景 */
}

/* 默认黄色高亮（collocation） */
.auto-highlight.active {
  animation: highlightFadeInYellow 0.4s ease-in forwards;
}

@keyframes highlightFadeInYellow {
  from { 
    background-color: transparent;
    border-bottom-color: transparent;
  }
  to { 
    background-color: rgba(255, 235, 59, 0.3);
    border-bottom-color: rgba(255, 193, 7, 0.6);
  }
}

.auto-highlight.active:hover {
  background-color: rgba(255, 235, 59, 0.5);
}

/* 蓝色高亮（idiom）- 用于"外语表达" */
.auto-highlight.type-idiom.active {
  animation: highlightFadeInBlue 0.4s ease-in forwards;
}

@keyframes highlightFadeInBlue {
  from { 
    background-color: transparent;
    border-bottom-color: transparent;
  }
  to { 
    background-color: rgba(0, 188, 212, 0.25);
    border-bottom-color: rgba(0, 172, 193, 0.6);
  }
}

.auto-highlight.type-idiom.active:hover {
  background-color: rgba(0, 188, 212, 0.4);
}

/* 紫色高亮（connector）- 用于"值得记住" */
.auto-highlight.type-connector.active {
  animation: highlightFadeInPurple 0.4s ease-in forwards;
}

@keyframes highlightFadeInPurple {
  from { 
    background-color: transparent;
    border-bottom-color: transparent;
  }
  to { 
    background-color: rgba(156, 39, 176, 0.2);
    border-bottom-color: rgba(142, 36, 170, 0.6);
  }
}

.auto-highlight.type-connector.active:hover {
  background-color: rgba(156, 39, 176, 0.35);
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .language-switcher {
    position: static;
  }
  
  .language-dropdown {
    right: 1rem;
  }
  
  .language-suggestion-content {
    flex-wrap: wrap;
    font-size: 0.875rem;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .hero .container {
    grid-template-columns: 1fr; /* 移动端强制一列 */
    gap: var(--spacing-xl);
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .hero-benefits {
    flex-direction: column;
    gap: var(--spacing-xs);
  }
  
  .features-grid,
  .steps,
  .pricing-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
  
  .trust-signals {
    flex-direction: column;
    gap: var(--spacing-sm);
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
  }
}
