:root {
  --text-color: rgb(69, 69, 69);
  --button-color: #9bbfff;
  --accent-color: #9bbfff;
}
body {
  margin: 0 auto;
  color: var(--text-color);
}

section {
  text-align: center;
  margin: 0 auto;
}

main {
  position: relative;
  top: -50px;
  background: #e1eafa;
  background: linear-gradient(
    180deg,
    rgba(225, 234, 250, 1) 0%,
    rgba(253, 241, 239, 1) 100%
  );
  border-radius: 10px;
  margin: 8px;
  padding: 8px 8px 32px;
  color: var(--text-color);
  box-shadow: 0px 2px 10px 1px #c3c3c370;
}

.header {
  position: sticky;
  top: 20px;
  z-index: 5;
  box-shadow: 0px 2px 10px 1px #c3c3c370;
}

.install {
  background: var(--button-color);
  border: none;
  border-radius: 10px;
  padding: 6px 20px;
  font-weight: 500;
  color: #ffffff;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  display: flex;
}

.header {
  font-size: 16px;
  background: #ffffff;
  border-radius: 15px;
  display: flex;
  padding: 5px;
  justify-content: space-between;
  max-width: 600px;
  margin: 0 auto;
}

.header nav {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

.header nav a {
  text-decoration: none;
  color: var(--text-color);
}

.button {
  border-radius: 10px;
  padding: 10px 20px;
  font-weight: 500;
  color: #ffffff;
  cursor: pointer;
  font-size: 16px;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.secondary-button {
  border: none;
  background-color: white;
  color: var(--text-color);
}

.cta-button {
  background: var(--button-color);
  border: none;
  justify-self: start;
}

header {
  display: flex;
  margin: 0 auto;
  flex-direction: row;
  align-items: center;
  margin: 80px 32px 64px;
}

header h1 {
  margin-top: 0;
}

header > div {
  text-align: left;
  width: 50%;
  flex: 1 1 auto;
}

header > img {
  flex: 1 1 0;
  max-width: 50%;
  border-radius: 10px;
}

header p {
  text-align: left;
  font-size: 18px;
  margin: 0 0 24px;
  max-width: 420px;
}

.buttons {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

h1 {
  max-width: 500px;
  text-align: left;
  margin: 48px 0 8px;
}

a.install img,
a img {
  width: 16px;
  padding-right: 10px;
}

a.install {
  text-decoration: none;
}

section {
  padding: 8px 48px 8px;
}

h2 {
  margin-top: 32px;
  margin-bottom: 32px;
}

.section-header {
  text-align: center;
}

.benefits {
  margin-top: -48px;
}

.benefits-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 32px;
  max-width: 800px;
  margin: 0 auto 32px;
  padding-inline-start: 0;
  color: var(--text-color);
}

.benefits-list li {
  width: 40%;
  list-style-type: none;
  flex: 1 1 auto;
  padding: 16px 24px;
  box-sizing: border-box;
  border-radius: 10px;
  box-shadow: 2px 1px 5px 1px #00000021;
  text-align: center;
}

.benefits-list li:first-child {
  background-color: var(--accent-color);
  color: white;
}

.benefits-list li:nth-child(2) {
  background: linear-gradient(
    180deg,
    rgba(225, 234, 250, 1) 0%,
    rgba(253, 241, 239, 1) 100%
  );
}

.benefits-list li:first-child img {
  filter: invert(1);
}

.feature img {
  width: 40px;
}

.accent {
  background: var(--accent-color);
  color: white;
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 800px;
  flex: 1 1 400px;
}

.video-section {
  text-align: left;
}
.video-section video {
  width: 50%;
}

.video-section p {
  margin-top: 16px;
  margin-bottom: 16px;
}

.faq details {
  border-radius: 8px;
  padding: 8px;
  transition: box-shadow 0.2s ease;
  cursor: pointer;
  background: #ffffff;
  color: var(--text-color);
  line-height: 40px;
}

details > summary {
  list-style-type: none;
}

.faq summary {
  font-weight: 500;
  line-height: 24px;
  cursor: pointer;
}

.faq p {
  margin: 0.5rem 0 0;
  line-height: 1.5;
  color: #333;
}

.section-content {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: flex-start;
}

.video-section {
  padding-bottom: 32px;
}

.video-section video {
  width: 50%;
  border-radius: 10px;
  border: 10px #ffffff solid;
}

.video iframe {
  width: 100%;
  height: 315px;
}

.video img {
  width: 100%;
}

.how-it-works {
  padding: 32px 24px 56px;
  background-color: #f9f9f9;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 40px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.step {
  background: white;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s;
}

.step:hover {
  transform: translateY(-5px);
}

.step-icon {
  font-size: 2rem;
  color: #555;
  margin-bottom: 12px;
}

.step-title {
  font-size: 1.2rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.cta {
  text-align: center;
  padding: 32px 16px;
}

.cta a {
  margin-top: 32px;
  display: flex;
  justify-self: center;
}

footer {
  text-align: center;
  padding: 16px 0;
}

footer p {
  margin: 0;
}

.logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.logo img {
  height: 28px;
  border-radius: 10px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  background-color: #ccc;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s;
  padding: 0;
}

.carousel-dot.active {
  background-color: #333;
}

.testimonials {
  padding: 2rem 1rem;
  background-color: #f9f9f9;
  text-align: center;
}

.testimonial-header {
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: flex-end;
  margin-bottom: 8px;
}

.testimonial-header .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  line-height: 40px;
  text-align: center;
  font-weight: 500;
  color: var(--text-color);
  background: linear-gradient(
    180deg,
    rgba(225, 234, 250, 1) 0%,
    rgba(253, 241, 239, 1) 100%
  );
}

.testimonial-carousel {
  display: flex;
  gap: 24px;
  justify-content: flex-start;
  overflow-x: auto;
  padding: 24px 0;
  scroll-snap-type: x mandatory;
}

.testimonial {
  flex: 0 0 60%;
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  scroll-snap-align: start;
  text-align: left;
}

.testimonial h4 {
  margin: 0;
}

.stars {
  color: gold;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.feedback {
  font-style: italic;
  font-size: 0.95rem;
  color: #333;
}

@media screen and (max-width: 720px) {
  header {
    flex-direction: column;
    gap: 16px;
    margin: 64px 8px 8px;
  }
  header > div {
    width: unset;
  }
  .header {
    flex-direction: column;
    align-items: center;
    margin: 0 24px;
  }
  header > img {
    width: 100%;
    height: unset;
    max-width: unset;
  }
  .benefits-list li {
    width: 100%;
  }
  .section-content {
    flex-direction: column;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  section {
    padding: 8px 16px;
  }

  .video-section video {
    width: 100%;
    box-sizing: border-box;
  }

  .faq {
    flex: 1 1 auto;
    width: 100%;
  }
}
