/* AI Tools Article Specific Styles */

/* Hero Section */
.article-hero {
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ed 100%);
  padding: 3rem 0;
}

.hero-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.hero-text {
  flex: 1 1 50%;
  min-width: 300px;
}

.hero-image {
  flex: 1 1 40%;
  min-width: 300px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.hero-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.article-category {
  display: inline-block;
  background: #4a6bff;
  color: white;
  padding: 0.3rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1rem 0;
  color: #666;
  font-size: 0.9rem;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.tag {
  background: #f0f4ff;
  color: #4a6bff;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Quick Navigation */
.quick-nav {
  background: #f9fafc;
  border-radius: 12px;
  padding: 1.5rem;
  margin: 2rem 0;
  border: 1px solid #e1e6ef;
}

.quick-nav h3 {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.quick-nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
}

.nav-card {
  background: white;
  border-radius: 8px;
  padding: 1.5rem 1rem;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333;
  text-decoration: none;
}

.nav-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.nav-card i {
  font-size: 2rem;
  color: #4a6bff;
  margin-bottom: 0.8rem;
  display: block;
}

.nav-card span {
  font-weight: 600;
  font-size: 0.95rem;
}

/* AI Cards */
.ai-ranking {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2rem 0;
}

.ai-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  border: 1px solid #e1e6ef;
}

.ai-header {
  display: flex;
  align-items: center;
  padding: 1.2rem 1.5rem;
  background: #f9fafc;
  border-bottom: 1px solid #e1e6ef;
}

.ai-rank {
  background: #4a6bff;
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-right: 1rem;
  flex-shrink: 0;
}

.ai-header h3 {
  margin: 0;
  font-size: 1.3rem;
}

.ai-body {
  padding: 1.5rem;
}

.ai-pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .ai-pros-cons {
    grid-template-columns: 1fr;
  }
}

.pros, .cons {
  background: #f9fafc;
  padding: 1.2rem;
  border-radius: 8px;
}

.pros h4, .cons h4 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: #333;
}

.pros ul, .cons ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pros li, .cons li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.pros i {
  color: #28a745;
}

.cons i {
  color: #dc3545;
}

.ai-verdict {
  background: #f0f4ff;
  padding: 1.2rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.ai-verdict p {
  margin: 0;
  font-weight: 500;
}

.ai-pricing {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
}

.ai-pricing span {
  font-weight: 600;
  color: #4a6bff;
}

.btn-small {
  background: #4a6bff;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.85rem;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-small:hover {
  background: #3a5bef;
}

/* Comparison Table */
.comparison-table-container {
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: 12px;
  border: 1px solid #e1e6ef;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table th, .comparison-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #e1e6ef;
}

.comparison-table th {
  background: #f9fafc;
  font-weight: 600;
  color: #333;
}

.comparison-table tr:hover {
  background: #f9fafc;
}

/* Selection Tips */
.selection-tips {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.tip-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  border: 1px solid #e1e6ef;
}

.tip-card i {
  font-size: 2rem;
  color: #4a6bff;
  margin-bottom: 1rem;
}

.tip-card h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.tip-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tip-card li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.95rem;
}

.tip-card li:before {
  content: "•";
  color: #4a6bff;
  position: absolute;
  left: 0;
}

.expert-tip {
  background: #f0f4ff;
  border-left: 4px solid #4a6bff;
  padding: 1.5rem;
  border-radius: 0 8px 8px 0;
  margin: 2rem 0;
}

.expert-tip h3 {
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.expert-tip i {
  color: #4a6bff;
}

/* Conclusion Section */
.conclusion-section {
  margin: 3rem 0;
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.step-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  border: 1px solid #e1e6ef;
  position: relative;
  padding-top: 3rem;
}

.step-number {
  position: absolute;
  top: -15px;
  left: 20px;
  background: #4a6bff;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
}

.step-card h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.step-card p {
  margin: 0;
  font-size: 0.95rem;
  color: #666;
}

.cta-box {
  background: linear-gradient(135deg, #4a6bff 0%, #3a5bef 100%);
  color: white;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  margin: 2rem 0;
}

.cta-box h3 {
  margin-top: 0;
  font-size: 1.5rem;
}

.cta-box p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  opacity: 0.9;
}

.btn-primary {
  background: white;
  color: #4a6bff;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
}

.search-prompts {
  margin: 2rem 0;
}

.search-prompts h4 {
  margin-bottom: 1rem;
}

.prompt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.prompt-card {
  background: #f9fafc;
  border: 1px dashed #cbd2e0;
  padding: 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  color: #555;
  text-align: center;
}

/* Article Footer */
.article-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e1e6ef;
}

.tags-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
}

.tags-label {
  font-weight: 600;
  color: #666;
}

/* Sidebar */
.sidebar {
  flex: 0 0 350px;
  margin-left: 2rem;
}

@media (max-width: 1024px) {
  .sidebar {
    flex: 1 1 100%;
    margin-left: 0;
    margin-top: 3rem;
  }
}

.sidebar-widget {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  border: 1px solid #e1e6ef;
}

.sidebar-widget h3 {
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  color: #333;
}

.author-bio {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.author-bio img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 3px solid #f0f4ff;
}

.author-bio p {
  margin: 0;
  font-size: 0.95rem;
  color: #666;
}

.related-articles {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.related-article {
  display: block;
  padding: 1rem;
  border-radius: 8px;
  background: #f9fafc;
  color: #333;
  text-decoration: none;
  transition: background 0.3s ease;
}

.related-article:hover {
  background: #f0f4ff;
}

.related-article h4 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
}

.article-meta {
  font-size: 0.85rem;
  color: #888;
}

.tools-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.tool-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  background: #f9fafc;
  color: #333;
  text-decoration: none;
  transition: background 0.3s ease;
}

.tool-item:hover {
  background: #f0f4ff;
}

.tool-item i {
  font-size: 1.2rem;
  color: #4a6bff;
}

.newsletter-form {
  display: flex;
  margin-bottom: 0.5rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.8rem;
  border: 1px solid #e1e6ef;
  border-radius: 6px 0 0 6px;
  font-size: 0.95rem;
}

.newsletter-form button {
  background: #4a6bff;
  color: white;
  border: none;
  padding: 0 1.2rem;
  border-radius: 0 6px 6px 0;
  cursor: pointer;
  transition: background 0.3s ease;
}

.newsletter-form button:hover {
  background: #3a5bef;
}

.privacy-note {
  font-size: 0.8rem;
  color: #888;
  margin: 0;
}

/* More Articles Section */
.more-articles {
  padding: 3rem 0;
  background: #f9fafc;
}

.section-title {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.article-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.card-image {
  height: 200px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.article-card:hover .card-image img {
  transform: scale(1.05);
}

.card-content {
  padding: 1.5rem;
}

.category {
  display: inline-block;
  background: #f0f4ff;
  color: #4a6bff;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.card-content h3 {
  margin: 0 0 0.8rem;
  font-size: 1.2rem;
}

.card-content p {
  margin: 0 0 1.2rem;
  color: #666;
  font-size: 0.95rem;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: #4a6bff;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}

.read-more i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.read-more:hover i {
  transform: translateX(3px);
}

.section-cta {
  text-align: center;
}

.btn-secondary {
  background: white;
  color: #4a6bff;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  border: 2px solid #4a6bff;
}

.btn-secondary:hover {
  background: #4a6bff;
  color: white;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
  }
  
  .hero-text, .hero-image {
    flex: 1 1 100%;
  }
  
  .quick-nav-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }
  
  .steps-container {
    grid-template-columns: 1fr;
  }
}