@charset "utf-8";
/* ============================================
   rcoue.com - 瑞士国际风格 + 全屏网格
   风格: S(瑞士国际) + H(全屏网格)
   色彩: 7(冷调 #2b6cb0/#319795/#805ad5)
   ============================================ */

:root {
  --primary: #2b6cb0;
  --secondary: #319795;
  --accent: #805ad5;
  --bg: #f7fafc;
  --white: #ffffff;
  --dark: #1a202c;
  --gray: #718096;
  --light-gray: #e2e8f0;
  --text: #2d3748;
  --text-light: #4a5568;
  --border: 1px solid var(--light-gray);
  --shadow: 0 4px 20px rgba(43, 108, 176, 0.1);
  --shadow-lg: 0 10px 40px rgba(43, 108, 176, 0.15);
  --radius: 2px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  font-family: 'Inter', 'Noto Sans SC', -apple-system, sans-serif;
  color: var(--text);
  line-height: 1.7;
}
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
ul, li { list-style: none; }
img { max-width: 100%; height: auto; }

/* ============================================
   头部 - 瑞士风格简洁
   ============================================ */
.header { background: var(--white); border-bottom: 1px solid var(--light-gray); position: sticky; top: 0; z-index: 100; }
.header-inner { max-width: 1400px; margin: 0 auto; padding: 0 40px; display: flex; align-items: center; justify-content: space-between; height: 72px; }
.header-left { display: flex; align-items: center; gap: 40px; }
.logo img { height: 40px; max-width: 180px; }

.nav-primary { display: flex; gap: 0; }
.nav-primary a { display: inline-block; padding: 24px 24px; font-size: 14px; font-weight: 500; color: var(--text-light); letter-spacing: 0.5px; border-bottom: 2px solid transparent; transition: all 0.3s ease; }
.nav-primary a:first-child { color: var(--primary); border-bottom-color: var(--primary); }
.nav-primary a:hover { color: var(--primary); border-bottom-color: var(--primary); }

.header-right { display: flex; align-items: center; gap: 24px; }
.search-box { display: flex; align-items: center; background: var(--bg); border: 1px solid var(--light-gray); padding: 8px 16px; }
.search-box input { border: none; background: transparent; outline: none; font-size: 14px; width: 180px; }
.search-box button { background: none; border: none; cursor: pointer; color: var(--gray); font-size: 14px; }

/* ============================================
   全屏英雄区 - 大网格
   ============================================ */
