:root {
  --primary-color: #3B82F6;
  --secondary-color: #6366F1;
  --accent-color: #F59E0B;
  --accent-rgb: 245, 158, 11;
  --emphasis-color: #1E40AF;
}

.keyword-accent {
  color: #dc2626;
}

/* 基础样式优化 */
body {
  color: #333;
  line-height: 1.8;
}

/* 增强文本样式 */
.text-emphasis {
  font-weight: 600;
  color: var(--emphasis-color, #000);
  position: relative;
  display: inline-block;
}

.key-concept {
  font-weight: 700;
  position: relative;
  padding: 0 2px;
}

.key-concept::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 10px;
  background-color: rgba(var(--accent-rgb, 245, 158, 11), 0.2);
  z-index: -1;
}

.quote-text {
  font-style: italic;
  border-left: 4px solid var(--accent-color, #f59e0b);
  padding-left: 16px;
  margin: 18px 0;
}

.hero-tagline-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  margin-bottom: 1rem;
  border-radius: 9999px;
  font-weight: 600;
  background-image: linear-gradient(90deg, #f97316, #facc15, #22c55e, #f97316);
  background-size: 300% 100%;
  animation: hero-tagline-gradient 3s linear infinite;
  color: #b91c1c;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}

@keyframes hero-tagline-gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* 图标样式优化 */
.icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(var(--accent-rgb, 245, 158, 11), 0.1);
  margin-right: 16px;
}

.icon-container i {
  font-size: 1.4em;
  color: var(--primary-color, #3B82F6);
}

/* 官网样式增强 */
.concept-card {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

/* 段落样式优化 */
.concept-paragraph {
  margin-bottom: 1.5em;
}

/* 列表样式优化 */
.concept-list li {
  margin-bottom: 12px;
  position: relative;
  padding-left: 1.5em;
}

.concept-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--primary-color, #3b82f6);
}

/* 内容区块样式 */
.content-section {
  margin-bottom: 38px;
}

/* 分隔线样式 */
.feature-divider {
  height: 1px;
  background: linear-gradient(to right, rgba(59, 130, 246, 0.1), rgba(59, 130, 246, 0.5), rgba(59, 130, 246, 0.1));
  margin: 32px 0;
}

/* 功能卡片样式 */
.feature-card {
  border-radius: 12px;
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  padding: 20px;
  margin-bottom: 24px;
  height: 100%;
}

@media (min-width: 768px) {
  .feature-card {
    padding: 24px;
  }
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* 标签样式 */
.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 18px;
  font-weight: 500;
  margin-right: 8px;
  margin-bottom: 8px;
  background-color: rgba(var(--accent-rgb, 245, 158, 11), 0.1);
  color: var(--primary-color, #3B82F6);
}

/* 功能对比表格样式 */
.comparison-section {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 16px;
  padding: 32px;
  margin: 40px 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.comparison-row {
  border-bottom: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  border-radius: 8px;
  margin-bottom: 8px;
  padding: 16px;
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.comparison-row:hover {
  background-color: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.comparison-row:last-child {
  border-bottom: none;
}

.tier-header {
  text-align: center;
  font-weight: 700;
  padding: 16px 12px;
  border-radius: 12px;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tier-free {
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  color: #374151;
}

.tier-vip {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
}

.tier-svip {
  background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
  color: white;
}

.feature-label {
  font-weight: 600;
  color: #1f2937;
  display: flex;
  align-items: center;
  font-size: 18px;
}

.feature-value {
  text-align: center;
  font-weight: 600;
  padding: 12px 8px;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-size: 16px;
}

.value-free {
  background-color: #f9fafb;
  color: #6b7280;
  border: 1px solid #e5e7eb;
}

.value-vip {
  background-color: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #3b82f6;
}

.value-svip {
  background-color: #f3e8ff;
  color: #5b21b6;
  border: 1px solid #7c3aed;
}

.value-unlimited {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #92400e;
  border: 1px solid #f59e0b;
  font-weight: 700;
}

.value-disabled {
  background-color: #fef2f2;
  color: #dc2626;
  border: 1px solid #fca5a5;
}

.value-enabled {
  background-color: #f0fdf4;
  color: #166534;
  border: 1px solid #22c55e;
}

.feature-icon {
  margin-right: 8px;
  width: 20px;
  text-align: center;
}

.temp-env-note {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-left: 4px solid #f59e0b;
  padding: 20px 24px;
  margin: 24px 0;
  border-radius: 0 12px 12px 0;
  font-size: 16px;
  line-height: 1.6;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.1);
}

/* 响应式设计 */
@media (max-width: 768px) {
  .comparison-section {
    padding: 20px;
    margin: 20px 0;
  }

  .comparison-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px;
  }

  .tier-header {
    padding: 12px 8px;
    font-size: 16px;
  }

  .feature-label {
    font-size: 16px;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 12px;
  }

  .feature-value {
    font-size: 14px;
    padding: 10px 6px;
  }

  .temp-env-note {
    padding: 16px 20px;
    font-size: 14px;
  }

  /* 移动端显示网格布局 */
  .comparison-mobile-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-top: 0.75rem;
  }

  .comparison-mobile-grid > div {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 0.75rem;
    border-left: 4px solid #e9ecef;
  }

  .mobile-tier-label {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
  }

  .mobile-tier-label.tier-free {
    color: #6c757d;
  }

  .mobile-tier-label.tier-vip {
    color: #ffc107;
  }

  .mobile-tier-label.tier-svip {
    color: #dc3545;
  }

  .comparison-mobile-grid .tier-free {
    border-left-color: #6c757d;
  }

  .comparison-mobile-grid .tier-vip {
    border-left-color: #ffc107;
  }

  .comparison-mobile-grid .tier-svip {
    border-left-color: #dc3545;
  }

  .feature-label {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  .feature-value {
    font-size: 0.875rem;
  }
}

@media (min-width: 769px) {
  .comparison-mobile-grid {
    display: none;
  }
}

/* 右侧悬浮QQ群二维码 */
.floating-qq-qr {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  width: 290px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.25);
  padding: 22px 20px;
}

.floating-qq-qr-title {
  font-size: 15px;
  font-weight: 600;
  color: #1f2937;
  text-align: center;
  margin-bottom: 10px;
}

.floating-qq-qr img {
  width: 220px;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 0 auto 4px auto;
}

.floating-qq-qr-text {
  font-size: 13px;
  color: #4b5563;
  text-align: center;
  line-height: 1.4;
}

.floating-qq-qr-copy-btn {
  margin-top: 8px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 500;
  color: #ffffff;
  background-color: #3b82f6;
  border-radius: 9999px;
  cursor: pointer;
  border: none;
}

.floating-qq-qr-copy-btn:hover {
  background-color: #2563eb;
}

@media (max-width: 768px) {
  .floating-qq-qr {
    display: none;
  }
}

@media (max-width: 768px) {
  .feature-comparison {
    padding: 1rem;
  }

  .comparison-mobile-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-top: 0.75rem;
  }

  .comparison-mobile-grid > div {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 0.75rem;
    border-left: 4px solid #e9ecef;
  }

  .mobile-tier-label {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
  }

  .mobile-tier-label.tier-free {
    color: #6c757d;
  }

  .mobile-tier-label.tier-vip {
    color: #ffc107;
  }

  .mobile-tier-label.tier-svip {
    color: #dc3545;
  }

  .comparison-mobile-grid .tier-free {
    border-left-color: #6c757d;
  }

  .comparison-mobile-grid .tier-vip {
    border-left-color: #ffc107;
  }

  .comparison-mobile-grid .tier-svip {
    border-left-color: #dc3545;
  }

  .feature-label {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  .feature-value {
    font-size: 0.875rem;
  }
}

@media (min-width: 769px) {
  .comparison-mobile-grid {
    display: none;
  }
}

/* 选项卡样式 */
.tab-navigation {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 0;
}

.tab-button {
  padding: 1.2rem 2.5rem;
  border: none;
  background: none;
  font-size: 1.25rem;
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
  position: relative;
  top: 2px;
  letter-spacing: 0.5px;
  border-radius: 8px 8px 0 0;
}

.tab-button:hover {
  color: #3b82f6;
  background-color: #f1f5f9;
  transform: translateY(-1px);
}

.tab-button.active {
  color: #ffffff;
  border-bottom-color: #3b82f6;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
  transform: translateY(-2px);
  letter-spacing: 0.8px;
}

.tab-content-container {
  min-height: 600px;
}

.tab-content {
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 移动端选项卡适配 */
@media (max-width: 768px) {
  .tab-navigation {
    flex-direction: row;
    gap: 0.5rem;
    justify-content: center;
  }

  .tab-button {
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    border-bottom: 3px solid transparent;
    border-right: none;
    text-align: center;
    border-radius: 8px 8px 0 0;
    letter-spacing: 0.3px;
  }

  .tab-button:hover {
    background-color: #f1f5f9;
    transform: translateY(-1px);
  }

  .tab-button.active {
    color: #ffffff;
    border-bottom-color: #3b82f6;
    border-right-color: transparent;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
    letter-spacing: 0.6px;
  }

  .tab-content-container {
    min-height: auto;
  }
}
