/* ============================================
   CUSTOM BOOTSTRAP BRIDGE
   Replaces Tailwind main.css with Bootstrap 5 + custom styles
   ============================================ */

/* ============================================
   0. ICON FONT (next-sass shapes)
   ============================================ */
@font-face {
  font-family: next-sass;
  src: url("../fonts/next-sass.eot");
  src: url("../fonts/next-sass.eot") format("embedded-opentype"),
       url("../fonts/next-sass.ttf") format("truetype"),
       url("../fonts/next-sass.woff") format("woff"),
       url("../fonts/next-sass.svg") format("svg");
  font-weight: normal;
  font-style: normal;
  font-display: block;
}
[class^="ns-"], [class*=" ns-"] {
  speak: never;
  font-variant: normal;
  text-transform: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  font-family: next-sass !important;
}
.ns-shape-3:before { content: "\e902"; }
.ns-shape-12:before { content: "\e90b"; }
.ns-shape-35:before { content: "\e922"; }
.text-52 { font-size: 52px; }

/* ============================================
   1. CSS VARIABLES (Design System)
   ============================================ */
:root, :host {
  --font-inter-tight: "Exo 2", sans-serif!important;
  --color-primary-50: #f4f2fe!important;
  --color-primary-100: #ece8ff!important;
  --color-primary-200: #fdd491!important;
  --color-primary-300: #fbc472!important;
  --color-primary-400: #f9b453!important;
  --color-primary-500: #f6a335!important;
  --color-primary-600: #f39314!important;
  --color-secondary: #000000!important;
  --color-accent: #fcfcfc!important;
  --color-background-1: #fcfcfd!important;
  --color-background-2: #f9fafb!important;
  --color-background-3: #eff3f7!important;
  --color-background-4: #f0f2f6!important;
  --color-background-5: #13171e!important;
  --color-background-6: #0f1217!important;
  --color-background-7: #181d26!important;
  --color-background-8: #070b10!important;
  --color-background-9: #1f252f!important;
  --color-background-12: #eaeceb!important;
  --color-stroke-1: #dfe4eb!important;
  --color-stroke-2: #e3e7ed!important;
  --color-stroke-3: #d7dde5!important;
  --color-stroke-4: #eceff4!important;
  --color-stroke-5: #1b232f!important;
  --color-stroke-6: #202731!important;
  --color-stroke-7: #2a333e!important;
  --color-stroke-8: #303b49!important;
  --color-stroke-9: var(--color-background-8)!important;
  --color-stroke-10: #dfd1c5!important;
  --color-ns-yellow: #f9eb57!important;
  --color-ns-green: #c6f56f!important;
  --color-ns-red: #ffb9a2!important;
  --color-ns-cyan: #f39314!important;
  --color-ns-green-light: #6d922b!important;
  --color-ns-cyan-light: #cdf5f8!important;
  --color-ns-yellow-light: #fdf7bc!important;
  --color-ns-ivory: #f4efe7!important;
  --color-ns-linen: #6d922b!important;
  --color-gradient-1: linear-gradient(135deg, #a585ff 0%, #ffc2ad 100%)!important;
  --color-gradient-5: linear-gradient(165deg, #ffffff80 0.51%, #fff0 64.43%)!important;
  --color-gradient-11: linear-gradient(179deg, #fff0 0.68%, #fff 79.47%)!important;

  --text-heading-1: 4.25rem!important;
  --text-heading-1--line-height: 110%!important;
  --text-heading-2: 3.15rem!important;
  --text-heading-2--line-height: 110%!important;
  --text-heading-3: 2rem!important;
  --text-heading-3--line-height: 120%!important;
  --text-heading-4: 1.8rem!important;
  --text-heading-4--line-height: 120%!important;
  --text-heading-5: 1.6rem!important;
  --text-heading-5--line-height: 125%!important;
  --text-heading-6: 1.3rem!important;
  --text-heading-6--line-height: 140%!important;
  --text-tagline-1: 1.3rem!important;
  --text-tagline-1--line-height: 150%!important;
  --text-tagline-2: 1rem!important;
  --text-tagline-2--line-height: 150%!important;
  --text-tagline-3: .75rem!important;
  --text-tagline-3--line-height: 150%!important;

  --blur-ns-badge-blur: 17.2283px!important;
  --stack-cards-gap: 2rem!important;
  --spacing: .25rem!important;

  --bg-secondary: #57676f!important;
}

/* Responsive typography overrides */
@media (max-width: 991px) {
  :root {
    --text-heading-1: 4.25rem;
    --text-heading-1--line-height: 110%;
    --text-heading-2: 3.25rem;
    --text-heading-2--line-height: 120%;
    --text-heading-3: 2.5rem;
    --text-heading-3--line-height: 120%;
    --text-heading-4: 2rem;
    --text-heading-4--line-height: 130%;
    --text-heading-5: 1.5rem;
    --text-heading-5--line-height: 140%;
    --text-heading-6: 1.25rem;
    --text-heading-6--line-height: 140%;
    --text-tagline-1: 1rem;
    --text-tagline-1--line-height: 150%;
    --text-tagline-2: .875rem;
    --text-tagline-2--line-height: 150%;
    --text-tagline-3: .75rem;
    --text-tagline-3--line-height: 150%;
  }
}

/* ============================================
   2. BASE STYLES
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: var(--font-inter-tight);
  color: var(--color-secondary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-inter-tight);
}

h1,h2 {
  font-size: var(--text-heading-4);
  line-height: var(--text-heading-4--line-height);
  font-weight: normal;
}
@media (min-width: 768px) {
  h1,h2 {
    font-size: var(--text-heading-3);
    line-height: var(--text-heading-3--line-height);
  }
}
@media (min-width: 992px) {
  h1,h2 {
    font-size: var(--text-heading-2);
    line-height: var(--text-heading-2--line-height);
  }
}

h3 {
  font-size: var(--text-heading-5);
  line-height: var(--text-heading-5--line-height);
  font-weight: normal;
}
@media (min-width: 992px) {
  h3 {
    font-size: var(--text-heading-4);
    line-height: var(--text-heading-4--line-height);
  }
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

/* ============================================
   3. LAYOUT
   ============================================ */
.main-container {
  max-width: 1290px;
  margin-inline: auto;
  padding-inline: 1rem;
}
@media (min-width: 1440px) {
  .main-container {
    padding-inline: 0;
  }
}

/* ============================================
   4. TYPOGRAPHY CLASSES
   ============================================ */
.text-heading-3 { font-size: var(--text-heading-3); line-height: var(--text-heading-3--line-height); }
.text-heading-4 { font-size: var(--text-heading-4); line-height: var(--text-heading-4--line-height); }
.text-heading-5 { font-size: var(--text-heading-5); line-height: var(--text-heading-5--line-height); }
.text-heading-6 { font-size: var(--text-heading-6); line-height: var(--text-heading-6--line-height); }
.text-tagline-1 { font-size: var(--text-tagline-1); line-height: var(--text-tagline-1--line-height); }
.text-tagline-2 { font-size: var(--text-tagline-2); line-height: var(--text-tagline-2--line-height); }
.text-tagline-3 { font-size: var(--text-tagline-3); line-height: var(--text-tagline-3--line-height); }

@media (min-width: 768px) {
  .md-text-heading-5 { font-size: var(--text-heading-5); line-height: var(--text-heading-5--line-height); }
}
@media (min-width: 576px) {
  .sm-text-heading-5 { font-size: var(--text-heading-5); line-height: var(--text-heading-5--line-height); }
  .sm-text-heading-6 { font-size: var(--text-heading-6); line-height: var(--text-heading-6--line-height); }
}

/* ============================================
   5. COLOR UTILITIES
   ============================================ */
.text-secondary { color: var(--color-secondary) !important; }
.text-secondary-60 { color: rgba(0, 0, 0, 0.6); }
.text-accent { color: var(--color-accent) !important; }
.text-primary-600 { color: var(--color-primary-600); }
.text-primary-50 { color: var(--color-primary-50); }
.text-ns-linen { color: var(--color-ns-linen); }

.bg-secondary { background-color: var(--bg-secondary) !important; }
.bg-background-1 { background-color: var(--color-background-1); }
.bg-background-3 { background-color: var(--color-background-3); }
.bg-background-4 { background-color: var(--color-background-4); }
.bg-background-12 { background-color: var(--color-background-12); }
.bg-stroke-9 { background-color: var(--color-stroke-9); }
.bg-stroke-2 { background-color: var(--color-stroke-2); }

.fill-secondary { fill: var(--color-secondary); }

.border-stroke-1-50 { border-color: rgba(223, 228, 235, 0.5); }
.border-stroke-1-90 { border-color: rgba(223, 228, 235, 0.9); }
.border-stroke-3 { border-color: var(--color-stroke-3); }

/* ============================================
   6. BADGE COMPONENT
   ============================================ */
.badge {
  padding-inline: 1.25rem;
  padding-block: 0.375rem;
  line-height: var(--text-tagline-2--line-height);
  font-weight: normal;
  white-space: nowrap;
  color: var(--color-accent);
  backdrop-filter: blur(var(--blur-ns-badge-blur));
  border-radius: 9999px;
  display: inline-block;
  margin-bottom: 30px;
}
.badge::first-letter {
  text-transform: uppercase;
}

.badge-gray-light {
  background-color: var(--color-background-3);
  /*color: rgba(0, 0, 0, 0.6);*/
  color: rgba(0, 0, 0, 1);
}
.badge-white {
  background-color: var(--color-white);
  /*color: rgba(0, 0, 0, 0.6);*/
  color: rgba(0, 0, 0, 1);
}
.badge-cyan {
  background-color: var(--color-primary-600);
}
.badge-ento {
  background-color: #6e4c98 !important;
}

/* ============================================
   7. BUTTON COMPONENTS
   ============================================ */
.btn-custom {
  cursor: pointer;
  border: 1px solid transparent;
  text-align: center;
  font-weight: normal;
  white-space: nowrap;
  text-transform: lowercase;
  transition: all 0.5s ease-in-out;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-right: 1.5rem;
}
@media (hover: hover) {
  .btn-custom:hover {
    transform: scale(1.02);
  }
}
.btn-custom span {
  transition: transform 0.3s ease-in-out;
  display: inline-block;
}
.btn-custom span::first-letter {
  text-transform: uppercase;
}
.btn-custom::before {
  content: "";
  position: absolute;
  top: 50%;
  /*right: 0;*/
  height: 0;
  width: 0;
  transform: translateY(-50%);
  opacity: 0;
  transition: all 0.3s ease-in-out;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='%23fff' viewBox='0 0 256 256'%3E%3Cpath d='M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z'%3E%3C/path%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  right: 10px;
  height: 16px !important;
  width: 16px !important;
}
@media (hover: hover) {
  .btn-custom:hover::before {
    width: 0.625rem;
    height: 0.625rem;
    /*right: 0.75rem;*/
    opacity: 1;
  }
  .btn-custom:hover span {
    transform: translateX(-0.5rem);
  }
}

/* Auth form input */
.auth-form-input {
  border: 1px solid var(--color-stroke-3);
  background-color: var(--color-background-1);
  width: 100%;
  height: 45px;
  padding-inline: 18px;
  padding-block: 0.75rem;
  font-size: var(--text-tagline-1);
  line-height: var(--text-tagline-1--line-height);
  border-radius: 9999px;
  outline: none;
}
.auth-form-input::placeholder {
  font-size: var(--text-tagline-2);
  font-weight: normal;
  color: rgba(0,0,0,0.6);
}
.auth-form-input:focus {
  outline: none;
  box-shadow: none;
}

/* Custom checkbox (circle with dot) */
.auth-check-circle {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  border: 1px solid var(--color-stroke-3);
  position: relative;
  flex-shrink: 0;
  cursor: pointer;
}
.auth-check-circle::after {
  content: "";
  position: absolute;
  width: 0.75rem;
  height: 0.75rem;
  background-color: var(--color-primary-500);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.15s ease;
}
.auth-check-input:checked + .auth-check-circle {
  border-color: var(--color-primary-500);
}
.auth-check-input:checked + .auth-check-circle::after {
  opacity: 1;
}

/* Btn base (template buttons) */
.btn {
  cursor: pointer;
  text-align: center;
  font-weight: normal;
  white-space: nowrap;
  /*text-transform: lowercase;*/
  transition: all 0.5s ease-in-out;
  border: 1px solid;
  border-radius: 9999px;
  display: inline-block;
  position: relative;
  overflow: hidden;
}
.btn span {
  display: inline-block;
  transition: transform 0.3s ease-in-out;
  transform: translateX(0);
  padding-bottom: 2px;
}
.btn span:first-letter {
  text-transform: uppercase;
}
.btn:before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  height: 0;
  width: 0;
  transform: translateY(-50%);
  opacity: 0;
  transition: all 0.3s ease-in-out;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='white' viewBox='0 0 256 256'%3E%3Cpath d='M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z'%3E%3C/path%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
}
@media (hover: hover) {
  .btn:hover { transform: scale(1.02); }
  .btn:hover:before {
    width: 0.75rem; height: 0.75rem;
    /*transform: translateY(-50%) translateX(-1rem);*/
    transform: translateY(0) translateX(-1rem);
    opacity: 1;
  }
  .btn:hover span { transform: translateX(-0.5rem); }
}

.btn-md {
  min-width: 90px;
  padding-inline: 1.25rem;
  padding-block: 0.625rem;
  font-size: var(--text-tagline-2);
  line-height: var(--text-tagline-2--line-height);
}

/* btn-primary (form submit) */
.btn.btn-primary {
  border-color: var(--color-primary-600);
  background-color: var(--color-primary-500);
  color: #fff;
  box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
}
.btn.btn-primary:before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='white' viewBox='0 0 256 256'%3E%3Cpath d='M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z'%3E%3C/path%3E%3C/svg%3E");
}

/* btn-secondary (dark) */
.btn.btn-secondary {
  border-color: var(--color-black);
  background-color: var(--color-secondary);
  color: #fff;
  box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
}
.btn.btn-secondary:before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='white' viewBox='0 0 256 256'%3E%3Cpath d='M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z'%3E%3C/path%3E%3C/svg%3E");
}