.hero-grid { background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%); padding: 80px 40px; position: relative; overflow: hidden; }
.hero-grid::before { content: ''; position: absolute; top: 0; right: 0; width: 50%; height: 100%; background: url(https://picsum.photos/1200/800/?grayscale) center/cover; opacity: 0.15; }
.hero-grid::after { content: ''; position: absolute; top: 0; right: 0; width: 50%; height: 100%; background: linear-gradient(90deg, transparent, rgba(43,108,176,0.8)); }

.hero-container { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; position: relative; z-index: 1; }

.hero-content { }
.hero-badge { display: inline-block; background: rgba(255,255,255,0.2); color: #fff; padding: 6px 16px; font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 24px; }
.hero-title { font-size: 48px; font-weight: 700; color: #fff; line-height: 1.2; margin-bottom: 24px; letter-spacing: -1px; }
.hero-desc { font-size: 18px; color: rgba(255,255,255,0.9); line-height: 1.8; margin-bottom: 32px; max-width: 500px; }
.hero-meta { display: flex; gap: 32px; font-size: 14px; color: rgba(255,255,255,0.8); font-weight: 500; }
.hero-meta i { margin-right: 8px; }

.hero-visual { position: relative; }
.hero-card { background: var(--white); padding: 24px; box-shadow: var(--shadow-lg); }
.hero-card-img { width: 100%; height: 320px; background-size: cover; background-position: center; margin-bottom: 20px; }
.hero-card-title { font-size: 20px; font-weight: 600; color: var(--dark); margin-bottom: 12px; line-height: 1.4; }
.hero-card-meta { font-size: 13px; color: var(--gray); display: flex; gap: 20px; }

/* ============================================
   网格卡片区 - 3列
   ============================================ */
.grid-section { padding: 80px 40px; background: var(--white); }
.grid-container { max-width: 1400px; margin: 0 auto; }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 48px; padding-bottom: 20px; border-bottom: 1px solid var(--light-gray); }
.section-title { font-size: 24px; font-weight: 600; color: var(--dark); letter-spacing: -0.5px; }
.section-more { font-size: 14px; color: var(--primary); font-weight: 500; }
.section-more:hover { color: var(--secondary); }

.grid-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-card { background: var(--bg); border: 1px solid var(--light-gray); transition: all 0.3s ease; overflow: hidden; }
.grid-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.grid-card-img { height: 200px; background-size: cover; background-position: center; position: relative; }
.grid-card-img::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--primary); transform: scaleX(0); transition: transform 0.3s ease; }
.grid-card:hover .grid-card-img::after { transform: scaleX(1); }
.grid-card-body { padding: 24px; }
.grid-card-category { display: inline-block; background: var(--primary); color: #fff; padding: 4px 12px; font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 12px; }
.grid-card-title { font-size: 18px; font-weight: 600; color: var(--dark); line-height: 1.4; margin-bottom: 12px; }
.grid-card-title:hover { color: var(--primary); }
.grid-card-desc { font-size: 14px; color: var(--text-light); line-height: 1.7; margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.grid-card-footer { display: flex; justify-content: space-between; font-size: 12px; color: var(--gray); }

/* ============================================
   Z字交错区 - 左右交替
   ============================================ */
.zigzag-section { padding: 80px 40px; background: var(--bg); }
.zigzag-container { max-width: 1400px; margin: 0 auto; }
.section-label { display: flex; align-items: center; gap: 16px; margin-bottom: 48px; }
.section-label::before { content: ''; width: 40px; height: 3px; background: var(--secondary); }
.section-label h2 { font-size: 24px; font-weight: 600; color: var(--dark); }

.zigzag-item { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 60px; padding-bottom: 60px; border-bottom: 1px solid var(--light-gray); }
.zigzag-item:nth-child(even) .zigzag-content { order: 2; }
.zigzag-item:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }

.zigzag-content { }
.zigzag-num { font-size: 64px; font-weight: 700; color: var(--light-gray); line-height: 1; margin-bottom: 16px; letter-spacing: -4px; }
.zigzag-title { font-size: 28px; font-weight: 600; color: var(--dark); margin-bottom: 16px; line-height: 1.3; }
.zigzag-title:hover { color: var(--primary); }
.zigzag-desc { font-size: 16px; color: var(--text-light); line-height: 1.8; margin-bottom: 24px; }
.zigzag-meta { display: flex; gap: 24px; font-size: 13px; color: var(--gray); }
.zigzag-meta span { display: flex; align-items: center; gap: 6px; }

.zigzag-image { position: relative; }
.zigzag-image::before { content: ''; position: absolute; top: -20px; left: -20px; right: 20px; bottom: 20px; background: var(--primary); opacity: 0.1; z-index: 0; }
.zigzag-img-wrapper { position: relative; z-index: 1; height: 300px; background-size: cover; background-position: center; }

/* ============================================
   数据统计区
   ============================================ */
.stats-section { background: linear-gradient(135deg, var(--dark) 0%, #2d3748 100%); padding: 80px 40px; }
.stats-container { max-width: 1400px; margin: 0 auto; }
.stats-header { text-align: center; margin-bottom: 60px; }
.stats-header h2 { font-size: 32px; font-weight: 600; color: #fff; margin-bottom: 16px; }
.stats-header p { font-size: 16px; color: rgba(255,255,255,0.6); }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.stat-item { text-align: center; padding: 40px 20px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); transition: all 0.3s ease; }
.stat-item:hover { background: rgba(255,255,255,0.1); transform: translateY(-4px); }
.stat-icon { font-size: 36px; color: var(--secondary); margin-bottom: 16px; }
.stat-num { font-size: 48px; font-weight: 700; color: #fff; margin-bottom: 8px; letter-spacing: -2px; }
.stat-label { font-size: 14px; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 2px; }

/* ============================================
   数字列表区
   ============================================ */
.number-section { padding: 80px 40px; background: var(--white); }
.number-container { max-width: 1400px; margin: 0 auto; }
.number-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.number-grid.four-col { grid-template-columns: repeat(2, 1fr); }

.number-block { }
.number-header { display: flex; align-items: center; gap: 16px; margin-bottom: 32px; padding-bottom: 16px; border-bottom: 2px solid var(--primary); }
.number-header i { font-size: 24px; color: var(--primary); }
.number-header h3 { font-size: 20px; font-weight: 600; color: var(--dark); }

.number-list { }
.number-item { display: flex; align-items: center; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--light-gray); transition: all 0.3s ease; }
.number-item:hover { padding-left: 12px; border-bottom-color: var(--primary); }
.number-item:hover .number-index { background: var(--primary); color: #fff; }
.number-index { width: 40px; height: 40px; background: var(--bg); color: var(--primary); font-size: 16px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all 0.3s ease; }
.number-info { flex: 1; }
.number-title { font-size: 16px; font-weight: 500; color: var(--dark); margin-bottom: 4px; }
.number-title:hover { color: var(--primary); }
.number-meta { font-size: 12px; color: var(--gray); }
.number-thumb { width: 80px; height: 60px; background-size: cover; background-position: center; flex-shrink: 0; }

/* ============================================
   标签云区
   ============================================ */
.tags-section { padding: 80px 40px; background: var(--bg); }
.tags-container { max-width: 1400px; margin: 0 auto; text-align: center; }
.tags-header { margin-bottom: 40px; }
.tags-header h2 { font-size: 24px; font-weight: 600; color: var(--dark); margin-bottom: 8px; }
.tags-header p { font-size: 14px; color: var(--gray); }

.tags-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.tag-link { padding: 10px 24px; background: var(--white); color: var(--text-light); font-size: 14px; border: 1px solid var(--light-gray); transition: all 0.3s ease; }
.tag-link:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ============================================
   页脚
   ============================================ */
.footer { background: var(--dark); padding: 60px 40px; }
.footer-inner { max-width: 1400px; margin: 0 auto; text-align: center; }
.footer-logo { font-size: 20px; font-weight: 400; color: #fff; margin-bottom: 16px; letter-spacing: 1px; font-family: 'Inter', 'Noto Sans SC', sans-serif; }
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.4); margin-bottom: 8px; letter-spacing: 0.5px; }
.footer-copy a { color: var(--secondary); transition: color 0.3s ease; }
.footer-copy a:hover { color: #fff; }
.footer-links { display: flex; justify-content: center; gap: 32px; margin-top: 20px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.4); transition: color 0.3s ease; }
.footer-links a:hover { color: #fff; }

/* ============================================
   响应式
   ============================================ */
@media (max-width: 1200px) {
  .grid-cards { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .hero-container { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .zigzag-item { grid-template-columns: 1fr; gap: 32px; }
  .zigzag-item:nth-child(even) .zigzag-content { order: 0; }
  .number-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .header-inner { padding: 0 20px; flex-wrap: wrap; height: auto; padding: 16px 20px; }
  .nav-primary { display: none; }
  .search-box { display: none; }
  .hero-title { font-size: 32px; }
  .grid-cards { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-num { font-size: 36px; }
}

/* ============================================
   列表页样式
   ============================================ */
.list-page-wrapper { max-width: 1200px; margin: 0 auto; padding: 60px 40px; display: grid; grid-template-columns: 1fr 300px; gap: 60px; }
.list-main { min-width: 0; }
.list-articles { display: flex; flex-direction: column; gap: 32px; }

.list-article-item { display: flex; gap: 28px; background: var(--white); border: 1px solid var(--light-gray); transition: all 0.3s ease; }
.list-article-item:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.list-article-img { width: 280px; height: 200px; background-size: cover; background-position: center; flex-shrink: 0; }
.list-article-info { flex: 1; padding: 24px; display: flex; flex-direction: column; justify-content: center; }
.list-article-info h3 { font-size: 20px; font-weight: 600; color: var(--dark); margin-bottom: 12px; line-height: 1.4; }
.list-article-info h3:hover { color: var(--primary); }
.list-article-info p { font-size: 14px; color: var(--text-light); line-height: 1.7; margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.list-article-meta { display: flex; gap: 24px; font-size: 13px; color: var(--gray); }

.list-sidebar { }
.sidebar-card { background: var(--white); border: 1px solid var(--light-gray); margin-bottom: 32px; }
.sidebar-card h4 { padding: 16px 20px; font-size: 16px; font-weight: 600; color: var(--dark); border-bottom: 2px solid var(--primary); }
.sidebar-list { padding: 20px; }
.sidebar-list li { padding: 14px 0; border-bottom: 1px solid var(--light-gray); }
.sidebar-list li:last-child { border-bottom: none; }
.sidebar-list a { display: flex; justify-content: space-between; font-size: 14px; color: var(--text-light); }
.sidebar-list a:hover { color: var(--primary); }
.sidebar-list .count { background: var(--bg); padding: 4px 12px; font-size: 12px; }

.pagination { display: flex; justify-content: center; gap: 12px; margin-top: 60px; }
.pagination a, .pagination span { padding: 12px 20px; background: var(--white); border: 1px solid var(--light-gray); font-size: 14px; color: var(--text-light); transition: all 0.3s ease; }
.pagination a:hover, .pagination .active { background: var(--primary); color: #fff; border-color: var(--primary); }

.page-header { background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%); padding: 60px 40px; }
.page-header .container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.page-title { font-size: 32px; font-weight: 600; color: #fff; margin-bottom: 12px; }
.page-breadcrumb { font-size: 14px; color: rgba(255,255,255,0.7); }
.page-breadcrumb a { color: rgba(255,255,255,0.9); }
.page-breadcrumb a:hover { color: #fff; }
.content-wrapper { background: var(--bg); padding: 60px 0; }
.content-wrapper .container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

.article-detail { background: var(--white); padding: 48px; margin-bottom: 40px; border: 1px solid var(--light-gray); }
.detail-header { margin-bottom: 40px; padding-bottom: 32px; border-bottom: 1px solid var(--light-gray); }
.detail-category { display: inline-block; background: var(--primary); color: #fff; padding: 6px 16px; font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 20px; }
.detail-title { font-size: 32px; font-weight: 600; color: var(--dark); line-height: 1.3; margin-bottom: 20px; }
.detail-meta { display: flex; gap: 32px; font-size: 14px; color: var(--gray); }
.detail-meta i { margin-right: 6px; color: var(--primary); }
.detail-content { font-size: 16px; line-height: 2; color: var(--text); }
.detail-content p { margin-bottom: 20px; }
.detail-content img { max-width: 100%; height: auto; margin: 24px 0; }
.detail-content h2, .detail-content h3 { font-size: 22px; font-weight: 600; color: var(--dark); margin: 40px 0 20px; }
.detail-tags { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--light-gray); font-size: 14px; color: var(--gray); display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.detail-tags i { color: var(--primary); margin-right: 8px; }
.detail-tags a { padding: 6px 14px; background: var(--bg); color: var(--text-light); border: 1px solid var(--light-gray); font-size: 13px; transition: all 0.3s ease; }
.detail-tags a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

.related-articles { background: var(--white); padding: 40px; border: 1px solid var(--light-gray); }
.related-title { font-size: 18px; font-weight: 600; color: var(--dark); margin-bottom: 24px; padding-bottom: 16px; border-bottom: 2px solid var(--primary); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.related-card { border: 1px solid var(--light-gray); transition: all 0.3s ease; }
.related-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.related-img { height: 140px; background-size: cover; background-position: center; }
.related-info { padding: 16px; }
.related-info h4 { font-size: 14px; font-weight: 500; color: var(--dark); line-height: 1.4; margin-bottom: 8px; }
.related-info h4:hover { color: var(--primary); }
.related-info span { font-size: 12px; color: var(--gray); }

@media (max-width: 1024px) {
  .list-page-wrapper { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .list-article-item { flex-direction: column; }
  .list-article-img { width: 100%; height: 200px; }
  .related-grid { grid-template-columns: 1fr; }
  .article-detail { padding: 32px; }
  .detail-title { font-size: 24px; }
}
