

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: linear-gradient(61deg, #0f172a 0%, #1e293b 50%, #0f172a 100%)
    no-repeat;
  font-family: "Inter", sans-serif;
}

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

button, a {
  transition: all 0.3s ease;
}

button:hover, a:hover {
  opacity: 0.8;
}

.main {
  padding: 5rem 0 0;
}

.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: calc(100vh - 5rem);
  padding: 0 2.5rem;
}

.hero-banner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 37.5rem;
  backdrop-filter: blur(2px);
  /* padding-top: 5rem; */
}

.hero-banner-card {
  position: absolute;
  right: 0;
  width: 37.5rem;
  height: 22.5rem;
  pointer-events: none;
}

.hero-banner__headlines {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-banner__headlines__title,
.hero-banner__headlines__cta {
  font-weight: 800;
  font-size: 3.5rem;
  line-height: 3rem;
  text-wrap: balance;
}

.hero-banner__headlines__title {
  color: #fff;

  span {
    display: block;
  }
}

.hero-banner__headlines__cta {
  color: #3b82f6;
}

.hero-banner__subtitle {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero-banner__subtitle__text {
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.5rem;
  color: #94a3b8;
}

.hero-banner__subtitle__info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #f59e0b;
  background-color: #374151;
  padding: 0.5rem 1rem;
  border-radius: 1.25rem;
  width: fit-content;
}

.hero-banner__cta {
  display: flex;
  gap: 1rem;
}

.hero-banner__cta__button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  background: linear-gradient(-78deg, #ef4444 0%, #dc2626 100%);
  padding: 1.25rem 2.5rem;
  border-radius: 0.75rem;
  border: none;
  cursor: pointer;

  img {
    width: 1.25rem;
  }
}

.btn--transparent {
  background: #1e293b;
  border: 1px solid #475569;
  color: #94a3b8;
  font-weight: 600;
  font-size: 0.875rem;
}

.hero-banner__trust-indicators {
  display: flex;
  gap: 2rem;
}

.indicator {
  display: flex;
  gap: 0.5rem;
  align-items: center;

  img {
    width: 1.25rem;
  }
}

.indicator__content h3 {
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
}

.indicator__content p {
  font-weight: 400;
  font-size: 0.75rem;
  color: #64748b;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2.5rem;
  background-color: #1e293b;
  position: sticky;
  top: 0;
  z-index: 1;
  opacity: 0;
  transform: translateY(-100%);
  transition: transform 0.3s ease, opacity 0.1s ease;
}

.header.active {
  opacity: 1;
  transform: translateY(0);
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  cursor: pointer;

  img {
    width: 2.5rem;
  }

  h1 {
    font-weight: 700;
    font-size: 1.5rem;
  }

  h2 {
    font-weight: 400;
    font-size: 0.75rem;
    color: #64748b;
  }
}

.header__nav__list {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.header__nav__list__item a {
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  color: #94a3b8;
  cursor: pointer;
  display: inline-block;
  transition: all 0.3s ease-in-out;
}

.header__nav__list__item:hover:not(.liBtn) a {
 color: #fff;
}

.liBtn:hover a {
  background: #3b3b98;
}

.liBtn a {
  background: #3b82f6;
  color: #fff;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  display: inline-block;
  transition: all 0.3s ease-in-out;
}

.menu-icon {
  cursor: pointer;
}

.menu-icon span {
  display: block;
  width: 1.5rem;
  height: 0.25rem;
  background-color: #fff;
  margin: 0.25rem 0;
  transition: all 0.3s ease-in-out;
  border-radius: 1rem;
}

.section-form__main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  padding: 3.75rem 2.5rem 2.5rem;
  background-color: transparent;
}

.section-form__main__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
  backdrop-filter: blur(2px);
}

.section-form__main__text {
  display: flex;
  flex-direction: column;
  gap: 1rem;

  h2 {
    font-weight: 700;
    font-size: 3rem;
    color: #fff;
  }

  p {
    font-weight: 400;
    font-size: 1.125rem;
    color: #94a3b8;
  }
}

