:root {
  --primary: #339af0;
  --accent: #0e70c2;
  --text-dark: #111;
  --text-light: #555;
  --background: #ffffff;
}

body {
  margin: 0;
  font-family: "Nunito", sans-serif;
  background-color: var(--background);
  color: var(--text-dark);
  line-height: 1.6;
}

li {
  color: var(--text-dark);
}

header {
  background: var(--accent);
  color: white;
  display: flex;
  align-items: center;
  padding: 1.25rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  z-index: 2;
}

.header-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.video-container {
  position: relative;
  overflow: hidden;
  width: 85%;
  margin-top: 2em;
  margin-left: auto;
  margin-right: auto;
  padding-top: 47.8%;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: bold;
}

.logo svg {
  stroke: white;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2em;
  z-index: 2;
}

.nav a {
  text-decoration: none;
  color: white;
}

.hero {
  position: relative;
  padding: 2rem 2rem 8rem 2rem;
  text-align: center;
  background: var(--accent);
  color: #fff;
  overflow: hidden;
}

.hero h1 {
  position: relative;
  font-size: 2.15rem;
  margin-bottom: -2rem;
  z-index: 2;
}

.hero p {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
  margin-top: 2.5em;
  color: #e7e5e5;
  z-index: 2;
}

.wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  transform: scale(-1, -1);
  z-index: 1;
}

.section {
  padding: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.section h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.section p {
  font-size: 1.1rem;
  color: var(--text-dark);
}

.integrations ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
  padding: 1rem 0 0;
}

.integrations li {
  background: var(--background);
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-weight: 500;
}

.cta {
  background: var(--primary);
  color: white;
  padding: 2rem;
  padding-bottom: 6rem;
  text-align: center;
  margin-top: 2rem;
}

.cta h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.button {
  background: white;
  color: var(--primary);
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
}

.button:hover {
  background: #e5f3ff;
}

.login-button {
  background-color: white;
  color: var(--accent) !important;
  padding: 0.25rem;
  padding-left: 0.6rem;
  padding-right: 0.6rem;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
}

.login-button:hover {
  background: #e5f3ff;
}

.primary-button {
  background: var(--primary);
  color: white;
  padding: 0.25rem;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  font-size: 0.9em;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
}

.primary-button:hover {
  background: #e5f3ff;
}

.integraiotn-container {
  display: flex;
  justify-content: center;
}

.integration {
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.integration-image {
  width: 25px;
  height: 25px;
  border-radius: 5px;
}

footer svg {
  display: block;
  width: 100%;
  margin-bottom: -5px;
}

.footer {
  background: #0a1a2b;
  padding: 32px 20px;
  color: #ccc;
  font-size: 14px;
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  text-align: center;
}

.footer a {
  color: #339af0;
  text-decoration: none;
  margin: 0 8px;
}

.footer a:hover {
  text-decoration: underline;
}

/* Docs */

.container {
  display: flex;
  width: 100%;
  margin-top: -1em;
}

.doc-header-container {
  width: 100%;
  height: 4em;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.doc-login-button {
  background-color: var(--primary);
  color: white;
  padding: 0.25rem;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
}

.doc-sidebar {
  position: fixed;
  top: 0em;
  width: 14em;
  height: calc(100% - 1.4rem);
  padding: 1rem;
  padding-top: 0.5em;
  background-color: #f8f9fa;
  border-right: 1px solid #d5dadf;
  overflow-y: auto;
  z-index: 4;
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.35rem;
  font-weight: bold;
  margin-top: 0.5em;
  margin-bottom: 1.25em;
}

.sidebar-logo svg {
  stroke: var(--primary);
}

.doc-nav ul {
  list-style: none;
  width: calc(100% - 1.5rem);
  padding: 0;
  width: 100%;
}

.doc-nav li {
  margin-bottom: 0.25rem;
}

.doc-nav a {
  display: block;
  width: 100%;
  text-decoration: none;
  color: black;
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  transition: background-color 0.2s ease;
  width: calc(100% - 2.5em);
}

.expand-btn {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  text-align: left;
  padding: 0.25rem;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  border-radius: 4px;
  margin-bottom: 0.4rem;
  width: 100%;
}

.expand-btn:hover,
.doc-nav a:hover {
  background-color: #e2e2e2;
}

.content {
  position: relative;
  flex-grow: 1;
  padding: 1rem;
  padding-left: 20em;
  padding-right: 4em;
  padding-top: 0;
  background-color: var(--background);
  margin-bottom: 7em;
  min-height: 100%;
}

.content p {
  color: var(--text-dark);
  line-height: 1.6;
  max-width: 850px;
}

.link {
  text-decoration: none;
  color: var(--accent);
}

.button-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  height: 3.5em;
  position: fixed;
  bottom: 0;
  background-color: #fff;
  border-top: 1px solid #d5dadf;
}

.nav-button {
  background-color: var(--primary);
  color: white;
  padding: 0.25rem;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  margin-right: 1em;
  border-radius: 6px;
  font-weight: bold;
  font-size: 0.9em;
  text-decoration: none;
  cursor: pointer;
}

.nav-button-prev {
  background-color: rgb(225, 225, 225);
  color: rgb(52, 51, 51);
  padding: 0.25rem;
  padding-left: 0.6rem;
  padding-right: 0.6rem;
  margin-right: 1em;
  border-radius: 6px;
  font-weight: bold;
  font-size: 0.9em;
  text-decoration: none;
  cursor: pointer;
}

.doc-nav-buttons {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  top: 0;
  right: 0;
  width: 100%;
  height: 3.5em;
  gap: 2em;
  z-index: 2;
}

.submenu {
  margin-left: 1em;
  padding-left: 0;
  list-style-type: disc;
}

.hidden {
  display: none;
}

.submenu {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease-in-out;
  margin-left: 1em;
  padding-left: 0;
  list-style-type: disc;
}

.submenu.expanded {
  max-height: 500px;
}

.code-block {
  position: relative;
  background-color: #1e1e1e;
  color: #ffffff;
  padding: 2em;
  border-radius: 6px;
  width: calc(100% - 4em);
  overflow-x: auto;
  font-family: monospace;
  margin-top: 2em;
  margin-bottom: 3em;
}

.code-wrapper {
  position: relative;
}

.copy-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 6px 10px;
  background: #1e1e1e;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  z-index: 1000;
}

