@charset "UTF-8";
@import"https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;500;600;700&display=swap";

.header {
  background: linear-gradient(135deg, #90b8c9, #b4d3dd);
  position: sticky;
  top: 0;
  z-index: 100
}

.header .header-container {
  box-sizing: border-box;
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center
}

.header .header-container .logo {
  display: flex;
  align-items: center
}

.header .header-container .logo img {
  height: 40px;
  margin-right: .5rem
}

.header .header-container .logo .logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f2f7fa;
  text-transform: uppercase
}

.header .header-container .logo .logo-text span {
  color: #d4e2e9
}

.header .header-container .nav-menu {
  display: flex;
  align-items: center
}

.header .header-container .nav-menu .nav-list {
  display: flex
}

.header .header-container .nav-menu .nav-list .nav-item {
  margin-right: 2rem
}

.header .header-container .nav-menu .nav-list .nav-item a {
  color: #4a6e7c;
  font-weight: 600;
  transition: color .2s;
  position: relative;
  padding-bottom: 5px;
  display: flex;
  gap: .4rem
}

.header .header-container .nav-menu .nav-list .nav-item a:hover,
.header .header-container .nav-menu .nav-list .nav-item a.active {
  color: #395766
}

.header .header-container .nav-menu .nav-list .nav-item a:hover:after,
.header .header-container .nav-menu .nav-list .nav-item a.active:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #7a9faa;
  border-radius: 1px
}

.header .header-container .nav-menu .nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 30px;
  height: 30px;
  cursor: pointer;
  position: relative
}

.header .header-container .nav-menu .nav-toggle span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: #4a6e7c;
  border-radius: 3px;
  transition: all .3s ease
}

.header .header-container .nav-menu .nav-toggle span:nth-child(1) {
  top: 6px
}

.header .header-container .nav-menu .nav-toggle span:nth-child(2) {
  top: 14px
}

.header .header-container .nav-menu .nav-toggle span:nth-child(3) {
  top: 22px
}

.header .header-container .nav-menu .nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 14px
}

.header .header-container .nav-menu .nav-toggle.active span:nth-child(2) {
  opacity: 0
}

.header .header-container .nav-menu .nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 14px
}

@media screen and (max-width: 768px) {
  .header .header-container .nav-menu .nav-list {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #90b8c9, #b4d3dd);
    flex-direction: column;
    padding: 1rem 0;
    box-shadow: 0 5px 10px #0000001a;
    transform: translateY(-150%);
    transition: transform .3s ease
  }

  .header .header-container .nav-menu .nav-list.active {
    transform: translateY(0)
  }

  .header .header-container .nav-menu .nav-list .nav-item {
    margin: 0;
    width: 100%;
    text-align: center
  }

  .header .header-container .nav-menu .nav-list .nav-item a {
    display: block;
    padding: 1rem;
    color: #4a6e7c;
    display: flex;
    gap: .4rem
  }

  .header .header-container .nav-menu .nav-list .nav-item a:hover,
  .header .header-container .nav-menu .nav-list .nav-item a.active {
    color: #395766
  }

  .header .header-container .nav-menu .nav-list .nav-item a:hover:after,
  .header .header-container .nav-menu .nav-list .nav-item a.active:after {
    display: none
  }

  .header .header-container .nav-menu .nav-toggle {
    display: block
  }
}

.footer {
  background: linear-gradient(135deg, #90b8c9, #b4d3dd);
  color: #fff;
  padding: 3rem 0 2rem
}

.footer .footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem
}

.footer .footer-container .footer-top {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem
}

.footer .footer-container .footer-top .footer-about {
  display: flex;
  flex-direction: column;
  justify-content: space-between
}

.footer .footer-container .footer-top .footer-about .logo {
  display: flex;
  align-items: center;
  justify-content: center
}

.footer .footer-container .footer-top .footer-about .logo img {
  height: 40px;
  margin-right: .5rem
}

.footer .footer-container .footer-top .footer-about .logo .logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase
}