.section-form__main__trust {
  display: flex;
  gap: 1.5rem;
}

.section-form__main__trust__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #10b981;

  img {
    width: 1.25rem;
  }

  p {
    font-weight: 500;
    font-size: 0.875rem;
  }
}

.section-form__main__formContainer {
  display: flex;
  gap: 3.75rem;
  width: 100%;
  justify-content: center;
}

.section-form__main__cardContainer {
  /* background-color: red; */
  width: calc(50% - 3.75rem);
}

.section-form__main__form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: clamp(300px, 40vw, 480px);
  padding: 2rem;
  background-color: #1e293b;
  border-radius: 1rem;
}

.section-form__form__header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;

  h2 {
    font-weight: 700;
    font-size: 1.5rem;
    color: #fff;
  }

  p {
    font-weight: 400;
    font-size: 0.875rem;
    color: #94a3b8;
  }
}

.section-form__form__fields {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;

  label {
    font-weight: 500;
    font-size: 0.875rem;
    color: #e2e8f0;
  }

  input {
    padding: 0.75rem 1rem;
    border: 1px solid #475569;
    border-radius: 0.5rem;
    background-color: #334155;
    color: #94a3b8;
  }
}

.form-flex {
  display: flex;
  gap: 1rem;

  .section-form__form__field__expiry {
    flex: 1 1 0;
    min-width: 0;
  }

  .section-form__form__field__cvv {
    max-width: 4rem;
  }
}

.section-form__form__btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 1.125rem 1rem;
  border: none;
  border-radius: 0.5rem;
  background: linear-gradient(-78deg, #ef4444 0%, #dc2626 100%);
  color: #fff;
  cursor: pointer;

  img {
    width: 1.25rem;
  }

  p {
    font-weight: 700;
    font-size: 1rem;
  }
}

.section-form__form__disclaimer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background-color: #374151;
  padding: 1rem;
  border-radius: .5rem;
  
  .section-form__form__disclaimer__warning {
    font-size: .75rem;
    font-weight: 600;
    color: #F59E0B;
    display: flex;
    align-items: center;
    gap: 0.5rem;

    img {
      width: 1rem;
    }

  }
}

.section-form__form__disclaimer__text {
  font-weight: 400;
  font-size: .7rem;
  color: #94A3B8;
}

.footer {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: .5rem 2.5rem;
  background-color: #020617;
}

.footer__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__content__text {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;

  h2 {
    font-weight: 700;
    font-size: 1.125rem;
    color: #fff;
  }

  p {
    font-weight: 400;
    font-size: 0.875rem;
    color: #94a3b8;
  }
}

.footer__content__links {
  display: flex;
  gap: 1.5rem;
  color: #94A3B8;
  font-weight: 400;
  font-size: 0.875rem;
}

.footer__separator {
  width: 100%;
  height: 1px;
  background-color: #334155;
  margin: 1rem 0;
}

.footer__copyright {
  font-weight: 400;
  font-size: 0.75rem;
  color: #64748B;
  text-align: center;
}


.floating-card {
  scale: 0.8;
  /* position: fixed; */
  width: 380px;
  height: 240px;
  perspective: 1000px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #fff;
  user-select: none;
  cursor: default;
  /* background: linear-gradient(145deg, #1e1e2f, #282846); */
  border-radius: 20px;
  /* box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4); */
  color: white;
  padding: 20px;
  transition: transform 0.4s ease;
}

.card-1 {
  position: absolute;
  transform: translate(80%, 20%) rotateY(10deg) rotateX(-10deg) rotateZ(-10deg);
  z-index: -3;
  box-shadow: 10px 5px 10px rgba(0, 0, 0, 0.7);
}


.card-2 {
  position: fixed;
  top: 50%;
  right: 0rem;
  transform: translate(-50%, -110%) rotateY(10deg) rotateX(-10deg) rotateZ(10deg);
  z-index: -2;
  
  transform-style: preserve-3d;
}

