/* Security page hero styles */

.security-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(0, 240, 193, 0.07) 0%, rgba(0, 184, 148, 0.04) 60%, rgba(255, 255, 255, 0) 100%);
}

.security-hero::before,
.security-hero::after {
  content: "";
  position: absolute;
  width: 145px;
  height: 273px;
  background: #00f0c1;
  filter: blur(250px);
  border-radius: 144px;
  pointer-events: none;
}

.security-hero::before {
  left: 1695px;
  top: 366px;
  transform: rotate(270deg);
}

.security-hero::after {
  right: 120px;
  top: 120px;
  transform: rotate(270deg);
  opacity: .7;
}

.security-hero__container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 24px 130px;
  margin-top: 70px;
  text-align: center;
}

.security-hero__title {
  margin: 0;
  font-weight: 700;
  font-size: clamp(36px, 4.2vw, 66px);
  line-height: 1.18;
  letter-spacing: 0.66px;
  color: #020817;
}

.security-hero__title-highlight {
  color: #00b894;
  position: relative;
  display: inline-block;
  padding: 0 6px;
}

.security-hero__title-highlight::after {
  content: "";
  position: absolute;
  left: -15px;
  right: -15px;
  top: 59%;
  height: 90px;
  transform: translateY(-50%);
  background: url('../images/security/ellipse23.png') no-repeat center;
  background-size: 100% 100%;
  z-index: -1;
}

.security-hero__sub {
  margin: 16px auto 0;
  max-width: 740px;
  color: rgba(0, 0, 0, 0.70);
  font-size: 18px;
  line-height: 28px;
}

/* Right metric card */
.security-hero__right-card {
  position: absolute;
  right: -20px;
  top: 150px;
  width: 120px;
  height: 90px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 13px 14px 40px rgba(39, 98, 131, 0.15);
  text-align: center;
  z-index: 1;
}

.security-hero__right-icon {
  position: absolute;
  left: 50%;
  top: -20px;
  transform: translateX(-50%);
  width: 35px;
  height: 35px;
  overflow: hidden;
}

.security-hero__right-icon img {
  width: 100%;
  height: 100%;
  display: block;
}

.security-hero__right-metric {
  margin-top: 16px;
  font-weight: 700;
  font-size: 20px;
  color: #020817;
}

.security-hero__right-label {
  color: #4b4d4c;
  font-size: 20px;
  /* margin-top: 4px; */
}

/* Left badge */
.security-hero__left-badge {
  position: absolute;
  left: 60px;
  top: 190px;
  width: 65px;
  height: 65px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 13px 14px 40px rgba(39, 98, 131, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.security-hero__left-badge img {
  width: 35px;
  height: 35px;
  display: block;
}

/* Decorative elements */
.security-hero__arrow {
  position: absolute;
  right: 14%;
  top: 210px;
  width: 95px;
  height: 20px;
  object-fit: contain;
}

.security-hero__dash {
  position: absolute;
  left: 130px;
  top: 174px;
  width: 94.5px;
  height: 34.5px;
  object-fit: contain;
}

@media (max-width: 1024px) {
  .security-hero__container {
    padding-top: 80px;
  }

  .security-hero__right-card {
    position: static;
    margin: 32px auto 0;
  }

  .security-hero__left-badge,
  .security-hero__arrow,
  .security-hero__dash {
    display: none;
  }

  .security-hero__title-highlight::after {
    height: 42px;
  }
}

/* Extra mobile overflow guard */
@media (max-width: 768px) {

  html,
  body {
    overflow-x: hidden;
  }
.security-details {
  padding-left: 15px !important;
  padding-right: 15px !important;
}

  .security-hero,
  .security-hero__container,
  .security-details {
    overflow-x: hidden;
  }

  .security-hero img,
  .security-details img {
    max-width: 100%;
    height: auto;
  }

  .security-hero__container,
  .security-details__card {
    width: 100%;
    box-sizing: border-box;
  }

  .security-hero__title {
    font-size: 30px;
  }

  /* Hide decorative elements on mobile */
  .security-hero__title-highlight::after {
    content: none;
    display: none;
  }

  .security-hero__right-card,
  .security-hero__left-badge,
  .security-hero__arrow,
  .security-hero__dash {
    display: none !important;
  }

  .security-hero__container {
    padding-top: 40px;
    padding-bottom: 20px;
  }

}

/* Details section */
.security-details {
  position: relative;
  padding: 56px 0 88px;
}

.security-details::before,
.security-details::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

/* left green glow */
.security-details::before {
  left: -60px;
  top: 0;
  width: 150px;
  height: 286px;
  background: #00f0c1;
  filter: blur(250px);
  border-radius: 144px;
  transform: rotate(212deg) scaleY(-1);
  opacity: .55;
}

/* right blue glow */
.security-details::after {
  right: -80px;
  top: 360px;
  width: 141px;
  height: 267px;
  background: #3574cf;
  filter: blur(200px);
  border-radius: 144px;
  transform: rotate(120deg);
  opacity: .45;
}

.security-details__card {
  position: relative;
  z-index: 1;
  max-width: 1250px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(39, 98, 131, 0.08);
}

.security-details__body {
  padding: 60px;
}

.security-details__block+.security-details__block {
  margin-top: 20px;
}

.security-details__title {
  margin: 0 0 15px;
  font-size: 28px;
  line-height: normal;
  color: #333333;
  font-weight: 500;
}

.security-details__text {
  margin: 0;
  font-size: 16px;
  line-height: 32px;
  color: rgba(0, 0, 0, 0.7);
  border-bottom: 1px solid #d6d6d6;
  padding-bottom: 50px;
}

.security-details__divider {
  margin: 24px 0 0;
}

.security-details__divider img {
  display: block;
  width: 100%;
  height: auto;
}

.security-details__list {
  margin: 0;
  padding-left: 27px;
  font-size: 18px;
  color: rgba(0, 0, 0, 0.7);
}

.security-details__list li {
  line-height: 40px;
}

.security-details__corner {
  position: absolute;
  width: 167px;
  height: 164px;
  pointer-events: none;
}

.security-details__corner--left {
  top: -36px;
  left: -36px;
}

.security-details__corner--right {
  right: -36px;
  bottom: -36px;
  transform: scaleY(1) scaleX(1);
}

@media (max-width: 1024px) {
  .security-details__body {
    padding: 20px;
  }

  .security-details__title {
    font-size: 24px;
  }

  .security-details__text,
  .security-details__list {
    font-size: 16px;
    line-height: 28px;
  }

  .security-details__corner {
    display: none;
  }
}