.footer .footer-container .footer-top .footer-about .logo .logo-text span {
  color: #d4e2e9
}

.footer .footer-container .footer-top .footer-about p,
.footer .footer-container .footer-top .footer-about h2 {
  color: #4a6e7c;
  line-height: 1.6;
  font-size: 1.05rem;
  padding: 1rem 0;
  text-align: center
}

.footer .footer-container .footer-top .footer-about .social-links {
  display: flex;
  justify-content: center;
  gap: 1.2rem
}

.footer .footer-container .footer-top .footer-about .social-links a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #d4e2e9;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s ease
}

.footer .footer-container .footer-top .footer-about .social-links a:hover {
  background: #395766;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px #0003
}

.footer .footer-container .footer-top .footer-about .social-links a svg {
  width: 22px;
  height: 22px;
  fill: #fff
}

.footer .footer-container .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-top: 1.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center
}

.footer .footer-container .footer-bottom .copyright {
  color: #4a6e7c;
  font-size: .95rem
}

.footer .footer-container .footer-bottom .bottom-links {
  display: flex;
  gap: 2rem
}

.footer .footer-container .footer-bottom .bottom-links a {
  color: #4a6e7c;
  font-size: .95rem;
  transition: color .2s;
  position: relative
}

.footer .footer-container .footer-bottom .bottom-links a:after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: #7a9faa;
  transition: width .3s ease
}

.footer .footer-container .footer-bottom .bottom-links a:hover {
  color: #395766
}

.footer .footer-container .footer-bottom .bottom-links a:hover:after {
  width: 100%
}

@media screen and (max-width: 768px) {
  .footer .footer-container .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem
  }

  .footer .footer-container .footer-top .footer-about p,
  .footer .footer-container .footer-top .footer-about h2 {
    max-width: 100%
  }

  .footer .footer-container .footer-top .footer-about .social-links {
    justify-content: center;
    margin-top: 1.5rem
  }

  .footer .footer-container .footer-top .footer-nav {
    text-align: center
  }

  .footer .footer-container .footer-top .footer-nav h4:after {
    left: 50%;
    transform: translate(-50%)
  }

  .footer .footer-container .footer-top .footer-nav ul li a:hover {
    transform: none
  }

  .footer .footer-container .footer-bottom {
    flex-direction: column;
    gap: 1.2rem;
    text-align: center
  }

  .footer .footer-container .footer-bottom .copyright {
    margin-bottom: .5rem
  }

  .footer .footer-container .footer-bottom .bottom-links {
    justify-content: center
  }
}

@media screen and (max-width: 480px) {
  .footer {
    padding: 2.5rem 0 1.5rem
  }

  .footer .footer-container .footer-top {
    gap: 2rem
  }

  .footer .footer-container .bottom-links {
    gap: 1rem
  }
}

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%
}

body {
  margin: 0
}

main {
  display: block
}

h1 {
  font-size: 2em;
  margin: .67em 0
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible
}

pre {
  font-family: monospace, monospace;
  font-size: 1em
}

a {
  background-color: transparent
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted
}

b,
strong {
  font-weight: bolder
}

code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em
}

small {
  font-size: 80%
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline
}

sub {
  bottom: -.25em
}

sup {
  top: -.5em
}

img {
  border-style: none
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0
}

button,
input {
  overflow: visible
}

button,
select {
  text-transform: none
}

button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button
}

button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0
}

button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText
}

fieldset {
  padding: .35em .75em .625em
}

legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal
}

progress {
  vertical-align: baseline
}

textarea {
  overflow: auto
}

[type=checkbox],
[type=radio] {
  box-sizing: border-box;
  padding: 0
}

[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto
}

[type=search] {
  -webkit-appearance: textfield;
  outline-offset: -2px
}

[type=search]::-webkit-search-decoration {
  -webkit-appearance: none
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit
}

details {
  display: block
}

summary {
  display: list-item
}

template {
  display: none
}

[hidden] {
  display: none
}

