* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.6;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== 导航栏 ===== */
.navbar {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 700;
  color: #dc2626;
  text-decoration: none;
}

.nav-brand svg {
  width: 28px;
  height: 28px;
}

.nav-menu {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-link {
  font-size: 14px;
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: #dc2626;
}

.nav-link.active {
  color: #dc2626;
  font-weight: 600;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 3px;
  background: #dc2626;
  border-radius: 2px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #333;
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
  .nav-menu {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: 16px 0;
    border-bottom: 1px solid #e5e7eb;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-menu.show {
    max-height: 400px;
  }

  .nav-link {
    padding: 12px 20px;
    display: block;
    border-bottom: 1px solid #f3f4f6;
  }

  .nav-link.active::after {
    display: none;
  }

  .nav-link.active {
    background: #f3f4f6;
  }

  .menu-toggle {
    display: block;
  }
}

/* ===== 通用样式 ===== */
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.sec {
  padding: 80px 0;
}

.sec-head {
  text-align: center;
  margin-bottom: 60px;
}

.sec-label {
  display: inline-block;
  background: #fee2e2;
  color: #dc2626;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.sec-title {
  font-size: 36px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 16px;
}

.sec-sub {
  font-size: 16px;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background: #dc2626;
  color: #fff;
}

.btn-primary:hover {
  background: #b91c1c;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(220, 38, 38, 0.3);
}

.btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.btn-outline {
  background: transparent;
  color: #dc2626;
  border: 2px solid #dc2626;
}

.btn-outline:hover {
  background: #fee2e2;
}

.btn-white {
  background: #fff;
  color: #dc2626;
  border: 1px solid #e5e7eb;
}

.btn-white:hover {
  background: #f9fafb;
}

.btn-lg {
  padding: 16px 40px;
  font-size: 16px;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 12px;
}

/* ===== Hero 区域 ===== */
#hero {
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
  color: #fff;
  padding: 120px 0 80px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero-text p {
  font-size: 18px;
  color: #d1d5db;
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-actions .btn {
  min-width: 160px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.hero-stat {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 8px;
  border-left: 3px solid #dc2626;
}

.hero-stat-num {
  font-size: 28px;
  font-weight: 700;
  color: #fcd34d;
  margin-bottom: 4px;
}

.hero-stat-lbl {
  font-size: 13px;
  color: #d1d5db;
}

.hero-visual {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.hero-visual svg {
  width: 100%;
  height: 100%;
  max-width: 300px;
  max-height: 300px;
}

@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-text h1 {
    font-size: 32px;
  }

  .hero-text p {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }
}

/* ===== 功能特色 ===== */
#features {
  background: #f9fafb;
}

.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 80px;
}

.feat-card {
  background: #fff;
  padding: 32px;
  border-radius: 8px;
  border-top: 4px solid #dc2626;
  transition: all 0.3s ease;
}

.feat-card:nth-child(2) {
  border-top-color: #2563eb;
}

.feat-card:nth-child(3) {
  border-top-color: #059669;
}

.feat-card:nth-child(4) {
  border-top-color: #7c3aed;
}

.feat-card:nth-child(5) {
  border-top-color: #f59e0b;
}

.feat-card:nth-child(6) {
  border-top-color: #ec4899;
}

.feat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
}

.feat-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
}

.feat-name {
  font-size: 18px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 12px;
}

.feat-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

.deep-section {
  margin-top: 60px;
  padding-top: 60px;
  border-top: 1px solid #e5e7eb;
}

.deep-title {
  font-size: 28px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 32px;
}

.deep-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 60px;
}

.deep-row.flip {
  direction: rtl;
}

.deep-row.flip > * {
  direction: ltr;
}

.deep-info h3 {
  font-size: 24px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 16px;
}

.deep-info p {
  font-size: 15px;
  color: #666;
  margin-bottom: 16px;
  line-height: 1.7;
}

.deep-list {
  list-style: none;
  margin-top: 20px;
}

.deep-list li {
  font-size: 14px;
  color: #666;
  padding-left: 28px;
  margin-bottom: 12px;
  position: relative;
}

.deep-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #dc2626;
  font-weight: 700;
}

.deep-visual {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  border-radius: 12px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

.deep-visual svg {
  width: 100%;
  height: 100%;
  max-width: 250px;
  max-height: 250px;
}

@media (max-width: 768px) {
  .feat-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .deep-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .deep-row.flip {
    direction: ltr;
  }

  .deep-info h3 {
    font-size: 20px;
  }
}

/* ===== 多平台支持 ===== */
#platforms {
  background: #fff;
}

.plat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.plat-card {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.plat-card:hover {
  border-color: #dc2626;
  box-shadow: 0 8px 16px rgba(220, 38, 38, 0.1);
}

.plat-card.featured {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  border-color: #dc2626;
  transform: scale(1.05);
}

.plat-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
}

.plat-name {
  font-size: 18px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 8px;
}

.plat-ver {
  font-size: 12px;
  color: #999;
  margin-bottom: 16px;
}

.plat-req {
  font-size: 12px;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.5;
}

.plat-badge {
  display: inline-block;
  background: #dc2626;
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 16px;
}

.plat-card .btn {
  width: 100%;
}

@media (max-width: 768px) {
  .plat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .plat-card.featured {
    transform: scale(1);
  }
}

