:root {
  --bg: #008F39;
  --bg-bottom: #98D621;
  --text: #ffffff;
  --assistant: #ffffff;
  --user: #d9f7e4;
  --border: #ccefd8;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background: radial-gradient(
    100% 120% at 50% -20%, 
    var(--bg) 70%, 
    var(--bg-bottom) 100%
  );
  background-color: var(--bg-bottom);
  background-attachment: fixed;
  color: var(--text);
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.top-header {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 40px;
  border-bottom: none;
  background: transparent;
}

.top-header img {
  height: 68px;
  width: auto;
}

.top-header h2 {
  font-weight: 600;
  font-size: 18px;
}

.user .bubble {
  background: var(--user);
  color: #111;
}

.assistant .bubble {
  background: var(--assistant);
  border: 1px solid var(--border);
  color: #111;
}

.hero {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.5s ease;
  z-index: 1;
}

.hero.hide {
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
}

.hero h1 {
  font-size: 72px;
  font-weight: 700;
  text-align: center;
}

.hero p {
  text-align: center;
  opacity: 0.6;
  margin-top: 10px;
}

.hero-content {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo img {
  width: 500px;
  max-width: 80%;
  height: auto;
}

.chat-container {
  flex: 1;
  overflow-y: auto;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 900px;  
  width: 100%;
  margin: 0 auto;   
}

.message {
  display: flex;
  width: 100%;
}

.user {
  justify-content: flex-end;
}

.assistant {
  justify-content: flex-start;
}

.bubble {
  max-width: 650px;
  padding: 14px 18px;
  border-radius: 18px;
  line-height: 1.6;
  font-size: 15px;
  animation: fadeIn 0.2s ease;
}

.user .bubble {
  background: var(--user);
}

.assistant .bubble {
  background: var(--assistant);
  border: 1px solid var(--border);
}

.input-wrapper {
  padding: 20px;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 5;
  background: transparent;
}

.input-box {
  width: 90%;
  max-width: 850px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 24px;
  display: flex;
  align-items: center;
  padding: 10px 15px;
  gap: 10px;
}

textarea {
  flex: 1;
  border: none;
  resize: none;
  outline: none;
  font-size: 15px;
  background: transparent;
  color: #111;
  max-height: 150px;
  line-height: 1.5;
  padding-top: 2px;
}

textarea::placeholder {
  color: #666;
}

button {
  border: none;
  background: #007a2d;
  color: white;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
}

.footer {
  text-align: center;
  padding: 10px;
  font-size: 13px;
  opacity: 0.7;
  background: transparent;
}

.footer strong {
  font-weight: 600;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 42px;
  }

  .bubble {
    max-width: 85%;
  }
}

.chat-container::-webkit-scrollbar {
  width: 0px;
  background: transparent;
}

.chat-container {
  scrollbar-width: none;
}

.chat-container {
  -ms-overflow-style: none;
}