.btn-white {
  border-color: var(--color-stroke-3);
  background-color: var(--color-background-1);
  color: var(--color-secondary);
  box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
}
.btn-white::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='%231a1a1c' viewBox='0 0 256 256'%3E%3Cpath d='M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z'%3E%3C/path%3E%3C/svg%3E");
}

.btn-orange {
  border-color: var(--color-primary-600);
  background-color: var(--color-background-1);
  color: var(--color-secondary);
  box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
}
.btn-orange::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='%23fff' viewBox='0 0 256 256'%3E%3Cpath d='M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z'%3E%3C/path%3E%3C/svg%3E");
}

.btn-primary-custom {
  border-color: var(--color-primary-600);
  background-color: var(--color-primary-500);
  color: var(--color-white);
  box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
}
.btn-primary-custom::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='white' viewBox='0 0 256 256'%3E%3Cpath d='M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z'%3E%3C/path%3E%3C/svg%3E");
}

@media (hover: hover) {
  .btn-custom.btn-white:hover,
  .btn-custom.btn-orange:hover {
    background-color: var(--color-primary-500);
    color: var(--color-white);
    border-color: var(--color-primary-600);
  }
  .btn-custom.btn-white:hover::before,
  .btn-custom.btn-orange:hover::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='white' viewBox='0 0 256 256'%3E%3Cpath d='M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z'%3E%3C/path%3E%3C/svg%3E");
  }
}

