/* ===== /skin/style.css ===== */
/* 公共样式：合并自 index.html / news.html / detail.html，去重、优化、分组 */

/* --------------------------
   基础重置 & 全局样式
   -------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --------------------------
   导航栏 Navigation
   -------------------------- */
header {
  background: #4a90e2;
  color: white;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav h1 {
  font-size: 1.8rem;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

nav ul li a {
  color: white;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 4px;
  transition: background 0.3s;
}

nav ul li a:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* 详情页 nav ul li a hover 改为下划线（news.html/detail.html 风格） */
nav ul li a:hover {
  text-decoration: underline;
}

/* --------------------------
   Hero 区块
   -------------------------- */
.hero {
  background: linear-gradient(135deg, #4a90e2, #357abd);
  color: white;
  text-align: center;
  padding: 80px 0;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.95;
}

/* --------------------------
   下载区块
   -------------------------- */
.download-section {
  background: #f8f9fa;
  padding: 60px 0;
  text-align: center;
}

.download-section h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: #333;
}

.download-section p {
  font-size: 1.1rem;
  margin-bottom: 40px;
  color: #666;
}

.download-btn {
  display: inline-block;
  background: #4a90e2;
  color: white;
  font-size: 1.1rem;
  font-weight: bold;
  padding: 15px 30px;
  border-radius: 8px;
  transition: background 0.3s;
  text-decoration: none;
}

.download-btn:hover {
  background: #357abd;
}

/* --------------------------
   产品特色
   -------------------------- */
.features {
  padding: 60px 0;
  background: white;
}

.features h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #333;
}

.features ul {
  max-width: 800px;
  margin: 0 auto;
  list-style: none;
}

.features li {
  padding: 12px 0;
  font-size: 1.05rem;
  color: #444;
  border-bottom: 1px solid #eee;
}

.features li:before {
  content: "✓ ";
  color: #4a90e2;
  font-weight: bold;
  margin-right: 10px;
}

/* --------------------------
   安全提示
   -------------------------- */
.notice {
  background: #fff8e1;
  border-left: 4px solid #ffa726;
  padding: 20px;
  margin: 40px 0;
  border-radius: 0 8px 8px 0;
}

.notice h3 {
  color: #d84315;
  margin-bottom: 8px;
}

.notice p {
  color: #5d4037;
  margin: 0;
}

/* --------------------------
   页脚
   -------------------------- */
footer {
  background: #333;
  color: #ccc;
  text-align: center;
  padding: 30px 0;
  margin-top: 60px;
}

footer p {
  margin: 0;
}

/* --------------------------
   资讯列表页样式（news.html）
   -------------------------- */
.news-list {
  background: #fff;
  padding: 40px 0;
}

.news-list h1 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #333;
}

.news-item {
  background: #f9f9f9;
  margin-bottom: 30px;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.news-item h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.news-item h3 a {
  color: #4a90e2;
  font-weight: bold;
}

.news-item h3 a:hover {
  text-decoration: underline;
}

.news-meta {
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.news-excerpt {
  color: #555;
  line-height: 1.6;
}

/* --------------------------
   资讯详情页样式（detail.html）
   -------------------------- */
.detail-container {
  background: #fff;
  padding: 40px 0;
}

.back-news {
  display: inline-block;
  margin-bottom: 20px;
  color: #4a90e2;
  font-weight: bold;
}

.back-news:hover {
  text-decoration: underline;
}

.article-header h1 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #333;
}

.article-meta {
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.article-content {
  line-height: 1.8;
  color: #444;
}

.article-content p {
  margin-bottom: 16px;
}

.article-content h3 {
  margin: 24px 0 12px;
  color: #333;
}