/* 全局样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-dark: #1e293b;
  --color-darker: #0f172a;
  --color-medium: #334155;
  --color-light: #475569;
  --color-lighter: #64748b;
  --color-text: #cbd5e1;
  --color-text-light: #94a3b8;
  --color-accent: #3b82f6;
  --color-accent-light: #60a5fa;
  --color-border: rgba(100, 116, 139, 0.3);
  --color-card-bg: rgba(30, 41, 59, 0.6);
  --transition: all 0.3s ease;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.2);
}

body {
  font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
  background: linear-gradient(
    135deg,
    var(--color-darker) 0%,
    var(--color-dark) 50%,
    var(--color-medium) 100%
  );
  color: var(--color-text);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

/* 动画定义 */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@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);
  }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease forwards;
}

.animate-fade-up {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}

.animate-fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.animate-scale-in {
  opacity: 0;
  animation: scaleIn 0.6s ease forwards;
}

.animate-slide-in-left {
  opacity: 0;
  animation: slideInLeft 0.6s ease forwards;
}

.animate-slide-in-right {
  opacity: 0;
  animation: slideInRight 0.6s ease forwards;
}

/* 导航栏 */
.navbar {
  background: rgba(30, 41, 59, 0.95);
  padding: 18px 45px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text-light);
  letter-spacing: 1px;
}

.logo-icon {
  font-size: 28px;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: var(--color-text);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  padding: 7px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-accent-light);
}

/* 按钮 */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--color-accent) 0%,
    var(--color-accent-light) 100%
  );
  color: white;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text-light);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  background: rgba(100, 116, 139, 0.1);
  border-color: var(--color-lighter);
  transform: translateY(-3px);
}

.btn-large {
  padding: 16px 40px;
  font-size: 16px;
}

.btn-block {
  display: block;
  width: 100%;
}

/* 主区域 */
main {
  padding-top: 85px;
}

/* Hero区域 */
.hero {
  padding: 90px 45px 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: radial-gradient(
    ellipse at center,
    rgba(100, 116, 139, 0.15) 0%,
    transparent 70%
  );
}

.hero-content {
  max-width: 900px;
  margin-bottom: 60px;
}

.hero-title {
  font-size: 52px;
  margin-bottom: 20px;
  color: white;
  font-weight: 700;
  line-height: 1.2;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--color-accent-light), #a5b4fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--color-text-light);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-visual {
  max-width: 900px;
  width: 100%;
}

.browser-mockup {
  background: var(--color-card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.browser-header {
  background: rgba(15, 23, 42, 0.8);
  padding: 15px 20px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--color-border);
}

.browser-controls {
  display: flex;
  gap: 8px;
  margin-right: 20px;
}

.browser-controls .control {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.browser-controls .control.red {
  background: #ff5f57;
}
.browser-controls .control.yellow {
  background: #ffbd2e;
}
.browser-controls .control.green {
  background: #28ca42;
}

.browser-url {
  flex: 1;
  background: rgba(30, 41, 59, 0.6);
  padding: 8px 15px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--color-text-light);
  font-family: monospace;
  border: 1px solid var(--color-border);
}

.browser-content {
  padding: 40px;
}

.quick-access-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.quick-access-item {
  background: rgba(15, 23, 42, 0.5);
  border-radius: var(--radius-md);
  padding: 25px 15px;
  text-align: center;
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

.quick-access-item:hover {
  transform: translateY(-5px);
  border-color: var(--color-accent);
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.1);
}

.access-icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.access-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
}

/* 页面Hero */
.page-hero {
  padding: 100px 45px 60px;
  text-align: center;
  background: radial-gradient(
    ellipse at center,
    rgba(100, 116, 139, 0.1) 0%,
    transparent 70%
  );
}

.page-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-hero-title {
  font-size: 46px;
  margin-bottom: 20px;
  color: white;
  font-weight: 700;
  line-height: 1.2;
}