/* Button V3 */
.btn-v3-secondary {
  background-color: var(--color-primary-600);
  color: var(--color-white);
  border-radius: 1rem;
}
.btn-v3-secondary [data-button-v3-icon] {
  background-color: var(--color-white);
  fill: var(--color-secondary);
}

.btn-v3-white {
  background-color: var(--color-white);
  color: var(--color-secondary);
  border-radius: 1rem;
}
.btn-v3-white [data-button-v3-icon] {
  background-color: var(--color-primary-600);
  fill: var(--color-white);
}

.btn-v3-lg {
  font-size: var(--text-tagline-1);
  line-height: var(--text-tagline-1--line-height);
  font-weight: normal;
}
.btn-v3-lg [data-button-v3-icon] {
  width: 2.75rem;
  height: 2.75rem;
}

[data-button-v3-icon] {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  padding: 0.625rem;
  flex-shrink: 0;
  overflow: hidden;
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 20;
}

[data-button-v3-text] {
  flex-shrink: 0;
  padding-right: 1rem;
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
[data-button-v3-text]::first-letter {
  text-transform: uppercase;
}

/* ============================================
   8. NAVIGATION
   ============================================ */
.nav-item {
  position: relative;
}
.nav-item .nav-arrow {
  transition: transform 0.3s;
}
.nav-item.active .nav-arrow,
.nav-item.menu-active .nav-arrow,
.nav-item:hover .nav-arrow {
  transform: rotate(180deg);
}

.nav-item-link-white {
  align-items: center;
  gap: 0.25rem;
  height: 100%;
  font-size: var(--text-tagline-1);
  line-height: var(--text-tagline-1--line-height);
  display: inline-flex;
  position: relative;
  overflow: hidden;
}
.nav-item-link-white::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-primary-600);
  transform-origin: 100%;
  transform: scaleX(0);
  transition: transform 0.3s ease-in-out;
}
@media (hover: hover) {
  .nav-item-link-white:hover::before {
    transform-origin: 0;
    transform: scaleX(1);
  }
}

