/* ============================================
   钱包下载网站 - 核心样式
   ============================================ */

:root {
  --primary-color: #0066ff;
  --primary-light: #4d94ff;
  --primary-dark: #0052cc;
  --secondary-color: #1a1a2e;
  --text-dark: #1a1a2e;
  --text-light: #666666;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --border-color: #e5e7eb;
  --success-color: #22c55e;
  --warning-color: #f59e0b;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--bg-white);
}

/* ========== 布局基础 ========== */

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

.row {
  display: grid;
  gap: 30px;
}

.col-2 {
  grid-template-columns: 1fr 1fr;
}

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

/* ========== 导航栏 ========== */

header {
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}

header.scrolled {
  box-shadow: var(--shadow-lg);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 32px;
  height: 32px;
  color: var(--primary-color);
  stroke: var(--primary-color);
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  color: var(--text-dark);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  gap: 15px;
  align-items: center;
}

.nav-btn {
  padding: 8px 20px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

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

.nav-btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: var(--shadow-md);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow-lg);
    padding: 20px 0;
    border-radius: 0 0 8px 8px;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 15px 20px;
  }

  .hamburger {
    display: flex;
  }

  .nav-cta {
    flex-direction: column;
    gap: 10px;
  }
}

/* ========== Hero 首屏 ========== */

.hero {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e5f0ff 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-dark);
  animation: slideInLeft 0.8s ease;
}

.hero-content .subtitle {
  font-size: 20px;
  color: var(--text-light);
  margin-bottom: 30px;
  animation: slideInLeft 0.8s ease 0.1s backwards;
}

.hero-content .description {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 40px;
  line-height: 1.8;
  animation: slideInLeft 0.8s ease 0.2s backwards;
}

.hero-actions {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  animation: slideInLeft 0.8s ease 0.3s backwards;
}

.btn {
  padding: 14px 32px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-primary {
  background: var(--primary-color);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--bg-white);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

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

.btn-small {
  padding: 10px 20px;
  font-size: 14px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: slideInRight 0.8s ease;
}

.hero-visual img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

@media (max-width: 768px) {
  .hero {
    padding: 60px 0;
  }

  .hero .row {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .hero-content .subtitle {
    font-size: 18px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}

/* ========== 下载入口区 ========== */

.download-section {
  padding: 100px 0;
  background: var(--bg-white);
}

.section-title {
  font-size: 42px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: var(--text-dark);
}

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

.download-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 30px 25px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
  border-color: var(--primary-light);
}

.card-icon {
  display: flex;
  align-items: center;
  gap: 8px;
  width: auto;
  height: auto;
  background: none;
  border-radius: 0;
  margin: 0 0 12px 0;
  font-size: 16px;
  color: var(--primary-color);
}

.card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary-color);
  stroke: var(--primary-color);
  flex-shrink: 0;
}

.card-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-dark);
  line-height: 1.3;
}

.card-meta {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 12px;
}

.card-description {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 16px;
  flex: 1;
  line-height: 1.7;
}

.card-update {
  background: transparent;
  padding: 0;
  border-radius: 0;
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 24px;
  margin-top: auto;
}

.card-update strong {
  color: var(--text-dark);
  font-weight: 600;
}

.card-btn {
  width: 100%;
  padding: 16px 24px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  border-radius: 12px !important;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.15), rgba(77, 148, 255, 0.15));
  border-radius: 6px;
  font-size: 11px;
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--success-color);
  color: white;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}

/* 卡片底部说明文字 */
.card > p:last-child {
  font-size: 12px;
  color: var(--text-light);
  text-align: center;
  margin: 0;
  line-height: 1.6;
}

.card > p:last-child a {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.card > p:last-child a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* 卡片按钮容器（用于Windows和Mac两个按钮） */
.card > div[style*="display: flex"] {
  gap: 12px !important;
  margin-bottom: 12px;
}

.card > div[style*="display: flex"] .card-btn {
  margin-bottom: 0;
}

@media (max-width: 1024px) {
  .download-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .download-section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 32px;
  }

  .download-cards {
    grid-template-columns: 1fr;
  }
}

/* ========== 产品亮点区 ========== */

.features-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #f8f9fa 0%, var(--bg-white) 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 60px;
}

.features-image {
  text-align: center;
  overflow: hidden;
  border-radius: 16px;
}

.features-image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  max-width: 400px;
  display: block;
  margin: 0 auto;
}

.features-content {
  /* no special style needed */
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  animation: fadeInUp 0.6s ease;
}

.feature-item-last {
  border-bottom: none;
}

