 

 

.page-shell {
  position: relative;
  width: 100%;
  height: 100vh;
  padding: 72px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(17, 35, 61, 0.08);
  color: #1b4f8c;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.hero-copy h1 {
  margin-top: 18px;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero-copy p {
  margin-top: 18px;
  max-width: 520px;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(17, 35, 61, 0.76);
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  opacity: 0.8;
}

.orb-one {
  top: -120px;
  right: 220px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(87, 178, 255, 0.55) 0%, rgba(87, 178, 255, 0) 72%);
}

.orb-two {
  bottom: -120px;
  left: 18%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(30, 87, 153, 0.22) 0%, rgba(30, 87, 153, 0) 72%);
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(17, 35, 61, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 35, 61, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), transparent 82%);
  pointer-events: none;
}

#chat {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: min(420px, calc(100vw - 32px));
  height: min(720px, calc(100vh - 48px));
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(16, 47, 84, 0.08);
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(17, 35, 61, 0.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  backdrop-filter: blur(12px);
  z-index: 10;
  transform-origin: bottom right;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

#chat.is-closed {
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.92);
  pointer-events: none;
}

#chat-toggle {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 64px;
  height: 64px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, #0e63c6 0%, #1fa3ff 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 24px 40px rgba(14, 99, 198, 0.28);
  z-index: 11;
}

#chat-toggle.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#chat-toggle:hover {
  background: linear-gradient(135deg, #0c57ae 0%, #1a90e0 100%);
}

#chat-header {
  padding: 18px;
  background: linear-gradient(135deg, #0e63c6 0%, #1fa3ff 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  letter-spacing: 0.02em;
}

#chat-close {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

#chat-close:hover {
  background: rgba(255, 255, 255, 0.28);
}

#messages {
  flex: 1;
  padding: 15px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.message {
  max-width: 75%;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 14px;
}

.message-text {
  line-height: 1.45;
}

.message-time {
  margin-top: 6px;
  font-size: 11px;
  opacity: 0.72;
}

.user {
  background: linear-gradient(135deg, #0e63c6 0%, #1fa3ff 100%);
  color: #fff;
  align-self: flex-end;
  box-shadow: 0 10px 20px rgba(14, 99, 198, 0.18);
}

.user .message-time {
  color: rgba(255, 255, 255, 0.82);
}

.bot {
  background: #eef4fb;
  color: #10263d;
  align-self: flex-start;
}

.bot .message-time {
  color: rgba(16, 38, 61, 0.62);
}

.lead-card {
  width: min(100%, 310px);
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.lead-form input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(16, 47, 84, 0.16);
  background: rgba(255, 255, 255, 0.92);
  color: #11233d;
  outline: none;
}

.lead-form input:focus {
  border-color: rgba(14, 99, 198, 0.55);
  box-shadow: 0 0 0 3px rgba(31, 163, 255, 0.14);
}

.lead-form button {
  border: none;
  border-radius: 14px;
  padding: 11px 14px;
  background: linear-gradient(135deg, #0e63c6 0%, #1fa3ff 100%);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.lead-form button:disabled {
  opacity: 0.7;
  cursor: wait;
}

.lead-feedback {
  min-height: 16px;
  font-size: 12px;
  color: rgba(16, 38, 61, 0.62);
}

.lead-feedback.is-error {
  color: #c0392b;
}

#input-area {
  display: flex;
  padding: 12px;
  border-top: 1px solid rgba(16, 47, 84, 0.08);
  background: rgba(255, 255, 255, 0.82);
}

#msg {
  flex: 1;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(16, 47, 84, 0.14);
  outline: none;
  background: #f8fbff;
  color: #11233d;
}

#send-btn {
  margin-left: 8px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #0e63c6 0%, #1fa3ff 100%);
  color: white;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 12px 24px rgba(14, 99, 198, 0.22);
}

#send-btn:hover {
  background: linear-gradient(135deg, #0c57ae 0%, #1a90e0 100%);
}

#send-btn i {
  width: 20px;
  height: 20px;
  font-size: 18px;
  line-height: 1;
}

.service-btn {
  margin: 5px;
  padding: 8px 12px;
  border: none;
  border-radius: 15px;
  background: linear-gradient(135deg, #0e63c6 0%, #1fa3ff 100%);
  color: #fff;
  cursor: pointer;
}

.service-btn:hover {
  background: linear-gradient(135deg, #0c57ae 0%, #1a90e0 100%);
}
.typing-dots {
  display: flex;
  gap: 4px;
  align-items: center;
  height: 16px;
}

.typing-dots span {
  width: 6px;
  height: 6px;
  background-color: #555;
  border-radius: 50%;
  animation: typingBounce 1.4s infinite ease-in-out;
}

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

.typing-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typingBounce {
  0%, 80%, 100% {
    transform: scale(0);
    opacity: 0.3;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}
@media (max-width: 600px) {
  .page-shell {
    padding: 28px 20px 120px;
  }

  .hero-copy h1 {
    font-size: 38px;
  }

  .hero-copy p {
    font-size: 16px;
  }

  #chat {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
    height: min(78vh, 680px);
    border-radius: 22px;
  }

  #chat-toggle {
    right: 12px;
    bottom: 12px;
  }
}