.card-3 {
  position: absolute;
  transform: translate(-30%, 20%) rotateY(10deg) rotateX(-10deg) rotateZ(-20deg);
  z-index: -1;
  box-shadow: 10px 5px 10px rgba(0, 0, 0, 0.7);
}

.card-front,
.card-back {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  backface-visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(135deg, #3b3b98, #130f40);
  padding: 20px;
  box-shadow: 20px 10px 10px rgba(0, 0, 0, 0.7);
  /* box-sizing: border-box; */
  transition: transform .4s ease;
}

.card-front {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.chip {
  width: 50px;
  height: 35px;
  background: url(../images/chip-removebg-preview.png);
  background-size: 125%;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 5px;
  box-shadow: inset 0 0 5px #bda43f;
  margin-top: -30px;
}

.logo {
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 2px;
  align-self: flex-end;
  color: #fff8;
}

.card-number {
  font-size: 1.4rem;
  letter-spacing: 3px;
  font-weight: 600;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

.card-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.card-info label {
  font-size: 0.6rem;
  opacity: 0.7;
  margin-bottom: 4px;
  display: block;
  letter-spacing: 1px;
}

.card-holder,
.card-valid {
  display: flex;
  flex-direction: column;
}

.card-front {
  transform: rotateY(0deg);
}

.card-back {
  transform: rotateY(180deg);
}

.magnetic-strip {
  background: black;
  height: 40px;
  border-radius: 5px;
  margin-top: 20px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.8);
}

.signature-cvv {
  display: flex;
  justify-content: space-between;
  margin-top: 25px;
  align-items: center;
}

.signature {
  background: #eee;
  width: 70%;
  height: 35px;
  border-radius: 3px;
  box-shadow: inset 0 0 5px #ccc;
}

.cvv {
  width: 25%;
  font-size: 0.8rem;
}

.cvv label {
  font-size: 0.6rem;
  opacity: 0.7;
  margin-bottom: 4px;
  display: block;
  letter-spacing: 1px;
}

.disclaimer {
  font-size: 0.6rem;
  text-align: center;
  margin-top: 25px;
  opacity: 0.5;
  font-style: italic;
}

.alert-scroll {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  color: #64748B;
  text-align: center;
  z-index: 9;
  font-weight: 600;
  font-size: 0.8rem;
  transition: all .3s ease;
  opacity: 1;

  img {
    animation: ondulateY 4s ease-in-out infinite;
  }
}

.alert-hide {
  opacity: 0;
}

.hide {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  overflow: hidden;
}

.sm-hide {
  display: none;
}

@keyframes ondulateY {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
  100% {
    transform: translateY(0);
  }
  
}

/* responsividade */

@media screen and (max-width: 48rem) {

  .sm-hide {
    display: revert;
  }

  .hero {
    min-height: auto;
  }

  .header__nav {
    position: relative;
  }

  .header__nav__list {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 2rem;
    right: 0;
    transition: all .3s ease; 
    max-height: 0;
    overflow: hidden;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.7);
  }
  
  .header__nav__list.nav-active {
    padding: .5rem 0;  
    border-radius: 5px;
    pointer-events: all;
    max-height: 500px;
  }

  .header__nav__list__item {
    padding: .5rem 1rem;
    border-radius: .5rem;
    width: max-content;
    transition: all .3s ease;
  }

  .liBtn a:hover {
    background-color: #3b3b98;
  }

  .menu-icon.nav-active {
    & span:nth-child(1) {
      transform: rotate(45deg) translate(5px, 6px);
    }
    & span:nth-child(2) {
      opacity: 0;
    }
    & span:nth-child(3) {
      transform: rotate(-45deg) translate(5px, -6px);
    }
  }

}

@media screen and (max-width: 37.5rem) {

  .hero-banner__cta {
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;

  }

  .hero-banner__trust-indicators {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .section-form__main__cardContainer {
    display: none;
  }

  .section-form__main__form {
    width: 100%;
  }

  .footer__content__links {
    flex-wrap: wrap;
  }
}