/* 专利页面样式 */
.patents-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  padding: 40px 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 标题区域 */
.title {
  text-align: center;
  margin-bottom: 50px;
}

.title-top {
  font-size: 3rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 15px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.title-subtitle {
  font-size: 1.2rem;
  color: #7f8c8d;
  margin: 0;
}

/* 专利统计 */
.patents-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-bottom: 50px;
  padding: 30px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: #667eea;
  margin-bottom: 10px;
}

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

/* 专利网格 */
.patents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

/* 专利卡片 */
.patent-card {
  background: white;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid #e8ecef;
}

.patent-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* 专利头部 */
.patent-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.patent-number {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
}

.patent-status {
  background: #27ae60;
  color: white;
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* 专利内容 */
.patent-content {
  margin-bottom: 25px;
}

.patent-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 15px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.patent-abstract {
  color: #7f8c8d;
  line-height: 1.6;
  font-size: 0.95rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.patent-abstract.no-abstract {
  font-style: italic;
  color: #bdc3c7;
}

/* 专利底部 */
.patent-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid #ecf0f1;
}

.certificates-count {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #7f8c8d;
  font-size: 0.9rem;
}

.icon-certificate::before {
  content: "📜";
  font-size: 1.1rem;
}

.view-detail-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.view-detail-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
  text-decoration: none;
  color: white;
}

/* 空状态 */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.empty-icon {
  font-size: 4rem;
  margin-bottom: 20px;
}

.empty-state h3 {
  color: #2c3e50;
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.empty-state p {
  color: #7f8c8d;
  font-size: 1rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .patents-container {
    padding: 20px 0;
  }
  
  .title-top {
    font-size: 2.2rem;
  }
  
  .title-subtitle {
    font-size: 1rem;
  }
  
  .patents-stats {
    flex-direction: column;
    gap: 30px;
    padding: 20px;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .patents-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .patent-card {
    padding: 20px;
  }
  
  .patent-title {
    font-size: 1.2rem;
  }
  
  .patent-footer {
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
  }
  
  .view-detail-btn {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  .title-top {
    font-size: 1.8rem;
  }
  
  .patents-grid {
    grid-template-columns: 1fr;
  }
  
  .patent-header {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
}