body,
h1,
h2,
h3,
h4,
ul,
li,
p {
  padding: 0;
  margin: 0
}

.ad-container {
  margin: 10px 0;
  text-align: center
}

ul,
li {
  list-style: none
}

a {
  text-decoration: none
}

img {
  vertical-align: top
}

html {
  font-size: 16px
}

@media screen and (max-width: 768px) {
  html {
    font-size: 14px
  }
}

[v-cloak] {
  display: none !important
}

body {
  font-family: PingFang SC, Microsoft YaHei, sans-serif;
  box-sizing: border-box;
  width: 100%;
  height: 100%
}

body::-webkit-scrollbar {
  width: 4px;
  height: 6px
}

body::-webkit-scrollbar-track {
  background: #333;
  border-radius: 2px
}

body::-webkit-scrollbar-thumb {
  background: #666;
  border-radius: 10px
}

body::-webkit-scrollbar-thumb:hover {
  background: #999
}

body #app {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100vh;
  box-sizing: border-box;
  background: #f2f7fa;
  overflow-y: auto
}

body #app::-webkit-scrollbar {
  display: none
}

.chat-assistant {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end
}

.chat-assistant .chat-button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4e2e9, #90b8c9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  box-shadow: 0 4px 20px #2d426340;
  cursor: pointer;
  position: relative;
  transition: all .3s cubic-bezier(.175, .885, .32, 1.275);
  z-index: 2;
  border: 2px solid rgba(255, 255, 255, .2)
}

.chat-assistant .chat-button:hover {
  transform: scale(1.05) translateY(-5px);
  box-shadow: 0 6px 25px #2d42634d
}

.chat-assistant .chat-button .pulse-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  animation: pulse 2s infinite;
  background: #d4e2e9;
  opacity: 0;
  z-index: -1
}

.chat-assistant .chat-message {
  background: #fff;
  padding: 15px 20px;
  border-radius: 12px;
  box-shadow: 0 5px 25px #0000001a;
  margin-bottom: 15px;
  max-width: 300px;
  position: relative;
  animation: fadeInUp .5s ease-out;
  border-left: 4px solid #d4e2e9
}

.chat-assistant .chat-message p {
  color: #5d656b;
  font-size: .95rem;
  line-height: 1.5;
  margin: 0 0 5px
}

.chat-assistant .chat-message .chat-message-close {
  position: absolute;
  top: 8px;
  right: 8px;
  background: none;
  border: none;
  color: #5d656b;
  font-size: .8rem;
  cursor: pointer;
  padding: 2px;
  opacity: .7
}

.chat-assistant .chat-message .chat-message-close:hover {
  opacity: 1
}

.chat-assistant .chat-message .chat-message-arrow {
  position: absolute;
  bottom: -8px;
  right: 20px;
  width: 16px;
  height: 16px;
  background: #fff;
  transform: rotate(45deg);
  box-shadow: 4px 4px 8px #0000000d
}

.chat-assistant .chat-message.hidden {
  display: none
}

