:root {
  --bg: #f5f8fb;
  --card: #ffffff;
  --text: #0e2436;
  --muted: #536273;
  --line: #d9e3ee;
  --brand: #0076c9;
  --brand-dark: #005ea1;
  --accent: #00b2a9;
  --shadow: 0 10px 30px rgba(16, 37, 56, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background: radial-gradient(circle at 20% 10%, #e7f4ff 0%, var(--bg) 45%), var(--bg);
  color: var(--text);
}

main section[id] {
  scroll-margin-top: 100px;
}

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(245, 248, 251, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(217, 227, 238, 0.8);
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 0;
}

.brand {
  text-decoration: none;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.brand span {
  color: var(--brand);
}

.main-nav {
  flex: 1;
}

.nav-toggle,
.submenu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  border-radius: 10px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.nav-toggle {
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
}

.submenu-toggle {
  position: absolute;
  top: 8px;
  right: 0;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 18px;
}

.menu > li {
  position: relative;
}

.menu a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 6px;
  display: inline-block;
}

.menu > li > a:hover {
  color: var(--brand);
}

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 340px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 10px;
  margin: 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.dropdown li a {
  width: 100%;
  border-radius: 8px;
  padding: 10px 12px;
  font-weight: 500;
  color: var(--muted);
}

.dropdown li a:hover {
  background: #eef7ff;
  color: var(--brand);
}

.industries-dropdown {
  min-width: 720px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.industries-dropdown .dropdown-section {
  background: #fbfdff;
  border: 1px solid #e2edf7;
  border-radius: 10px;
  padding: 10px;
}

.industries-dropdown .dropdown-section-title {
  margin: 4px 8px 8px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #2f5f86;
}

.industries-dropdown .dropdown-sublist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.demo-btn,
.btn {
  text-decoration: none;
  font-weight: 700;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.demo-btn {
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff;
  padding: 11px 18px;
  box-shadow: 0 8px 18px rgba(0, 118, 201, 0.25);
  white-space: nowrap;
}

.demo-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0, 118, 201, 0.3);
}

.hero {
  padding: 84px 0 68px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
}

.eyebrow {
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 800;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin: 8px 0 14px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  margin: 0 0 12px;
  line-height: 1.2;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.lead {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.6;
  max-width: 64ch;
}

.hero-actions {
  margin-top: 26px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  padding: 11px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn.primary {
  background: var(--brand);
  color: #fff;
}

.btn.primary:hover {
  background: var(--brand-dark);
}

.btn.secondary {
  border: 1px solid var(--line);
  color: var(--text);
  background: #fff;
}

.btn.secondary:hover {
  background: #f2f7fb;
}

.hero-card,
.content-card {
  background: linear-gradient(155deg, #ffffff 0%, #f4fbff 100%);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.hero-card p,
.content-card p {
  color: var(--muted);
  margin-top: 0;
  line-height: 1.6;
}

.hero-card ul,
.content-card ul {
  margin: 16px 0 0;
  padding-left: 18px;
}

.hero-card li + li,
.content-card li + li {
  margin-top: 8px;
}

.full {
  width: 100%;
}

.page-section {
  padding: 68px 0;
}

.page-section.alt {
  background: linear-gradient(180deg, rgba(241, 248, 255, 0.4), rgba(245, 248, 251, 0));
}

.section-kicker {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 700;
}

.section-intro {
  margin: 0;
  color: var(--muted);
  max-width: 76ch;
  line-height: 1.7;
}

.mini-link {
  display: inline-flex;
  margin-top: 12px;
  text-decoration: none;
  color: var(--brand);
  font-weight: 700;
  font-size: 0.9rem;
  border: 1px solid #bfd9ee;
  border-radius: 999px;
  padding: 7px 12px;
  background: #f3f9ff;
}

.mini-link:hover {
  background: #e8f3ff;
}

.cards {
  margin-top: 24px;
  display: grid;
  gap: 18px;
}

.integration-chips {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.integration-chips span {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid #cce0f1;
  background: #f3f9ff;
  color: #28567a;
  font-size: 0.85rem;
  font-weight: 700;
}

.integration-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.integration-card {
  background: #fff;
  border: 1px solid #d9e6f2;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 8px 20px rgba(16, 37, 56, 0.08);
}

.integration-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.integration-head i {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #e8f2fb;
  color: #1e5b86;
}

.integration-logo {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #e2edf7;
  padding: 6px;
  object-fit: contain;
}

.integration-head h3 {
  margin: 0;
  font-size: 1rem;
}

.integration-card p {
  margin: 0 0 8px;
  color: var(--muted);
  line-height: 1.55;
}

.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.content-card.compact {
  padding: 20px;
}

.book-demo {
  padding: 72px 0 88px;
}

.book-demo p {
  color: var(--muted);
  max-width: 72ch;
}

.demo-form {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.demo-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
  color: var(--text);
}

.demo-form label:last-of-type {
  grid-column: 1 / -1;
}

.demo-form input,
.demo-form textarea {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: #fff;
}

.demo-form button {
  justify-self: start;
}

.demo-status {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.9rem;
  color: #245176;
  font-weight: 600;
}

@media (max-width: 1080px) {
  .menu {
    gap: 10px;
  }

  .menu a {
    font-size: 0.9rem;
  }

  .dropdown {
    min-width: 280px;
  }

  .industries-dropdown {
    min-width: 560px;
  }

  .three-up {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .integration-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .nav-wrap {
    flex-wrap: wrap;
    gap: 12px;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .main-nav {
    order: 3;
    width: 100%;
    display: none;
  }

  .main-nav.is-open {
    display: block;
  }

  .menu {
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 8px;
    gap: 0;
  }

  .menu > li {
    border-bottom: 1px solid #eaf1f7;
    padding-right: 42px;
  }

  .menu > li:last-child {
    border-bottom: 0;
  }

  .menu > li > a {
    width: 100%;
  }

  .submenu-toggle {
    display: inline-flex;
  }

  .dropdown {
    position: static;
    min-width: 0;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    padding: 0 0 6px 8px;
    background: transparent;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }

  .has-dropdown.submenu-open .dropdown {
    display: block;
  }

  .dropdown li a {
    padding: 9px 8px;
  }

  .hero {
    padding-top: 52px;
  }

  .hero-grid,
  .two-up,
  .three-up,
  .demo-form,
  .integration-grid {
    grid-template-columns: 1fr;
  }

  .industries-dropdown {
    min-width: 320px;
    grid-template-columns: 1fr;
  }
}

.site-footer {
  background: #0f2436;
  color: #d8e5f1;
  padding: 56px 0 20px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(216, 229, 241, 0.2);
}

.footer-brand {
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}

.footer-brand span {
  color: #68c6ff;
}

.footer-brand-block p {
  margin: 10px 0 0;
  max-width: 64ch;
  color: #b8c8d7;
}

.social-icons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social-icons a {
  min-height: 42px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
  transform: translateY(0);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.social-icons a:nth-child(1) {
  background: linear-gradient(135deg, #fd5949, #d6249f 45%, #285aeb);
}

.social-icons a:nth-child(2) {
  background: linear-gradient(135deg, #ff0033, #cc0000);
}

.social-icons a:nth-child(3) {
  background: linear-gradient(135deg, #1877f2, #0e56b8);
}

.social-icons a:nth-child(4) {
  background: linear-gradient(135deg, #0a66c2, #004182);
}

.social-icons a i {
  font-size: 1.08rem;
}

.social-icons a:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
}

.footer-menus {
  padding: 32px 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.footer-menus h3 {
  font-size: 1rem;
  margin-bottom: 12px;
  color: #fff;
}

.footer-menus ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-menus li + li {
  margin-top: 8px;
}

.footer-menus a {
  text-decoration: none;
  color: #c2d2e2;
  font-size: 0.95rem;
}

.footer-menus a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(216, 229, 241, 0.2);
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-bottom p {
  margin: 0;
  color: #b8c8d7;
  font-size: 0.92rem;
}

.legal-links {
  display: flex;
  gap: 16px;
}

.legal-links a {
  text-decoration: none;
  color: #d8e5f1;
  font-size: 0.92rem;
}

.legal-links a:hover {
  color: #fff;
}

@media (max-width: 860px) {
  .footer-top {
    flex-direction: column;
  }

  .footer-menus {
    grid-template-columns: 1fr;
  }
}

.chatbot-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
}

.chatbot-fab {
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #0076c9, #00b2a9);
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(0, 82, 140, 0.38);
}

.chatbot-fab-logo {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.chatbot-fab-logo i {
  font-size: 1rem;
}

.chatbot-fab.hide {
  display: none;
}

.chatbot-panel {
  width: min(380px, calc(100vw - 24px));
  height: min(520px, calc(100vh - 80px));
  background: #fff;
  border: 1px solid #dce7f1;
  border-radius: 16px;
  box-shadow: 0 20px 42px rgba(15, 36, 54, 0.24);
  overflow: hidden;
  display: none;
  flex-direction: column;
}

.chatbot-panel.open {
  display: flex;
}

.chatbot-head {
  background: linear-gradient(135deg, #0f2436, #1c4668);
  color: #fff;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chatbot-head-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.chatbot-head-title i {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  font-size: 0.85rem;
}

.chatbot-close {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.chatbot-body {
  flex: 1;
  padding: 12px;
  overflow-y: auto;
  background: #f7fbff;
}

.chatbot-msg {
  max-width: 88%;
  padding: 10px 12px;
  border-radius: 12px;
  margin-bottom: 10px;
  font-size: 0.92rem;
  line-height: 1.45;
}

.chatbot-msg.bot {
  background: #e6f2ff;
  color: #17324b;
  border: 1px solid #c8def3;
}

.chatbot-msg.user {
  margin-left: auto;
  background: #0e2436;
  color: #fff;
}

.chatbot-form {
  border-top: 1px solid #dce7f1;
  padding: 10px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  background: #fff;
}

.chatbot-input {
  border: 1px solid #ccdce9;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
}

.chatbot-form button {
  border: 0;
  border-radius: 10px;
  background: #0076c9;
  color: #fff;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 860px) {
  .chatbot-widget {
    right: 12px;
    bottom: 12px;
  }

  .chatbot-panel {
    width: calc(100vw - 24px);
    height: min(540px, calc(100vh - 24px));
  }
}
