/* Fitness Coaching AI Tools Specific Styles */

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 50%, #8B5CF6 100%);
  color: white;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

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

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

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

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

.hero-meta {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
  opacity: 0.9;
}

.hero-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Quick Comparison Table */
.quick-comparison {
  padding: 60px 0;
  background: #f8fafc;
}

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

.comparison-table-wrapper {
  overflow-x: auto;
  margin: 0 -20px;
  padding: 0 20px;
}

.comparison-table {
  width: 100%;
  min-width: 800px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

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

.comparison-table th {
  background: #4F46E5;
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
}

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

.tool-cell {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.tool-cell img {
  border-radius: 6px;
}

/* Introduction Section */
.introduction {
  padding: 60px 0;
  background: white;
}

.intro-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #4a5568;
}

.intro-content p {
  margin-bottom: 1.5rem;
}

/* Tools List */
.tools-list {
  padding: 60px 0;
  background: #f8fafc;
}

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

.tool-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  margin-bottom: 3rem;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tool-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.tool-header {
  display: flex;
  align-items: center;
  padding: 2rem;
  border-bottom: 1px solid #e2e8f0;
  gap: 1.5rem;
}

.tool-logo img {
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tool-info {
  flex: 1;
}

.tool-info h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 0.5rem;
}

.tool-tagline {
  color: #4F46E5;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.tool-rating {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.stars {
  font-size: 1.1rem;
}

.rating-text {
  color: #718096;
  font-size: 0.9rem;
}

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

.price {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #4F46E5;
}

.price-note {
  font-size: 0.85rem;
  color: #718096;
}

.tool-content {
  padding: 2rem;
}

.tool-description {
  margin-bottom: 2rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #4a5568;
}

.tool-features {
  margin-bottom: 2rem;
}

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

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

.tool-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #f1f5f9;
}

.tool-features li:last-child {
  border-bottom: none;
}

.tool-features strong {
  color: #4F46E5;
}

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

.pros, .cons {
  background: #f8fafc;
  padding: 1.5rem;
  border-radius: 12px;
}

.pros h4 {
  color: #059669;
  margin-bottom: 1rem;
}

.cons h4 {
  color: #dc2626;
  margin-bottom: 1rem;
}

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

.pros li, .cons li {
  padding: 0.25rem 0;
  font-size: 0.95rem;
}

.tool-use-cases {
  margin-bottom: 2rem;
}

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

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

.tool-use-cases li {
  padding: 0.5rem 0;
  color: #4a5568;
}

.tool-use-cases li::before {
  content: '💪';
  margin-right: 0.5rem;
}

.tool-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

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

.cta-button.primary {
  background: #4F46E5;
  color: white;
}

.cta-button.primary:hover {
  background: #4338CA;
  transform: translateY(-2px);
}

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

.cta-button.secondary:hover {
  background: #cbd5e0;
  transform: translateY(-2px);
}

/* How to Choose Section */
.how-to-choose {
  padding: 60px 0;
  background: white;
}

.how-to-choose h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  color: #1a202c;
}

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

.factor {
  background: #f8fafc;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
}

.factor h3 {
  color: #4F46E5;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.factor i {
  font-size: 2rem;
  margin-right: 0.5rem;
}

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

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

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

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

.faq-question {
  width: 100%;
  padding: 1.5rem;
  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: background-color 0.3s ease;
}

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

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

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

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.5rem;
  max-height: 500px;
}

.faq-answer p {
  color: #4a5568;
  line-height: 1.7;
}

/* Conclusion Section */
.conclusion {
  padding: 60px 0;
  background: white;
}

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

.conclusion-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #4a5568;
}

.conclusion-content p {
  margin-bottom: 1.5rem;
}

.cta-section {
  background: #4F46E5;
  color: white;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  margin-top: 2rem;
}

.cta-section h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-description {
    font-size: 1.1rem;
  }
  
  .hero-meta {
    gap: 1rem;
    font-size: 0.9rem;
  }
  
  .tool-header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .tool-pricing {
    text-align: center;
  }
  
  .tool-pros-cons {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .choice-factors {
    grid-template-columns: 1fr;
  }
  
  .faq-container {
    width: 100%;
  }
}
