/* ============================================
   HERO CHAT — MINIMALIST LUXURY
   Stilles, präzises Objekt. Keine Effekt-Spielereien.
   Subtile Tiefe, perfekte Typografie, eine einzige
   leise Lichtreflexion oben.
   ============================================ */

/* ===== Frame ===== */
.hero-chat {
  position: relative;
  isolation: isolate;
  overflow: visible !important;
}

/* Single soft halo behind the chat — barely visible */
.hero-chat::before {
  content: '';
  position: absolute;
  inset: -40px;
  z-index: -2;
  border-radius: 40px;
  background: radial-gradient(
    50% 50% at 50% 50%,
    rgba(212, 151, 111, 0.10),
    transparent 70%);
  filter: blur(28px);
  pointer-events: none;
}

/* ===== Input wrapper — minimalist precision ===== */
.hero-chat__input-wrap {
  position: relative;
  background: rgba(14, 11, 9, 0.78) !important;
  border: 1px solid rgba(212, 151, 111, 0.14) !important;
  border-radius: 18px !important;
  padding: 1.1rem 1.1rem 1.1rem 1.4rem !important;
  box-shadow:
    0 32px 80px -32px rgba(0, 0, 0, 0.7),
    0 8px 24px -12px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  overflow: hidden;
  transition: border-color 0.4s ease, box-shadow 0.4s ease !important;
}

/* Top hairline highlight — single edge of light */
.hero-chat__input-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 18%;
  right: 18%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(232, 201, 168, 0.4),
    transparent);
  pointer-events: none;
  z-index: 1;
}

/* Kill any prior conic border */
.hero-chat__input-wrap::after {
  display: none !important;
  content: none !important;
}

.hero-chat__input-wrap:focus-within {
  border-color: rgba(212, 151, 111, 0.32) !important;
  box-shadow:
    0 36px 96px -32px rgba(0, 0, 0, 0.8),
    0 12px 32px -12px rgba(184, 126, 95, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}

/* ===== Sparkle icon — clean, no animation ===== */
.hero-chat__icon {
  color: rgba(232, 201, 168, 0.85) !important;
  filter: none !important;
  animation: none !important;
}

/* ===== Input field ===== */
.hero-chat__input {
  font-family: var(--font-body, system-ui, sans-serif) !important;
  font-size: 1rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.005em !important;
  color: rgba(250, 250, 250, 0.92) !important;
  caret-color: rgba(232, 201, 168, 0.9);
}

.hero-chat__input::placeholder {
  color: rgba(250, 250, 250, 0.38) !important;
  font-weight: 400 !important;
}

/* ===== Send button — refined, minimal ===== */
.hero-chat__send {
  width: 40px !important;
  height: 40px !important;
  border-radius: 12px !important;
  background: linear-gradient(
    180deg,
    rgba(232, 201, 168, 1) 0%,
    rgba(184, 126, 95, 1) 100%) !important;
  border: none !important;
  box-shadow:
    0 4px 12px -2px rgba(184, 126, 95, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.3s ease !important;
  position: relative;
  z-index: 2;
}

.hero-chat__send::after {
  display: none !important;
  content: none !important;
}

.hero-chat__send:hover {
  transform: translateY(-1px) !important;
  filter: none !important;
  box-shadow:
    0 6px 18px -2px rgba(184, 126, 95, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

.hero-chat__send:active {
  transform: translateY(0) !important;
}

.hero-chat__send svg {
  width: 16px !important;
  height: 16px !important;
  color: #14100c !important;
  stroke-width: 2.4 !important;
}

/* ===== Chips — minimalist ===== */
.hero-chat__chips {
  margin-top: 0.85rem !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 0.35rem !important;
  padding: 0 0.2rem;
  justify-content: center;
  width: 100%;
}

.hero-chat__chip {
  position: relative;
  display: inline-flex !important;
  align-items: center !important;
  padding: 0.35rem 0.65rem !important;
  background: transparent !important;
  border: 1px solid rgba(212, 151, 111, 0.16) !important;
  border-radius: 100px !important;
  color: rgba(250, 250, 250, 0.65) !important;
  font-family: var(--font-body, system-ui, sans-serif) !important;
  font-size: 0.68rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.01em !important;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1) !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  flex: 1 1 0 !important;
  justify-content: center !important;
  min-width: 0 !important;
}

/* Remove dot prefix */
.hero-chat__chip::before {
  display: none !important;
  content: none !important;
}

.hero-chat__chip:hover {
  border-color: rgba(212, 151, 111, 0.4) !important;
  background: rgba(20, 16, 13, 0.5) !important;
  color: rgba(250, 250, 250, 0.95) !important;
  transform: none !important;
  box-shadow: none !important;
}

.hero-chat__chip::after {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(232, 201, 168, 0.12),
    transparent
  ) !important;
}

/* ===== Responsive ===== */
@media (max-width: 767px) {
  .hero-chat__input-wrap {
    padding: 0.95rem 0.95rem 0.95rem 1.1rem !important;
    border-radius: 16px !important;
  }
  .hero-chat__send {
    width: 40px !important;
    height: 40px !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 50% !important;
  }
  /* Suggestion-Chips auf Mobile ausblenden – Hero wirkt edler/luftiger.
     Markup bleibt für Tablet/Desktop erhalten. */
  .hero-chat__chips {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-chat__icon { animation: none !important; }
}
