/* =========================================================
   07. Behind Your Brand
   ========================================================= */

.behind-brand-section {
  background:
    radial-gradient(
      circle at 50% 42%,
      rgba(13, 110, 253, 0.045),
      transparent 34%
    ),
    linear-gradient(180deg, #ffffff 0%, #fafdff 100%);
}

/* Section Heading */

.behind-brand-head {
  position: relative;
  z-index: 2;
  max-width: 1040px;
}

.behind-brand-kicker {
  margin-bottom: 16px;
  color: #ff5a00;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 900;
  text-transform: uppercase;
}

.behind-brand-kicker-line {
  width: 38px;
  height: 1px;
  background: #ff5a00;
}

.behind-brand-kicker-dot {
  width: 6px;
  min-width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff5a00;
}

.behind-brand-head h2 {
  color: #071333;
  font-size: 44px;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.behind-brand-head h2 span {
  position: relative;
  display: inline-block;
  color: #1266f5;
}

.behind-brand-head h2 span::after {
  content: "";
  position: absolute;
  left: 10%;
  bottom: -8px;
  width: 88%;
  height: 8px;
  border-top: 3px solid #1266f5;
  border-radius: 50%;
  transform: rotate(-1deg);
}

.behind-brand-head > p {
  margin-top: 19px;
  color: #536183;
  font-size: 18px;
  line-height: 1.45;
}

/* =========================================================
   Front-Facing Brand Flow
   ========================================================= */

.behind-brand-client-flow {
  z-index: 2;
  margin-top: 28px;
  border: 1px solid #cfe0fb;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(17, 40, 80, 0.055);
}

.behind-brand-owner {
  min-height: 245px;
  padding: 24px 20px;
  border-radius: 20px 0 0 20px;
  background:
    radial-gradient(
      circle at 60% 20%,
      rgba(13, 110, 253, 0.06),
      transparent 45%
    ),
    linear-gradient(180deg, #f7faff 0%, #f2f7ff 100%);
}

.behind-brand-owner-icon {
  width: 86px;
  min-width: 86px;
  height: 86px;
  border-radius: 50%;
  background: #ffffff;
  color: #1266f5;
  font-size: 36px;
  box-shadow:
    0 0 0 1px rgba(13, 110, 253, 0.09),
    0 10px 25px rgba(13, 110, 253, 0.09);
}

.behind-brand-owner h3 {
  margin: 19px 0 9px;
  color: #0748c8;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 900;
  text-transform: uppercase;
}

.behind-brand-owner p {
  margin: 0;
  color: #44537a;
  font-size: 16px;
  line-height: 1.65;
}

.behind-brand-client-steps {
  padding: 26px 18px;
}

.behind-brand-client-step {
  position: relative;
  min-width: 0;
  padding: 0 12px;
}

.behind-brand-client-step:not(.behind-brand-client-step-last)::after {
  content: "";
  position: absolute;
  top: 42px;
  right: -14px;
  z-index: 1;
  width: 36px;
  border-top: 1.5px dashed #77a5ff;
}

.behind-brand-client-step:not(.behind-brand-client-step-last)::before {
  content: "";
  position: absolute;
  top: 38px;
  right: -15px;
  z-index: 2;
  width: 8px;
  height: 8px;
  border-top: 2px solid #4e8cff;
  border-right: 2px solid #4e8cff;
  transform: rotate(45deg);
}

.behind-brand-step-icon {
  position: relative;
  z-index: 2;
  width: 76px;
  min-width: 76px;
  height: 76px;
  border: 1px solid #dfeafd;
  border-radius: 14px;
  background: #ffffff;
  color: #1266f5;
  font-size: 31px;
  box-shadow: 0 10px 24px rgba(17, 60, 130, 0.08);
}

.behind-brand-client-step h3 {
  margin: 17px 0 7px;
  color: #071333;
  font-size: 17px;
  line-height: 1.28;
  font-weight: 900;
}

.behind-brand-client-step p {
  max-width: 190px;
  margin: 0 auto;
  color: #445176;
  font-size: 15px;
  line-height: 1.55;
  overflow-wrap: break-word;
}

/* =========================================================
   Security Connector
   ========================================================= */

.behind-brand-security-connector {
  position: relative;
  z-index: 5;
  width: 260px;
  height: 40px;
  margin: -2px auto -4px;
}

.behind-brand-security-line {
  width: 78px;
  height: 1px;
  border-top: 1px dashed #78a5ff;
}

.behind-brand-security-icon {
  width: 76px;
  min-width: 76px;
  height: 76px;
  margin: 0 10px;
  border-radius: 50%;
  background: #ffffff;
  color: #1266f5;
  font-size: 27px;
  box-shadow:
    0 0 0 1px #dbe8ff,
    0 12px 28px rgba(13, 110, 253, 0.12);
}

/* =========================================================
   Behind-the-Scenes Delivery Engine
   ========================================================= */

.behind-brand-engine {
  z-index: 2;
  border-radius: 20px;
  background:
    radial-gradient(
      circle at 11% 46%,
      rgba(0, 110, 255, 0.22),
      transparent 24%
    ),
    radial-gradient(
      circle at 76% 30%,
      rgba(0, 111, 255, 0.15),
      transparent 26%
    ),
    linear-gradient(135deg, #031b48 0%, #063471 52%, #031b48 100%);
  box-shadow: 0 18px 42px rgba(5, 33, 82, 0.14);
}

.behind-brand-engine::before {
  content: "";
  position: absolute;
  left: 5%;
  top: -80px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(39, 130, 255, 0.15);
  border-radius: 50%;
  box-shadow:
    0 0 0 20px rgba(39, 130, 255, 0.025),
    0 0 0 40px rgba(39, 130, 255, 0.02),
    0 0 0 60px rgba(39, 130, 255, 0.015);
  pointer-events: none;
}

.behind-brand-engine-brand {
  position: relative;
  z-index: 2;
  min-height: 280px;
  padding: 25px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.behind-brand-engine-logo {
  width: 92px;
  min-width: 92px;
  height: 92px;
  border: 2px solid #1266f5;
  border-radius: 50%;
  background: rgba(3, 28, 68, 0.82);
  color: #ff6500;
  font-size: 41px;
  box-shadow:
    0 0 28px rgba(0, 110, 255, 0.18),
    inset 0 0 25px rgba(0, 110, 255, 0.12);
}

.behind-brand-engine-brand h3 {
  margin: 18px 0 8px;
  color: #ff6500;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 900;
  text-transform: uppercase;
}

.behind-brand-engine-brand p {
  margin: 0;
  color: #ffffff;
  font-size: 15px;
  line-height: 1.6;
}

.behind-brand-engine-features {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 26px 17px;
}

.behind-brand-engine-item {
  position: relative;
  min-width: 0;
  padding: 0 13px;
}

.behind-brand-engine-item::before {
  content: "";
  position: absolute;
  top: -28px;
  left: 50%;
  height: 27px;
  border-left: 1px dashed rgba(136, 181, 255, 0.8);
  transform: translateX(-50%);
}

.behind-brand-engine-item::after {
  content: "";
  position: absolute;
  top: -17px;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8ab7ff;
  transform: translateX(-50%);
}

.behind-brand-engine-icon {
  position: relative;
  width: 74px;
  min-width: 74px;
  height: 74px;
  border: 1px solid rgba(66, 137, 255, 0.25);
  border-radius: 50%;
  font-size: 30px;
}

.behind-brand-engine-icon-purple {
  color: #8756f5;
  background: rgba(107, 64, 230, 0.08);
}

.behind-brand-engine-icon-blue {
  color: #1687ff;
  background: rgba(22, 135, 255, 0.08);
}

.behind-brand-engine-icon-teal {
  color: #00d6dd;
  background: rgba(0, 214, 221, 0.08);
}

.behind-brand-engine-icon-green {
  color: #46df75;
  background: rgba(70, 223, 117, 0.08);
}

.behind-brand-engine-icon-orange {
  color: #ff6500;
  background: rgba(255, 101, 0, 0.08);
}

.behind-brand-engine-item h3 {
  margin: 16px 0 10px;
  color: #ffffff;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 900;
}

.behind-brand-engine-item p {
  max-width: 180px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  line-height: 1.65;
  overflow-wrap: break-word;
}

/* =========================================================
   Partnership Trust Strip
   ========================================================= */

.behind-brand-trust {
  position: relative;
  z-index: 2;
  margin-top: 28px;
  padding: 24px 18px;
  border: 1px solid #e0e9f7;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(17, 40, 80, 0.05);
}

.behind-brand-trust-intro,
.behind-brand-trust-item {
  min-width: 0;
  padding: 0 17px;
  border-right: 1px solid #dce5f2;
}

.behind-brand-trust-item-last {
  border-right: 0;
}

.behind-brand-trust-icon {
  width: 57px;
  min-width: 57px;
  height: 57px;
  border-radius: 50%;
  font-size: 24px;
}

.behind-brand-trust-icon-blue {
  color: #1266f5;
  background: #eaf2ff;
}

.behind-brand-trust-intro h3 {
  color: #092577;
  font-size: 17px;
  line-height: 1.45;
  font-weight: 900;
}

.behind-brand-trust-small-icon {
  width: 42px;
  min-width: 42px;
  height: 42px;
  margin-top: 2px;
  border-radius: 50%;
  font-size: 18px;
}

.behind-brand-trust-small-green {
  color: #13aa61;
  background: #e9f9f1;
}

.behind-brand-trust-small-purple {
  color: #7448e7;
  background: #f1ecff;
}

.behind-brand-trust-small-orange {
  color: #ff7600;
  background: #fff0e5;
}

.behind-brand-trust-small-blue {
  color: #1266f5;
  background: #e9f2ff;
}

.behind-brand-trust-small-teal {
  color: #0ba7bd;
  background: #e6f7f9;
}

.behind-brand-trust-content {
  min-width: 0;
}

.behind-brand-trust-content h3 {
  margin: 0 0 7px;
  color: #071333;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 900;
}

.behind-brand-trust-content p {
  margin: 0;
  color: #3e4d74;
  font-size: 14px;
  line-height: 1.6;
  overflow-wrap: break-word;
}

/* =========================================================
   Behind Your Brand Responsive
   ========================================================= */

@media (max-width: 1399px) {
  .behind-brand-kicker {
    font-size: 14px;
  }

  .behind-brand-head h2 {
    font-size: 32px;
  }

  .behind-brand-head > p {
    font-size: 15px;
  }

  .behind-brand-owner h3 {
    font-size: 17px;
  }

  .behind-brand-owner p {
    font-size: 14px;
  }

  .behind-brand-client-step h3,
  .behind-brand-engine-item h3,
  .behind-brand-trust-intro h3 {
    font-size: 17px;
  }

  .behind-brand-client-step p,
  .behind-brand-engine-brand p,
  .behind-brand-engine-item p,
  .behind-brand-trust-content p {
    font-size: 14px;
  }

  .behind-brand-step-icon {
    width: 68px;
    min-width: 68px;
    height: 68px;
    font-size: 27px;
  }

  .behind-brand-owner-icon {
    width: 76px;
    min-width: 76px;
    height: 76px;
    font-size: 31px;
  }

  .behind-brand-client-step:not(.behind-brand-client-step-last)::after {
    top: 38px;
    width: 28px;
  }

  .behind-brand-client-step:not(.behind-brand-client-step-last)::before {
    top: 34px;
  }

  .behind-brand-engine-logo {
    width: 82px;
    min-width: 82px;
    height: 82px;
    font-size: 36px;
  }

  .behind-brand-engine-item {
    padding: 0 9px;
  }

  .behind-brand-engine-icon {
    width: 66px;
    min-width: 66px;
    height: 66px;
    font-size: 26px;
  }

  .behind-brand-trust {
    padding-left: 10px;
    padding-right: 10px;
  }

  .behind-brand-trust-intro,
  .behind-brand-trust-item {
    padding-left: 11px;
    padding-right: 11px;
  }

  .behind-brand-trust-content h3 {
    font-size: 14px;
  }
}

@media (max-width: 1199px) {
  .behind-brand-client-flow {
    overflow: hidden;
  }

  .behind-brand-owner {
    min-height: auto;
    padding: 25px;
    border-radius: 20px 20px 0 0;
    border-bottom: 1px solid #dce7fa;
  }

  .behind-brand-client-steps {
    padding: 28px 22px;
  }

  .behind-brand-client-step {
    padding: 18px;
    border: 1px solid #e1eafb;
    border-radius: 15px;
    background: #ffffff;
  }

  .behind-brand-client-step::before,
  .behind-brand-client-step::after {
    display: none;
  }

  .behind-brand-engine-brand {
    min-height: auto;
    padding: 28px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .behind-brand-engine-features {
    padding: 30px 22px;
  }

  .behind-brand-engine-item {
    padding: 20px 14px;
  }

  .behind-brand-engine-item::before,
  .behind-brand-engine-item::after {
    display: none;
  }

  .behind-brand-trust {
    padding-top: 5px;
    padding-bottom: 5px;
  }

  .behind-brand-trust-intro,
  .behind-brand-trust-item {
    padding: 20px;
  }

  .behind-brand-trust .col-md-6:nth-child(even) > div {
    border-right: 0;
  }

  .behind-brand-trust .col-md-6:not(:last-child) > div {
    border-bottom: 1px solid #dce5f2;
  }
}

@media (max-width: 991px) {
  .behind-brand-client-flow {
    margin-top: 26px;
  }

  .behind-brand-client-step p {
    max-width: 260px;
  }

  .behind-brand-engine-item p {
    max-width: 250px;
  }
}

@media (max-width: 767px) {
  .behind-brand-section {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }

  .behind-brand-kicker {
    font-size: 12px;
  }

  .behind-brand-kicker-line {
    width: 34px;
  }

  .behind-brand-head h2 {
    font-size: 22px;
    line-height: 1.2;
  }

  .behind-brand-head h2 span::after {
    bottom: -6px;
    border-top-width: 2px;
  }

  .behind-brand-head > p {
    margin-top: 16px;
    font-size: 16px;
  }

  .behind-brand-client-flow {
    margin-top: 25px;
    border-radius: 17px;
  }

  .behind-brand-owner {
    padding: 22px 18px;
  }

  .behind-brand-owner-icon {
    width: 68px;
    min-width: 68px;
    height: 68px;
    font-size: 28px;
  }

  .behind-brand-owner h3 {
    margin-top: 15px;
    font-size: 18px;
  }

  .behind-brand-client-steps {
    padding: 18px;
  }

  .behind-brand-client-step {
    padding: 21px 16px;
  }

  .behind-brand-step-icon {
    width: 62px;
    min-width: 62px;
    height: 62px;
    font-size: 25px;
  }

  .behind-brand-client-step h3,
  .behind-brand-engine-item h3,
  .behind-brand-trust-intro h3 {
    font-size: 18px;
  }

  .behind-brand-client-step p,
  .behind-brand-engine-item p {
    font-size: 14px;
  }

  .behind-brand-engine {
    margin-top: 28px;
    border-radius: 17px;
  }

  .behind-brand-engine-brand {
    padding: 25px 18px;
  }

  .behind-brand-engine-logo {
    width: 76px;
    min-width: 76px;
    height: 76px;
    font-size: 33px;
  }

  .behind-brand-engine-features {
    padding: 15px 18px 24px;
  }

  .behind-brand-engine-item {
    padding: 22px 15px;
  }

  .behind-brand-engine-icon {
    width: 62px;
    min-width: 62px;
    height: 62px;
    font-size: 25px;
  }

  .behind-brand-trust {
    margin-top: 24px;
    padding: 4px 18px;
    border-radius: 17px;
  }

  .behind-brand-trust-intro,
  .behind-brand-trust-item,
  .behind-brand-trust-item-last {
    padding: 19px 0;
    border-right: 0;
    border-bottom: 1px solid #dce5f2;
  }

  .behind-brand-trust .col-md-6:last-child .behind-brand-trust-item {
    border-bottom: 0;
  }

  .behind-brand-trust-content h3 {
    font-size: 16px;
  }

  .behind-brand-trust-content p {
    font-size: 14px;
  }
}

@media (max-width: 575.98px) {
  .behind-brand-kicker {
    gap: 6px !important;
  }

  .behind-brand-kicker-line {
    width: 20px;
  }

  .behind-brand-kicker-dot {
    width: 5px;
    min-width: 5px;
    height: 5px;
  }

  .behind-brand-head > p {
    font-size: 15px;
  }

  .behind-brand-client-steps,
  .behind-brand-engine-features {
    padding-left: 14px;
    padding-right: 14px;
  }

  .behind-brand-client-step h3,
  .behind-brand-engine-item h3 {
    font-size: 16px;
  }

  .behind-brand-owner h3 {
    font-size: 16px;
  }

  .behind-brand-owner p {
    font-size: 14px;
  }

  .behind-brand-trust-intro,
  .behind-brand-trust-item {
    align-items: flex-start !important;
    gap: 13px !important;
  }

  .behind-brand-trust-icon {
    width: 52px;
    min-width: 52px;
    height: 52px;
    font-size: 22px;
  }

  .behind-brand-trust-small-icon {
    width: 40px;
    min-width: 40px;
    height: 40px;
    font-size: 16px;
  }
}
