* {
    box-sizing: border-box;
}

/* Page layout */
body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(180deg, #5b648b 0%, #161b24 100%);
    color: #e6ecf3;
}

.page-top-title {
    text-align: center;
    font-size: 32px;
    font-weight: 800;
    padding: 40px 0 10px;
    color: #D4F1F4;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 0 0 20px rgba(212, 241, 244, 0.3);
}

.page-footer {
    text-align: center;
    padding: 60px 0 40px;
    color: rgba(212, 241, 244, 0.6);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
}

.page-shell {
    max-width: 1180px;
    margin: 0 auto;
    padding: 32px 24px 120px;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
}

.brand-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #D4F1F4;
    box-shadow: 0 0 18px rgba(212, 241, 244, 0.4);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.8fr);
    gap: 32px;
    align-items: center;
    margin-top: 56px;
}

.hero h1 {
    font-size: clamp(2.8rem, 5vw, 4.4rem);
    line-height: 1.05;
    margin: 0;
}

.hero p {
    max-width: 640px;
    color: #c8d2e0;
    font-size: 1.05rem;
    line-height: 1.75;
    margin-top: 20px;
}

.hero-list {
    margin-top: 24px;
    display: grid;
    gap: 10px;
}

.hero-list li {
    list-style: none;
    padding: 12px 14px;
    border-radius: 999px;
    background: rgba(212, 241, 244, 0.08);
    border: 1px solid rgba(212, 241, 244, 0.18);
    color: #E6F7F9;
}

.feature-card {
    padding: 28px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.16);
}

.feature-card h2 {
    margin: 0 0 16px;
    font-size: 1.35rem;
}

.feature-card p {
    margin: 0;
    color: #c8d2e0;
    line-height: 1.7;
}

.learn-section {
    margin: 40px 0 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin-top: 40px;
}

.feature-tile {
    padding: 22px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-tile h3 {
    margin: 0 0 12px;
    font-size: 1.05rem;
}

.feature-tile p {
    margin: 0;
    color: #c8d2e0;
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer {
    margin-top: 60px;
    padding: 20px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #72809a;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(212, 241, 244, 0.1);
    color: #E6F7F9;
    border: 1px solid rgba(212, 241, 244, 0.18);
    font-size: 0.95rem;
}

a.cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    border-radius: 999px;
    background: #D4F1F4;
    color: #050505;
    text-decoration: none;
    font-weight: 700;
    margin-top: 24px;
    width: fit-content;
}

@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; }
}

/* Chatbot widget CSS */
#smart-chatbot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#smart-chatbot-window {
    display: none;
    width: 360px;
    height: 550px;
    background: rgba(15, 15, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: 0 12px 48px 0 rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(212, 241, 244, 0.15);
    flex-direction: column;
    overflow: hidden;
    transform-origin: bottom right;
    animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes popIn {
    0% { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

#smart-chatbot-header {
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    padding: 0 12px;
    font-weight: 600;
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    height: 60px;
    z-index: 10;
}

#smart-chatbot-top-title {
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #D4F1F4;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(212, 241, 244, 0.4);
    pointer-events: none;
    white-space: nowrap;
}

#smart-chatbot-footer-branding {
    text-align: center;
    padding: 2px 0 0;
    margin-top: 2px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#smart-chatbot-footer-branding img {
    height: 48px;
    max-width: 220px;
    object-fit: contain;
    display: block;
}

.history-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.75);
    cursor: pointer;
    font-size: 18px;
    position: relative;
}

#smart-chatbot-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
}
.history-btn:hover {
    color: #fff;
}

#smart-chatbot-header-dot {
    width: 10px;
    height: 10px;
    background: #D4F1F4;
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 8px #D4F1F4;
}

#smart-chatbot-controls button {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.75);
    cursor: pointer;
    font-size: 14px;
    margin-left: 10px;
}

#smart-chatbot-controls button:hover {
    color: #fff;
}

#smart-chatbot-messages {
    flex-grow: 1;
    padding: 18px 18px 8px 30px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#smart-chatbot-messages::-webkit-scrollbar { width: 6px; }
#smart-chatbot-messages::-webkit-scrollbar-track { background: transparent; }
#smart-chatbot-messages::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.18); border-radius: 10px; }

