/* download-style.css - 下载页面专用样式 */

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

:root {
  --sand-white: #f9f7f2;
  --lake-teal: #2a9d8f;
  --sun-amber: #e9c46a;
  --terracotta-red: #e76f51;
  --slate-cyan: #264653;
  --transition: all 0.3s ease;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--sand-white);
  color: var(--slate-cyan);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.navbar {
  background-color: var(--sand-white);
  box-shadow: 0 2px 10px rgba(38, 70, 83, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  background-color: rgba(249, 247, 242, 0.95);
  backdrop-filter: blur(10px);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.logo i {
  color: var(--lake-teal);
  font-size: 32px;
}

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

.nav-links a {
  color: var(--slate-cyan);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding: 5px 0;
  transition: var(--transition);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--lake-teal);
  transition: var(--transition);
}

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

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

.nav-links a.active {
  color: var(--lake-teal);
}

.hero {
  padding: 150px 0 100px;
  text-align: center;
  background: linear-gradient(135deg, var(--sand-white) 0%, #f0ebe3 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(42, 157, 143, 0.05) 0%,
    transparent 70%
  );
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

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

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--slate-cyan);
  animation: fadeInUp 1s ease;
}

.hero p {
  font-size: 20px;
  color: var(--slate-cyan);
  opacity: 0.8;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s ease 0.2s both;
}

.btn {
  display: inline-block;
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  animation: fadeInUp 1s ease 0.4s both;
}

.btn-primary {
  background-color: var(--lake-teal);
  color: white;
  box-shadow: 0 4px 15px rgba(42, 157, 143, 0.3);
}

.btn-primary:hover {
  background-color: #238a7d;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42, 157, 143, 0.4);
}

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

.section {
  padding: 80px 0;
}

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

.section-title h2 {
  font-size: 36px;
  color: var(--slate-cyan);
  margin-bottom: 15px;
}

.section-title p {
  font-size: 18px;
  color: var(--slate-cyan);
  opacity: 0.7;
}

.platforms {
  background-color: white;
}

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.platform-card {
  background-color: var(--sand-white);
  border-radius: 20px;
  padding: 50px 40px;
  text-align: center;
  transition: var(--transition);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.platform-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--lake-teal), var(--sun-amber));
  transform: scaleX(0);
  transition: var(--transition);
}

.platform-card:hover::before {
  transform: scaleX(1);
}

.platform-card:hover {
  border-color: var(--lake-teal);
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(38, 70, 83, 0.15);
}

.platform-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--lake-teal), var(--sun-amber));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: white;
  margin: 0 auto 25px;
  transition: var(--transition);
}

.platform-card:hover .platform-icon {
  transform: rotate(360deg) scale(1.1);
}

.platform-card h3 {
  font-size: 28px;
  color: var(--slate-cyan);
  margin-bottom: 15px;
}

.platform-card .version {
  font-size: 14px;
  color: var(--lake-teal);
  margin-bottom: 15px;
  font-weight: 600;
}

.platform-card .requirements {
  color: var(--slate-cyan);
  opacity: 0.7;
  font-size: 14px;
  margin-bottom: 25px;
  line-height: 1.8;
}

.platform-card .features {
  text-align: left;
  margin-bottom: 30px;
  list-style: none;
}

.platform-card .features li {
  color: var(--slate-cyan);
  opacity: 0.8;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.platform-card .features li::before {
  content: "✓";
  color: var(--lake-teal);
  font-weight: bold;
}

.system-requirements {
  background-color: var(--sand-white);
}

.requirements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.requirement-card {
  background-color: white;
  border-radius: 15px;
  padding: 40px;
  transition: var(--transition);
}

.requirement-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(38, 70, 83, 0.1);
}

.requirement-card h3 {
  font-size: 24px;
  color: var(--slate-cyan);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.requirement-card h3 i {
  color: var(--lake-teal);
}

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

.requirement-card li {
  color: var(--slate-cyan);
  opacity: 0.8;
  margin-bottom: 12px;
  padding-left: 25px;
  position: relative;
  line-height: 1.8;
}

.requirement-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--lake-teal);
  font-size: 20px;
}

.installation-guide {
  background-color: white;
}

.guide-content {
  background-color: var(--sand-white);
  border-radius: 20px;
  padding: 50px;
  box-shadow: 0 10px 30px rgba(38, 70, 83, 0.1);
}

.guide h3 {
  font-size: 28px;
  color: var(--slate-cyan);
  margin-bottom: 25px;
}

.guide h4 {
  font-size: 22px;
  color: var(--lake-teal);
  margin: 30px 0 15px;
}

.guide p {
  color: var(--slate-cyan);
  opacity: 0.8;
  margin-bottom: 15px;
  line-height: 1.8;
}

.guide ol {
  margin-left: 20px;
  margin-bottom: 20px;
}

.guide li {
  color: var(--slate-cyan);
  opacity: 0.8;
  margin-bottom: 12px;
  line-height: 1.8;
}

.tips {
  background: linear-gradient(
    135deg,
    var(--lake-teal),
    var(--slate-cyan)
  );
  color: white;
  border-radius: 15px;
  padding: 30px;
  margin-top: 30px;
}

.tips h4 {
  color: var(--sun-amber);
  margin-bottom: 15px;
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tips h4 i {
  font-size: 24px;
}

.tips p {
  color: white;
  opacity: 0.9;
}

.faq {
  background-color: var(--sand-white);
}

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

.faq-item:hover {
  box-shadow: 0 10px 30px rgba(38, 70, 83, 0.1);
}

.faq-question {
  padding: 25px 30px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--slate-cyan);
  font-size: 18px;
}

.faq-question:hover {
  color: var(--lake-teal);
}

.faq-icon {
  transition: var(--transition);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 30px;
}

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

.faq-answer p {
  color: var(--slate-cyan);
  opacity: 0.8;
  line-height: 1.8;
}

.footer {
  background-color: var(--slate-cyan);
  color: white;
  padding: 60px 0 30px;
}

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

.footer-section h4 {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--sun-amber);
}

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

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

.footer-section ul li a {
  color: white;
  text-decoration: none;
  opacity: 0.8;
  transition: var(--transition);
}

.footer-section ul li a:hover {
  opacity: 1;
  color: var(--sun-amber);
}

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

.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--lake-teal), var(--sun-amber));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  transform: translateY(-5px);
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 16px;
  }

  .nav-links {
    display: none;
  }

  .platforms-grid {
    grid-template-columns: 1fr;
  }
  
  .platform-card {
    padding: 30px 20px;
  }
  
  .guide-content {
    padding: 30px 20px;
  }
}