.page-hero-subtitle {
  font-size: 18px;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* 内容区域 */
.section {
  padding: 80px 45px;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.section-title {
  font-size: 38px;
  margin-bottom: 15px;
  color: white;
  font-weight: 700;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 18px;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* 功能卡片网格 */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: var(--color-card-bg);
  padding: 35px 30px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: var(--transition);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-hover);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.feature-title {
  font-size: 22px;
  margin-bottom: 15px;
  color: white;
  font-weight: 600;
}

.feature-description {
  color: var(--color-text-light);
  margin-bottom: 25px;
  line-height: 1.6;
  flex: 1;
}

.feature-link {
  color: var(--color-accent-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
}

.feature-link:hover {
  gap: 10px;
}

/* 统计区域 */
.stats-section {
  background: rgba(15, 23, 42, 0.3);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.stat-card {
  background: var(--color-card-bg);
  padding: 35px 25px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  text-align: center;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-accent);
  box-shadow: var(--shadow);
}

.stat-number {
  font-size: 46px;
  font-weight: 700;
  color: var(--color-accent-light);
  margin-bottom: 8px;
  line-height: 1;
}

.stat-label {
  font-size: 18px;
  color: white;
  font-weight: 600;
  margin-bottom: 8px;
}

.stat-description {
  color: var(--color-text-light);
  font-size: 14px;
}

/* CTA区域 */
.cta-section {
  text-align: center;
  background: radial-gradient(
    ellipse at center,
    rgba(59, 130, 246, 0.1) 0%,
    transparent 70%
  );
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: 38px;
  margin-bottom: 20px;
  color: white;
  font-weight: 700;
}

.cta-description {
  font-size: 18px;
  color: var(--color-text-light);
  margin-bottom: 40px;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* 平台下载网格 */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.platform-card {
  background: var(--color-card-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: var(--transition);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
}

.platform-card:hover {
  transform: translateY(-10px);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-hover);
}

.platform-icon {
  font-size: 60px;
  padding: 30px 30px 20px;
  text-align: center;
  background: rgba(15, 23, 42, 0.5);
}

.platform-content {
  padding: 25px 30px 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.platform-title {
  font-size: 24px;
  color: white;
  margin-bottom: 5px;
  font-weight: 700;
}

.platform-version {
  color: var(--color-accent-light);
  font-size: 14px;
  margin-bottom: 15px;
  font-weight: 600;
}

.platform-description {
  color: var(--color-text-light);
  margin-bottom: 20px;
  line-height: 1.6;
  flex: 1;
}

.platform-details {
  display: flex;
  justify-content: space-between;
  margin-bottom: 25px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

.detail-item {
  font-size: 13px;
  color: var(--color-text-light);
}

/* 下载信息网格 */
.download-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.download-info-card {
  background: var(--color-card-bg);
  padding: 35px 30px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  text-align: center;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.download-info-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-accent);
  box-shadow: var(--shadow);
}

.info-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.info-title {
  font-size: 22px;
  color: white;
  margin-bottom: 15px;
  font-weight: 600;
}

.info-description {
  color: var(--color-text-light);
  line-height: 1.6;
}

/* FAQ区域 */
.faq-section {
  background: rgba(15, 23, 42, 0.3);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-card-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  margin-bottom: 15px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--color-lighter);
}

.faq-question {
  padding: 25px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  color: white;
  transition: var(--transition);
}

.faq-question:hover {
  background: rgba(100, 116, 139, 0.1);
}

.faq-toggle {
  font-size: 24px;
  color: var(--color-text-light);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.3s ease,
    padding 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 30px 25px;
  max-height: 500px;
}

.faq-answer p {
  color: var(--color-text-light);
  line-height: 1.7;
}

/* 特性详情区域 */
.features-detail-list {
  max-width: 1000px;
  margin: 0 auto;
}

.feature-detail-card {
  background: var(--color-card-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  margin-bottom: 30px;
  overflow: hidden;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.feature-detail-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow);
}

.feature-detail-header {
  display: flex;
  align-items: center;
  padding: 30px;
  background: rgba(15, 23, 42, 0.5);
  border-bottom: 1px solid var(--color-border);
}

.feature-detail-icon {
  font-size: 48px;
  margin-right: 25px;
}

.feature-detail-title-content {
  flex: 1;
}

.feature-detail-title {
  font-size: 28px;
  color: white;
  margin-bottom: 5px;
  font-weight: 700;
}

.feature-detail-subtitle {
  color: var(--color-accent-light);
  font-size: 16px;
  font-weight: 600;
}

.feature-detail-body {
  padding: 30px;
}

.feature-detail-description {
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 25px;
}

.feature-detail-highlights {
  margin-bottom: 30px;
}

.highlight-item {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.highlight-icon {
  color: var(--color-accent-light);
  font-weight: bold;
  margin-right: 12px;
  font-size: 18px;
}

.highlight-text {
  color: var(--color-text-light);
}

.feature-detail-actions {
  text-align: center;
}

/* 对比表格 */
.comparison-section {
  background: rgba(15, 23, 42, 0.3);
}

.comparison-table {
  max-width: 1000px;
  margin: 0 auto;
  background: var(--color-card-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.comparison-header {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(15, 23, 42, 0.8);
  padding: 20px;
  font-weight: 600;
  color: white;
  border-bottom: 1px solid var(--color-border);
}

.comparison-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 20px;
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition);
}

.comparison-row:hover {
  background: rgba(100, 116, 139, 0.1);
}

.comparison-row:last-child {
  border-bottom: none;
}

.comparison-cell {
  padding: 10px;
  color: var(--color-text);
  display: flex;
  align-items: center;
}

.highlight-cell {
  color: var(--color-accent-light);
  font-weight: 700;
  font-size: 18px;
}

/* 页脚 */
footer {
  background: rgba(15, 23, 42, 0.95);
  padding: 50px 45px 30px;
  border-top: 1px solid var(--color-border);
  backdrop-filter: blur(10px);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text-light);
  margin-bottom: 30px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin-bottom: 30px;
}

.footer-links a {
  color: var(--color-text-light);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--color-accent-light);
}

.footer-copyright {
  color: var(--color-text-light);
  font-size: 13px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .hero-title,
  .page-hero-title,
  .section-title {
    font-size: 36px;
  }

  .quick-access-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .platforms-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 15px;
    padding: 15px 25px;
  }

  .nav-links {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero,
  .page-hero,
  .section {
    padding: 70px 25px 50px;
  }

  .hero-title,
  .page-hero-title,
  .section-title {
    font-size: 32px;
  }

  .hero-subtitle,
  .page-hero-subtitle,
  .section-subtitle {
    font-size: 16px;
  }

  .hero-buttons,
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }

  .quick-access-grid {
    grid-template-columns: 1fr;
  }

  .features-grid,
  .platforms-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .comparison-header,
  .comparison-row {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .feature-detail-header {
    flex-direction: column;
    text-align: center;
  }

  .feature-detail-icon {
    margin-right: 0;
    margin-bottom: 15px;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    flex-direction: column;
    gap: 15px;
  }
}