.chat-msg {
    max-width: 85%;
    padding: 12px 14px;
    border-radius: 16px;
    font-size: 13px;
    line-height: 1.45;
    word-wrap: break-word;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}

.bot-msg {
    background: rgba(255, 255, 255, 0.08);
    color: #e8eef9;
    align-self: flex-start;
}

.user-msg {
    background: #D4F1F4;
    color: #000;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
    font-weight: 500;
}

.chat-link {
    color: #D4F1F4;
    text-decoration: none;
    border-bottom: 1px solid #D4F1F4;
}

#smart-chatbot-input-area {
    display: flex;
    flex-direction: column;
    padding: 8px 10px 8px;
    background: rgba(10, 10, 10, 0.45);
    border-top: 1px solid rgba(212, 241, 244, 0.1);
    backdrop-filter: blur(12px);
}

#smart-chatbot-input-controls {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 12px;
    width: 100%;
}

#smart-chatbot-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start;
    padding: 4px 0;
    width: 100%;
    min-width: 0;
}

.suggestion-chip {
    box-sizing: border-box;
    flex: 1 1 100%;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    background: rgba(212, 241, 244, 0.1);
    color: #D4F1F4;
    border: 1px solid rgba(212, 241, 244, 0.2);
    padding: 7px 10px;
    border-radius: 12px;
    font-size: 9.5px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: normal;
    text-align: left;
    line-height: 1.25;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
}

.suggestion-chip:hover {
    background: rgba(212, 241, 244, 0.25);
    border-color: #D4F1F4;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 241, 244, 0.15);
}

#smart-chatbot-suggestions::-webkit-scrollbar { width: 4px; }
#smart-chatbot-suggestions::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.1); border-radius: 10px; }

/* From Uiverse.io by catraco */ 
/*------ Settings ------*/
.container {
  --color: rgba(255, 255, 255, 0.6);
  --size: 38px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  cursor: pointer;
  font-size: 24px;
  user-select: none;
  fill: var(--color);
  width: var(--size);
  height: var(--size);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  transition: all 0.2s;
  margin: 0 auto; /* Center in grid cell */
}

.container:hover {
    --color: #D4F1F4;
    background: rgba(212, 241, 244, 0.1);
    border-color: rgba(212, 241, 244, 0.4);
    box-shadow: 0 0 15px rgba(212, 241, 244, 0.2);
    transform: translateY(-2px);
    fill: var(--color);
}

.container .chevron-down {
  position: absolute;
  transform: rotate(180deg);
  animation: keyframes-return .5s;
}

/* ------ On check event ------ */
.container input:checked ~ .chevron-down {
  animation: keyframes-rotate .5s;
  transform: rotate(0deg);
}

/* ------ Hide the default checkbox ------ */
.container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* ------ Animation ------ */
@keyframes keyframes-rotate {
  0% {
    transform: rotate(180deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

@keyframes keyframes-return {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(180deg);
  }
}

#smart-chatbot-input-controls button {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 16px;
    padding: 0;
}

#smart-chatbot-input-controls button:hover {
    background: rgba(212, 241, 244, 0.15);
    border-color: rgba(212, 241, 244, 0.4);
    color: #D4F1F4;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 241, 244, 0.15);
}

.messageBox {
  width: 100%;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgba(255, 255, 255, 0.06);
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: border-color 0.2s;
}

.messageBox:focus-within {
  border-color: rgba(212, 241, 244, 0.4);
}

#smart-chatbot-input {
  flex: 1;
  height: 100%;
  background-color: transparent;
  outline: none;
  border: none;
  padding: 0 10px;
  color: white;
  font-size: 14px;
}

#smart-chatbot-send {
  width: 32px;
  height: 32px;
  background-color: transparent;
  outline: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  margin: 0;
  padding: 0;
}

#smart-chatbot-send svg {
  height: 20px;
  width: 20px;
}

#smart-chatbot-send svg path {
  stroke: rgba(255, 255, 255, 0.6);
  transition: stroke 0.2s;
}

#smart-chatbot-send:hover svg path {
  stroke: #D4F1F4;
}

