/* ───── HERO ───── */
.hero { min-height: 100vh; }
.hero-bg {
  background: radial-gradient(ellipse 50% 50% at 80% 40%, rgba(37, 211, 102, 0.06), transparent 70%), radial-gradient(ellipse 60% 50% at 20% 100%, rgba(255,255,255,0.03), transparent 70%);
}
.hero p.lead { max-width: 580px; }

/* Chat mockup */
.chat-mock {
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
}
.chat-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
}
.chat-head strong { display: block; font-size: 15px; font-weight: 500; }
.chat-head span { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-muted); }
.chat-head span i { width: 6px; height: 6px; border-radius: 50%; background: #25d366; }
.chat-time { margin-left: auto; font-family: var(--font-mono); font-size: 12px; color: var(--text-dim); }
.chat-body { display: flex; flex-direction: column; gap: 10px; padding: 24px 20px; }
.bubble {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.5;
}
.bubble.in { align-self: flex-start; background: var(--bg-card); border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.bubble.out { align-self: flex-end; background: #1f3d2b; color: #e8f5ec; border-bottom-right-radius: 4px; }
.bubble.typing { display: flex; gap: 4px; padding: 14px 16px; }
.bubble.typing i { width: 6px; height: 6px; border-radius: 50%; background: #9fd8b4; animation: typing 1.2s infinite; }
.bubble.typing i:nth-child(2) { animation-delay: 0.2s; }
.bubble.typing i:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing { 0%, 60%, 100% { opacity: 0.3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }

/* ───── DIFERENCIAIS ───── */
.features-grid.compact { grid-template-columns: repeat(4, 1fr); }
.features-grid.compact .feature { padding: 32px 28px; }
.features-grid.compact .feature p { margin-bottom: 0; }
@media (max-width: 1100px) { .features-grid.compact { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features-grid.compact { grid-template-columns: 1fr; } }

/* ───── REDUCED MOTION ───── */
@media (prefers-reduced-motion: reduce) {
  .bubble.typing i { animation: none; }
}
