/* AI Agents Article Specific Styles */

/* Hero Section */
.article-hero .hero-text h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.feature-card {
  background: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

/* AI Agent Cards */
.ai-agent-ranking {
  margin: 3rem 0;
}

.agent-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  margin-bottom: 2rem;
  overflow: hidden;
}

.agent-header {
  display: flex;
  align-items: center;
  padding: 1.5rem;
  background: var(--primary-color);
  color: white;
}

.agent-rank {
  font-size: 1.8rem;
  font-weight: 700;
  margin-right: 1rem;
  min-width: 40px;
}

.agent-header h3 {
  margin: 0;
  font-size: 1.4rem;
}

.agent-body {
  padding: 1.5rem;
}

.agent-pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .agent-pros-cons {
    grid-template-columns: 1fr;
  }
}

.pros h4, .cons h4 {
  margin-top: 0;
  color: var(--primary-dark);
  font-size: 1.1rem;
}

.pros ul, .cons ul {
  padding-left: 1.5rem;
}

.pros i {
  color: #28a745;
  margin-right: 0.5rem;
}

.cons i {
  color: #dc3545;
  margin-right: 0.5rem;
}

.agent-tools {
  margin: 2rem 0;
}

.agent-tools h4 {
  margin-bottom: 1rem;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
}

.tool-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.tool-item img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin-bottom: 0.5rem;
}

.tool-item span {
  font-size: 0.9rem;
}

.agent-verdict {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 6px;
  border-left: 4px solid var(--primary-color);
}

.agent-verdict p {
  margin: 0;
}

.agent-verdict strong {
  color: var(--primary-dark);
}

/* Additional Agents */
.additional-agents {
  margin: 3rem 0;
}

.agents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.small-agent-card {
  background: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  border-top: 3px solid var(--primary-color);
}

.small-agent-card h4 {
  margin-top: 0;
  font-size: 1.1rem;
  color: var(--primary-dark);
}

.small-agent-card ul {
  padding-left: 1.2rem;
  font-size: 0.95rem;
}

.small-agent-card li {
  margin-bottom: 0.5rem;
}

.agent-tools {
  font-size: 0.9rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed #ddd;
}

/* Benefits Section */
.benefits-table {
  overflow-x: auto;
  margin: 2rem 0;
}

.benefits-table table {
  width: 100%;
  border-collapse: collapse;
}

.benefits-table th, .benefits-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.benefits-table th {
  background: var(--primary-color);
  color: white;
}

.benefits-table tr:nth-child(even) {
  background: #f9f9f9;
}

.benefits-table tr:hover {
  background: #f1f1f1;
}

.statistics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.stat-card {
  background: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-desc {
  font-size: 0.9rem;
  color: #555;
}

/* Implementation Section */
.implementation-steps {
  margin: 3rem 0;
}

.step-card {
  display: flex;
  margin-bottom: 2rem;
  background: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.step-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  min-width: 60px;
  text-align: center;
}

.step-content {
  flex: 1;
}

.step-content h3 {
  margin-top: 0;
  color: var(--primary-dark);
}

.implementation-features {
  margin: 3rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.feature-item {
  background: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  text-align: center;
}

.feature-item i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.feature-item h4 {
  margin: 0.5rem 0;
  color: var(--primary-dark);
}

/* Industry Tabs */
.industry-tabs {
  margin: 3rem 0;
}

.tab-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tab-button {
  padding: 0.75rem 1.5rem;
  background: #f1f1f1;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
}

.tab-button:hover {
  background: #e1e1e1;
}

.tab-button.active {
  background: var(--primary-color);
  color: white;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.industry-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  background: #fff;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

@media (max-width: 768px) {
  .industry-content {
    grid-template-columns: 1fr;
  }
}

.industry-text h3 {
  margin-top: 0;
  color: var(--primary-dark);
}

.industry-text ul {
  padding-left: 1.2rem;
}

.industry-text li {
  margin-bottom: 0.75rem;
}

.industry-image {
  border-radius: 6px;
  overflow: hidden;
}

.industry-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.case-highlight {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 6px;
  margin-top: 1.5rem;
  border-left: 4px solid var(--primary-color);
}

.case-highlight h4 {
  margin-top: 0;
  color: var(--primary-dark);
}

.case-highlight i {
  color: var(--primary-color);
  margin-right: 0.5rem;
}

/* Case Study Section */
.case-study-container {
  background: #fff;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  margin: 2rem 0;
}

.case-study-problem, .case-study-solution, .case-study-results {
  margin-bottom: 2rem;
}

.case-study-problem h3, .case-study-solution h3, .case-study-results h3 {
  color: var(--primary-dark);
  margin-top: 0;
}

.case-study-problem i, .case-study-solution i, .case-study-results i {
  color: var(--primary-color);
  margin-right: 0.5rem;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.solution-card {
  background: #f8f9fa;
  border-radius: 6px;
  padding: 1.5rem;
}

.solution-card h4 {
  margin-top: 0;
  color: var(--primary-dark);
}

.solution-card ul {
  padding-left: 1.2rem;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
}

.result-card {
  text-align: center;
  background: #f8f9fa;
  border-radius: 6px;
  padding: 1.5rem;
}

.result-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
}

.result-desc {
  font-size: 0.9rem;
  color: #555;
}

.testimonial {
  background: var(--primary-color);
  color: white;
  border-radius: 8px;
  padding: 2rem;
  margin: 2rem 0;
}

.testimonial-content p {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial-author strong {
  display: block;
  font-size: 1.1rem;
}

.testimonial-author span {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .agent-pros-cons {
    gap: 1rem;
  }
  
  .industry-content {
    padding: 1.5rem;
  }
}

@media (max-width: 768px) {
  .feature-grid, .agents-grid, .features-grid {
    grid-template-columns: 1fr;
  }
  
  .step-card {
    flex-direction: column;
  }
  
  .step-number {
    margin-bottom: 1rem;
  }
}

@media (max-width: 576px) {
  .tab-buttons {
    flex-direction: column;
  }
  
  .tab-button {
    width: 100%;
  }
  
  .solution-grid, .results-grid {
    grid-template-columns: 1fr;
  }
}