@keyframes pulse {
  0% {
    transform: scale(.95);
    opacity: .7
  }

  50% {
    transform: scale(1.3);
    opacity: 0
  }

  to {
    transform: scale(.95);
    opacity: 0
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@media screen and (max-width: 768px) {
  .chat-assistant {
    right: 20px;
    bottom: 20px
  }

  .chat-assistant .chat-button {
    width: 50px;
    height: 50px;
    font-size: 20px
  }

  .chat-assistant .chat-message {
    max-width: 250px;
    padding: 12px 15px
  }

  .chat-assistant .chat-message p {
    font-size: .85rem
  }
}

.main-content {
  box-sizing: border-box;
  padding: .6rem 0;
  flex: 1;
  display: flex;
  justify-content: center;
  background: #f2f7fa;
  background-image: radial-gradient(circle at 25% 25%, rgba(42, 54, 80, .05) 0%, transparent 50%), radial-gradient(circle at 75% 75%, rgba(122, 157, 126, .05) 0%, transparent 50%), linear-gradient(to bottom, #f5f5f5f2, #eff1f6e6);
  position: relative;
  overflow: hidden
}

.main-content:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg fill='%232d4263' fill-opacity='0.03'%3E%3Cpath d='M20 0C9 0 0 9 0 20s9 20 20 20 20-9 20-20S31 0 20 0zm0 37c-9.4 0-17-7.6-17-17S10.6 3 20 3s17 7.6 17 17-7.6 17-17 17z'../../></g></svg>/index.html");
  opacity: .4;
  z-index: 0
}

.main-content .chat-container {
  flex: 1;
  box-sizing: border-box;
  width: 100%;
  max-width: 1440px;
  display: flex;
  flex-direction: column;
  height: auto;
  border-radius: .5rem;
  background: #ffffffd9;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  overflow: hidden;
  transition: all .4s cubic-bezier(.165, .84, .44, 1);
  box-shadow: 0 15px 35px #2d42631a, 0 5px 15px #00000012, 0 1px 3px #8e7cc31a inset;
  border: 1px solid rgba(255, 255, 255, .8);
  position: relative;
  z-index: 1;
  animation: floatIn .6s cubic-bezier(.165, .84, .44, 1) forwards
}

.main-content .chat-container:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .6), rgba(255, 255, 255, .1) 25%, transparent 50%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none
}

.chat-header {
  padding: 1.2rem 1rem;
  text-align: center;
  position: relative;
  z-index: 2;
  background: #d4e2e933
}

.chat-header:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='152' height='152' viewBox='0 0 152 152'%3E%3Cg fill-opacity='0.05' fill='%23ffffff'%3E%3Cpath d='M152 150v2H0v-2h28v-8H8v-20H0v-2h8V80h42v20h20v42H30v8h90v-8H80v-42h20V80h42v40h8V30h-8v40h-42V50H80V8h40V0h2v8h20v20h8V0h2v150zm-2 0v-28h-8v20h-20v8h28zM82 30v18h18V30H82zm20 18h20v20h18V30h-20V10H82v18h20v20zm0 2v18h18V50h-18zm20-22h18V10h-18v18zm-54 92v-18H50v18h18zm-20-18H28V82H10v38h20v20h38v-18H48v-20zm0-2V82H30v18h18zm-20 22H10v18h18v-18zm54 0v18h38v-20h20V82h-18v20h-20v20H82zm18-20H82v18h18v-18zm2-2h18V82h-18v18zm20 40v-18h18v18h-18zM30 0h-2v8H8v20H0v2h8v40h42V50h20V8H30V0zm20 48h18V30H50v18zm18-20H48v20H28v20H10V30h20V10h38v18zM30 50h18v18H30V50zm-2-40H10v18h18V10z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E")
}

.chat-header h1 {
  margin-bottom: .8rem;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, .15)
}

@media (max-width: 768px) {
  .chat-header h1 {
    font-size: 1.6rem
  }
}

.chat-header h3 {
  opacity: .92;
  font-size: .9rem;
  max-width: 620px;
  margin: 0 auto;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: .01em
}

.chat-messages {
  flex: 1;
  padding: 2rem;
  overflow-y: auto;
  background: #f5f5f580;
  background-image: linear-gradient(to bottom, #fffc, #f5f5f580);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative
}

.chat-messages:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%232d4263' fill-opacity='0.02' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'../../><circle/index.html cx='13' cy='13' r='3'../../></g></svg>/index.html");
  opacity: .5;
  z-index: -1
}

.chat-messages::-webkit-scrollbar {
  width: 6px
}

.chat-messages::-webkit-scrollbar-track {
  background: #f1f1f14d;
  border-radius: 10px
}

.chat-messages::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, #2d4263, #3d5680);
  border-radius: 10px;
  opacity: .8
}

.chat-messages::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, #3d5680, #4d6690)
}

@media (max-width: 768px) {
  .chat-messages {
    padding: 1.5rem
  }
}

