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

:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --secondary: #f97316;
  --dark: #1e293b;
  --light: #f8fafc;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  background-color: var(--gray-50);
  color: var(--dark);
  line-height: 1.6;
}

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

@media (min-width: 640px) {
  .container {
    padding: 0 24px;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 32px;
  }
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.logo span {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
}

nav {
  display: none;
}

@media (min-width: 768px) {
  nav {
    display: flex;
    align-items: center;
    gap: 32px;
  }
}

nav a {
  font-weight: 500;
  text-decoration: none;
  color: var(--primary);
  transition: color 0.2s;
}

nav a:not(:hover) {
  color: var(--gray-600);
}

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

.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  color: var(--gray-600);
  cursor: pointer;
  font-size: 20px;
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
}

.mobile-menu.show {
  display: block;
}

.mobile-menu .container {
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-menu a {
  display: block;
  padding: 8px 0;
  font-weight: 500;
  text-decoration: none;
  color: var(--primary);
}

.mobile-menu a:not(:hover) {
  color: var(--gray-600);
}

.section {
  padding: 64px 0;
}

@media (min-width: 768px) {
  .section {
    padding: 96px 0;
  }
}

.hero-section {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(37, 99, 235, 0.1) 100%);
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

@media (min-width: 768px) {
  .hero-content {
    flex-direction: row;
  }
}

.hero-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.badge {
  display: inline-block;
  padding: 6px 20px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(249, 115, 22, 0.15));
  color: var(--primary);
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

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

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary), #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  color: var(--gray-600);
  font-size: 18px;
  max-width: 600px;
}

.version-info {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.version-info span {
  color: var(--gray-500);
}

.version-info strong {
  color: var(--primary);
  font-weight: 700;
}

.btn-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 640px) {
  .btn-group {
    flex-direction: row;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  font-weight: 500;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

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

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

.btn-secondary {
  background: var(--white);
  color: var(--primary);
  border: 1px solid var(--primary);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--gray-50);
  transform: translateY(-2px);
}

.hero-image {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-bottom: 40px;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  position: relative;
  z-index: 10;
  transition: transform 0.5s;
}

.hero-image img:hover {
  transform: scale(1.02);
}

.hero-image::before {
  content: '';
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 256px;
  height: 256px;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 50%;
  filter: blur(40px);
  z-index: 1;
}

.hero-image::after {
  content: '';
  position: absolute;
  top: -24px;
  left: -24px;
  width: 160px;
  height: 160px;
  background: rgba(249, 115, 22, 0.1);
  border-radius: 50%;
  filter: blur(30px);
  z-index: 1;
}

.card {
  background: var(--white);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
  transition: all 0.3s ease;
}

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

.info-card {
  margin-top: 48px;
}

.info-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-card ul {
  list-style: none;
}

.info-card li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--gray-600);
  margin-bottom: 8px;
}

.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  fill: currentColor;
}

