:root {
  --primary-color: #dc143c;
  --primary-dark: #b91335;
  --secondary-color: #1a1a1a;
  --background-color: #0d0d0d;
  --card-background: #1a1a1a;
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --border-color: #333333;
  --gradient-start: #dc143c;
  --gradient-end: #ff6b8a;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background-color: var(--background-color);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}

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

header {
  background: linear-gradient(135deg, rgba(220, 20, 60, 0.1) 0%, transparent 100%);
  border-bottom: 1px solid var(--border-color);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

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

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

.logo img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.logo span {
  font-size: 24px;
  font-weight: bold;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-links a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 16px;
  transition: all 0.3s ease;
  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: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  transition: width 0.3s ease;
}

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

.cta-btn {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: white;
  padding: 10px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(220, 20, 60, 0.4);
}

.hero {
  padding: 150px 0 100px;
  background: linear-gradient(180deg, rgba(220, 20, 60, 0.05) 0%, transparent 100%);
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-size: 52px;
  font-weight: bold;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 30px;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

.hero-image {
  flex: 1;
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.stats {
  display: flex;
  justify-content: center;
  gap: 80px;
  margin-top: 80px;
  padding: 40px 0;
  background: var(--card-background);
  border-radius: 20px;
}

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

.stat-item .number {
  font-size: 48px;
  font-weight: bold;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-item .label {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 5px;
}

.features {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 15px;
}

.section-title p {
  font-size: 16px;
  color: var(--text-secondary);
}

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

.feature-card {
  background: var(--card-background);
  padding: 35px;
  border-radius: 15px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(220, 20, 60, 0.15);
}

.feature-card .icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(220, 20, 60, 0.2) 0%, rgba(255, 107, 138, 0.1) 100%);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 28px;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.8;
}

.download-section {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(220, 20, 60, 0.1) 0%, transparent 100%);
}

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

.download-card {
  background: var(--card-background);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 25px;
}

.download-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-3px);
}

.download-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}

.download-info h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
}

.download-info p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 15px;
}

.version {
  font-size: 12px;
  color: var(--primary-color);
  background: rgba(220, 20, 60, 0.1);
  padding: 4px 12px;
  border-radius: 15px;
}

.screenshots {
  padding: 80px 0;
}

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

.screenshot-item {
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.screenshot-item:hover {
  transform: scale(1.03);
  border-color: var(--primary-color);
}

.screenshot-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

footer {
  background: var(--card-background);
  padding: 50px 0;
  border-top: 1px solid var(--border-color);
}

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

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

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

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

.footer-section ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--primary-color);
}

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

.page-header {
  padding: 120px 0 50px;
  text-align: center;
}

.page-header h1 {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 15px;
}

.page-header p {
  color: var(--text-secondary);
  font-size: 16px;
}

.download-page {
  padding: 50px 0;
}

.download-main {
  background: var(--card-background);
  padding: 50px;
  border-radius: 20px;
  margin-bottom: 40px;
}

.download-main-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.download-main-icon {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  border-radius: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
}

.download-main-info h2 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 15px;
}

.download-main-info p {
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.download-main-info .meta {
  display: flex;
  gap: 30px;
  color: var(--text-secondary);
  font-size: 14px;
}

.download-btn-lg {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: white;
  padding: 15px 40px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  transition: all 0.3s ease;
  display: inline-block;
  margin-top: 20px;
}

.download-btn-lg:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(220, 20, 60, 0.4);
}

.system-requirements {
  background: var(--card-background);
  padding: 35px;
  border-radius: 15px;
}

.system-requirements h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
}

.system-requirements ul {
  list-style: none;
}

.system-requirements ul li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.system-requirements ul li:last-child {
  border-bottom: none;
}

.changelog {
  padding: 50px 0;
}

.changelog-item {
  background: var(--card-background);
  padding: 35px;
  border-radius: 15px;
  margin-bottom: 20px;
  border-left: 4px solid var(--primary-color);
}

.changelog-item h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.changelog-item .date {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: normal;
}

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

.changelog-item ul li {
  padding: 8px 0;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
}

.changelog-item ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

.about-page {
  padding: 50px 0;
}

.about-content {
  background: var(--card-background);
  padding: 50px;
  border-radius: 20px;
  margin-bottom: 40px;
}

.about-content h2 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 20px;
}

.about-content p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

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

.team-card {
  background: var(--card-background);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
}

.team-card .avatar {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

.team-card h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
}

.team-card p {
  color: var(--text-secondary);
  font-size: 14px;
}

.contact-page {
  padding: 50px 0;
}

.contact-form {
  background: var(--card-background);
  padding: 50px;
  border-radius: 20px;
  max-width: 600px;
  margin: 0 auto;
}

.contact-form h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 30px;
  text-align: center;
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  background: var(--background-color);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 14px;
  transition: border-color 0.3s ease;
}

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

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.contact-info-item {
  background: var(--card-background);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
}

.contact-info-item .icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, rgba(220, 20, 60, 0.2) 0%, rgba(255, 107, 138, 0.1) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 24px;
}

.contact-info-item h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.contact-info-item p {
  color: var(--text-secondary);
  font-size: 14px;
}

.products-page {
  padding: 50px 0;
}

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

.product-card {
  background: var(--card-background);
  padding: 30px;
  border-radius: 15px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.product-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-5px);
}

.product-card .icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  border-radius: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 20px;
}

.product-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.product-card p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 20px;
}

.support-page {
  padding: 50px 0;
}

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

.faq-item {
  background: var(--card-background);
  border-radius: 15px;
  margin-bottom: 15px;
  overflow: hidden;
}

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

.faq-item.active .faq-question {
  border-bottom: 1px solid var(--border-color);
}

.faq-question {
  padding: 25px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: rgba(220, 20, 60, 0.05);
}

.faq-question span {
  color: var(--primary-color);
  font-size: 20px;
  transition: transform 0.3s ease;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  color: var(--text-secondary);
  line-height: 1.8;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-text h1 {
    font-size: 36px;
  }
  
  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .stats {
    flex-direction: column;
    gap: 30px;
  }
  
  .features-grid,
  .download-cards,
  .screenshots-grid,
  .footer-content,
  .team-section,
  .contact-info,
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .download-main-content {
    flex-direction: column;
    text-align: center;
  }
  
  .download-main-info .meta {
    flex-direction: column;
    gap: 10px;
  }
}