.message {
  display: flex;
  margin-bottom: 1.2rem;
  opacity: 0;
  animation: fadeIn .4s cubic-bezier(.215, .61, .355, 1) forwards;
  will-change: transform, opacity;
  position: relative;
  font-family: Nunito, sans-serif
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(12px) scale(.98)
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1)
  }
}

.message .message-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-right: .8rem;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 4px 10px #0000001a;
  transition: all .3s ease;
  border: 2px solid transparent
}

.message .message-avatar:after {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fffc, #fff3);
  z-index: -1;
  opacity: 0;
  transition: opacity .3s ease
}

.message .message-avatar i {
  font-size: 1.3rem;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .1))
}

.message .message-content {
  max-width: 75%;
  padding: 1.2rem 1.6rem;
  border-radius: 16px;
  position: relative;
  box-shadow: 0 3px 12px #00000012;
  transition: all .3s ease;
  border-right: 1px solid rgba(255, 255, 255, .2);
  border-bottom: 1px solid rgba(255, 255, 255, .2)
}

.message .message-content p {
  margin: 0;
  line-height: 1.65;
  font-size: 1.05rem;
  letter-spacing: .01em;
  font-weight: 400;
  color: #5d656b
}

.message .message-content .message-time {
  display: block;
  font-size: .75rem;
  color: #5d656b;
  margin-top: .7rem;
  text-align: right;
  opacity: .75;
  font-weight: 300;
  letter-spacing: .02em
}

.message:hover .message-avatar {
  transform: scale(1.05)
}

.message:hover .message-avatar:after {
  opacity: 1
}

.message:hover .message-content {
  box-shadow: 0 6px 18px #00000017
}

.user-message {
  align-self: flex-end;
  flex-direction: row-reverse
}