.feature-icon-svg {
  width: 18px;
  height: 18px;
  color: var(--primary-color);
  stroke: var(--primary-color);
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-title {
  color: var(--text-dark);
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 700;
}

.feature-desc {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .features-grid {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .features-section {
    padding: 60px 0;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .features-image {
    order: -1;
  }

  .features-image img {
    max-width: 100%;
  }

  .feature-item {
    padding: 16px 0;
  }
}

/* ========== 全球用户区 ========== */

.global-users-section {
  padding: 100px 0;
  background: var(--bg-white);
}

.users-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 60px;
}

.users-image {
  overflow: hidden;
  border-radius: 16px;
}

.users-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

.users-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

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

.stat-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.2;
}

.stat-label {
  font-size: 16px;
  color: var(--text-light);
  margin-top: 10px;
}

/* ========== 支持币种区 ========== */

.supported-coins-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #f8f9fa 0%, var(--bg-white) 100%);
}

.coins-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.coin-item {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.coin-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.coin-logo {
  width: 60px;
  height: 60px;
  margin: 0 auto 15px;
  display: block;
  border-radius: 50%;
  object-fit: contain;
}

.coin-item h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--text-dark);
}

.coin-item p {
  font-size: 14px;
  color: var(--text-light);
}

.coins-footer {
  text-align: center;
  margin-top: 50px;
  font-size: 14px;
  color: var(--text-light);
}

.coins-footer a {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
}

/* ========== 多链支持区 ========== */

.multichain-section {
  padding: 100px 0;
  background: var(--bg-white);
}

.multichain-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 60px;
}

.multichain-image {
  overflow: hidden;
  border-radius: 16px;
}

.multichain-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

.multichain-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.multichain-list li {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
  padding: 20px;
  background: var(--bg-light);
  border-radius: 12px;
  transition: var(--transition);
}

.multichain-list li:hover {
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.1), rgba(77, 148, 255, 0.05));
}

.multichain-list .icon {
  color: var(--success-color);
  font-weight: bold;
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.multichain-list strong {
  display: block;
  font-size: 16px;
  color: var(--text-dark);
  margin-bottom: 5px;
}

.multichain-list p {
  font-size: 14px;
  color: var(--text-light);
  margin: 0;
}

/* ========== 钱包类型区 ========== */

.wallet-types-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #f8f9fa 0%, var(--bg-white) 100%);
}

.wallet-types-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 60px;
}

.wallet-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.wallet-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}

.wallet-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.wallet-card h3 {
  font-size: 24px;
  font-weight: 700;
  padding: 30px 30px 10px;
  color: var(--text-dark);
}

.wallet-type-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.15), rgba(77, 148, 255, 0.15));
  color: var(--primary-color);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  margin: 0 30px;
  text-transform: uppercase;
}

.wallet-features {
  list-style: none;
  padding: 20px 30px;
  margin: 0;
}

.wallet-features li {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 8px;
}

.wallet-features strong {
  color: var(--text-dark);
}

.wallet-tip {
  padding: 0 30px 30px;
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

/* ========== 钱包形式区 ========== */

.wallet-form-section {
  padding: 100px 0;
  background: var(--bg-white);
}

.wallet-forms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 60px;
  margin-bottom: 60px;
}

.form-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.form-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}

.form-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.form-card h3 {
  font-size: 24px;
  font-weight: 700;
  padding: 30px 30px 10px;
  color: var(--text-dark);
}

.form-subtitle {
  padding: 0 30px;
  font-size: 14px;
  color: var(--primary-color);
  font-weight: 600;
}

.form-content {
  padding: 20px 30px;
}

.form-content h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  margin-top: 15px;
}

.form-content h4:first-child {
  margin-top: 0;
}

.form-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.form-content li {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 6px;
}

.form-type {
  padding: 0 30px 30px;
  font-size: 14px;
  color: var(--text-light);
  border-top: 1px solid var(--border-color);
  margin-top: 20px;
  padding-top: 20px;
}

.recommendation-box {
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.08), rgba(77, 148, 255, 0.08));
  border: 2px solid var(--primary-color);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
}

.recommendation-box h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.recommendation-box p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 2;
  margin: 0;
}

/* ========== 响应式设计 ========== */

@media (max-width: 1024px) {
  .users-content {
    gap: 60px;
  }

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

  .multichain-content {
    gap: 60px;
  }

  .wallet-types-grid {
    gap: 40px;
  }

  .wallet-forms-grid {
    gap: 40px;
  }
}

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

  .users-stats {
    grid-template-columns: 1fr 1fr;
  }

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

  .multichain-content {
    grid-template-columns: 1fr;
  }

  .wallet-types-grid {
    grid-template-columns: 1fr;
  }

  .wallet-forms-grid {
    grid-template-columns: 1fr;
  }

  .recommendation-box {
    padding: 30px;
  }
}

