/* ── Zero State (Hero) ──────────────────────── */
.zero-state {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  animation: fadeIn 0.4s ease;
}

.hero-content {
  max-width: 600px;
  width: 100%;
}

.hero-content h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.subtitle {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 32px;
}

.hero-input-container {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 6px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all var(--transition);
  display: flex;
  align-items: center;
}

.hero-input-container:hover,
.hero-input-container:focus-within {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
  border-color: var(--primary);
}

.hero-input-container input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--text);
}

.hero-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-left: 8px;
  cursor: pointer;
  transition: transform var(--transition);
}

.hero-icon:hover {
  transform: translateX(2px);
}

.suggestion-chips-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-chip {
  padding: 8px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 13px;
  color: var(--text);
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.hero-chip:hover {
  background: var(--chip-bg);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

.hero-chip.loading {
  pointer-events: none;
  opacity: 0.6;
}

/* ── Hero Loading Transition ────────────────── */
.zero-state.loading .hero-content h1,
.zero-state.loading .subtitle,
.zero-state.loading .hero-input-container,
.zero-state.loading .suggestion-chips-row {
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.zero-state.loading .hero-loading {
  display: flex;
}

.hero-loading {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  animation: fadeIn 0.4s ease;
}

.hero-loading-dots {
  display: flex;
  gap: 6px;
}

.hero-loading-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  animation: heroPulse 1.4s ease-in-out infinite;
}

.hero-loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.hero-loading-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes heroPulse {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

.hero-loading-text {
  font-size: 16px;
  color: var(--text-light);
}

/* Helper utility */
.hidden {
  display: none !important;
}
