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

:root {
  --primary-color: #0055ff;
  --secondary-color: #020b26;
  --text-color: #f2f2f2;
  --button: #23b33a;
  --button-hover: #29ca43;
}

body {
  font-family: "Arimo", sans-serif;
  background-color: var(--primary-color);
  color: var(--text-color);

  overflow-x: hidden;
}

/* global */
.container {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
}

.btn {
  padding: 1rem 2rem;
  background-color: var(--button);
  color: var(--text-color);
  border-radius: 0.5rem;
  transition: 0.3s ease background;
  display: block;
  width: fit-content;

  &:hover {
    background-color: var(--button-hover);
  }
}

.title {
  font-size: 2.5rem;
  line-height: normal;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.subtitle {
  font-size: 1.25rem;
  line-height: normal;
  font-weight: 500;
}

/* lp */

.header {
  padding: 1rem;
  position: relative;
  z-index: 1;

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

.hero {
  height: calc(100vh - 185px);
  background-image: linear-gradient(
    to bottom,
    var(--primary-color),
    var(--secondary-color)
  );
  position: relative;

  &::before {
    content: "";
    position: absolute;
    background-image: url("../assets/bg.png");
    background-repeat: no-repeat;
    background-size: cover;

    top: -85px;
    right: 0;
    width: 50%;
    height: 100vh;
  }

  .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5rem;
    height: 100%;
    position: relative;
  }

  .contents,
  .image {
    flex: 1;
  }

  .btn {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
  }
}

.effect-words {
  position: relative;
  z-index: 2;
  background-color: var(--primary-color);
  height: 100px;
  display: flex;
  align-items: center;

  .wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;

    font-size: 2rem;
    font-weight: 600;
    text-transform: uppercase;
    gap: 200px;
    text-wrap: nowrap;
  }
}

.differences {
  background-color: var(--secondary-color);
  padding: 80px;

  .container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
  }

  .card {
    background-color: var(--primary-color);
    padding: 2.5rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
    border-radius: 1rem;
    min-height: 350px;
    flex: 1;
    transition: 0.3s ease;

    .card__icon {
      position: relative;

      .icon-1 {
        opacity: 1;
        transition: 0.3s ease all;
      }

      .icon-2 {
        position: absolute;
        top: 0;
        left: 0;
        opacity: 0;
        transition: 0.3s ease all;
      }
    }

    .card__title {
      font-size: 2rem;
    }

    &:hover {
      background-color: var(--text-color);
      color: var(--primary-color);

      .icon-1 {
        opacity: 0;
      }
      .icon-2 {
        opacity: 1;
      }
    }
  }
}

.faq {
  padding: 80px 0;
  background-image: linear-gradient(
    to bottom,
    var(--secondary-color),
    var(--primary-color)
  );

  .accordion-container {
    overflow: hidden;
  }

  .accordion-title {
    color: var(--text-color);
    cursor: pointer;
    padding: 1rem 0;
    border: none;
    border-bottom: 1px solid var(--text-color);
    outline: none;
    font-size: 1.25rem;
    font-weight: bold;
    transition: background-color 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .accordion-title:last-of-type {
    border-bottom: none;
  }

  .accordion-title::after {
    content: "\002B";
    font-size: 20px;
    color: var(--text-color);
    transition: transform 0.3s ease;
  }

  .active::after {
    content: "\2212";
    color: var(--text-color);
  }

  .accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
  }

  .accordion-content p {
    padding: 15px 0;
    margin: 0;
    line-height: 1.6;
  }
}

footer {
  padding: 40px 0;
  .container {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    gap: 1rem;
  }
}

.container-whats {
  position: fixed;
  bottom: 7rem;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 10;
  max-width: 1440px;
  margin: 0 auto;

  display: flex;
  justify-content: end;
  pointer-events: none;
  padding: 20px;

  .btn-whats {
    pointer-events: all;
    img {
      width: 60px;
      height: 60px;
    }
  }
}

/* Tablet (768px) */
@media (max-width: 768px) {
  .container {
    padding: 0 0.75rem;
  }

  .title {
    font-size: 2rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .btn {
    padding: 0.875rem 1.75rem;
  }

  .header {
    padding: 0.75rem;
  }

  .hero {
    /* height: auto; */
    padding: 2rem 0;

    .container {
      flex-direction: column;
      gap: 2rem;
      text-align: center;
    }

    &::before {
      display: none;
    }

    .image img {
      max-width: 100%;
      height: auto;
    }
  }

  .effect-words {
    height: auto;
    padding: 1rem 0;

    .wrapper {
      font-size: 1.5rem;
      gap: 50px;
      justify-content: center;
    }
  }

  .differences {
    padding: 40px 20px;

    .container {
      flex-direction: column;
      gap: 1.5rem;
    }

    .card {
      min-height: 250px;
      padding: 2rem;
    }
  }

  .faq {
    padding: 40px 0;

    .accordion-title {
      font-size: 1rem;
    }
  }

  footer {
    padding: 30px 0;
  }
}

/* Mobile (576px) */
@media (max-width: 576px) {
  .container {
    padding: 0 0.5rem;
  }

  .title {
    font-size: 1.5rem;
  }

  .subtitle {
    font-size: 0.875rem;
  }

  .btn {
    padding: 0.75rem 1.5rem;
    width: 100%;
    text-align: center;
  }

  .header {
    padding: 0.5rem;

    .container {
      flex-direction: column;
      gap: 1rem;
    }

    .btn {
      display: none;
    }
  }

  .hero {
    padding: 1rem 0;
    height: calc(100vh - 104px);

    .container {
      flex-direction: column-reverse;
    }

    .contents {
      text-align: center;
    }

    .image img {
      max-width: 100%;
      height: auto;
    }
  }

  .effect-words {
    padding: 0.5rem 0;

    .wrapper {
      font-size: 1.25rem;
      gap: 1rem;
      text-align: center;
    }
  }

  .differences {
    padding: 20px 10px;

    .container {
      gap: 1rem;
    }

    .card {
      min-height: 200px;
      padding: 1.5rem;
    }
  }

  .faq {
    padding: 20px 0;

    .accordion-title {
      font-size: 0.875rem;
    }
  }

  footer {
    padding: 20px 0;

    .title {
      font-size: 1.25rem;
    }
  }

  .container-whats {
    bottom: 2rem;
    .btn-whats {
      img {
        width: 50px;
        height: 50px;
      }
    }
  }
}