.icon-blue { color: var(--primary); }
.icon-green { color: #22c55e; }
.icon-red { color: #ef4444; }

.features-section {
  background: var(--white);
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 64px;
}

.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
}

.section-header p {
  color: var(--gray-600);
}

.features-grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.feature-card {
  background: var(--gray-50);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

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

.feature-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon .icon {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}

.feature-card h3 a {
  text-decoration: none;
  color: inherit;
}

.feature-card p {
  color: var(--gray-600);
}

.download-section {
  background: var(--gray-50);
}

.download-card {
  max-width: 448px;
  margin: 0 auto;
}

.download-icon {
  width: 64px;
  height: 64px;
  background: #dbeafe;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.download-icon .icon {
  width: 32px;
  height: 32px;
  color: #2563eb;
}

.download-card h3 {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 24px;
}

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

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 4px;
}

.select-wrapper {
  position: relative;
}

.select-wrapper select {
  width: 100%;
  padding: 8px 40px 8px 12px;
  font-size: 16px;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  background: var(--gray-50);
  appearance: none;
  cursor: pointer;
}

.select-wrapper::after {
  content: '';
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-top-color: var(--gray-700);
}

.btn-download {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  background: var(--primary);
  color: var(--white);
  font-weight: 500;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-download:hover {
  background: var(--primary-hover);
}

.history-section {
  background: var(--white);
}

.timeline {
  max-width: 800px;
  margin: 0 auto;
}

.timeline-item {
  position: relative;
  padding-left: 32px;
  padding-bottom: 32px;
  border-left: 2px solid var(--primary);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -9px;
  top: 0;
  width: 16px;
  height: 16px;
  background: var(--primary);
  border-radius: 50%;
}

.timeline-item.older {
  border-left-color: var(--gray-300);
}

.timeline-item.older::before {
  background: var(--gray-300);
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.timeline-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
}

.timeline-item.older h3 {
  color: var(--dark);
}

.badge-latest {
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 14px;
}

.timeline-content h4 {
  font-weight: 700;
  margin-bottom: 8px;
}

.timeline-content ul {
  list-style: none;
}

.timeline-content li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
}

.show-more-btn {
  display: block;
  margin: 16px auto 0;
  padding: 8px 24px;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  background: transparent;
  color: var(--gray-700);
  cursor: pointer;
  transition: background 0.2s;
}

.show-more-btn:hover {
  background: var(--gray-50);
}

.older-versions {
  display: none;
}

.older-versions.show {
  display: block;
}

.faq-section {
  background: var(--gray-50);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.faq-toggle {
  width: 100%;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-weight: 500;
  font-size: 16px;
}

.faq-toggle .icon {
  transition: transform 0.3s;
}

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

.faq-content {
  display: none;
  padding: 0 24px 16px;
  color: var(--gray-600);
}

.faq-content.show {
  display: block;
}

footer {
  background: var(--dark);
  color: var(--white);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand .logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-brand .logo .logo-img {
  width: 40px;
  height: 40px;
  background: var(--white);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-brand p {
  color: var(--gray-400);
}

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

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

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

.footer-section a {
  color: var(--gray-400);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--gray-400);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--gray-800);
  text-align: center;
  color: var(--gray-500);
  font-size: 14px;
}

code {
  background: var(--gray-100);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 14px;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
}

.modal.hidden {
  display: none;
}

.modal-content {
  background: var(--white);
  border-radius: 12px;
  max-width: 448px;
  width: calc(100% - 32px);
  padding: 24px;
  box-shadow: var(--shadow-2xl);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.modal-header h3 {
  font-size: 20px;
  font-weight: 700;
}

.modal-close {
  background: none;
  border: none;
  color: var(--gray-400);
  cursor: pointer;
  font-size: 20px;
  transition: color 0.2s;
}

.modal-close:hover {
  color: var(--gray-600);
}

.modal-body {
  margin-bottom: 16px;
}

.modal-body p {
  color: var(--gray-600);
  margin-bottom: 16px;
}

.modal-input {
  position: relative;
  margin-bottom: 8px;
}

.modal-input input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  font-size: 16px;
}

.modal-input input:focus {
  outline: none;
  border-color: var(--primary);
}

.modal-copy {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  transition: color 0.2s;
}

.modal-copy:hover {
  color: var(--primary-hover);
}

.modal-password {
  font-size: 14px;
  color: var(--gray-500);
  display: none;
}

.modal-password.show {
  display: block;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.modal-footer button {
  padding: 8px 16px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}

.modal-footer button:hover {
  background: var(--primary-hover);
}

.text-center { text-align: center; }
.mt-4 { margin-top: 16px; }
.mt-12 { margin-top: 48px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }

/* 赞助会员样式 */
.membership-section {
  background: var(--white);
}

.membership-cards {
  display: grid;
  gap: 32px;
  margin-top: 48px;
}

@media (min-width: 768px) {
  .membership-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .membership-cards {
    grid-template-columns: repeat(4, 1fr);
  }
}

.membership-card {
  background: var(--gray-50);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

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

.membership-card.svip {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(37, 99, 235, 0.1) 100%);
}

.membership-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  text-align: center;
}

.membership-price {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  text-align: center;
  margin-bottom: 24px;
}

.membership-features {
  list-style: none;
  margin-bottom: 24px;
}

.membership-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--gray-600);
}

.membership-features li svg {
  margin-top: 4px;
}

.membership-btn {
  width: 100%;
  padding: 12px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}

.membership-btn:hover {
  background: var(--primary-hover);
}