:root {
  --shell-header-bg: rgba(248, 250, 252, 0.9);
  --shell-header-border: rgba(15, 23, 42, 0.08);
  --shell-header-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
  --shell-header-text: #0f172a;
  --shell-header-muted: #5f6f87;
  --shell-header-accent: #3b82f6;
  --shell-header-accent-hover: #2563eb;
  --shell-pill-bg: rgba(255, 255, 255, 0.72);
  --shell-pill-border: rgba(15, 23, 42, 0.08);
  --shell-footer-bg: #0b1120;
  --shell-footer-border: rgba(255, 255, 255, 0.06);
  --shell-footer-text: #f8fafc;
  --shell-footer-muted: #9aa7ba;
  --shell-footer-chip: rgba(255, 255, 255, 0.06);
}

.glass-nav {
  background: var(--shell-header-bg) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--shell-header-border) !important;
  box-shadow: var(--shell-header-shadow) !important;
  padding: 0.9rem 0 !important;
}

.glass-nav .nav-container {
  align-items: center !important;
  display: grid !important;
  gap: 0.9rem 1.5rem !important;
  grid-template-columns: auto minmax(0, 1fr) auto !important;
  justify-content: initial !important;
  margin: 0 auto !important;
  max-width: 1240px !important;
  padding: 0 1.25rem !important;
}

.glass-nav .brand {
  align-items: center !important;
  color: var(--shell-header-text) !important;
  display: inline-flex !important;
  gap: 0.8rem !important;
  min-width: 0;
  text-decoration: none !important;
}

.glass-nav .brand-logo {
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  flex: 0 0 auto;
  height: 38px !important;
  width: 38px !important;
}

.glass-nav .brand-text {
  color: var(--shell-header-text);
  font-family: "Outfit", "Inter", sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
}

.glass-nav .nav-links {
  align-items: center !important;
  display: flex !important;
  flex-wrap: wrap;
  gap: 0.7rem !important;
  justify-content: center;
  min-width: 0;
}

.glass-nav .nav-link {
  background: var(--shell-pill-bg);
  border: 1px solid var(--shell-pill-border);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
  color: var(--shell-header-muted) !important;
  display: inline-flex;
  font-family: "Outfit", "Inter", sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.8rem 1rem;
  text-decoration: none !important;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
  white-space: nowrap;
}

.glass-nav .nav-link-icon,
.glass-nav .nav-link-arrow,
.mobile-sidebar-brand,
.mobile-sidebar-intro,
.mobile-sidebar-socials,
.mobile-sidebar-logo,
.mobile-sidebar-brand-copy {
  display: none;
}

.glass-nav .nav-link-copy {
  display: inline;
}

.glass-nav .nav-link-copy strong {
  font: inherit;
}

.glass-nav .nav-link-copy small {
  display: none;
}

.glass-nav .nav-link:hover,
.glass-nav .nav-link.active {
  background: #ffffff;
  border-color: rgba(59, 130, 246, 0.24);
  box-shadow: 0 12px 26px rgba(59, 130, 246, 0.12);
  color: var(--shell-header-text) !important;
  transform: translateY(-1px);
}

.glass-nav .nav-actions {
  align-items: center !important;
  display: flex !important;
  flex-wrap: wrap;
  gap: 0.75rem !important;
  justify-content: flex-end;
}

.glass-nav .btn-primary-small {
  align-items: center;
  background: linear-gradient(
    135deg,
    var(--shell-header-accent) 0%,
    #60a5fa 100%
  ) !important;
  border: 0 !important;
  border-radius: 999px !important;
  box-shadow: 0 16px 32px rgba(37, 99, 235, 0.22);
  color: #ffffff !important;
  display: inline-flex !important;
  font-family: "Outfit", "Inter", sans-serif;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  justify-content: center;
  min-height: 46px;
  padding: 0.8rem 1.2rem !important;
  text-decoration: none !important;
  white-space: nowrap;
}