.nav-link-text {
  /*color: rgba(0, 0, 0, 0.6);*/
  color: rgba(0, 0, 0, 1);
  transition: color 0.3s ease-in-out;
}
.nav-item > a:hover .nav-link-text {
  color: var(--color-secondary);
}

/* Dropdown menu */
.dropdown-menu-custom,
.dropdown-menu-bridge {
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}
.nav-item:hover .dropdown-menu-custom,
.nav-item.active .dropdown-menu-custom {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-item:hover .dropdown-menu-bridge,
.nav-item.active .dropdown-menu-bridge {
  opacity: 1;
  pointer-events: auto;
}

.dropdown-menu-custom {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 10px);
  z-index: 50;
  margin-top: 0.5rem;
  width: 300px;
  border-radius: 20px;
  border: 1px solid rgba(223, 228, 235, 0.5);
  background-color: #fff;
  padding: 0.75rem;
  box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.06);
}
.nav-item:hover .dropdown-menu-custom {
  transform: translate(-50%, 0);
}

.dropdown-menu-bridge {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 40;
  height: 0.75rem;
  width: 100%;
  min-width: 300px;
  background: transparent;
}

.dropdown-item-custom {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border-radius: 10px;
  padding: 0.75rem;
  transition: all 0.3s;
  position: relative;
}
.dropdown-item-bg {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background-color: var(--color-background-3);
  opacity: 0;
  border-radius: 10px;
  z-index: 0;
  transition: opacity 0.4s ease-in-out;
}
.dropdown-item-custom:hover .dropdown-item-bg {
  opacity: 1;
}

