@charset "utf-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif; /* 欧美常用无衬线字体 */
}

body {
  background-color: #f9f7f5; /* 米白色背景 */
  color: #333333; /* 深灰主文字色 */
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* 按钮样式 */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-outline {
  background: transparent;
  border: 1px solid #ffffff;
  color: #ffffff;
}

.btn-outline:hover {
  background-color: #9ca3af; /* 雾霾蓝 */
  border-color: #9ca3af;
}

.btn-solid {
  background-color: #9ca3af;
  color: #ffffff;
  width: 100%;
  margin-top: 20px;
}

.btn-solid:hover {
  background-color: #7c8491; /* 加深雾霾蓝 */
}

/* 加载提示弹窗 */
.loading-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #ffffff;
  padding: 30px 40px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  display: none;
  z-index: 9999;
  text-align: center;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #9ca3af;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 15px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 响应式适配 */
@media (max-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .detail-layout {
    flex-direction: column !important;
  }
  .footer-columns {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 30px !important;
  }
}

@media (max-width: 480px) {
  .grid-3 {
    grid-template-columns: 1fr !important;
  }
  .footer-columns {
    grid-template-columns: 1fr !important;
  }
  .nav-menu {
    display: none !important;
  }
  .mobile-menu-btn {
    display: block !important;
  }
}