.glass-nav .btn-primary-small:hover {
  background: linear-gradient(
    135deg,
    var(--shell-header-accent-hover) 0%,
    var(--shell-header-accent) 100%
  ) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

body.mobile-nav-open {
  overflow: hidden;
}

.mobile-menu-button,
.mobile-nav-overlay,
.mobile-sidebar-head,
.mobile-sidebar-close {
  display: none;
}

.mobile-menu-button {
  align-items: center;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  color: var(--shell-header-text);
  cursor: pointer;
  display: none;
  height: 46px;
  justify-content: center;
  padding: 0;
  transition:
    border-color 0.2s ease,
    transform 0.2s ease,
    background-color 0.2s ease;
  width: 46px;
}

.mobile-menu-button:hover {
  background: #ffffff;
  border-color: rgba(59, 130, 246, 0.24);
  transform: translateY(-1px);
}

.slim-footer {
  background: var(--shell-footer-bg) !important;
  border-top: 1px solid var(--shell-footer-border) !important;
  margin-top: 3rem;
  padding: 1.4rem 0 1.6rem !important;
}

.slim-footer-container {
  align-items: start !important;
  display: grid !important;
  gap: 1.4rem 2rem !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  justify-content: space-between !important;
  margin: 0 auto !important;
  max-width: 1240px !important;
  padding: 0 1.25rem !important;
}

.slim-footer-left {
  align-items: center !important;
  display: grid !important;
  gap: 1rem 2rem !important;
  grid-template-columns: auto minmax(0, 1fr) !important;
}

.slim-brand {
  align-items: center !important;
  color: var(--shell-footer-text) !important;
  display: inline-flex !important;
  gap: 0.8rem !important;
  text-decoration: none !important;
}

.slim-brand img {
  border-radius: 12px !important;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  height: 38px !important;
  width: 38px !important;
}

.slim-brand span {
  color: var(--shell-footer-text);
  font-family: "Outfit", "Inter", sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.slim-links {
  align-items: center !important;
  display: flex !important;
  flex-wrap: wrap;
  gap: 0.7rem 1.15rem !important;
  margin: 0 !important;
  min-width: 0;
  padding: 0 !important;
}

.slim-links a {
  color: var(--shell-footer-muted) !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.slim-links a:hover {
  color: var(--shell-footer-text) !important;
}

.seo-link-cluster {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex !important;
  flex-direction: column;
  gap: 0.7rem;
  grid-column: 1 / -1;
  margin-top: 0.15rem;
  padding-top: 1rem;
}

.seo-link-title {
  color: #7f8da3 !important;
  font-size: 0.76rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.seo-link-list {
  display: flex !important;
  flex-wrap: wrap;
  gap: 0.65rem 0.8rem !important;
}

.seo-link-list a {
  background: var(--shell-footer-chip);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: var(--shell-footer-text) !important;
  display: inline-flex;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  line-height: 1;
  padding: 0.6rem 0.9rem;
  text-decoration: none !important;
  transition:
    border-color 0.2s ease,
    transform 0.2s ease,
    background-color 0.2s ease;
}

.seo-link-list a:hover {
  background: rgba(59, 130, 246, 0.14);
  border-color: rgba(96, 165, 250, 0.4);
  color: #ffffff !important;
  transform: translateY(-1px);
}

.slim-socials {
  align-items: center !important;
  display: flex !important;
  flex-wrap: wrap;
  gap: 0.8rem !important;
  justify-content: flex-end;
}

.slim-socials a {
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: var(--shell-footer-muted) !important;
  display: inline-flex !important;
  font-size: 1rem !important;
  height: 42px;
  justify-content: center;
  text-decoration: none !important;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    background-color 0.2s ease;
  width: 42px;
}

.slim-socials a:hover {
  background: rgba(59, 130, 246, 0.14);
  border-color: rgba(96, 165, 250, 0.35);
  color: #ffffff !important;
  transform: translateY(-1px);
}

@media (max-width: 980px) {
  .glass-nav .nav-container {
    grid-template-columns: auto auto !important;
  }

  .glass-nav .nav-links {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .slim-footer-container {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .slim-socials {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .glass-nav {
    overflow: visible !important;
    position: sticky !important;
    top: 0;
    padding: 0.8rem 0 !important;
  }

  .glass-nav .nav-container {
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 0.75rem 0.85rem !important;
    padding: 0 0.95rem !important;
  }

  .glass-nav .brand {
    min-width: 0;
    width: 100%;
  }

  .glass-nav .brand-logo {
    height: 34px !important;
    width: 34px !important;
  }

  .glass-nav .brand-text {
    font-size: 0.98rem;
    max-width: 12ch;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .glass-nav .nav-links {
    align-items: stretch;
    background: linear-gradient(180deg, #ffffff 0%, #f6f9fd 100%);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-left: 0;
    border-radius: 0 24px 24px 0;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.18);
    display: flex !important;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 1rem !important;
    height: 100dvh;
    inset: 0 auto 0 0;
    isolation: isolate;
    justify-content: flex-start;
    margin-right: 0;
    max-width: min(90vw, 390px);
    opacity: 0;
    overflow: hidden;
    overflow-y: auto;
    padding:
      calc(env(safe-area-inset-top, 0px) + 1rem)
      1.05rem
      calc(env(safe-area-inset-bottom, 0px) + 1.5rem);
    position: fixed;
    scrollbar-width: none;
    transform: translateX(-104%);
    transition: transform 0.25s ease;
    visibility: hidden;
    width: min(90vw, 390px);
    -webkit-overflow-scrolling: touch;
    z-index: 1201;
  }

  .glass-nav .nav-links::before,
  .glass-nav .nav-links::after {
    display: none;
  }

  .glass-nav .nav-links::before {
    content: none;
  }

  .glass-nav .nav-links::after {
    content: none;
  }

  .glass-nav .nav-links > * {
    position: relative;
    z-index: 1;
  }

  body.mobile-nav-open .glass-nav .nav-links {
    opacity: 1;
    transform: translateX(0);
    visibility: visible;
  }

  .mobile-nav-overlay {
    backdrop-filter: blur(4px);
    background: rgba(15, 23, 42, 0.34);
    inset: 0;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    transition: opacity 0.2s ease;
    z-index: 1200;
  }

  body.mobile-nav-open .mobile-nav-overlay {
    display: block;
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-sidebar-head {
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 20px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.15rem;
    padding: 0.95rem;
  }

  .mobile-sidebar-brand {
    align-items: center;
    display: inline-flex;
    gap: 0.8rem;
  }

  .mobile-sidebar-logo {
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
    display: block;
    flex: 0 0 auto;
    height: 46px;
    width: 46px;
  }

  .mobile-sidebar-brand-copy {
    color: #0f172a;
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
  }

  .mobile-sidebar-brand-copy strong {
    font-family: "Outfit", "Inter", sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
  }

  .mobile-sidebar-brand-copy span {
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 500;
    line-height: 1.35;
  }

  .mobile-sidebar-close {
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 999px;
    color: #0f172a;
    cursor: pointer;
    display: inline-flex;
    height: 40px;
    justify-content: center;
    transition:
      background-color 0.2s ease,
      transform 0.2s ease,
      border-color 0.2s ease;
    width: 40px;
  }

  .mobile-sidebar-close:hover {
    background: #f8fafc;
    border-color: rgba(59, 130, 246, 0.2);
    transform: translateY(-1px);
  }

  .mobile-sidebar-intro {
    background: #f8fbff;
    border: 1px solid #dbe6f5;
    border-radius: 20px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
    color: #0f172a;
    display: block;
    margin-bottom: 0.15rem;
    padding: 1.05rem 1.05rem 1.1rem;
  }

  .mobile-sidebar-kicker {
    color: #2563eb;
    display: inline-block;
    font-family: "Outfit", "Inter", sans-serif;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    margin-bottom: 0.45rem;
    text-transform: uppercase;
  }

  .mobile-sidebar-intro p {
    color: #5f6f87;
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0;
  }

  .mobile-sidebar-socials {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 20px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
    display: block;
    margin-top: 0.1rem;
    padding: 1rem 1rem 1.05rem;
  }

  .mobile-sidebar-social-row {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 0.8rem;
  }

  .mobile-sidebar-social-row a {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    color: #334155;
    display: inline-flex;
    font-size: 1rem;
    height: 52px;
    justify-content: center;
    text-decoration: none;
    transition:
      transform 0.22s ease,
      border-color 0.22s ease,
      background-color 0.22s ease;
  }

  .mobile-sidebar-social-row a:hover {
    background: #ffffff;
    border-color: rgba(59, 130, 246, 0.22);
    transform: translateY(-2px);
  }

  .mobile-sidebar-social-row a:nth-child(1) {
    color: #f9a8d4;
  }

  .mobile-sidebar-social-row a:nth-child(2) {
    color: #93c5fd;
  }

  .mobile-sidebar-social-row a:nth-child(3) {
    color: #fca5a5;
  }

  .mobile-sidebar-social-row a:nth-child(4) {
    color: #d8b4fe;
  }

  .glass-nav .nav-links::-webkit-scrollbar {
    display: none;
  }

  .glass-nav .nav-link {
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.05);
    display: flex;
    flex: 0 0 auto;
    font-size: 0.94rem;
    gap: 0.9rem;
    justify-content: flex-start;
    min-height: 72px;
    overflow: hidden;
    padding: 1rem 1rem 1rem 1.05rem;
    transition:
      transform 0.22s ease,
      border-color 0.22s ease,
      background-color 0.22s ease,
      box-shadow 0.22s ease;
    width: 100%;
  }

  .glass-nav .nav-link::before {
    display: none;
  }

  .glass-nav .nav-link:hover {
    border-color: rgba(59, 130, 246, 0.2);
    box-shadow: 0 14px 24px rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
  }

  .glass-nav .nav-link.active {
    background: #f8fbff;
    border-color: rgba(59, 130, 246, 0.24);
    box-shadow: 0 14px 24px rgba(59, 130, 246, 0.08);
  }

  .glass-nav .nav-link-icon {
    align-items: center;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    border-radius: 14px;
    box-shadow: none;
    color: #2563eb;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 0.95rem;
    height: 48px;
    justify-content: center;
    width: 48px;
  }

  .glass-nav .nav-links > a:nth-of-type(1) .nav-link-icon {
    background: #eff6ff;
    color: #2563eb;
  }

  .glass-nav .nav-links > a:nth-of-type(2) .nav-link-icon {
    background: #ecfdf5;
    border-color: #d1fae5;
    color: #059669;
  }

  .glass-nav .nav-links > a:nth-of-type(3) .nav-link-icon {
    background: #fff7ed;
    border-color: #fed7aa;
    color: #ea580c;
  }

  .glass-nav .nav-link-copy {
    color: #0f172a;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 0.18rem;
    min-width: 0;
  }

  .glass-nav .nav-link-copy strong {
    font-family: "Outfit", "Inter", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
  }

  .glass-nav .nav-link-copy small {
    color: #64748b;
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.5;
    white-space: normal;
  }

  .glass-nav .nav-link-arrow {
    align-items: center;
    color: #94a3b8;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 0.88rem;
    justify-content: center;
    min-width: 24px;
  }

  .glass-nav .nav-actions {
    grid-column: auto !important;
    justify-content: flex-end !important;
    width: auto;
  }

  .glass-nav .btn-primary-small {
    font-size: 0.84rem !important;
    min-height: 44px;
    max-width: 100%;
    padding: 0.72rem 1rem !important;
  }

  .mobile-menu-button {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .hero-section,
  .downloads-hero,
  .legal-hero,
  .faq-page,
  .blog-main,
  .article-main,
  .error-shell,
  main[style*="padding-top: 120px"] {
    padding-top: 2rem !important;
  }

  .slim-footer {
    padding: 1.25rem 0 1.4rem !important;
  }

  .slim-footer-container {
    gap: 1.2rem !important;
    padding: 0 0.95rem !important;
  }

  .slim-footer-left {
    align-items: start !important;
    gap: 1rem !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .slim-links {
    gap: 0.65rem 1rem !important;
  }

  .seo-link-list a {
    font-size: 0.86rem !important;
    padding: 0.55rem 0.82rem;
  }
}

@media (max-width: 520px) {
  .glass-nav .nav-container {
    gap: 0.7rem !important;
  }

  .glass-nav .nav-actions {
    gap: 0.55rem !important;
    justify-content: flex-end !important;
  }

  .glass-nav .btn-primary-small {
    font-size: 0.8rem !important;
    min-width: 0;
    padding: 0.7rem 0.9rem !important;
  }

  .mobile-menu-button {
    height: 44px;
    width: 44px;
  }

  .slim-links a,
  .seo-link-list a {
    white-space: normal;
  }
}

.site-chatbot {
  align-items: flex-end;
  bottom: 96px;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  left: auto;
  pointer-events: none;
  position: fixed;
  right: 20px;
  width: auto;
  z-index: 1100;
}

.site-chatbot * {
  pointer-events: auto;
}

.site-chatbot-toggle {
  align-items: center;
  align-self: flex-end;
  background:
    radial-gradient(circle at top left, rgba(96, 165, 250, 0.34), transparent 58%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(30, 41, 59, 0.94));
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 22px;
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.24);
  color: #f8fafc;
  cursor: pointer;
  display: inline-flex;
  gap: 0.85rem;
  min-height: 68px;
  padding: 0.9rem 1rem;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.site-chatbot-toggle:hover {
  border-color: rgba(96, 165, 250, 0.35);
  box-shadow: 0 26px 48px rgba(15, 23, 42, 0.28);
  transform: translateY(-2px);
}

.site-chatbot-toggle-icon {
  align-items: center;
  background: linear-gradient(135deg, #3b82f6, #60a5fa);
  border-radius: 18px;
  box-shadow: 0 12px 24px rgba(59, 130, 246, 0.3);
  display: inline-flex;
  flex: 0 0 46px;
  font-size: 1.05rem;
  height: 46px;
  justify-content: center;
  width: 46px;
}

.site-chatbot-toggle-copy {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  text-align: left;
}

.site-chatbot-toggle-title {
  color: #f8fafc;
  font-family: "Outfit", "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.site-chatbot-toggle-hint {
  color: rgba(226, 232, 240, 0.8);
  font-size: 0.84rem;
  font-weight: 500;
}

.site-chatbot-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 28px;
  box-shadow: 0 34px 70px rgba(15, 23, 42, 0.22);
  display: flex;
  flex-direction: column;
  max-height: min(72vh, 680px);
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.9rem);
  transform: translateY(12px) scale(0.98);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    visibility 0.22s ease;
  visibility: hidden;
  width: min(390px, calc(100vw - 40px));
}

.site-chatbot[data-open="true"] .site-chatbot-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  visibility: visible;
}

.site-chatbot-header {
  align-items: center;
  background:
    radial-gradient(circle at top right, rgba(96, 165, 250, 0.28), transparent 44%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(30, 41, 59, 0.96));
  color: #f8fafc;
  display: flex;
  gap: 0.9rem;
  justify-content: space-between;
  padding: 1rem 1rem 0.95rem;
}

.site-chatbot-brand {
  align-items: center;
  display: flex;
  gap: 0.8rem;
  min-width: 0;
}

.site-chatbot-avatar {
  align-items: center;
  background: linear-gradient(135deg, #60a5fa, #2563eb);
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(59, 130, 246, 0.34);
  color: #ffffff;
  display: inline-flex;
  flex: 0 0 44px;
  font-family: "Outfit", "Inter", sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.site-chatbot-title {
  display: block;
  font-family: "Outfit", "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.site-chatbot-subtitle {
  color: rgba(226, 232, 240, 0.82);
  display: block;
  font-size: 0.82rem;
  margin-top: 0.12rem;
}

.site-chatbot-header-actions {
  display: inline-flex;
  gap: 0.45rem;
}

.site-chatbot-header-actions button {
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  color: #f8fafc;
  cursor: pointer;
  display: inline-flex;
  height: 40px;
  justify-content: center;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
  width: 40px;
}

.site-chatbot-header-actions button:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.site-chatbot-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
}

.site-chatbot-messages {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 0;
  overflow-y: auto;
  padding: 1rem;
}

.site-chatbot-message {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  max-width: 90%;
}

.site-chatbot-message--user {
  align-self: flex-end;
}

.site-chatbot-message--bot {
  align-self: flex-start;
}

.site-chatbot-bubble {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 22px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
  color: #0f172a;
  line-height: 1.65;
  padding: 0.95rem 1rem;
}

.site-chatbot-message--user .site-chatbot-bubble {
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  border-color: transparent;
  color: #ffffff;
}

.site-chatbot-actions,
.site-chatbot-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.site-chatbot-actions {
  padding: 0 0.1rem;
}

.site-chatbot-action,
.site-chatbot-suggestion {
  align-items: center;
  background: #eff6ff;
  border: 1px solid rgba(59, 130, 246, 0.16);
  border-radius: 999px;
  color: #1d4ed8;
  display: inline-flex;
  font-size: 0.84rem;
  font-weight: 600;
  justify-content: center;
  min-height: 38px;
  padding: 0.7rem 0.9rem;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease,
    border-color 0.2s ease;
}

.site-chatbot-action:hover,
.site-chatbot-suggestion:hover {
  background: #dbeafe;
  border-color: rgba(37, 99, 235, 0.24);
  transform: translateY(-1px);
}

.site-chatbot-suggestions {
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  padding: 0 1rem 0.95rem;
}

.site-chatbot-suggestion {
  cursor: pointer;
}

.site-chatbot-form {
  background: rgba(255, 255, 255, 0.94);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  display: grid;
  gap: 0.75rem;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 0.95rem 1rem 1rem;
}

.site-chatbot-input {
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  color: #0f172a;
  font-size: 0.96rem;
  min-width: 0;
  outline: none;
  padding: 0.95rem 1rem;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.site-chatbot-input:focus {
  border-color: rgba(37, 99, 235, 0.42);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}

.site-chatbot-send {
  align-items: center;
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  border: 0;
  border-radius: 16px;
  box-shadow: 0 14px 26px rgba(37, 99, 235, 0.24);
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  height: 52px;
  justify-content: center;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  width: 52px;
}

.site-chatbot-send:hover {
  box-shadow: 0 18px 30px rgba(37, 99, 235, 0.28);
  transform: translateY(-1px);
}

.site-chatbot-dots {
  align-items: center;
  display: inline-flex;
  gap: 0.36rem;
}

.site-chatbot-dots > span {
  animation: chatbot-dot 1.1s infinite ease-in-out;
  background: #3b82f6;
  border-radius: 999px;
  display: inline-block;
  height: 8px;
  width: 8px;
}

.site-chatbot-dots > span:nth-child(2) {
  animation-delay: 0.12s;
}

.site-chatbot-dots > span:nth-child(3) {
  animation-delay: 0.24s;
}

.site-chatbot-typing-copy {
  animation: none !important;
  background: none !important;
  color: #64748b;
  font-size: 0.78rem;
  height: auto !important;
  margin-left: 0.35rem;
  width: auto !important;
}

@keyframes chatbot-dot {
  0%,
  80%,
  100% {
    opacity: 0.38;
    transform: translateY(0);
  }

  40% {
    opacity: 1;
    transform: translateY(-2px);
  }
}

body.mobile-nav-open .site-chatbot {
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 720px) {
  .site-chatbot {
    bottom: 88px;
    left: auto;
    right: 20px;
    width: auto;
  }

  .site-chatbot-toggle {
    min-height: 62px;
    padding: 0.85rem 0.9rem;
  }

  .site-chatbot-panel {
    max-height: min(70vh, 620px);
    width: min(390px, calc(100vw - 40px));
  }
}

@media (max-width: 520px) {
  .site-chatbot-toggle-copy {
    display: none;
  }

  .site-chatbot-toggle {
    border-radius: 18px;
    padding: 0.8rem;
  }

  .site-chatbot-panel {
    border-radius: 24px;
  }

  .site-chatbot-header,
  .site-chatbot-messages,
  .site-chatbot-suggestions,
  .site-chatbot-form {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }
}
