/* 基础样式重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 变量定义 */
:root {
  --primary-color: #0b6bcb;
  --secondary-color: #f5f5f5;
  --text-color: #333;
  --light-text: #666;
  --border-color: #eee;
  --success-color: #52c41a;
  --warning-color: #faad14;
  --error-color: #f5222d;
  --transition-base: all 0.3s ease;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* 全局样式 */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #fff;
}

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

/* 通用样式 */
img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-base);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 1rem;
  font-weight: 600;
  line-height: 1.3;
}

/* 按钮基础样式 */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-base);
  border: none;
}

/* 主要按钮样式 */
.btn-primary {
  background-color: var(--primary-color);
  color: #fff;
  display: inline-block;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #1976d2; /* 稍微亮一点的蓝色 */
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(11, 107, 203, 0.2);
}

/* 次要按钮样式 */
.btn-secondary {
  background-color: #f5f5f5;
  color: #333;
  border: 1px solid #ddd;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: #f0f0f0;
  color: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 文本按钮样式 */
.btn-text {
  color: var(--primary-color);
  padding: 0;
  background: transparent;
  transition: all 0.3s ease;
}

.btn-text:hover {
  color: #1976d2; /* 与主按钮hover颜色保持一致 */
  text-decoration: underline;
}

/* 导航栏 */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo img {
  width: 40px;
  height: auto;
}

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

.nav-links a {
  color: var(--text-color);
  font-size: 16px;
  font-weight: 500;
}

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

/* Hero区域 */
.hero {
  padding: 160px 0 120px;
  background: linear-gradient(135deg, var(--primary-color), #1a8fff);
  color: #fff;
  text-align: center;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.5rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.hero-features {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 3rem;
}

.hero-features span {
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  font-size: 0.9rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 3rem;
}

.hero-image {
  max-width: 1000px;
  margin: 0 auto;
}

.hero-image img {
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* 功能特点 */
.features {
  padding: 100px 0;
  background: #fff;
}

.section-title {
  text-align: center;
  margin-bottom: 1rem;
}

.section-desc {
  text-align: center;
  color: var(--light-text);
  margin-bottom: 4rem;
  font-size: 1.1rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.feature-item {
  padding: 40px;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--box-shadow);
  transition: var(--transition-base);
}

.feature-item:hover {
  transform: translateY(-5px);
}

.feature-item img {
  width: 60px;
  height: 60px;
  margin-bottom: 1.5rem;
}

.feature-item h3 {
  margin-bottom: 1rem;
}

.feature-item ul {
  list-style: none;
}

.feature-item li {
  margin-bottom: 0.5rem;
  color: var(--light-text);
}

/* 解决方案 */
.solutions {
  padding: 100px 0;
  background: var(--secondary-color);
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.solution-item {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
}

.solution-item img {
  width: 50px;
  height: 50px;
  margin-bottom: 1rem;
}

.solution-item h3 {
  margin-bottom: 1rem;
}

.solution-item p {
  color: var(--light-text);
  margin-bottom: 1rem;
}

/* 下载区域 */
.download {
  padding: 100px 0;
  background: #fff;
}

.download-options {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
}

.download-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 280px;
  padding: 40px 30px;
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease;
}

.download-card:hover {
  transform: translateY(-5px);
}

.download-card i {
  color: var(--primary-color);
  margin-bottom: 20px;
}

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

.version-info {
  margin: auto 0;
  padding: 16px 0;
  color: var(--light-text);
  font-size: 0.9rem;
  text-align: center;
}

.version-info span {
  display: block;
  line-height: 1.8;
}

.download-card .btn {
  margin-top: auto;
  min-width: 160px;
}

.qrcode {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.qrcode img {
  width: 120px;
  height: 120px;
  margin-bottom: 0.5rem;
}

.qrcode span {
  color: #666;
  font-size: 0.9rem;
}

.btn-primary {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: #007bff;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.3s ease;
}

/* 价格方案 */
.price {
  padding: 100px 0;
  background: var(--secondary-color);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.price-card {
  display: flex;
  flex-direction: column;
  padding: 40px;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--box-shadow);
  transition: all 0.3s ease;
}

.price-header {
  text-align: center;
  margin-bottom: 2rem;
}

.price-amount {
  margin: 1.5rem 0;
}

.price-features {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.price-features li {
  margin-bottom: 1rem;
  color: var(--light-text);
}

.price-card .btn {
  align-self: center;
  min-width: 200px;
}

.price-card.popular {
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.price-card.popular .recommended-badge {
  position: absolute;
  top: 32px;
  right: -80px;
  background: var(--primary-color);
  color: #fff;
  width: 250px;
  padding: 6px 0;
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
  transform: rotate(45deg);
  transform-origin: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  animation: shine 3s ease-in-out infinite;
}

.price-card.popular .recommended-badge::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
  0% {
    left: -100%;
  }
  50% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}

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

.price-card.popular:hover {
  transform: translateY(-5px);
}

@media (max-width: 768px) {
  .price-card {
    margin-bottom: 30px;
  }

  .price-card.popular {
    transform: translateY(-10px);
  }

  .price-card:hover,
  .price-card.popular:hover {
    transform: translateY(-5px);
  }

  .price-card.popular .recommended-badge {
    top: 28px;
    right: -75px;
    width: 220px;
    padding: 4px 0;
    font-size: 0.75rem;
  }
}

/* 客户案例 */
.cases {
  padding: 100px 0;
  background: #fff;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.case-item {
  text-align: center;
}

.case-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary-color);
  border-radius: 12px;
}

.case-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  vertical-align: middle;
}

.case-content {
  text-align: center;
  padding: 24px;
}

.case-content h3 {
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 600;
}

.case-content p {
  color: var(--light-text);
  line-height: 1.6;
}

/* 技术势 */
.advantages {
  padding: 100px 0;
  background: var(--secondary-color);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.advantage-item {
  text-align: center;
  padding: 30px;
}

.advantage-item img {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
}

/* 新闻动态 */
.news {
  padding: 100px 0;
  background: #fff;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.news-item {
  padding: 30px;
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
}

.news-date {
  color: var(--light-text);
  margin-bottom: 1rem;
}

/* 联系我们 */
.contact {
  background-color: #f8f9fa;
  padding: 80px 0;
}

.contact-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

/* 联系卡片样式 */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.contact-card {
  background: #fff;
  padding: 32px 24px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.contact-card:hover {
  transform: translateY(-5px);
}

.card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon i {
  font-size: 24px;
  color: #fff;
}

.contact-card h4 {
  margin: 0 0 12px;
  font-size: 18px;
  color: #333;
}

.contact-card p {
  margin: 0 0 8px;
  color: #666;
}

.text-muted {
  color: #888;
  font-size: 14px;
}

/* 表单样式 */
.contact-form-wrapper {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.form-header {
  text-align: center;
  margin-bottom: 32px;
}

.form-header h3 {
  margin: 0 0 8px;
  font-size: 24px;
  color: #333;
}

.form-header p {
  margin: 0;
  color: #666;
}

.contact-form {
  max-width: 720px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  outline: none;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  padding: 8px 24px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: var(--primary-color);
  color: #fff;
}

/* 响应式布局 */
@media (max-width: 992px) {
  .contact-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .contact-cards {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-form-wrapper {
    padding: 24px;
  }
}

/* 页脚 */
.footer {
  padding: 0 0 20px 0;
  background: #1f2937;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h4 {
  margin-bottom: 1.5rem;
  color: #fff;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.8rem;
}

.footer-col ul a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-col ul a:hover {
  color: #fff;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.social-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.7);
}

.social-item img {
  width: 24px;
  height: 24px;
}

.footer-bottom {
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-links {
  margin-bottom: 20px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  margin: 0 15px;
}

.copyright {
  color: rgba(255, 255, 255, 0.5);
}

.copyright a {
  color: rgba(255, 255, 255, 0.7);
}

/* 返回顶部按钮 */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 90px;
  width: 50px;
  height: 50px;
  background: #007bff;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-base);
  opacity: 0;
  visibility: hidden;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

/* 在线客服 */
.customer-service {
  position: fixed;
  right: 30px;
  bottom: 100px;
}

.cs-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #fff;
  border: none;
  border-radius: 24px;
  box-shadow: var(--box-shadow);
  cursor: pointer;
  transition: var(--transition-base);
}

.cs-btn:hover {
  transform: translateY(-2px);
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .container {
    padding: 0 40px;
  }
}

@media (max-width: 992px) {
  .feature-grid,
  .solution-grid,
  .download-options,
  .price-grid,
  .case-grid,
  .advantages-grid,
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .feature-grid,
  .solution-grid,
  .download-options,
  .price-grid,
  .case-grid,
  .advantages-grid,
  .news-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .price-card.popular {
    transform: none;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 20px;
  }

  .hero-features {
    flex-wrap: wrap;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .back-to-top {
    right: 20px;
    bottom: 20px;
  }
}

/* 动画效果 */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate {
  animation: fadeIn 0.6s ease-out forwards;
}

/* 技术优势图标样式 */
.advantage-item i {
  color: #007bff;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.advantage-item:hover i {
  transform: translateY(-5px);
}

/* 成功案例图标样式 */
.case-item i {
  color: #333;
  margin-bottom: 1rem;
}

/* 社交媒体图标样式优化 */
.social-item i {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 微信图标 */
.social-item.weixin i {
  color: #07c160;
}

/* 微图标 */
.social-item.weibo i {
  color: #e6162d;
}

/* GitHub图标 */
.social-item.github i {
  color: #fff;
}

.social-item:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}

/* 核心功能图标样式 */
.feature-item i {
  color: #007bff;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.feature-item:hover i {
  transform: scale(1.1);
}

/* 解决方案图标样式 */
.solution-item i {
  color: #2c3e50;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.solution-item:hover i {
  color: #007bff;
  transform: translateY(-5px);
}

/* 移动端优化 */
@media (max-width: 768px) {
  /* 导航相关 */
  .nav-links {
    display: none;
  }

  /* Hero 区域 */
  .hero {
    padding: 120px 0 80px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  /* 网格布局调整 */
  .feature-grid,
  .solution-grid,
  .download-options,
  .price-grid,
  .case-grid,
  .advantages-grid,
  .news-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* 价格卡片 */
  .price-card {
    margin-bottom: 30px;
  }

  .price-card.popular {
    transform: none;
  }

  .price-card:hover,
  .price-card.popular:hover {
    transform: translateY(-5px);
  }

  /* 区块间距调整 */
  .section-title {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
  }

  .section-desc {
    font-size: 0.95rem;
    margin-bottom: 2rem;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    opacity: 0.85;
  }

  /* 各区块内距调整 */
  .features,
  .solutions,
  .download,
  .price,
  .cases,
  .advantages,
  .news,
  .contact {
    padding: 50px 0;
  }

  /* 卡片样式优化 */
  .feature-item,
  .solution-item,
  .download-card,
  .price-card,
  .case-item,
  .advantage-item,
  .news-item {
    padding: 25px 20px;
    margin-bottom: 15px;
    border-radius: 12px;
  }

  /* 网格布局距优化 */
  .feature-grid,
  .solution-grid,
  .download-options,
  .price-grid,
  .case-grid,
  .advantages-grid,
  .news-grid {
    gap: 20px;
    padding: 0 10px;
  }

  /* 下载卡片 */
  .download-card {
    min-height: 240px;
  }

  .download-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
  }

  .version-info {
    padding: 12px 0;
  }

  /* 价格方案 */
  .price-card {
    padding: 30px;
  }

  .price-header {
    margin-bottom: 1.5rem;
  }

  .price-features {
    margin-bottom: 1.5rem;
  }

  .price-features li {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
  }

  /* 联系我们 */
  .contact-grid {
    gap: 30px;
  }

  .contact-info {
    gap: 20px;
  }

  .info-item {
    padding: 20px;
  }

  .contact-form {
    padding: 25px;
  }

  /* 按钮样式 */
  .btn {
    padding: 10px 20px;
    font-size: 0.95rem;
  }

  /* 图标 */
  .feature-item i,
  .solution-item i,
  .download-card i {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
}

/* 更小屏幕的优化 */
@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  /* Hero 区域进一步优化 */
  .hero {
    padding: 100px 0 60px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  /* 按钮组优化 */
  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 0 20px;
  }

  .cta-buttons .btn {
    width: 100%;
  }

  /* 卡片内容进一步紧凑 */
  .feature-item,
  .solution-item,
  .download-card,
  .price-card,
  .case-item,
  .advantage-item,
  .news-item {
    padding: 20px;
  }

  /* 网格间距进一步优化 */
  .feature-grid,
  .solution-grid,
  .download-options,
  .price-grid,
  .case-grid,
  .advantages-grid,
  .news-grid {
    gap: 15px;
  }

  /* 页脚进一步优化 */
  .footer {
    padding: 40px 0 20px;
  }

  .footer-links a {
    margin: 0 8px;
    font-size: 0.9rem;
  }

  /* 返回顶部按钮和客服按钮优化 */
  .back-to-top,
  .cs-btn {
    transform: scale(0.9);
  }
}

/* 语言选择器样式优化 */
.language-selector {
  position: relative;
  margin-left: 30px;
  display: flex;
  align-items: center;
}

.language-selector select {
  appearance: none;
  padding: 8px 40px 8px 16px;
  font-size: 15px;
  color: var(--text-color);
  background-color: var(--secondary-color);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition-base);
}

.language-selector::after {
  content: "\f107";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--light-text);
  pointer-events: none;
  font-size: 14px;
  transition: var(--transition-base);
}

.language-selector select:hover {
  border-color: var(--primary-color);
}

.language-selector select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(11, 107, 203, 0.1);
}

/* 深色模式支持 */
@media (prefers-color-scheme: dark) {
  .language-selector select {
    color: #e0e0e0;
    background-color: #2c3e50;
    border-color: #4a5568;
  }

  .language-selector::after {
    color: #e0e0e0;
  }

  .language-selector select:hover {
    border-color: #3498db;
    box-shadow: 0 2px 4px rgba(52, 152, 219, 0.2);
  }

  .language-selector select:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
  }
}

/* 移动端适配 */
@media (max-width: 768px) {
  .language-selector {
    margin: 15px 0;
  }

  .language-selector select {
    width: 100%;
    padding: 10px 40px 10px 16px;
    font-size: 16px;
    background-color: var(--secondary-color);
  }

  .case-image {
    height: 180px;
  }

  .case-content {
    padding: 20px;
  }

  .case-icon {
    width: 40px;
    height: 40px;
  }

  .case-icon i {
    font-size: 20px;
  }
}

/* 添加语言图标 */
.language-selector select option[value="zh-CN"]::before {
  content: "🇨🇳";
  margin-right: 8px;
}

.language-selector select option[value="en"]::before {
  content: "🇺🇸";
  margin-right: 8px;
}

.language-selector select option[value="zh-TW"]::before {
  content: "🇭🇰";
  margin-right: 8px;
}

/* 推荐标签样式优化 */
.price-card.popular {
  position: relative;
  overflow: hidden;
}

.price-card.popular .recommended-badge {
  position: absolute;
  top: 32px;
  right: -80px;
  background: var(--primary-color);
  color: #fff;
  width: 250px;
  padding: 6px 0;
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
  transform: rotate(45deg);
  transform-origin: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  animation: badgePulse 2s infinite;
}

/* 添加呼吸灯效果 */
@keyframes badgePulse {
  0% {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  }
  50% {
    box-shadow: 0 1px 15px rgba(11, 107, 203, 0.3);
  }
  100% {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  }
}

/* 添加响应式支持 */
@media (max-width: 768px) {
  .price-card.popular .recommended-badge {
    top: 28px;
    right: -75px;
    width: 220px;
    padding: 4px 0;
    font-size: 0.75rem;
  }
}