/* Hamburger */
.nav-hamburger,
.nav-hamburger-close {
  cursor: pointer;
  border: none;
}
.nav-hamburger {
  background-color: var(--color-background-4);
  display: flex;
  width: 48px;
  height: 48px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 50%;
}
.nav-hamburger-close {
  background-color: var(--color-background-4);
  display: flex;
  width: 40px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 50%;
  position: relative;
}

.hamburger-line {
  display: block;
  height: 2px;
  width: 24px;
  background-color: var(--color-stroke-9);
}
.close-line {
  display: block;
  height: 2px;
  width: 16px;
  background-color: rgba(7, 11, 16, 0.6);
  position: absolute;
}
.close-line-1 { transform: rotate(45deg); }
.close-line-2 { transform: rotate(-45deg); }

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 9999;
  height: 100vh;
  width: 100%;
  transform: translateX(100%);
  border-radius: 1.5rem 0 0 1.5rem;
  background-color: #fff;
  transition: all 0.3s;
}
@media (min-width: 576px) {
  .sidebar { width: 50%; }
}

.mobile-menu-toggle {
  display: flex;
  width: 100%;
  cursor: pointer;
  align-items: center;
  justify-content: space-between;
  /*padding: 0.625rem 0;*/
  background: none;
  border: none;
}

/* ============================================
   9. FOOTER
   ============================================ */
.footer-link {
  font-size: var(--text-tagline-1);
  line-height: var(--text-tagline-1--line-height);
  font-weight: normal;
  color: var(--color-primary-50);
  display: inline-block;
  position: relative;
  overflow: hidden;
}
.footer-link::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--color-primary-600);
  transform-origin: 100%;
  transform: scaleX(0);
  transition: transform 0.3s ease-in-out;
}
@media (hover: hover) {
  .footer-link:hover::before {
    transform-origin: 0;
    transform: scaleX(1);
  }
}
@media (max-width: 425px) {
  .footer-link {
    font-size: var(--text-tagline-2);
    line-height: var(--text-tagline-2--line-height);
  }
}

.footer-social-link {
  transition: transform 0.3s;
}
@media (hover: hover) {
  .footer-social-link:hover {
    transform: scale(1.1);
  }
}

.footer-divider {
  height: 1px;
  width: 0;
  transform-origin: center;
}

/* ============================================
   10. CARD / STACK CARDS
   ============================================ */
.stack-cards {
  position: relative;
}
.stack-cards__item,
.js-stack-cards__item {
  position: sticky;
  top: calc(var(--stack-cards-gap) * var(--card-index, 0) + 7rem);
}

.card-hover-scale {
  transition: transform 0.5s;
}
@media (hover: hover) {
  .card-hover-scale:hover {
    transform: scale(1.02);
  }
}

/* ============================================
   11. LOGOS MARQUEE
   ============================================ */
.logos-marquee-container {
  overflow: hidden;
}

/* ============================================
   12. SCROLLBAR
   ============================================ */
.scroll-bar::-webkit-scrollbar {
  width: 4px;
}
.scroll-bar {
  scrollbar-width: thin;
}

/* ============================================
   13. SR-ONLY (accessibility)
   ============================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ============================================
   14. KEYFRAME ANIMATIONS
   ============================================ */
@keyframes top-to-bottom {
  0% { top: -30%; }
  50% { top: 50%; }
  100% { top: 100%; }
}

