/* n8n Specific Styles */

/* n8n Workflow Animation */
.n8n-workflow {
  width: 384px;
  height: 384px;
  background: linear-gradient(135deg, #7c3aed, #3b82f6);
  border-radius: 12px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.workflow-container {
  background-color: white;
  border-radius: 12px;
  padding: 32px;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.workflow-icon {
  color: #7c3aed;
  font-size: 64px;
  margin-bottom: 16px;
}

.workflow-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 8px;
}

.workflow-desc {
  color: #6b7280;
  margin-bottom: 24px;
}

.workflow-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.dot-1 {
  background-color: #22c55e;
  animation-delay: 0s;
}

.dot-2 {
  background-color: #3b82f6;
  animation-delay: 0.3s;
}

.dot-3 {
  background-color: #7c3aed;
  animation-delay: 0.6s;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

/* What is n8n Section */
.what-is-n8n {
  background-color: white;
}

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

.feature-card {
  text-align: center;
  padding: 32px 24px;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
  background-color: white;
}

.feature-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  color: #f97316;
  font-size: 48px;
  margin-bottom: 16px;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 12px;
}

.feature-desc {
  color: #6b7280;
  line-height: 1.6;
}

/* Use Cases Section */
.use-cases {
  background-color: #f8fafc;
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.use-case-card {
  text-align: center;
  padding: 32px 24px;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
  background-color: white;
}

.use-case-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.use-case-icon {
  font-size: 4rem;
  margin-bottom: 16px;
}

.use-case-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 12px;
}

.use-case-desc {
  color: #6b7280;
  line-height: 1.6;
}

/* Responsive adjustments for n8n page */
@media (max-width: 1024px) {
  .n8n-workflow {
    width: 300px;
    height: 300px;
  }
}

@media (max-width: 768px) {
  .n8n-workflow {
    width: 250px;
    height: 250px;
  }

  .workflow-icon {
    font-size: 48px;
  }

  .workflow-title {
    font-size: 1.25rem;
  }
}
