/**
 * @file
 * AI Features Section Styles
 * Interactive demo of AI tools
 */

.dobig-ai-features {
  background: linear-gradient(135deg, #1a1a2e 0%, #0f0f0f 100%);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.dobig-ai-features::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.08), transparent 70%);
  pointer-events: none;
}

.dobig-ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 968px) {
  .dobig-ai-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.dobig-ai-content h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1.5rem;
}

.dobig-ai-content p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
}

.dobig-ai-list {
  list-style: none;
  margin-bottom: 2rem;
}

.dobig-ai-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  color: rgba(255, 255, 255, 0.8);
}

.dobig-ai-list li i {
  color: #F97316;
  font-size: 1.25rem;
}

/* AI Demo Box */
.dobig-ai-demo {
  background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
  border-radius: 24px;
  padding: 2rem;
  border: 1px solid rgba(249, 115, 22, 0.2);
  position: relative;
}

.dobig-ai-demo-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dobig-ai-demo-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dobig-ai-demo-dot.red { background-color: #ef4444; }
.dobig-ai-demo-dot.yellow { background-color: #f59e0b; }
.dobig-ai-demo-dot.green { background-color: #10b981; }

.dobig-ai-demo-title {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  margin-left: auto;
}

.dobig-ai-chat {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.dobig-ai-message {
  display: flex;
  gap: 1rem;
  animation: fade-in-up 0.5s ease;
}

.dobig-ai-message.bot {
  align-self: flex-start;
}

.dobig-ai-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F97316, #EA580C);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  flex-shrink: 0;
}

.dobig-ai-bubble {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 1rem 1.25rem;
  border-radius: 16px;
  border-top-left-radius: 4px;
  max-width: 280px;
}

.dobig-ai-bubble p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.dobig-ai-demo-input {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.dobig-ai-demo-input input {
  flex: 1;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: white;
  font-size: 0.9rem;
}

.dobig-ai-demo-input input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.dobig-ai-demo-input button {
  background-color: #F97316;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 0.75rem 1.25rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.dobig-ai-demo-input button:hover {
  background-color: #EA580C;
}

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