.primer-apple-pay-button {
  position: fixed;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

:root {
  --color-text-primary: #353652;
  --color-title: #2e2e2e;
  --color-text-secondary: #524e35;
  --color-text-white: #fff;
  --color-basic-bg: #fff;
  --color-black: #000;
  --color-desc: #797979;
  --btn-bg: linear-gradient(
    107deg,
    #73818a 12.42%,
    #6b8194 19.53%,
    #44466a 70.35%,
    #625c71 86.34%
  );
  --item-bg: linear-gradient(
    107deg,
    rgba(115, 129, 138, 0.1) 12.42%,
    rgba(107, 129, 148, 0.1) 19.53%,
    rgba(68, 70, 106, 0.1) 70.35%,
    rgba(98, 92, 113, 0.1) 86.34%
  );
  --font-family: 'SF Pro Display', sans-serif;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  border: none;
  outline: none;
  list-style-type: none;
  text-decoration: none;
  font-family: var(--font-family);
  color: var(--color-text-primary);
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

img {
  display: block;
}

html, body {
  overflow: hidden;
  height: 100%;
}

.hidden {
  display: none;
}

html, body {
  overflow: hidden;
  height: 100%;
}

.tab__container {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  padding: 0 20px;
}

.title {
  color: var(--color-black);
  font-size: 38px;
  font-weight: 700;
  line-height: 44px;
  letter-spacing: 0.152px;
  text-align: center;
}

.title span {
  color: #407471;
}

.description {
  color: var(--color-desc);
  text-align: center;
  font-size: 14px;
  line-height: 18px;
  letter-spacing: -0.011px;
}

.btn {
  position: relative;
  display: flex;
  color: var(--color-text-white);
  text-align: center;
  justify-content: center;
  align-items: center;
  overflow: hidden;

  border-radius: 16px;
  background: var(--Gray-Tones-Black, #000);
  box-shadow: 0 4px 24px 0 rgba(255, 255, 255, 0.50) inset;
}

.btn:hover {
  opacity: 0.8;
}

/* Benefits */
.benefits {
  padding-bottom: 20px;
}

.benefits__list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin:20px 0 16px 0;
}

.benefits__item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: calc(25% - 60px / 4);
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.60);
  background: rgba(255, 255, 255, 0.60);
  box-shadow: 0 2px 8px 0 rgba(157, 153, 188, 0.20);
  backdrop-filter: blur(10px);
  padding: 12px;

  .description {
    margin-top: 4px;
   }
}

.benefits__item-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  flex-grow: 0;
  border-radius: 100px;
  background: #FFF;
  box-shadow: 0 2px 8px 0 rgba(157, 153, 188, 0.20);
  backdrop-filter: blur(10px);
}

.benefits__item-title {
  font-size: 17px;
  font-weight: 500;
  line-height: 22px;
  letter-spacing: -0.073px;
  color: var(--color-black);
}


/* Popup */

.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0;
  background: rgba(0, 0, 0, 0.5);
}

.popup.active {
  opacity: 1;
  z-index: 10;
}

.popup-content {
  position: absolute;
  max-width: 335px;
  width: 100%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: #fff;
  backdrop-filter: blur(20px);
  padding: 28px 12px 20px 12px;
}

.popup__icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 12px;
}

.title-secondary {
  color: var(--color-black);
  text-align: center;
  font-size: 28px;
  font-weight: 500;
  line-height: 34px;
  letter-spacing: 0.106px;
}

.popup-text {
  color: var(--color-desc);
  text-align: center;
  font-size: 17px;
  line-height: 22px;
  letter-spacing: -0.073px;

  margin: 8px 0 24px 0;
}


.btn-popup {
  padding: 17px 32px;

}

/* Upsale page */

.tab__upsale {
  opacity: 0;
  padding: 24px 0 0;
  transition: .3s;
}

.tab__upsale .tab__container {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tab__upsale.show{
  opacity: 1;
}

body:has(.tab__upsale.show) {
  background: #F1F1F1;
  overflow: hidden;
}

#upsale-arrow-animation {
  height: 100px;
  top: 550px;
  position: absolute;
  display: flex;
  width: 90%;
}


.banner__title {
  margin: 32px 0 20px 0;
}


/* Recommendation */

.recommendation {
  margin-bottom: 50px;
}

.recommendation__cover {
  width: 100%;
  margin-top: 30px;
}

.recommendation__cover img {
  display: block;
  width: 100%;
}

/* Upsale button block */

