/* VISUAL UPGRADE STYLES START: refreshed hero, cards, animation, and chat widgets. */
.b {
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
}
.b:hover {
  transform: translateY(-2px);
}
.b.p {
  box-shadow: 0 8px 22px rgba(217, 58, 38, 0.32);
}
#an {
  background: linear-gradient(90deg, #d93a26, #f0623f);
  color: #fff;
  text-align: center;
  padding: 8px 16px;
  font-size: 14px;
}
#an button {
  background: none;
  border: 0;
  color: #fff;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}
.hero {
  padding: 88px 0 76px;
  color: #fff;
  background:
    radial-gradient(
      620px 420px at 88% 8%,
      rgba(74, 199, 216, 0.38),
      transparent 70%
    ),
    radial-gradient(
      520px 380px at 0 100%,
      rgba(217, 58, 38, 0.25),
      transparent 70%
    ),
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0/40px
      40px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0
      0/40px 40px,
    #0b2a3a;
}
.hero::after {
  background: none;
  opacity: 1;
  border: 2px solid rgba(74, 199, 216, 0.35);
  right: -170px;
  top: -170px;
  width: 480px;
  height: 480px;
}
.hero .ld {
  color: #cfe3ea;
}
.hero .chip {
  background: rgba(74, 199, 216, 0.18);
  color: #8ee3ef;
}
.hero .b.g {
  border-color: #fff;
  color: #fff;
}
.hero .b.g:hover {
  background: #fff;
  color: var(--ink);
}
h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #4ac7d8, #a5f0f8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: #fff;
}
.hero .path li span {
  color: #cfe3ea;
}
.hero .card:hover {
  transform: none;
  box-shadow: none;
}
.lead {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 8px;
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 10px;
  border-radius: 18px;
}
.lead input,
.lead select {
  margin: 0;
  border: 0;
  background: #fff;
  color: var(--ink);
  padding: 12px 14px;
  border-radius: 12px;
  font: inherit;
  width: 100%;
}
.tr {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 16px;
  font-size: 14px;
  color: #cfe3ea;
  width: 100%;
}
.tr span::before {
  content: "✓ ";
  color: var(--t);
  font-weight: 700;
}
.card {
  border-radius: 20px;
  padding: 24px;
  transition: 0.25s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(11, 42, 58, 0.1);
  border-color: var(--t);
}
.card.hi {
  background: linear-gradient(180deg, var(--tl), #fff);
}
.mono {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: linear-gradient(135deg, #7fe0ec, #2aa6bb);
  box-shadow: 0 8px 18px rgba(42, 166, 187, 0.35);
}
.q {
  border-top: 4px solid var(--t);
}
.ln {
  background: none;
  border: 0;
  color: var(--td);
  font: 600 14px Inter;
  cursor: pointer;
  padding: 0;
  margin-top: 12px;
}
.s h2:not(:empty)::after {
  content: "";
  display: block;
  width: 56px;
  height: 5px;
  border-radius: 9px;
  margin-top: 12px;
  background: linear-gradient(90deg, var(--t), var(--r));
}
.sg b {
  font-size: 40px;
}
.mq {
  overflow: hidden;
  margin-top: 18px;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 10%,
    #000 90%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 10%,
    #000 90%,
    transparent
  );
}
.mq div {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: mqa 30s linear infinite;
}
.mq span {
  padding: 10px 22px;
  background: #fff;
  border: 1px solid var(--l);
  border-radius: 99px;
  font: 600 16px Outfit;
}
@keyframes mqa {
  to {
    transform: translateX(-50%);
  }
}
.cta {
  background:
    radial-gradient(
      500px 300px at 90% 0,
      rgba(74, 199, 216, 0.4),
      transparent 70%
    ),
    radial-gradient(
      400px 260px at 0 100%,
      rgba(217, 58, 38, 0.35),
      transparent 70%
    ),
    #0b2a3a;
  padding: 56px 24px;
}
.cta .b.g {
  border-color: #fff;
  color: #fff;
}
.cta .b.g:hover {
  background: #fff;
  color: var(--ink);
}
.rv {
  opacity: 0;
  transform: translateY(24px);
}
.rv.in {
  opacity: 1;
  animation: up 0.6s backwards;
}
.rv.in:not(:hover) {
  transform: none;
}
@keyframes up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
}
#up {
  right: auto;
  left: 16px;
}
#bar button {
  flex: 1;
  padding: 0.7em;
}
#fl {
  position: fixed;
  right: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}