/* ===== 用户评价 ===== */
#reviews {
  background: #f9fafb;
}

.rev-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.rev-card {
  background: #fff;
  padding: 32px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.rev-card:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.rev-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.rev-stars svg {
  width: 16px;
  height: 16px;
}

.rev-text {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
  min-height: 60px;
}

.rev-footer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rev-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
}

.rev-avatar:nth-child(1) { background: linear-gradient(135deg, #dc2626, #991b1b); }
.rev-avatar:nth-child(2) { background: linear-gradient(135deg, #2563eb, #1e40af); }
.rev-avatar:nth-child(3) { background: linear-gradient(135deg, #059669, #065f46); }
.rev-avatar:nth-child(4) { background: linear-gradient(135deg, #7c3aed, #5b21b6); }
.rev-avatar:nth-child(5) { background: linear-gradient(135deg, #f59e0b, #d97706); }
.rev-avatar:nth-child(6) { background: linear-gradient(135deg, #ec4899, #be185d); }

.rev-info {
  flex: 1;
}

.rev-name {
  font-size: 14px;
  font-weight: 600;
  color: #1f2937;
}

.rev-role {
  font-size: 12px;
  color: #999;
}

@media (max-width: 768px) {
  .rev-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== 安全保障 ===== */
#security {
  background: #fff;
}

.sec-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.sec-item {
  background: #f9fafb;
  padding: 32px 24px;
  border-radius: 8px;
  text-align: center;
  border-top: 3px solid #dc2626;
}

.sec-item:nth-child(2) { border-top-color: #2563eb; }
.sec-item:nth-child(3) { border-top-color: #059669; }
.sec-item:nth-child(4) { border-top-color: #f59e0b; }

.sec-item-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
}

.sec-item-title {
  font-size: 16px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 8px;
}

.sec-item-desc {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
}

.cmp-wrap {
  margin-top: 60px;
  padding-top: 60px;
  border-top: 1px solid #e5e7eb;
}

.cmp-title {
  font-size: 24px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 32px;
  text-align: center;
}

.cmp-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
}

.cmp-table th {
  background: #f9fafb;
  padding: 16px;
  text-align: left;
  font-weight: 600;
  color: #1f2937;
  border-bottom: 1px solid #e5e7eb;
  font-size: 14px;
}

.cmp-table td {
  padding: 16px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 14px;
  color: #666;
}

.cmp-table tr:last-child td {
  border-bottom: none;
}

.cmp-hl {
  background: #fee2e2;
  font-weight: 600;
  color: #dc2626;
}

.yes {
  color: #059669;
  font-weight: 600;
}

.no {
  color: #999;
}

@media (max-width: 768px) {
  .sec-items {
    grid-template-columns: repeat(2, 1fr);
  }

  .cmp-table {
    font-size: 12px;
  }

  .cmp-table th,
  .cmp-table td {
    padding: 12px;
  }
}

/* ===== 版本选择 ===== */
#versions {
  background: #f9fafb;
}

.ver-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.ver-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 40px 32px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.ver-card:hover {
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
}

.ver-card.featured {
  border-color: #dc2626;
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  transform: scale(1.05);
}

.ver-badge {
  display: inline-block;
  background: #dc2626;
  color: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 16px;
}

.ver-name {
  font-size: 22px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 12px;
}

.ver-price {
  font-size: 14px;
  color: #666;
  margin-bottom: 24px;
}

.ver-price-num {
  font-size: 36px;
  font-weight: 700;
  color: #dc2626;
}

.ver-price-per {
  font-size: 12px;
  color: #999;
}

.ver-features {
  list-style: none;
  text-align: left;
  margin: 32px 0;
  min-height: 200px;
}

.ver-features li {
  font-size: 14px;
  color: #666;
  padding: 10px 0;
  border-bottom: 1px solid #e5e7eb;
}

.ver-features li:last-child {
  border-bottom: none;
}

.ver-features li::before {
  content: '✓';
  color: #dc2626;
  font-weight: 700;
  margin-right: 8px;
}

.ver-card .btn {
  width: 100%;
}

@media (max-width: 768px) {
  .ver-grid {
    grid-template-columns: 1fr;
  }

  .ver-card.featured {
    transform: scale(1);
  }
}

/* ===== FAQ ===== */
#faq {
  background: #fff;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: #dc2626;
}

.faq-q {
  background: #f9fafb;
  padding: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  color: #1f2937;
  user-select: none;
  transition: all 0.3s ease;
}

.faq-item:hover .faq-q {
  background: #fee2e2;
}

.faq-chevron {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  color: #dc2626;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-a {
  max-height: 500px;
}

.faq-a-inner {
  padding: 20px;
  background: #fff;
  color: #666;
  font-size: 14px;
  line-height: 1.7;
}

/* ===== CTA Banner ===== */
.cta-banner {
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
  color: #fff;
  padding: 60px 20px;
  text-align: center;
  margin: 80px 0 0 0;
}

.cta-banner h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 16px;
  color: #d1d5db;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .btn {
  min-width: 160px;
}

/* ===== 页脚 ===== */
.site-footer {
  background: #1f2937;
  color: #d1d5db;
  padding: 40px 20px;
  text-align: center;
  font-size: 13px;
}

.footer-note {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

.footer-note strong {
  color: #fcd34d;
}