@keyframes textAnimate {
  0% { background-position: 0%; }
  50% { background-position: 100%; }
  100% { background-position: 0%; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes menuSlideIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes menuSlideOut {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes horizontal-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes vertical-marquee {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

/* ============================================
   15. CUSTOM UTILITIES (Tailwind gaps Bootstrap doesn't cover)
   ============================================ */

/* Spacing: space-y-* (vertical spacing between children) */
.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-3-5 > * + * { margin-top: 0.875rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-7 > * + * { margin-top: 1.75rem; }
.space-y-8 > * + * { margin-top: 2rem; }
.space-y-10 > * + * { margin-top: 2.5rem; }
.space-y-14 > * + * { margin-top: 3.5rem; }

/* Extended gaps (Bootstrap only goes to gap-5 = 3rem) */
.gap-custom-6 { gap: 1.5rem; }
.gap-custom-8 { gap: 2rem; }
.gap-custom-14 { gap: 3.5rem; }
.gap-custom-26 { gap: 26px; }

/* Custom rounded corners */
.rounded-20 { border-radius: 20px; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-4xl { border-radius: 2rem; }
.rounded-t-4xl { border-radius: 2rem 2rem 0 0; }
.rounded-r-4xl { border-top-right-radius: 2rem; border-bottom-right-radius: 2rem; }
.rounded-bl-4xl { border-bottom-left-radius: 2rem; }
.rounded-l-3xl { border-radius: 1.5rem 0 0 1.5rem; }
.rounded-full { border-radius: 9999px; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }

/* Custom max-widths */
.max-w-1440 { max-width: 1440px; }
.max-w-1000 { max-width: 1000px; }
.max-w-850 { max-width: 850px; }
.max-w-738 { max-width: 738px; }
.max-w-640 { max-width: 640px; }
.max-w-642 { max-width: 642px; }
.max-w-595 { max-width: 595px; }
.max-w-520 { max-width: 520px; }
.max-w-345 { max-width: 345px; }
.max-w-306 { max-width: 306px; }
.max-w-198 { max-width: 198px; }

/* Custom heights */
.h-250 { height: 250px; }
.h-480 { height: 480px; }
.min-h-255 { min-height: 255px; }
.min-h-380 { min-height: 380px; }

/* Sizing helpers */
.size-4 { width: 1rem; height: 1rem; }
.size-6 { width: 1.5rem; height: 1.5rem; }
.size-10 { width: 2.5rem; height: 2.5rem; }
.size-12 { width: 3rem; height: 3rem; }
.size-14 { width: 3.5rem; height: 3.5rem; }

/* Custom padding (Tailwind scale) */
.p-tw-3 { padding: 0.75rem; }
.p-tw-5 { padding: 1.25rem; }
.p-tw-8 { padding: 2rem; }
.px-tw-1 { padding-inline: 0.25rem; }
.py-tw-1 { padding-block: 0.25rem; }
.py-tw-5 { padding-block: 1.25rem; }
.pt-tw-2 { padding-top: 0.5rem; }
.pr-tw-8 { padding-right: 2rem; }
.pr-tw-4 { padding-right: 1rem; }
.pb-tw-5 { padding-bottom: 1.25rem; }
.pb-tw-10 { padding-bottom: 2.5rem; }

/* Custom margins (Tailwind scale) */
.mt-tw-6 { margin-top: 1.5rem; }
.mt-tw-14 { margin-top: 3.5rem; }
.mb-tw-2 { margin-bottom: 0.5rem; }
.mb-tw-3 { margin-bottom: 0.75rem; }
.mb-tw-4 { margin-bottom: 1rem; }
.mb-tw-7 { margin-bottom: 1.75rem; }
.mb-tw-14 { margin-bottom: 3.5rem; }
.mx-tw-4 { margin-inline: 1rem; }
.mx-tw-5 { margin-inline: 1.25rem; }

/* Padding sections */
.py-section { padding-block: 100px; }
.pt-section { padding-top: 100px; }
.pb-section { padding-bottom: 100px; }
.pt-28 { padding-top: 7rem; }
.pb-28 { padding-bottom: 7rem; }
.pb-10 { padding-bottom: 2.5rem; }
.pt-14 { padding-top: 3.5rem; }

/* Line clamp */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Object fit */
.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }

/* Width utilities */
.w-fit { width: fit-content; }
.w-px { width: 1px; }
.h-0-5 { height: 2px; }
.h-tw-5 { height: 1.25rem; }
.h-tw-6 { height: 1.5rem; }
.w-tw-4 { width: 1rem; }
.w-tw-6 { width: 1.5rem; }

/* Transition utilities */
.transition-colors {
  transition-property: color, background-color, border-color;
  transition-timing-function: ease-in-out;
  transition-duration: 0.3s;
}
.transition-all-300 {
  transition: all 0.3s ease;
}
.transition-all-500 {
  transition: all 0.5s ease;
}
.transition-all-700 {
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.transition-transform-500 {
  transition: transform 0.5s;
}

/* Z-index */
.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }
.z-9999 { z-index: 9999; }

/* Custom bg opacity helpers */
.bg-accent-10 { background-color: rgba(252, 252, 252, 0.1); }
.bg-stroke-1-20 { background-color: rgba(223, 228, 235, 0.2); }

/* Shadow utilities */
.shadow-14 {
  box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.06);
}
.shadow-2-custom {
  box-shadow: 0px 10px 20px -5px rgba(28, 34, 43, 0.05), 0px 20px 65px -5px rgba(28, 34, 43, 0.05);
}

/* Pointer */
.pointer-events-none { pointer-events: none; }
.pointer-events-auto { pointer-events: auto; }

/* Scale on hover for images */
.hover-scale-105 {
  transition: transform 0.5s ease-in-out;
}
.hover-scale-105:hover {
  transform: scale(1.05);
}

/* Misc */
.translate-y-px { transform: translateY(1px); }
.origin-center { transform-origin: center; }

/* ============================================
   16. DEMO SHOWCASE (from inline styles)
   ============================================ */
.demo-showcase-container {
  transform-origin: center center;
  backface-visibility: hidden;
  will-change: transform, opacity, filter;
  transition:
    transform 0.9s cubic-bezier(0.23, 1, 0.32, 1),
    opacity 0.9s cubic-bezier(0.23, 1, 0.32, 1),
    filter 0.9s cubic-bezier(0.23, 1, 0.32, 1);
}
.demo-showcase-closed {
  transform: translateX(100%) scale(0.65) rotateY(20deg);
  opacity: 0;
  filter: blur(22px);
}
.demo-showcase-open {
  transform: translateX(0) scale(1) rotateY(0deg);
  opacity: 1;
  filter: blur(0px);
}

/* ============================================
   17. RESPONSIVE OVERRIDES
   ============================================ */

/* lg breakpoint helpers */
@media (min-width: 992px) {
  .lg-sticky { position: sticky; top: 7rem; }
  .lg-text-start { text-align: left !important; }
  .lg-mx-0 { margin-inline: 0 !important; }
  .lg-p-42 { padding: 42px; }
  .lg-max-w-380 { max-width: 380px; }
  .lg-max-h-370 { max-height: 370px; }
  .lg-space-y-14 > * + * { margin-top: 3.5rem; }
  .lg-gap-2 { gap: 0.5rem !important; }
  .lg-p-2 { padding: 0.5rem !important; }
}

@media (min-width: 1200px) {
  .xl-gap-1 { gap: 0.25rem !important; }
  .xl-p-1 { padding: 0.25rem !important; }
  .xl-gap-70 { gap: 70px !important; }
  .lg-h-450 { height: 450px; }
  .lg-h-221 { height: 221px; }
}

/* Max-lg (below 992px) helpers */
@media (max-width: 991px) {
  .max-lg-grid-cols-1 {
    grid-template-columns: 1fr !important;
  }
  .max-lg-pl-4 { padding-left: 1rem; }
}

/* Max-sm (below 576px) helpers */
@media (max-width: 575px) {
  .max-sm-min-h-255 { min-height: 255px; }
}

/* Gap-x and gap-y custom */
.gap-x-140 { column-gap: 140px; }
.gap-y-24 { row-gap: 6rem; }
.gap-y-5 { row-gap: 1.25rem; }
.gap-y-8 { row-gap: 2rem; }
.gap-y-14 { row-gap: 3.5rem; }
.gap-y-16 { row-gap: 4rem; }

/* ============================================
   18. HEADER SCROLL STATE
   ============================================ */
.financial-management-platform-header-scroll {
  transition: all 0.3s ease-in-out;
  top: 0 !important;
}

/* Voice sample */
.voice-sample-item-active {
  background-color: var(--color-ns-linen);
}

/* ============================================
   ACCORDION (Bootstrap-based, custom styled)
   ============================================ */
.accordion-bs-item {
  border: none;
  background: transparent;
  margin-bottom: 0.35rem;
}
.accordion-bs-header {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
}
.accordion-bs-button {
  display: flex;
  width: 100%;
  cursor: pointer;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  background: none;
  border: none;
  text-align: left;
  outline: none;
  box-shadow: none;
}
.accordion-bs-button:focus {
  outline: none;
  box-shadow: none;
}
.accordion-bs-arrow {
  display: block;
  margin-left: auto;
  flex-shrink: 0;
}
.accordion-bs-arrow svg {
  transition: transform 0.3s ease;
}
.accordion-bs-button:not(.collapsed) .accordion-bs-arrow svg {
  transform: rotate(180deg);
}
.accordion-bs-collapse {
  transition: height 0.35s ease, opacity 0.3s ease;
}
.accordion-bs-collapse:not(.show) {
  opacity: 0;
}
.accordion-bs-collapse.show,
.accordion-bs-collapse.collapsing {
  opacity: 1;
}
.accordion-bs-body {
  border-top: 1px solid var(--color-stroke-3);
  padding: 1rem 0;
}
.stroke-secondary {
  stroke: var(--color-secondary);
}

/* ============================================
   19. ADDITIONAL UTILITIES
   ============================================ */
.step-circle {
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background-color: var(--color-primary-500);
  font-size: var(--text-tagline-1); line-height: var(--text-tagline-1--line-height);
  font-weight: 600; color: var(--color-accent);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.step-card {
  max-width: 596px; padding: 1.25rem 1.75rem;
  background-color: var(--color-background-3); border-radius: 1rem;
  display: flex; align-items: flex-start; gap: 1rem;
}
.alt-step-card{
  box-sizing: border-box;
  /*background-color: #DED5E5;*/
  background-color: #f1eef5;
  border: 1px solid #7030A0;
}
.alt-step-card small{
  color: #7030A0;
}
.alt-step-card .step-circle {
  background-color: #7030A0;
}


@media (min-width: 576px) {
  .step-card { padding: 1.5rem 34px; border-radius: 20px; gap: 22px; }
}
.process-card {
  background-color: var(--color-background-3); border-radius: 20px;
  padding: 2.75rem; transition: all 0.4s;
}
@media (hover: hover) {
  .process-card:hover { transform: scale(1.005); box-shadow: 0 .5rem 1rem rgba(0,0,0,.15); }
}
.vertical-bar { background-color: var(--color-background-3); width: 1px; height: 564px; }
@media (min-width: 992px) { .lg-sticky-156 { position: sticky; top: 156px; } }

.max-w-600 { max-width: 600px; }
.max-w-500 { max-width: 500px; }
.max-w-518 { max-width: 518px; }
.max-w-592 { max-width: 592px; }
.max-w-596 { max-width: 596px; }
.max-w-629 { max-width: 629px; }
.max-w-700 { max-width: 700px; }
.max-w-878 { max-width: 878px; }
.max-w-337 { max-width: 337px; }
.max-w-338 { max-width: 338px; }
.max-w-313 { max-width: 313px; }
.min-h-300 { min-height: 300px; }

/* Responsive section paddings */
.py-section-responsive { padding-block: 3.5rem; }
@media (min-width: 768px) { .py-section-responsive { padding-block: 4rem; } }
@media (min-width: 992px) { .py-section-responsive { padding-block: 100px; } }

.py-steps-section { padding-block: 80px; }
@media (min-width: 768px) { .py-steps-section { padding-block: 120px; } }
@media (min-width: 992px) { .py-steps-section { padding-block: 156px; } }

/* Responsive max-widths */
@media (min-width: 1200px) {
  .xl-max-w-878 { max-width: 878px; }
  .xl-max-w-700 { max-width: 700px; }
}

/* Responsive margins */
.mx-tw-4 { margin-inline: 1rem; }
@media (min-width: 1200px) { .xl-mx-0 { margin-inline: 0 !important; } }

/* Steps gap fix */
.gap-y-58 { row-gap: 58px; }
@media (min-width: 992px) {
  .lg-gap-x-58 { column-gap: 58px; }
  .lg-gap-y-0 { row-gap: 0 !important; }
}

/* Integration section responsive gap */
.gap-y-28 { row-gap: 7rem; }
@media (min-width: 576px) { .sm-gap-y-10 { row-gap: 2.5rem; } }
@media (min-width: 768px) { .md-gap-y-20 { row-gap: 5rem; } }
@media (min-width: 992px) { .lg-gap-100 { gap: 100px; } }

/* Order for max-lg */
@media (max-width: 991px) {
  .max-lg-order-0 { order: 0; }
  .max-lg-order-1 { order: 1; }
  .max-lg-center-block {
    position: relative; left: 50%; transform: translateX(-50%); display: inline-block;
  }
}

@media (max-width: 991px) {
  .max-lg-text-center { text-align: center !important; }
}


textarea.auth-form-input {
  border-radius: 1rem !important;
}