/* 全局样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    sans-serif;
  background-color: #121212;
  color: #eaeaea;
  line-height: 1.6;
}

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

/* 导航栏 */
header {
  background-color: #1e1e1e;
  border-bottom: 1px solid #333;
  position: fixed;
  width: 100%;
  z-index: 1000;
}

nav {
  padding: 16px 0;
}

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

.nav-links a {
  color: #eaeaea;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #0071e3;
}

.logo h1 {
  font-size: 24px;
  font-weight: 600;
  color: #0071e3;
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* 英雄区域 */
.hero {
  padding: 120px 0 80px;
  background-color: #1a1a1a;
  border-bottom: 1px solid #333;
  position: relative;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background-image: url("iwinfix.png"); */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition:
    background-position 2s ease,
    filter 2s ease;
  z-index: 1;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  background-color: rgba(77, 255, 231, 0.758);
  padding: 40px;
  border: 1px solid #333;
  position: relative;
  z-index: 2;
}

.hero-content h2 {
  font-size: 36px;
  margin-bottom: 20px;
  font-weight: 600;
  color: #121212;
  text-shadow: 1px 1px 4px rgb(212, 255, 0);
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 32px;
  color: #121212;
  text-shadow: 1px 1px 3px rgb(0, 0, 0);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* 按钮样式 */
.btn-primary {
  background-color: #0071e3;
  color: #fff;
  padding: 12px 24px;
  text-decoration: none;
  border: 1px solid #0071e3;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #005cc5;
}

.btn-secondary {
  background-color: transparent;
  color: #eaeaea;
  padding: 12px 24px;
  text-decoration: none;
  border: 1px solid #333;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  border-color: #0071e3;
  color: #0071e3;
}

/* 功能特性 */
.features {
  padding: 80px 0;
  border-bottom: 1px solid #333;
}

.features h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 48px;
  font-weight: 600;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

.feature-card {
  background-color: #1e1e1e;
  border: 1px solid #333;
  padding: 32px;
  text-align: center;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: #0071e3;
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

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

.feature-card p {
  color: #ccc;
}

/* 工具展示 */
.tools {
  padding: 80px 0;
  border-bottom: 1px solid #333;
}

.tools h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 48px;
  font-weight: 600;
}

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

.tool-card {
  background-color: #1e1e1e;
  border: 1px solid #333;
  padding: 24px;
  transition: border-color 0.3s ease;
}

.tool-card:hover {
  border-color: #0071e3;
}

.tool-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  font-weight: 500;
}

.tool-card p {
  color: #ccc;
  margin-bottom: 16px;
}

.tool-links {
  display: flex;
  gap: 12px;
}

.tool-links a {
  font-size: 14px;
  padding: 6px 12px;
  text-decoration: none;
  border: 1px solid #333;
  color: #eaeaea;
  transition: all 0.3s ease;
}

.tool-links a:hover {
  border-color: #0071e3;
  color: #0071e3;
}

.loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px;
  color: #888;
}

/* 下载区域 */
.download {
  padding: 80px 0;
  background-color: #1a1a1a;
  border-bottom: 1px solid #333;
  text-align: center;
}

.download h2 {
  font-size: 32px;
  margin-bottom: 16px;
  font-weight: 600;
}

.download p {
  font-size: 18px;
  margin-bottom: 32px;
  color: #ccc;
}

.download-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* 关于我们 */
.about {
  padding: 80px 0;
  border-bottom: 1px solid #333;
}

.about h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 32px;
  font-weight: 600;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-content p {
  margin-bottom: 16px;
  color: #ccc;
}

/* 联系我们 */
.contact {
  padding: 80px 0;
  border-bottom: 1px solid #333;
}

.contact h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 32px;
  font-weight: 600;
}

.contact-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contact-content p {
  margin-bottom: 24px;
  color: #ccc;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.contact-item a {
  color: #0071e3;
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

/* 页脚 */
footer {
  background-color: #1e1e1e;
  padding: 40px 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer-logo h3 {
  font-size: 20px;
  font-weight: 600;
  color: #0071e3;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: #eaeaea;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #0071e3;
}

.footer-copyright {
  color: #888;
  text-align: center;
  font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero-content h2 {
    font-size: 28px;
  }

  .hero-buttons,
  .download-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary,
  .btn-secondary {
    width: 200px;
    text-align: center;
  }

  .features-grid,
  .tools-grid {
    grid-template-columns: 1fr;
  }
}

/* 滚动条样式 */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #1e1e1e;
}

::-webkit-scrollbar-thumb {
  background: #333;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}