#user-logo {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 40px;
  height: 40px;
  background: rgba(212, 241, 244, 0.1);
  border: 2px solid #D4F1F4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  z-index: 9998;
}

.chatbot-user-icon {
  width: 22px;
  height: 22px;
  fill: #D4F1F4;
}

.burger {
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  user-select: none;
  cursor: pointer;
  transition: 300ms;
  border-radius: 10px;
}
.burger input[type="checkbox"] {
  appearance: none;
  transition: 300ms;
}

.burger::before,
.burger::after {
  content: "";
  transition: 300ms;
  transform-origin: center center;
}

.burger::before {
  transform: translateY(8px);
}
.burger::after {
  transform: translateY(-8px);
}
.burger .line,
.burger::before,
.burger::after {
  width: 25px;
  height: 2.1px;
  display: block;
  background-color: rgb(148, 156, 150);
  border-radius: 5px;
  position: absolute;
}

.burger .line:checked {
  width: 0;
  transition-delay: 100ms;
}
.burger:has(.line:checked)::before {
  animation: animation1 400ms ease-out 0s 1 both;
}
.burger:has(.line:checked)::after {
  animation: animation2 400ms ease-out 0s 1 both;
}

.burger:hover {
  background: rgba(255, 255, 255, 0.1);
}

.burger:hover .line,
.burger:hover::before,
.burger:hover::after {
  background: #D4F1F4;
}

.burger:active {
  scale: 0.95;
}
@keyframes animation1 {
  0% { transform: translateY(8px) rotate(0deg); }
  50% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(0px) rotate(45deg); }
}
@keyframes animation2 {
  0% { transform: translateY(-8px) rotate(0deg); }
  50% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(0px) rotate(-45deg); }
}

.button {
  position: relative;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  transition: all 0.2s;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.X, .Y {
  position: absolute;
  width: 22px;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.6);
  transition: all 0.2s;
}

.X { transform: rotate(45deg); }
.Y { transform: rotate(-45deg); }

.button:hover {
  background-color: rgba(255, 50, 50, 0.2);
}

.button:hover .X, .button:hover .Y {
  background-color: #ff4d4d;
}

.close {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  background: #000;
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.button:hover .close {
  opacity: 1;
}

.back-button {
  display: block;
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  overflow: hidden;
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
  margin: 0 auto; /* Center in grid cell */
}

.back-button:hover {
  background: rgba(212, 241, 244, 0.1);
  border-color: rgba(212, 241, 244, 0.4);
  box-shadow: 0 0 15px rgba(212, 241, 244, 0.2);
  transform: translateY(-2px);
}

.back-button-box {
  display: flex;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.back-button-elem {
  display: block;
  width: 18px;
  height: 18px;
  margin: 0 10px;
  fill: rgba(255, 255, 255, 0.6);
  transform: rotate(180deg);
  transition: fill 0.15s ease;
}

.back-button:hover .back-button-box {
  transform: translateY(-50%) translateX(-38px);
}

.back-button:hover .back-button-elem {
  fill: #D4F1F4;
}

.nav-highlight {
  position: relative !important;
  background: rgba(212, 241, 244, 0.15) !important;
  color: #fff !important;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(212, 241, 244, 0.2) !important;
}

#smart-chatbot-toggle {
    background: #D4F1F4;
    border: none;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    font-size: 26px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s, background 0.2s;
    animation: pulse 2s infinite;
}

.chatbot-toggle-icon {
    width: 28px;
    height: 28px;
    fill: #111827;
}

#smart-chatbot-toggle:hover {
    transform: scale(1.08);
    background: #C4E1E4;
}


@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(212, 241, 244, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(212, 241, 244, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 241, 244, 0); }
}

#smart-chatbot-context-banner {
    background: rgba(212, 241, 244, 0.05);
    border-bottom: 1px solid rgba(212, 241, 244, 0.1);
    padding: 8px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
#smart-chatbot-context-banner span {
    font-size: 11px;
    color: #94a3b8;
}
#smart-chatbot-company-select {
    background: #1e293b;
    color: #f8fafc;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 6px;
    padding: 2px 6px;
    font-size: 11px;
    cursor: pointer;
    outline: none;
    max-width: 150px;
    font-family: inherit;
}

