/* Food Industry AI Tools Specific Styles */

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: white;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="food-pattern" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/><path d="M5,5 Q10,2 15,5 Q10,8 5,5" stroke="rgba(255,255,255,0.05)" stroke-width="0.5" fill="none"/></pattern></defs><rect width="100" height="100" fill="url(%23food-pattern)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-description {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  line-height: 1.6;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin: 3rem 0;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: #fbbf24;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-top: 0.5rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.cta-button.primary {
  background: #fbbf24;
  color: #1f2937;
}

.cta-button.primary:hover {
  background: #f59e0b;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(251, 191, 36, 0.3);
}

.cta-button.secondary {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
}

.cta-button.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Quick Summary */
.quick-summary {
  padding: 80px 0;
  background: #f8fafc;
}

.summary-content h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #1a202c;
}

.summary-content > p {
  text-align: center;
  font-size: 1.1rem;
  color: #4a5568;
  max-width: 600px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

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

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

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

.summary-item i {
  font-size: 3rem;
  color: #059669;
  margin-bottom: 1rem;
}

.summary-item h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #1a202c;
}

.summary-item p {
  color: #4a5568;
  line-height: 1.6;
}

/* Tools Section */
.tools-section {
  padding: 80px 0;
}

.tools-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #1a202c;
}

.section-intro {
  text-align: center;
  font-size: 1.1rem;
  color: #4a5568;
  max-width: 600px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

/* Tool Cards */
.tool-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
}

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

.tool-card.featured {
  border: 2px solid #059669;
  position: relative;
}

.tool-card.featured::before {
  content: 'FEATURED';
  position: absolute;
  top: -10px;
  left: 30px;
  background: #059669;
  color: white;
  padding: 5px 15px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
}

.tool-header {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.tool-logo img {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  object-fit: contain;
  background: #f7fafc;
  padding: 8px;
}

.tool-title {
  flex: 1;
}

.tool-title h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #1a202c;
}

.tool-subtitle {
  color: #4a5568;
  font-size: 1rem;
  margin: 0;
}

.tool-rating {
  text-align: right;
}

.stars {
  color: #fbbf24;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.rating-score {
  font-size: 0.9rem;
  color: #4a5568;
  font-weight: 600;
}

.tool-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: start;
}

.tool-description p {
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.tool-features {
  margin: 1.5rem 0;
}

.tool-features h4 {
  color: #1a202c;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.tool-features ul {
  list-style: none;
  padding: 0;
}

.tool-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: #4a5568;
  line-height: 1.5;
}

.tool-features li i {
  color: #10b981;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.tool-pricing {
  margin: 1.5rem 0;
  padding: 1rem;
  background: #f7fafc;
  border-radius: 10px;
}

.tool-pricing h4 {
  color: #1a202c;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.tool-pricing p {
  margin: 0;
  color: #4a5568;
}

.tool-use-cases {
  margin: 1.5rem 0;
}

.tool-use-cases h4 {
  color: #1a202c;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.tool-use-cases p {
  margin: 0;
  color: #4a5568;
}

.tool-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 200px;
}

.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
}

.btn-primary {
  background: #059669;
  color: white;
}

.btn-primary:hover {
  background: #047857;
  transform: translateY(-2px);
}

.btn-secondary {
  background: #e2e8f0;
  color: #4a5568;
}

.btn-secondary:hover {
  background: #cbd5e0;
}

.tool-details {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.detail-section h5 {
  color: #1a202c;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.detail-section p {
  color: #4a5568;
  line-height: 1.5;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero-stats {
    gap: 2rem;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .tool-header {
    flex-direction: column;
    text-align: center;
  }
  
  .tool-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .tool-actions {
    min-width: auto;
  }
  
  .summary-grid {
    grid-template-columns: 1fr;
  }
}

/* Comparison Table */
.comparison-section {
  padding: 80px 0;
  background: #f8fafc;
}

.comparison-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #1a202c;
}

.comparison-table-wrapper {
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.comparison-table {
  width: 100%;
  background: white;
  border-collapse: collapse;
  min-width: 800px;
}

.comparison-table th,
.comparison-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}

.comparison-table th {
  background: #059669;
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.comparison-table td {
  color: #4a5568;
  vertical-align: top;
}

.comparison-table tr:hover {
  background: #f7fafc;
}

.comparison-table strong {
  color: #1a202c;
  font-weight: 600;
}

/* Share Module */
.share-module {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  margin-top: 3rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.share-module h3 {
  color: #1a202c;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.share-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
}

.share-btn.linkedin {
  background: #0077b5;
  color: white;
}

.share-btn.twitter {
  background: #1da1f2;
  color: white;
}

.share-btn.facebook {
  background: #1877f2;
  color: white;
}

.share-btn.email {
  background: #10b981;
  color: white;
}

.share-btn.copy {
  background: #6b7280;
  color: white;
}

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.faq-section {
  padding: 80px 0;
  background: #f8fafc;
}

.faq-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #1a202c;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: 15px;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.faq-question {
  width: 100%;
  padding: 1.5rem 2rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a202c;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: #f7fafc;
}

.faq-question i {
  transition: transform 0.3s ease;
  color: #059669;
}

.faq-question[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 2rem 1.5rem;
  color: #4a5568;
  line-height: 1.6;
  display: none;
}

.faq-answer.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .faq-container {
    width: 100%;
    padding: 0 1rem;
  }

  .share-buttons {
    flex-direction: column;
    align-items: center;
  }

  .share-btn {
    width: 200px;
    justify-content: center;
  }

  .comparison-table-wrapper {
    margin: 1rem -1rem;
  }
}