.copy-btn:active {
  transform: scale(0.97);
}

.sidebar.active {
  right: 0;
}

.nav {
  display: flex;
  gap: 2em;
  align-items: center;
}

.hamburger {
  position: fixed;
  right: 1em;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 26px;
  height: 20px;
  cursor: pointer;
  z-index: 9999;
  padding: 4px;
  -webkit-tap-highlight-color: transparent;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: transform 0.28s ease, opacity 0.2s ease;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.hamburger-landing {
  position: fixed;
  right: 1em;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 26px;
  height: 20px;
  cursor: pointer;
  z-index: 9999;
  padding: 4px;
  -webkit-tap-highlight-color: transparent;
}

.hamburger-landing span {
  display: block;
  width: 100%;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: transform 0.28s ease, opacity 0.2s ease;
  transform-origin: center;
}

.hamburger-landing.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  background-color: #222;
}

.hamburger-landing.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger-landing.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
  background-color: #222;
}

.sidebar {
  position: fixed;
  top: 0;
  right: -350px;
  width: 250px;
  height: 100%;
  background-color: #f8f9fa;
  border-left: 1px solid #d5dadf;
  padding: 2em;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
  padding-top: 3em;
}

.sidebar.active {
  right: -1px;
}

#sidebar-button-login {
  position: fixed;
  bottom: 1em;
}

#mobile-only {
  display: none;
}

.card {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  width: 225px;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0.5rem 0;
}

.badge {
  color: white;
  border-radius: 12px;
  padding: 0.3em 0.6em 0.3em 0.6em;
  font-size: 0.7em;
  font-weight: bold;
  margin-bottom: 1em;
}

.bullets {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0;
}

.bullets li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
  font-size: 0.9em;
}

.pricing-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2em;
  padding: 5em;
  padding-bottom: 3em;
  padding-top: 4em;
}

.tile-header {
  text-align: center;
  margin-bottom: 0.5em;
}

.contactUs {
  color: #339af0;
  text-decoration: none;
  font-size: 0.95em;
}

.contactUs:hover {
  text-decoration: underline;
}

.contact-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.35em;
  margin-bottom: 6em;
}

@media (min-width: 768px) {
  .contactUsContainer {
    justify-content: flex-start;
  }
}

@media (max-width: 500px) {
  .nav {
    display: none;
  }

  #sidebar-link {
    color: black;
  }

  .content {
    padding: 2.5em;
  }

  .container {
    margin-top: -3em;
  }

  .doc-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1000;
    padding-top: 3em;
  }

  .doc-sidebar.open {
    transform: translateX(0);
  }

  .hamburger {
    display: flex;
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 1100;
  }

  .hamburger-landing {
    display: flex;
  }

  .sidebar-logo {
    display: none;
  }

  .login-button {
    color: white !important;
    background-color: var(--primary) !important;
  }

  .login-button:hover {
    background: var(--accent);
  }

  #mobile-only {
    display: block;
  }
}
