html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Outfit, "Calibri", sans-serif;
  background-color: #141518;
  color: #ffffff;
  /* line-height: 1.6; */
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}

button.cta {
  background-color: #37c673;
  color: #131417;
  border: none;
  padding: 1rem 3rem;
  font-size: 16px;
  font-weight: 600;
  border-radius: 35px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button.cta:hover {
  background-color: #00cc6b;
}

button.cta-outline {
  background-color: transparent;
  color: #00cc6b;
  border: 2px solid #00cc6b;
  padding: 1rem 4rem;
  font-size: 18px;
  font-weight: 600;
  border-radius: 35px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease,
    border-color 0.3s ease;
}

button.cta-outline:hover {
  background-color: #37c673;
  color: #131417;
  border-color: transparent;
}

button.cta-outline.selected {
  background-color: #37c673;
  color: #131417;
  border-color: transparent;
}

.hero {
  background-image: url("https://d34080pnh6e62j.cloudfront.net/images/VideoOnDemandThumb/1762168423image-20251103-094216.png");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  aspect-ratio: 1440 / 535;
  width: 100%;
  display: flex;
  align-items: center;
  position: relative;
  color: #fff;
}

.hero .overlay {
  width: 100%;
  height: 100%;
  /* background: linear-gradient(to right, rgba(15, 15, 15, 0.95) 20%, rgba(15, 15, 15, 0.6) 40%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0) 100%); */
  /* background: linear-gradient(to bottom, rgba(15, 15, 15, 0.7) 0%, rgba(0, 0, 0, 0.3) 60%, rgba(0, 0, 0, 0.1) 90%); */
  /* background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 60%, rgba(15, 15, 15, 0.8) 100%); */
  display: flex;
  align-items: center;

  @media (max-width: 767px) {
    align-items: flex-end;
  }
}

.hero-content {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 0rem;
  display: flex;
  justify-content: space-between;
  align-items: center;

  .text-content {
    max-width: 345px;
    text-align: left;
    margin-top: 150px;
    margin-left: 130px;
  }

  .text-content h1 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 0rem;
    color: #ffffff;
  }

  .text-content p {
    font-size: 20px;
    font-weight: 400;
    /* line-height: 1.5; */
    margin-bottom: 2rem;
    color: #e0e0e0;
  }
}

.devices {
  background-color: #141518;
  padding: 4rem 2rem;
  color: #fff;
  padding-top: 0rem;
}

.device-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.device-text {
  flex: 1 1 40%;
  min-width: 300px;
  text-align: left;
  padding: 0 10px;
}

.device-text h2,
.device-text p {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 700px;
}

.device-text h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #ffffff;
}

.device-text p {
  font-size: 16px;
  line-height: 1.6;
  color: #cfcfcf;
  margin-bottom: 2rem;
}

.device-listwapper {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

.device-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem 1.5rem;
}

.device-list li {
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #ffffff;
}

.device-list svg {
  flex-shrink: 0;
}

.device-list .tick-circle {
  width: 20px;
  height: 20px;
}

.device-image {
  flex: 1 1 50%;
  min-width: 300px;
  text-align: center;
}

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

@media (max-width: 1190px) and (min-width: 769px) {
  .hero .text-content {
    max-width: 300px;
    margin-top: 0px;
    margin-left: 80px;
    /* line-height: 1; */
  }

  .hero .text-content p {
    margin-bottom: 1rem;
    font-weight: 200;
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  /* .hero .overlay {
        background: linear-gradient(to bottom, rgba(15, 15, 15, 0.95), rgba(0, 0, 0, 0.4));
    } */

  .hero-content {
    flex-direction: column;
    padding: 2rem 1rem;
    text-align: center;
  }

  .hero-content {
    .text-content p {
      margin-bottom: 0px;
    }
  }

  .hero .text-content {
    margin: 0 0 0;
    text-align: center;
    margin-left: 0;
  }

  .text-content h1 {
    font-size: 25px;
  }

  .text-content p {
    font-size: 14px;
  }

  button.cta {
    padding: 0.8rem 2rem;
    font-size: 16px;
  }

  button.cta-outline {
    padding: 1rem 1.5rem;
    font-size: 12px;
    font-weight: 500;
  }

  .pricing h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .features li {
    font-size: 12px;
  }

  .plans {
    flex-direction: column;
    align-items: center;
    gap: 5px;
  }

  .plan-card {
    /* width: 100%; */
    max-width: 300px;
    margin-bottom: 2rem;
  }

  .plan-header {
    flex-direction: column;
    gap: 10px;
  }

  /* .container {
        padding: 0rem;
    } */

  .payment-section {
    max-width: 289px;
  }

  .mobile-input .flag img {
    width: 15px;
  }

  .mobile-input input {
    font-size: 14px;
  }

  .checkbox-container {
    font-size: 12px;
  }

  .devices {
    padding: 1rem 0rem;
  }

  .device-text h2,
  .device-text p {
    max-width: 300px;
  }

  .device-text h2 {
    font-size: 25px;
    font-weight: 600;
  }

  .device-text p {
    font-size: 14px;
  }

  .device-listwapper {
    gap: 1.5rem;
  }

  .device-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.2rem 1rem;
  }

  .device-list li {
    font-size: 14px;
  }

  .device-list .tick-circle {
    width: 18px;
    height: 18px;
  }
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-content {
  position: relative;
  background: #fff;
  width: 90%;
  max-width: 700px;
  height: 80vh;
  border-radius: 8px;
  overflow: hidden;
}

.modal-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  background: transparent;
  border: none;
  color: #333;
  cursor: pointer;
  z-index: 10;
}

@media (max-width: 490px) {
  .text-content h1 {
    font-size: 25px !important;
  }

  .text-content p {
    font-size: 14px !important;
  }

  .button.cta {
    padding: 1rem 3rem;
    font-size: 14px;
  }

  .hero .text-content {
    /* top: 80px; */
  }

  .hero .overlay {
    background: linear-gradient(to bottom,
        rgba(0, 0, 0, 0) 21%,
        rgba(15, 15, 15, 0.8) 88%);
  }
}
