/* ERP Selection Guide Specific Styles */

/* Key Takeaways */
.key-takeaways {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 2rem;
  border-radius: 10px;
  margin: 2rem 0;
}

.key-takeaways h3 {
  color: white;
  margin-bottom: 1rem;
}

.key-takeaways ul {
  list-style: none;
  padding: 0;
}

.key-takeaways li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.key-takeaways li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #4ade80;
}

/* Business Case Grid */
.business-case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.case-card {
  background: #f8fafc;
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid #3b82f6;
}

.case-icon {
  font-size: 2rem;
  color: #3b82f6;
  margin-bottom: 1rem;
}

.case-card h3 {
  color: #1e293b;
  margin-bottom: 1rem;
}

.case-card ul {
  list-style: none;
  padding: 0;
}

.case-card li {
  padding: 0.3rem 0;
  position: relative;
  padding-left: 1.2rem;
}

.case-card li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #3b82f6;
}

/* Requirements Table */
.requirements-table {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.req-category {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  border: 1px solid #e2e8f0;
}

.req-category h3 {
  color: #1e293b;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.req-category ul {
  list-style: none;
  padding: 0;
}

.req-category li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.req-category li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: bold;
}

/* Vendor Categories */
.vendor-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.vendor-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.vendor-card:hover {
  transform: translateY(-5px);
}

.vendor-header {
  padding: 1.5rem;
  color: white;
}

.vendor-card.tier-1 .vendor-header { background: linear-gradient(135deg, #ff6b6b, #ee5a24); }
.vendor-card.tier-2 .vendor-header { background: linear-gradient(135deg, #48dbfb, #0abde3); }
.vendor-card.tier-3 .vendor-header { background: linear-gradient(135deg, #1dd1a1, #10ac84); }
.vendor-card.tier-4 .vendor-header { background: linear-gradient(135deg, #f368e0, #ff9ff3); }

.vendor-header h3 {
  margin: 0 0 0.5rem 0;
  color: white;
}

.vendor-type {
  font-size: 0.8rem;
  opacity: 0.9;
}

.vendor-body {
  padding: 1.5rem;
}

.vendor-body ul {
  list-style: none;
  padding: 0;
}

.vendor-body li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #f1f3f4;
}

.vendor-body li:last-child {
  border-bottom: none;
}

/* Scoring Matrix */
.scoring-matrix {
  overflow-x: auto;
  margin: 2rem 0;
}

.matrix-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.matrix-table th,
.matrix-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}

.matrix-table th {
  background: #3b82f6;
  color: white;
  font-weight: 600;
}

.matrix-table tr:nth-child(even) {
  background: #f8fafc;
}

/* Interactive Matrix */
.interactive-matrix {
  background: #f8fafc;
  padding: 2rem;
  border-radius: 8px;
  margin: 2rem 0;
}

.vendor-inputs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.vendor-input label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.vendor-input input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: 1rem;
}

.results-container {
  margin-top: 2rem;
  display: none;
}

.results-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 8px;
  overflow: hidden;
}

.results-table th,
.results-table td {
  padding: 1rem;
  text-align: left;
  border: 1px solid #e2e8f0;
}

.results-table th {
  background: #3b82f6;
  color: white;
}

/* AI Use Cases */
.ai-use-cases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.ai-card {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  border-left: 4px solid #8b5cf6;
}

.ai-icon {
  font-size: 2rem;
  color: #8b5cf6;
  margin-bottom: 1rem;
}

.ai-prompt {
  background: #f1f5f9;
  padding: 1rem;
  border-radius: 4px;
  margin-top: 1rem;
  font-size: 0.9rem;
  border-left: 3px solid #8b5cf6;
}

.advanced-ai-prompt {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 2rem;
  border-radius: 10px;
  margin: 2rem 0;
}

.prompt-box {
  background: rgba(255,255,255,0.1);
  padding: 1.5rem;
  border-radius: 8px;
  margin: 1rem 0;
}

.btn-copy {
  background: white;
  color: #667eea;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 1rem;
  font-weight: 600;
}

/* Checklist */
.checklist-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.checklist-column h3 {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checklist-items {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.checklist-item {
  display: flex;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f1f3f4;
}

.checklist-item:last-child {
  border-bottom: none;
}

.checklist-item input {
  margin-right: 1rem;
}

.checklist-item.must-have label {
  color: #dc2626;
  font-weight: 600;
}

.checklist-item.nice-have label {
  color: #059669;
}

/* Timeline */
.timeline {
  position: relative;
  margin: 2rem 0;
}

.timeline:before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #3b82f6;
}

.timeline-phase {
  display: flex;
  margin-bottom: 2rem;
  position: relative;
}

.phase-number {
  width: 60px;
  height: 60px;
  background: #3b82f6;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin-right: 2rem;
  z-index: 2;
}

.phase-content {
  flex: 1;
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Tips Container */
.tips-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.tips-column h3 {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tip-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  padding: 1rem;
  border-radius: 8px;
}

.tip-item.positive {
  background: #f0fdf4;
  border-left: 4px solid #10b981;
}

.tip-item.negative {
  background: #fef2f2;
  border-left: 4px solid #ef4444;
}

.tip-item i {
  margin-right: 1rem;
  margin-top: 0.2rem;
}

.tip-item.positive i {
  color: #10b981;
}

.tip-item.negative i {
  color: #ef4444;
}

/* FAQ */
.faq-container {
  margin: 2rem 0;
}

.faq-item {
  margin-bottom: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  background: #f8fafc;
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:after {
  content: '+';
  font-size: 1.5rem;
}

.faq-question.active:after {
  content: '-';
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
  padding: 1.5rem;
  max-height: 500px;
}

/* Action Steps */
.action-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.action-card {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.action-number {
  width: 50px;
  height: 50px;
  background: #3b82f6;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: bold;
  margin: 0 auto 1rem;
}

.expert-final-note {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
  padding: 2rem;
  border-radius: 10px;
  margin: 2rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .business-case-grid,
  .requirements-table,
  .vendor-categories,
  .ai-use-cases,
  .checklist-container,
  .tips-container,
  .action-steps {
    grid-template-columns: 1fr;
  }
  
  .timeline:before {
    left: 25px;
  }
  
  .phase-number {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    margin-right: 1rem;
  }
  
  .vendor-inputs {
    grid-template-columns: 1fr;
  }
  
  .key-takeaways,
  .advanced-ai-prompt,
  .expert-final-note {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .case-card,
  .req-category,
  .ai-card,
  .phase-content {
    padding: 1rem;
  }
  
  .timeline:before {
    left: 20px;
  }
  
  .phase-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}