/* 基础样式重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #fff;
  background-color: #0a0a1a;
  background-image: linear-gradient(135deg, #0a0a1a 0%, #1a1a2e 50%, #16213e 100%);
  min-height: 100vh;
}

/* 容器样式 */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 导航栏样式 */
header {
  background-color: rgba(10, 10, 26, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
}

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

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #00f0ff;
  text-decoration: none;
}

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

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #00f0ff;
}

/* 移动端菜单按钮 */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: #fff;
  margin: 2px 0;
  transition: all 0.3s ease;
}

/* 行动按钮样式 */
.action-buttons {
  display: flex;
  gap: 15px;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background-color: #00f0ff;
  color: #0a0a1a;
}

.btn-primary:hover {
  background-color: #00c7d4;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: #00ff88;
  color: #0a0a1a;
}

.btn-secondary:hover {
  background-color: #00d470;
  transform: translateY(-2px);
}

/* Banner样式 */
.banner {
  padding: 100px 0;
  text-align: center;
  background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiPjxwYXRoIGQ9Ik0gNDAgMCBMIDAgMCAwIDQwIiBmaWxsPSJub25lIiBzdHJva2U9IiMxYTFhMmUiIHN0cm9rZS13aWR0aD0iMC41Ii8+PC9wYXR0ZXJuPjwvZGVmcz48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI3BhdHRlcm4pIiAvPjwvc3ZnPg==');
}

.banner h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #00f0ff;
}

.banner p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* 核心内容样式 */
.core-features {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
  color: #00f0ff;
}

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

.feature-card {
  background-color: rgba(26, 26, 46, 0.8);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 240, 255, 0.2);
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #00f0ff;
}

/* 新闻预览样式 */
.news-preview {
  padding: 80px 0;
  background-color: rgba(22, 33, 62, 0.5);
}

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

.news-card {
  background-color: rgba(26, 26, 46, 0.8);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 240, 255, 0.2);
}

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

.news-content {
  padding: 20px;
}

.news-content h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #00f0ff;
}

.news-meta {
  font-size: 0.9rem;
  color: #aaa;
  margin-bottom: 15px;
}

/* 新闻页面样式 */
.news-list {
  padding: 80px 0;
}

.news-item {
  background-color: rgba(26, 26, 46, 0.8);
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.news-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 240, 255, 0.2);
}

.news-item h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #00f0ff;
}

.news-item .news-meta {
  margin-bottom: 20px;
}

/* 新闻详情页面样式 */
.news-detail {
  padding: 80px 0;
}

.news-detail-content {
  background-color: rgba(26, 26, 46, 0.8);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.news-detail-content h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #00f0ff;
}

.news-detail-content p {
  margin-bottom: 20px;
  line-height: 1.8;
}

/* 关于页面样式 */
.about-us {
  padding: 80px 0;
}

.about-content {
  background-color: rgba(26, 26, 46, 0.8);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.about-content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #00f0ff;
}

.about-content p {
  margin-bottom: 20px;
  line-height: 1.8;
}

/* 产品页面样式 */
.products {
  padding: 80px 0;
}

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

.product-card {
  background-color: rgba(26, 26, 46, 0.8);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 240, 255, 0.2);
}

.product-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #00f0ff;
}

/* 联系页面样式 */
.contact {
  padding: 80px 0;
}

.contact-content {
  background-color: rgba(26, 26, 46, 0.8);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.contact-content h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #00f0ff;
}

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

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.contact-item i {
  font-size: 1.5rem;
  color: #00f0ff;
  margin-top: 5px;
}

.contact-form {
  margin-top: 40px;
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #333;
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #00f0ff;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

/* 面包屑导航 */
.breadcrumb {
  padding: 20px 0;
  font-size: 0.9rem;
  color: #aaa;
}

.breadcrumb a {
  color: #00f0ff;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  margin: 0 10px;
  color: #666;
}

/* 页脚样式 */
footer {
  background-color: rgba(10, 10, 26, 0.95);
  padding: 60px 0 30px;
  margin-top: 80px;
}

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

.footer-column h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: #00f0ff;
}

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

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

.footer-column ul li a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: #00f0ff;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #333;
  color: #aaa;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: rgba(10, 10, 26, 0.95);
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s ease;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-links li {
    margin: 10px 0;
  }

  .menu-toggle {
    display: flex;
  }

  .action-buttons {
    display: none;
  }

  .banner h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .news-detail-content h1 {
    font-size: 2rem;
  }

  .about-content,
  .news-detail-content,
  .contact-content {
    padding: 20px;
  }
}

@media screen and (max-width: 480px) {
  .banner h1 {
    font-size: 1.5rem;
  }

  .banner p {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .feature-card,
  .news-card,
  .product-card {
    padding: 20px;
  }
}

/* 加载动画 */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255,255,255,.3);
  border-radius: 50%;
  border-top-color: #00f0ff;
  animation: spin 1s ease-in-out infinite;
}

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

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

::-webkit-scrollbar-track {
  background: #0a0a1a;
}

::-webkit-scrollbar-thumb {
  background: #00f0ff;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #00c7d4;
}

/* 强调文本 */
.highlight {
  color: #00f0ff;
  font-weight: bold;
}

/* 按钮组 */
.btn-group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* 移动端行动按钮 */
.mobile-actions {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 999;
  display: none;
}

@media screen and (max-width: 768px) {
  .mobile-actions {
    display: flex;
  }
}

/* 卡片悬停效果 */
.card-hover {
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 240, 255, 0.2);
}