/* ========== 安全说明区 ========== */

.security-section {
  padding: 100px 0;
  background: var(--bg-white);
}

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

.security-list {
  list-style: none;
}

.security-list li {
  padding: 20px 0;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  gap: 20px;
}

.security-list li:last-child {
  border-bottom: none;
}

.security-list .icon {
  width: 24px;
  height: 24px;
  background: var(--success-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  flex-shrink: 0;
}

.security-list h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.security-list p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.6;
}

.security-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.security-visual img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
  .security-section {
    padding: 60px 0;
  }

  .security-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ========== 教程区 ========== */

.guide-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #f8f9fa 0%, var(--bg-white) 100%);
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.step-item {
  text-align: center;
  position: relative;
}

.step-number {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  font-weight: 700;
  margin: 0 auto 15px;
  flex-shrink: 0;
}

.step-number svg {
  width: 20px;
  height: 20px;
  color: white;
  stroke: white;
}

.step-item h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.step-item p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.6;
}

.step-item:not(:last-child)::after {
  content: '';
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 80px;
  background: linear-gradient(180deg, var(--primary-color), transparent);
}

@media (max-width: 1024px) {
  .steps-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .guide-section {
    padding: 60px 0;
  }

  .steps-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .step-item:not(:last-child)::after {
    display: none;
  }
}

/* ========== 兼容性表格 ========== */

.compatibility-section {
  padding: 100px 0;
  background: var(--bg-white);
}

.compatibility-table {
  margin-top: 60px;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  box-shadow: var(--shadow-sm);
  border-radius: 12px;
  overflow: hidden;
}

thead {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: white;
}

th {
  padding: 20px;
  text-align: left;
  font-weight: 700;
  font-size: 15px;
}

td {
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
  font-size: 15px;
}

tr:last-child td {
  border-bottom: none;
}

tbody tr:hover {
  background: var(--bg-light);
}

.status-badge {
  display: inline-block;
  padding: 6px 12px;
  background: var(--success-color);
  color: white;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
}

.status-badge.warning {
  background: var(--warning-color);
}

.status-badge.disabled {
  background: #9ca3af;
}

@media (max-width: 768px) {
  .compatibility-section {
    padding: 60px 0;
  }

  table {
    font-size: 13px;
  }

  th, td {
    padding: 12px;
  }
}

/* ========== FAQ ========== */

.faq-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #f8f9fa 0%, var(--bg-white) 100%);
}

.faq-container {
  max-width: 100%;
  margin: 0;
  margin-top: 60px;
}

.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.faq-question {
  padding: 20px;
  background: var(--bg-white);
  border: none;
  width: 100%;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

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

.faq-toggle {
  width: 24px;
  height: 24px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  transition: var(--transition);
  flex-shrink: 0;
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: var(--bg-light);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-content {
  padding: 20px;
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.8;
}

@media (max-width: 768px) {
  .faq-section {
    padding: 60px 0;
  }

  .faq-question {
    font-size: 15px;
  }
}

/* ========== 文章引导区 ========== */

.articles-section {
  padding: 100px 0;
  background: var(--bg-white);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.article-card {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.article-image {
  width: 100%;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  position: relative;
}

.article-image-photo {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.article-image svg {
  width: 48px;
  height: 48px;
  color: white;
}

.article-content {
  padding: 30px;
  color: white;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-tag {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 10px;
}

.article-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
}

.article-description {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 20px;
  flex: 1;
  line-height: 1.6;
}

.article-link {
  color: white;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s ease;
}

.article-link:hover {
  gap: 12px;
}

.article-link::after {
  content: '→';
  display: inline-block;
}

@media (max-width: 768px) {
  .articles-section {
    padding: 60px 0;
  }

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

/* ========== 页脚 ========== */

footer {
  background: var(--secondary-color);
  color: white;
  padding: 80px 0 20px;
  margin-top: 100px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.footer-section h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-section p {
  font-size: 14px;
  opacity: 0.8;
  line-height: 1.8;
  margin-bottom: 20px;
}

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

.footer-section li {
  margin-bottom: 12px;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
  opacity: 0.7;
}

.footer-links {
  display: flex;
  gap: 30px;
}

@media (max-width: 768px) {
  footer {
    padding: 60px 0 20px;
  }

  .footer-content {
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

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

/* ========== 回到顶部按钮 ========== */

#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}

#backToTop.show {
  opacity: 1;
  visibility: visible;
}

#backToTop:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

/* ========== 动画 ========== */

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

/* ========== 响应式调整 ========== */

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

  .nav-links {
    gap: 20px;
  }

  .section-title {
    font-size: 28px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 14px;
  }
}
