/*
* 文件名称: software.css
* 功能说明: AI炒股软件评测页面样式文件
* 创建日期: 2025年1月
* 作者: AI炒股学习网开发团队
* 说明: 为software.html页面提供专业的样式设计
*/

/* 页面标题区域样式 */
.page-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.page-header p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.breadcrumb {
  font-size: 1rem;
  opacity: 0.8;
}

.breadcrumb a {
  color: white;
  text-decoration: none;
}

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

/* 软件评测概览样式 */
.software-overview {
  padding: 80px 0;
  background: #f8f9fa;
}

.software-overview h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #333;
}

.overview-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #667eea;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  color: #666;
  font-weight: 500;
}

/* 推荐软件排行样式 */
.software-ranking {
  padding: 80px 0;
  background: white;
}

.software-ranking h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #333;
}

.ranking-list {
  max-width: 900px;
  margin: 0 auto;
}

.software-item {
  display: flex;
  align-items: center;
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.software-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.rank-badge {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-right: 2rem;
  flex-shrink: 0;
}

.rank-1 .rank-badge {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  color: #333;
}

.rank-2 .rank-badge {
  background: linear-gradient(135deg, #c0c0c0, #e8e8e8);
  color: #333;
}

.rank-3 .rank-badge {
  background: linear-gradient(135deg, #cd7f32, #daa520);
}

.software-info {
  flex: 1;
}

.software-info h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.rating {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.stars {
  color: #ffc107;
  font-size: 1.2rem;
}

.score {
  background: #667eea;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.software-info p {
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.features {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.feature-tag {
  background: #e9ecef;
  color: #495057;
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.85rem;
  font-weight: 500;
}

.software-price {
  text-align: center;
  margin-left: 2rem;
}

.price {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #667eea;
  margin-bottom: 1rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* 评测标准样式 */
.evaluation-criteria {
  padding: 80px 0;
  background: #f8f9fa;
}

.evaluation-criteria h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #333;
}

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

.criteria-item {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.criteria-item:hover {
  transform: translateY(-5px);
}

.criteria-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.criteria-item h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #333;
}

.criteria-item p {
  color: #666;
  line-height: 1.6;
}

/* 选择建议样式 */
.selection-guide {
  padding: 80px 0;
  background: white;
}

.selection-guide h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #333;
}

.guide-tabs {
  max-width: 900px;
  margin: 0 auto;
}

.tab-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.tab-btn {
  padding: 1rem 2rem;
  border: 2px solid #667eea;
  background: white;
  color: #667eea;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn.active,
.tab-btn:hover {
  background: #667eea;
  color: white;
}

.tab-content {
  position: relative;
}

.tab-panel {
  display: none;
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 15px;
}

.tab-panel.active {
  display: block;
}

.tab-panel h3 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #333;
  text-align: center;
}

.recommendation {
  max-width: 700px;
  margin: 0 auto;
}

.rec-item {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.rec-item h4 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #667eea;
}

.rec-item p {
  color: #666;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.pros h5,
.cons h5 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: #333;
}

.pros h5 {
  color: #28a745;
}

.cons h5 {
  color: #dc3545;
}

.pros ul,
.cons ul {
  list-style: none;
  padding: 0;
}

.pros li,
.cons li {
  padding: 0.25rem 0;
  color: #666;
  position: relative;
  padding-left: 1.5rem;
}

.pros li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #28a745;
  font-weight: bold;
}

.cons li::before {
  content: '!';
  position: absolute;
  left: 0;
  color: #dc3545;
  font-weight: bold;
}

/* 免责声明样式 */
.disclaimer-section {
    background: linear-gradient(135deg, #ff6b6b, #ffa500);
    color: white;
    padding: 35px 0;
    margin-top: 50px;
}

.disclaimer-content {
    text-align: center;
}

.disclaimer-content h3 {
    font-size: 26px;
    margin-bottom: 22px;
    font-weight: bold;
}

.disclaimer-text {
    max-width: 850px;
    margin: 0 auto;
    text-align: left;
}

.disclaimer-text p {
    margin-bottom: 11px;
    line-height: 1.65;
    font-size: 16px;
}

.disclaimer-text p:first-child {
    font-size: 19px;
    margin-bottom: 18px;
    text-align: center;
}

.risk-notice {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 18px;
    margin: 22px 0;
    color: #856404;
}

.risk-notice p {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .page-header h1 {
    font-size: 2rem;
  }
  
  .page-header p {
    font-size: 1rem;
  }
  
  .software-item {
    flex-direction: column;
    text-align: center;
  }
  
  .rank-badge {
    margin-right: 0;
    margin-bottom: 1rem;
  }
  
  .software-price {
    margin-left: 0;
    margin-top: 1rem;
  }
  
  .tab-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .pros-cons {
    grid-template-columns: 1fr;
  }
  
  .criteria-grid {
    grid-template-columns: 1fr;
  }
  
  .overview-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .disclaimer-section {
    padding: 28px 0;
  }
  
  .disclaimer-content h3 {
    font-size: 21px;
  }
  
  .disclaimer-text p {
    font-size: 14px;
  }
  
  .disclaimer-text p:first-child {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .overview-stats {
    grid-template-columns: 1fr;
  }
  
  .software-item {
    padding: 1.5rem;
  }
  
  .tab-panel {
    padding: 1.5rem;
  }
}