@charset "utf-8";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  background-color: #0a0e1a;
  color: #c9d1d9;
  line-height: 1.8;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 14, 26, 0.95);
  border-bottom: 1px solid #1f2937;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  height: 70px;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: #f0b90b;
  letter-spacing: 1px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 35px;
}

.nav-links a {
  color: #c9d1d9;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #f0b90b;
}

section {
  padding: 100px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero {
  padding-top: 150px;
  text-align: center;
  background: linear-gradient(180deg, #0a0e1a 0%, #111827 100%);
  border-bottom: 1px solid #1f2937;
}

.hero h1 {
  font-size: 42px;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.3;
}

.hero h1 span {
  color: #f0b90b;
}

.hero p {
  font-size: 18px;
  color: #8b949e;
  max-width: 800px;
  margin: 0 auto 40px;
}

.btn-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(90deg, #f0b90b, #fcd34d);
  color: #0a0e1a;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(240, 185, 11, 0.3);
}

.btn-outline {
  background: transparent;
  color: #f0b90b;
  border: 2px solid #f0b90b;
}

.btn-outline:hover {
  background: #f0b90b;
  color: #0a0e1a;
}

.section-title {
  font-size: 32px;
  color: #ffffff;
  text-align: center;
  margin-bottom: 15px;
  position: relative;
}

.section-subtitle {
  text-align: center;
  color: #8b949e;
  font-size: 16px;
  margin-bottom: 60px;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.feature-card {
  background: #111827;
  border: 1px solid #1f2937;
  border-radius: 12px;
  padding: 35px 25px;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: #f0b90b;
}

.feature-icon {
  font-size: 40px;
  margin-bottom: 18px;
}

.feature-card h3 {
  font-size: 20px;
  color: #ffffff;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 14px;
  color: #8b949e;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.product-item {
  background: #111827;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #1f2937;
  transition: all 0.3s;
}

.product-item:hover {
  border-color: #3b82f6;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.15);
}

.product-header {
  background: linear-gradient(90deg, #1e3a8a, #3b82f6);
  padding: 20px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
}

.product-body {
  padding: 25px;
}

.product-body p {
  color: #8b949e;
  font-size: 14px;
  margin-bottom: 15px;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  background: #1f2937;
  color: #3b82f6;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.news-item {
  background: #111827;
  border: 1px solid #1f2937;
  border-radius: 10px;
  padding: 25px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  transition: all 0.3s;
}

.news-item:hover {
  border-color: #f0b90b;
}

.news-content h4 {
  font-size: 18px;
  color: #ffffff;
  margin-bottom: 10px;
}

.news-content p {
  color: #8b949e;
  font-size: 14px;
}

.news-meta {
  white-space: nowrap;
  color: #6b7280;
  font-size: 13px;
  text-align: right;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h3 {
  font-size: 24px;
  color: #ffffff;
  margin-bottom: 20px;
}

.about-text p {
  color: #8b949e;
  margin-bottom: 15px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 50px;
}

.stat-box {
  background: #111827;
  border: 1px solid #1f2937;
  border-radius: 10px;
  padding: 30px 20px;
  text-align: center;
}

.stat-number {
  font-size: 32px;
  font-weight: 700;
  color: #f0b90b;
}

.stat-label {
  font-size: 14px;
  color: #8b949e;
  margin-top: 5px;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h4 {
  font-size: 20px;
  color: #ffffff;
  margin-bottom: 20px;
}

.contact-info p {
  color: #8b949e;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-form {
  background: #111827;
  border: 1px solid #1f2937;
  border-radius: 12px;
  padding: 35px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #c9d1d9;
  font-size: 14px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  background: #0a0e1a;
  border: 1px solid #1f2937;
  border-radius: 6px;
  color: #ffffff;
  font-size: 14px;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #f0b90b;
}

footer {
  background: #070a12;
  border-top: 1px solid #1f2937;
  padding: 40px 20px;
  text-align: center;
  color: #6b7280;
  font-size: 14px;
}

.footer-links {
  margin-bottom: 15px;
}

.footer-links a {
  color: #8b949e;
  text-decoration: none;
  margin: 0 12px;
  font-size: 14px;
}

.footer-links a:hover {
  color: #f0b90b;
}

.keyword-highlight {
  color: #fcd34d;
  font-weight: 600;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero h1 {
    font-size: 28px;
  }

  .about-content,
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-item {
    flex-direction: column;
  }

  .news-meta {
    text-align: left;
  }
}
