* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.aniSect {
  background: linear-gradient(180deg, #090d32 0%, #0a2447 51.12%, #2a0428 100%);
  min-height: 100vh;
  color: #fff;
  overflow-x: hidden;
  margin-top: -85px;
}

canvas {
  position: absolute;
  top: 70%;
  transform: translateY(-50%);
}

.top-bar {
  padding: 0.75rem 0;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.top-bar a {
  color: #fff;
  text-decoration: none;
  margin: 0 0.5rem;
  font-weight: 500;
}

.top-bar a:hover {
  text-decoration: underline;
}

.home-icon {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.home-icon:hover {
  background: rgba(255, 255, 255, 0.15);
}

.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.greeting {
  font-size: 2.5rem;
  font-weight: 400;
  margin-bottom: 3rem;
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: start;
  justify-content: start;
  gap: 0.75rem;
  padding: 0 0 0 16rem;
}

.greeting-icon {
  font-size: 2rem;
}

.input-wrapper {
  position: relative;
  margin-bottom: 1.5rem;
  width: 100%;
  padding: 1.25rem 1.5rem;
  font-size: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: all 0.3s ease;
  resize: none;
  min-height: 120px;
}

.chat-input {
  width: 100%;
  font-size: 1rem;
  border: none;
  background: rgba(255, 255, 255, 0);
  color: #fff;
  transition: all 0.3s ease;
  resize: none;
  min-height: 120px;
}

/* .chat-input:focus {
            background: rgba(255, 255, 255, 0.12);
            border-color: rgba(255, 255, 255, 0.3);
            outline: none;
        } */

.chat-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.input-controls {
  /* display: flex;
            align-items: end;
            justify-content: end;
            margin-top: 0.75rem;
            padding: 0 0.5rem; */
}

textarea:focus-visible {
  outline: 0;
}

.control-buttons {
  display: flex;
  gap: 0.5rem;
}

.control-btn {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: rgba(255, 255, 255, 0.7);
}

.control-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.model-selector {
  display: flex;
  /* align-items: center; */
  gap: 0.5rem;
  justify-: space-between;
  justify-content: space-between;
}

.model-dropdown {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 0.3rem 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  cursor: pointer;
  line-height: 1.6;
  transition: all 0.3s ease;
}

.model-dropdown:hover {
  background: rgba(255, 255, 255, 0.15);
}

.send-btn {
  width: 36px;
  height: 36px;
  background-image: linear-gradient(45deg, #0065d3, #641be1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #fff;
}

.send-btn:hover {
  background-image: linear-gradient(-90deg, #0065d3, #641be1);
  transform: translateY(-2px);
}

.suggestion-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2rem;
}

.chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.75rem 1.25rem;
  border-radius: 24px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.chip:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.chip i {
  font-size: 1rem;
}

@media (max-width: 768px) {
  .greeting {
    font-size: 1.75rem;
  }

  .chat-input {
    min-height: 100px;
  }

  .suggestion-chips {
    flex-direction: column;
  }

  .chip {
    width: 100%;
    justify-content: center;
  }
}

#wave-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  /* z-index: -1; */
  /* behind chat UI */
}

.hero-section {
  position: relative;
  z-index: 1;
  /* above waves */
}

#wave-container canvas {
  width: 100% !important;
  height: 100% !important;
}

/* Chat Window Styles */
.chat-window {
  display: block;
  opacity: 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 10;
  transform: translateY(100%);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-x: hidden;
  overflow-y: auto;
}

.chat-window.active {
  background: linear-gradient(
    180deg,
    #090d32 0%,
    #0a2447 51.12%,
    #2a0428 100%
  ) !important;
  opacity: 1;
  transform: translateY(0);
}

/* Make sure header stays on top */
header {
  position: relative;
  z-index: 1001 !important;
}

.hero-section {
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.hero-section.hiding {
  opacity: 0;
  transform: scale(0.95);
}

/* responsive */
.chatframe {
  position: absolute;
  top: 56px;
  left: 0;
  width: 100%;
  height: 94vh;
  border: 0;
  border-radius: 12px;
}

@media screen and (min-width: 320px) and (max-width: 767px) {
  /* .navbarBg.scrolled img {
         width: 180px;
         top: 4px;
     } */

  .chatframe {
    top: 50px;
    height: 90vh;
  }

  .greeting {
    margin-bottom: 0rem;
    padding: 0px 0px 0px 1rem;
    font-size: 1.5rem;
  }
}

/* @media (device-width: 393px) and (device-height: 852px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait) {
  .chatframe {
    height: 85vh;
  }
}


@media (device-width: 430px) and (device-height: 932px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait) {
  .chatframe {
    height: 80vh;
  }
} */