.upsale-btn-block {
  position: fixed;
  width: 100%;
  bottom: 0;
  left: 0;
  padding: 10px 16px calc(16px + env(safe-area-inset-bottom));
  background: #F1F1F1;
}

.upsale-btn {
  font-size: 20px;
  font-weight: 600;
  line-height: 25px;
  letter-spacing: -0.09px;
  padding: 23.5px calc(116px + 20px) 23.5px 15px;
  gap: 12px;
}

.upsale-btn-block__price {
  color: var(--color-black);
  font-size: 20px;
  text-align: center;
  font-weight: 400;
  line-height: 25px;
  letter-spacing: -0.09px;
  margin-bottom: 8px;
}

.upsale__price {
  color: #407471;
  font-weight: 700;
}

.upsale-btn-block__skip {
  width: 100%;
  margin: 10px auto 0 auto;

  color:#FF2626;
  text-align: center;
  line-height: 21px;
  letter-spacing: -0.05px;
  text-decoration-line: underline;
  cursor: pointer;
  font-size: 20px;
}

.upsale-btn-block__access {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
}

.btn__discount {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  min-width: 130px;
  display: flex;
  align-items: center;
  justify-content: center;

  color: #fff;
  font-size: 17px;
  font-weight: 500;
  line-height: 18px;
  letter-spacing: -0.011px;

  background: linear-gradient(152deg, #285F61 15.9%, #90B9A5 100%), #D9D9D9;
  clip-path: polygon(20px 0%, 100% 0%, 100% 100%, 0% 100%);
}

.btn-louder {
  display: none;
  animation: rotate 3s linear infinite;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.upsale-btn.louder .btn-louder {
  display: flex;
}

.upsale-btn.louder .btn__text {
  display: none;
}

.btn__text {
  color: #fff;
}

span.through {
  display: inline-block;
  text-decoration-line: line-through;
  color: var(--color-desc);
}

/* Media */

@media (max-width: 1024px) {
  .benefits__item {
    width: calc(50% - 20px / 2);
  }
}

@media (max-width: 768px) {
  .benefits__list {
    gap: 7px;
  }

  .benefits__item {
    width: 100%;
  }
}

/* Banner timer */
.banner__top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-top: env(safe-area-inset-top);

  span {
    color: var(--color-black);
    font-size: 20px;
    font-weight: 500;
    line-height: 25px;
    letter-spacing: -0.9px;
  }
  .banner__logo {
    border-radius: 8px;
    overflow: hidden;
     img {
      width: 100%;
      height: 100%;
      object-fit: cover;
     }
  }
}

.banner__time {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.06);
  padding: 10px 10px 10px 16px;
}

.banner__time-left {
  display: flex;
  align-items: center;
  gap: 6px;
}

.banner__time-label {
  color: #1A1919;
}

.banner__time-value {
  display: flex;
  align-items: center;
  gap: 4px;
}

.banner__time-digit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 33px;
  border-radius: 8px;
  background: rgba(64, 116, 113, 0.10);;
  color: #407471;
  font-weight: 500;
  line-height: 21px;
  letter-spacing: -0.05px;
}

.banner__time-sep {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 0;
}

.banner__time-sep::before,
.banner__time-sep::after {
  content: '';
  display: block;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #407471;
}

.banner__time-btn {
  flex: 0 0 100px;
  font-weight: 500;
  line-height: 21px;
  letter-spacing: -0.05px;
  padding: 10px;
  font-size: 16px;
}

.banner__unlock-cover {
  display: flex;
  align-items: center;
  margin-top: 20px;

  .banner__unlock-cover-item {
    flex: 1;
    display: flex;
    justify-content: center;
     img {
      width: 100%;
      height: auto;
      object-fit: contain;
     }
   }
   .banner__unlock-cover-item:first-child {
    margin-right: 10px;
  }
}


.banner__detection {
    margin-bottom: 32px ;
  .banner__detection-title {
    margin: 32px 0 4px 0;
  }

  .banner__detection-description {
    text-align: center;
  }

  .banner__detection-cover {
    width: 100%;
    max-width: 240px;
    margin: 20px auto 0 auto;
     img {
      width: 100%;
      height: auto;
      object-fit: contain;
     }
  }
}

.banner__unlock-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.banner__unlock-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px;

  border-radius: 20px;
  background: var(--Gray-Tones-White, #FFF);
}

.banner__unlock-info-value {
  min-width: 86px;
  color: #407471;
  text-align: center;
  font-size: 40px;
  font-weight: 700;
  line-height: 41px; 
  letter-spacing: 0.16px;
}