.user-message .message-avatar {
  margin-right: 0;
  margin-left: 1rem;
  background: linear-gradient(135deg, #d4e2e9, #d4e2e980);
  border-color: #8e7cc333
}

.user-message .message-content {
  border-radius: 16px 4px 16px 16px;
  border-right: 1px solid rgba(255, 255, 255, .2);
  border-bottom: 1px solid rgba(255, 255, 255, .2);
  position: relative
}

.user-message .message-content:before {
  content: "";
  position: absolute;
  right: -8px;
  top: 15px;
  width: 20px;
  height: 20px;
  background: linear-gradient(180deg, #fff3, #ffffff1a);
  transform: rotate(45deg);
  z-index: -1
}

.user-message .message-content .message-time {
  color: #5d656b
}

.assistant-message {
  align-self: flex-start
}

.assistant-message .message-avatar {
  background: linear-gradient(135deg, #90b8c9, #90b8c980);
  border-color: #2d426333
}

.assistant-message .message-content {
  background: linear-gradient(to bottom, #fff, #f8f9fa);
  color: #2c3e50;
  border-radius: 4px 16px 16px;
  border: 1px solid rgba(222, 226, 230, .8);
  box-shadow: 0 4px 12px #0000000a, 0 1px 3px #00000005;
  position: relative
}

.assistant-message .message-content:before {
  content: "";
  position: absolute;
  left: -8px;
  top: 15px;
  width: 20px;
  height: 20px;
  background: linear-gradient(-45deg, #fff, #f8f9fa);
  transform: rotate(45deg);
  border-left: 1px solid rgba(222, 226, 230, .8);
  border-bottom: 1px solid rgba(222, 226, 230, .8);
  z-index: -1
}

.chat-input {
  padding: 1.4rem 1.8rem;
  background: #ffffffe6;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(230, 230, 230, .7);
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
  box-shadow: 0 -4px 20px #0000000a
}

.chat-input:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(122, 157, 126, .2), rgba(45, 66, 99, .2), rgba(122, 157, 126, .2), transparent)
}

.chat-input textarea {
  flex: 1;
  padding: 1rem 1.4rem 0;
  border: 1px solid rgba(200, 200, 200, .3);
  border-radius: 1rem;
  font-family: Nunito, sans-serif;
  font-size: 1.05rem;
  resize: none;
  outline: none;
  transition: all .3s ease;
  box-shadow: 0 2px 6px #00000008, inset 0 1px 2px #00000008;
  background: #ffffffe6
}

.chat-input textarea:focus {
  border-color: #90b8c9;
  box-shadow: 0 0 0 3px #2d42631a, inset 0 1px 2px #00000003
}

.chat-input textarea::placeholder {
  color: #a0a0a0;
  font-weight: 300
}

.chat-input button {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  margin-left: 1rem;
  border: none;
  background: linear-gradient(135deg, #90b8c9, #90b8c980);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s cubic-bezier(.175, .885, .32, 1.275);
  box-shadow: 0 4px 10px #2d426333, 0 2px 3px #0000001a;
  position: relative;
  overflow: hidden
}

.chat-input button:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #fff3, #fff0);
  opacity: 0;
  transition: opacity .3s ease
}

.chat-input button i {
  font-size: 1.3rem;
  transition: transform .3s cubic-bezier(.175, .885, .32, 1.275);
  position: relative;
  z-index: 1
}

.chat-input button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px #2d426340
}

.chat-input button:hover:before {
  opacity: 1
}

.chat-input button:hover i {
  transform: scale(1.1) rotate(-10deg)
}

.chat-input button:active {
  transform: translateY(1px) scale(.98);
  box-shadow: 0 2px 8px #2d426333
}

.chat-input button:disabled {
  background: linear-gradient(135deg, #c5c5c5, #aaa);
  cursor: not-allowed;
  box-shadow: none
}

.chat-input button:disabled:hover {
  transform: none;
  box-shadow: none
}

.chat-input button:disabled:hover:before {
  opacity: 0
}

.chat-input button:disabled:hover i {
  transform: none
}

@media (max-width: 768px) {
  .chat-input {
    padding: 1rem 1.2rem
  }

  .chat-input textarea {
    font-size: 1rem
  }

  .chat-input button {
    width: 30px;
    height: 30px;
    margin-left: .8rem
  }
}

.typing-indicator {
  display: flex;
  align-items: center;
  padding: .5rem .2rem
}

.typing-indicator span {
  height: 8px;
  width: 8px;
  background: linear-gradient(to bottom, #90b8c9, #90b8c980);
  border-radius: 50%;
  display: inline-block;
  margin: 0 3px;
  opacity: .7;
  animation: typing 1.4s infinite;
  box-shadow: 0 2px 4px #0000001a
}

.typing-indicator span:nth-child(1) {
  animation-delay: 0s
}

.typing-indicator span:nth-child(2) {
  animation-delay: .2s
}

.typing-indicator span:nth-child(3) {
  animation-delay: .4s
}

@keyframes typing {
  0% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-8px);
    opacity: .5
  }

  to {
    transform: translateY(0)
  }
}

@keyframes floatIn {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(.95)
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1)
  }
}

.main-content:after {
  content: "";
  position: absolute;
  top: 10%;
  right: 5%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(142, 124, 195, .05) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  animation: pulse 10s infinite alternate ease-in-out
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: .3
  }

  to {
    transform: scale(1.5);
    opacity: .1
  }
}

@media screen and (max-width: 768px) {
  .message .message-content {
    max-width: 85%;
    padding: 1rem 1.2rem
  }

  .message .message-content p {
    font-size: 1rem
  }

  .message .message-avatar {
    width: 40px;
    height: 40px
  }

  .message .message-avatar i {
    font-size: 1.1rem
  }

  .chat-header {
    display: none
  }
}

.scroll-to-bottom {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #90b8c9;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px #0003;
  cursor: pointer;
  transform: translateY(70px);
  opacity: 0;
  transition: all .3s ease;
  z-index: 5
}

.scroll-to-bottom.visible {
  transform: translateY(0);
  opacity: 1
}

.scroll-to-bottom:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px #00000040
}