.fb {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  position: relative;
  box-shadow: 0 10px 25px rgba(11, 42, 58, 0.3);
  transition: 0.2s;
}
.fb:hover {
  transform: scale(1.08);
}
#wab {
  background: #25d366;
  animation: pu 2.4s infinite;
}
@keyframes pu {
  from {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55);
  }
  to {
    box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);
  }
}
#cb {
  background: linear-gradient(135deg, #4ac7d8, #137e90);
}
#cb i {
  position: absolute;
  top: 1px;
  right: 1px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--r);
  border: 2px solid #fff;
}
#tip {
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  background: #fff;
  border: 1px solid var(--l);
  padding: 8px 14px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(11, 42, 58, 0.15);
}
#cw {
  display: none;
  position: fixed;
  right: 20px;
  bottom: calc(160px + env(safe-area-inset-bottom, 0px));
  width: min(360px, calc(100vw - 28px));
  height: min(520px, calc(100vh - 200px));
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--l);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(11, 42, 58, 0.3);
  overflow: hidden;
  z-index: 41;
}
#cw.open {
  display: flex;
}
/* CHAT PANEL HEADER STYLES START: title row and close control for the assistant. */
#cw > header {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 14px 16px;
  background: linear-gradient(135deg, #0b2a3a, #137e90);
  color: #fff;
}
#cw header div:nth-child(2) {
  flex: 1;
  line-height: 1.3;
}
#cw small {
  display: block;
  color: #bfe9f0;
  font-size: 12px;
}
.av {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--t);
  color: #06303a;
  display: grid;
  place-items: center;
  font: 700 18px Outfit;
}
#cx {
  background: none;
  border: 0;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
}
#cm {
  flex: 1;
  overflow: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--tl);
}
.mg {
  max-width: 86%;
  padding: 9px 13px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.45;
}
.mg.bot {
  background: #fff;
  border: 1px solid var(--l);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.mg.me {
  background: var(--ink);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.mg a:not(.b) {
  color: var(--td);
  font-weight: 600;
}
.mg .b {
  margin-top: 4px;
  padding: 0.6em 1.1em;
  color: #fff;
}
#cq {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 12px;
  border-top: 1px solid var(--l);
}
#cq:empty {
  display: none;
}
#cq button {
  border: 1px solid var(--t);
  background: #fff;
  color: var(--td);
  border-radius: 99px;
  padding: 6px 12px;
  font: 600 13px Inter;
  cursor: pointer;
}
#cq button:hover {
  background: var(--tl);
}
#cf {
  display: flex;
  gap: 8px;
  padding: 10px;
  border-top: 1px solid var(--l);
}
#cf input {
  margin: 0;
  padding: 10px 14px;
}
#cf button {
  border: 0;
  background: var(--r);
  color: #fff;
  border-radius: 50%;
  width: 44px;
  flex: none;
  cursor: pointer;
}
@media (max-width: 900px) {
  #fl {
    bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  }
  #cw {
    bottom: calc(216px + env(safe-area-inset-bottom, 0px));
    height: min(460px, calc(100vh - 260px));
  }
}
.m #fl {
  right: calc(50% - 175px);
  bottom: 100px;
}
.m #cw {
  right: calc(50% - 175px);
  width: 340px;
  bottom: 240px;
  height: min(460px, calc(100vh - 300px));
}
@container (max-width:900px) {
  .lead {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 34px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rv {
    opacity: 1;
    transform: none;
  }
  * {
    animation: none !important;
  }
}