.protect {
  background:linear-gradient(103deg, #736DF7 2.3%, #B652FC 97.7%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.privacy {
  background: linear-gradient(103deg, #55BEE8 2.3%, #52A1FC 97.7%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.banner__unlock-info-label {
  color: #797979;
  font-size: 17px;
  line-height: 22px;
  letter-spacing: -0.073px;
}

.banner__unlock-info-divider {
  flex-shrink: 0;
  align-self: stretch;
  width: 0.5px;
  background: #D5D5D5;
  border-radius: 1px;
}

.banner__risk {
  border-radius: 20px;
  background: #fff;
  padding: 20px 24px 24px 24px;
  margin: 8px 0 0 0;
}

.banner__risk-title {
  color: var(--color-black);
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  line-height: 25px;
  letter-spacing: -0.09px;
  margin-bottom: 16px;
}

.banner__risk-cover img {
  width: 100%;
  height: auto;
  display: block;
}


.banner__trusted-title {
  color: var(--color-black);
  text-align: center;
  font-size: 28px;
  font-weight: 600;
  line-height: 34px; 
  letter-spacing: 0.106px;
}

.banner__trusted-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;

   img {
    width: 100%;
    height: 100%;
    object-fit: contain;
   }
}

@media (max-width: 390px) {

.tab__container {
  padding: 0 16px;
}

.tab__upsale {
  padding: 16px 0 0
}

.banner__title {
  margin: 20px 0 16px 0;
}


.banner__top span {
    color: var(--color-black);
    font-size: 17px;
    font-weight: 500;
    line-height: 22px;
    letter-spacing: -0.073px;
}

.banner__logo  svg{
    width: 40px;
    height: 40px;
  }


.banner__subtitle {
  margin: 24px 0 8px 0;
}

.title {
  font-size: 34px;
  line-height: 41px;
  letter-spacing: 0.136px;
}

.banner__unlock-info-item {
  padding: 18px;
  border-radius: 16px;
}

.banner__unlock-info-label {
  font-size: 14px;
  line-height: 18px;
  letter-spacing: -0.011px;
}

.banner__unlock-info-value {
  min-width: 72px;
  font-size: 34px;
  letter-spacing: 0.136px;
}

.banner__risk {
  border-radius: 16px;
  padding: 14px 18px 18px 18px;
}

.upsale-btn {
  border-radius: 16px;
  padding: 20px calc(119px + 20px) 20px 15px;
}

.btn__discount {
  min-width: 141px
}

.banner__risk-title {
  font-size: 17px;
  line-height: 22px;
  letter-spacing: -0.073px;
  margin-bottom: 10px;
}

.upsale-btn-block__price {
  color: #000;
  text-align: center;
  font-size: 17px;
  line-height: 22px;
  letter-spacing: -0.073px;
}

.btn__text {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01px;
  line-height: 22px;
}

span.through {
  display: inline-block;
  text-decoration-line: line-through;
  color: var(--color-desc);
  font-weight: 600;
}

.upsale-btn-block__skip {
  font-size: 16px;
  line-height: 21px;
}

}


@media (max-width: 375px) {
  .tab__upsale {
    padding: 8px 0 0
  }

  .banner__top svg {
      width: 32px;
      height: 33px;
    }

.banner__top span {
    color: var(--color-black);
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
    letter-spacing: -0.011px;
}

.banner__logo  svg{
    width: 32px;
    height: 32px;
  }


.banner__title {
  margin: 8px 0;
}

.title {
  font-size: 22px;
  line-height: 28px;
}

.description {
  font-size: 12px;
  line-height: 16px;
}

.banner__unlock-info-item {
  border-radius: 12px;
  padding: 8px 12px;
}

.banner__unlock-info-value {
  min-width: 48px;
  font-size: 20px;
  letter-spacing: -0.09px;
}

.banner__unlock-info-label {
  font-size: 12px;
  line-height: 16px;
  letter-spacing: -0.011px;
  line-height: 16px;
}

.banner__risk {
  padding: 8px 12px;
}

.upsale-btn {
  border-radius: 12px;
  padding: 12px calc(100px + 20px) 12px 15px;
}

.btn__discount {
  min-width: 103px
}

.upsale-btn-block__price {
  color: #000;
  text-align: center;
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
  letter-spacing: -0.011px;
  line-height: 18px;
}

.btn__text {
  font-size: 13px;
  letter-spacing: -0.01px;
}

span.through {
  display: inline-block;
  text-decoration-line: line-through;
  color: var(--color-desc);
  font-weight: 600;
}

}