/* ==========================================================
   Global buttons
   One base class + modifiers. Use these everywhere:

     <a class="btn-site btn-site--primary">Get Started</a>

   Variants : --primary  --accent  --light  --dark
              --outline (on dark bg)   --outline-dark (on light bg)
   Sizes    : --sm  (default size)  --lg
   Layout   : --block (full width)
   Extras   : --pulse (soft attention ring)

   Wrap a group of buttons in <ul class="btn-row"> (or any .btn-row).
   ========================================================== */

:root {
  --btn-navy: #070f4d;
  --btn-blue: #4356d6;
  --btn-blue-dark: #2a38a8;
  --btn-accent: #ff4a35;
  --btn-accent-2: #ff7a3d;
  --btn-ease: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- Base ---------- */
.btn-site {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 32px;
  border: 2px solid transparent;
  border-radius: 50px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: transform .3s var(--btn-ease), box-shadow .3s var(--btn-ease),
              background-color .3s, color .3s, border-color .3s;
}

/* shine that sweeps across on hover */
.btn-site::before {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  z-index: -1;
  width: 50%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .5), transparent);
  transform: skewX(-20deg);
  transition: left .7s var(--btn-ease);
  pointer-events: none;
}
.btn-site::after {
  display: none;
}
.btn-site:hover::before {
  left: 140%;
}

.btn-site i {
  font-size: 1.15em;
  line-height: 1;
  transition: transform .3s var(--btn-ease);
}
.btn-site:hover i {
  transform: translateX(3px);
}

.btn-site:hover {
  transform: translateY(-3px);
}
.btn-site:active {
  transform: translateY(-1px) scale(.97);
  transition-duration: .1s;
}
.btn-site:focus-visible {
  outline: 3px solid rgba(67, 86, 214, .45);
  outline-offset: 3px;
}

/* ---------- Sizes ---------- */
.btn-site--sm {
  padding: 10px 22px;
  font-size: 15px;
}
.btn-site--lg {
  padding: 15px 38px;
  font-size: 17px;
}
.btn-site--block {
  display: flex;
  width: 100%;
}

/* ---------- Variants ---------- */
.btn-site--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--btn-blue), var(--btn-blue-dark));
  box-shadow: 0 10px 22px rgba(67, 86, 214, .35) !important;
}
.btn-site--primary:hover {
  color: #fff;
  box-shadow: 0 16px 30px rgba(67, 86, 214, .5) !important;
}

.btn-site--accent {
  color: #fff;
  background: linear-gradient(135deg, var(--btn-accent), var(--btn-accent-2));
  box-shadow: 0 10px 22px rgba(255, 74, 53, .35) !important;
}
.btn-site--accent:hover {
  color: #fff;
  box-shadow: 0 16px 30px rgba(255, 74, 53, .5) !important;
}

.btn-site--light {
  color: var(--btn-accent);
  background: #fff;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .14) !important;
}
.btn-site--light:hover {
  color: var(--btn-navy);
  box-shadow: 0 16px 30px rgba(0, 0, 0, .22) !important;
}

.btn-site--dark {
  color: #fff;
  background: var(--btn-navy);
  box-shadow: 0 10px 22px rgba(7, 15, 77, .3) !important;
}
.btn-site--dark:hover {
  color: #fff;
  box-shadow: 0 16px 30px rgba(7, 15, 77, .45) !important;
}

/* outline on dark backgrounds */
.btn-site--outline {
  color: #fff;
  background: transparent;
  border-color: #fff;
}
.btn-site--outline:hover {
  color: var(--btn-navy);
  background: #fff;
  box-shadow: 0 14px 28px rgba(255, 255, 255, .22) !important;
}

/* outline on light backgrounds */
.btn-site--outline-dark {
  color: var(--btn-navy);
  background: transparent;
  border-color: var(--btn-navy);
}
.btn-site--outline-dark:hover {
  color: #fff;
  background: var(--btn-navy);
  box-shadow: 0 14px 28px rgba(7, 15, 77, .28) !important;
}

/* ---------- Attention ring ---------- */
.btn-site--pulse {
  animation: btn-site-pulse 2.4s infinite;
}
.btn-site--pulse:hover {
  animation: none;
}
@keyframes btn-site-pulse {
  0%   { filter: drop-shadow(0 0 0 rgba(67, 86, 214, .6)); }
  70%  { filter: drop-shadow(0 0 14px rgba(67, 86, 214, 0)); }
  100% { filter: drop-shadow(0 0 0 rgba(67, 86, 214, 0)); }
}

/* ---------- Button groups ---------- */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.btn-row li {
  margin: 0;
  padding: 0;
}
section.backend-sec .btn-row,
.tech-sec .btn-row {
  justify-content: flex-start;
  margin-top: 30px;
}
.inner-banner-new .btn-row {
  margin-top: 6px;
}

/* ---------- Context tweaks ---------- */
/* navbar: orange when the bar turns navy after scrolling */
.menu-btn .btn-site {
  top: 0;
}
.sticky-nav .menu-btn .btn-site {
  background: linear-gradient(135deg, var(--btn-accent), var(--btn-accent-2));
  box-shadow: 0 10px 22px rgba(255, 74, 53, .35) !important;
}

/* pricing cards: blue button on white cards, white button on the highlighted card */
.single-price .btn-site {
  display: flex;
  width: max-content;
  margin: 30px auto 0;
  padding: 11px 38px;
}
.single-price:hover .btn-site,
.single-price.current .btn-site {
  color: var(--btn-accent);
  background: #fff;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .18) !important;
}
.single-price:hover .btn-site:hover,
.single-price.current .btn-site:hover {
  color: var(--btn-navy);
}

/* "Let's Chat" band: keep the button on its own line */
.footer-sec-head .btn-site {
  margin: 18px 0 22px;
}

/* contact form submit on the red photo panel */
.footer-sec-head-two button.btn-site {
  width: auto;
  margin: 6px 0 0;
  padding: 13px 34px;
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  .btn-site {
    padding: 12px 24px;
    font-size: 15px;
  }
  .btn-site--lg {
    padding: 13px 26px;
    font-size: 16px;
  }
  .btn-row {
    gap: 10px;
  }
  .btn-row .btn-site {
    flex: 1 1 auto;
  }
  .footer-sec-head-two button.btn-site {
    width: 100%;
  }
}

/* ---------- Respect reduced-motion settings ---------- */
@media (prefers-reduced-motion: reduce) {
  .btn-site,
  .btn-site::before,
  .btn-site i {
    transition: none;
  }
  .btn-site--pulse {
    animation: none;
  }
  .btn-site:hover {
    transform: none;
  }
}

/* form submit on the red panel: legacy `button:hover` rule would turn it blue, keep it white */
.footer-sec-head-two button.btn-site {
  color: var(--btn-accent);
  background: #fff;
  border: 2px solid transparent;
}
.footer-sec-head-two button.btn-site:hover {
  color: var(--btn-navy);
  background: #fff;
}
.footer-sec-head-two button.btn-site input {
  display: none;
}
