/* 全局样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #d9534f;
  --secondary-color: #8b3e2f;
  --accent-color: #ff6b35;
  --text-color: #333;
  --light-bg: #fdf7f5;
  --white: #ffffff;
  --border-color: #e0e0e0;
  --success-color: #28a745;
}

body {
  font-family: 'Microsoft YaHei', 'Segoe UI', Tahoma, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--white);
}

/* 页面容器 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 头部导航 */
header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-top {
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 10px 0;
  font-size: 14px;
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-main {
  padding: 20px 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-img {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 24px;
  font-weight: bold;
}

.logo-text h1 {
  font-size: 24px;
  color: var(--secondary-color);
  font-weight: 700;
}

.logo-text p {
  font-size: 12px;
  color: #666;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 40px;
}

nav ul li a {
  text-decoration: none;
  color: var(--text-color);
  font-size: 16px;
  font-weight: 500;
  padding: 8px 0;
  position: relative;
  transition: color 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--primary-color);
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s;
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}

/* 页面标题横幅 */
.page-banner {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  padding: 60px 0;
  text-align: center;
  margin-bottom: 50px;
}

.page-banner h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

.page-banner p {
  font-size: 18px;
  opacity: 0.9;
}

/* 内容区域 */
.content-section {
  padding: 60px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 32px;
  color: var(--secondary-color);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
}

.section-title p {
  color: #666;
  font-size: 16px;
}

/* 卡片样式 */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-color);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 28px;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 20px;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.card p {
  color: #666;
  line-height: 1.8;
}

/* 按钮样式 */
.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--primary-color);
  color: var(--white);
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.3s;
  border: 2px solid var(--primary-color);
}

.btn:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(217, 83, 79, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/* 付费解锁按钮 */
.btn-unlock {
  display: inline-block;
  background: white;
  color: #ff6b6b;
  padding: 15px 40px;
  border: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.btn-unlock:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
  background: #fff;
}

/* 页脚 */
footer {
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 50px 0 20px;
  margin-top: 80px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--white);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section ul li a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.footer-bottom p {
  margin: 5px 0;
}

/* 合规标识 */
.compliance-badges {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.badge {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* 信息列表 */
.info-list {
  list-style: none;
  margin: 20px 0;
}

.info-list li {
  padding: 15px 0;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: flex-start;
}

.info-list li:last-child {
  border-bottom: none;
}

.info-list li::before {
  content: '✓';
  color: var(--success-color);
  font-weight: bold;
  margin-right: 15px;
  font-size: 18px;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 20px;
  }

  nav ul {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .page-banner h1 {
    font-size: 28px;
  }

  .section-title h2 {
    font-size: 26px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}

/* 特殊强调框 */
.highlight-box {
  background: linear-gradient(135deg, #e3f2fd, #f3e5f5);
  border-left: 4px solid var(--primary-color);
  padding: 25px;
  border-radius: 8px;
  margin: 30px 0;
}

.highlight-box h3 {
  color: var(--secondary-color);
  margin-bottom: 15px;
}

/* 表格样式 */
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  background-color: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  overflow: hidden;
}

.info-table th,
.info-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.info-table th {
  background-color: var(--primary-color);
  color: var(--white);
  font-weight: 600;
}

.info-table tr:hover {
  background-color: var(--light-bg);
}

.info-table tr:last-child td {
  border-bottom: none;
}

/* 新闻卡片样式 */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.news-card {
  background-color: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
  cursor: pointer;
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.news-card.featured {
  grid-column: span 2;
}

.news-image {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 48px;
}

.news-card.featured .news-image {
  height: 300px;
}

.news-content {
  padding: 20px;
}

.news-tag {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  margin-bottom: 12px;
}

.news-content h3 {
  font-size: 18px;
  color: var(--secondary-color);
  margin-bottom: 12px;
  line-height: 1.4;
}

.news-card.featured .news-content h3 {
  font-size: 22px;
}

.news-content p {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #999;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
}

/* 话题列表样式 */
.topic-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.topic-item {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 25px;
  display: flex;
  align-items: center;
  gap: 25px;
  transition: all 0.3s;
  cursor: pointer;
}

.topic-item:hover {
  transform: translateX(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-color);
}

.topic-icon {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  flex-shrink: 0;
}

.topic-content {
  flex: 1;
}

.topic-content h3 {
  font-size: 20px;
  color: var(--secondary-color);
  margin-bottom: 8px;
}

.topic-content p {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 10px;
}

.topic-count {
  display: inline-block;
  background-color: var(--light-bg);
  color: var(--primary-color);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}

/* 响应式 - 新闻卡片 */
@media (max-width: 768px) {
  .news-card.featured {
    grid-column: span 1;
  }
  
  .news-image {
    height: 160px;
  }
  
  .news-card.featured .news-image {
    height: 200px;
  }
  
  .topic-item {
    flex-direction: column;
    text-align: center;
  }
  
  .topic-icon {
    width: 60px;
    height: 60px;
    font-size: 28px;
  }
}

