:root {
  --primary-bg: #0f7480;
  --button-bg: #07484e;
  --text-color: white;
  --accent-color: #00ffdd;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  font-family: "Segoe UI", sans-serif;
  background-color: var(--primary-bg);
  color: var(--text-color);
}

body {
  display: flex;
  flex-direction: column;
}

header,
section,
footer {
  width: 100%;
  padding: 3rem 2rem;
}

header {
  /* height: 100vh; */
  display: flex;
  align-items: center;
  justify-content: center;
}

footer {
  font-size: 1rem;
  background-color: #06383d;
  text-align: center;
}

/* HERO */
.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 3rem;
  width: 100%;
  margin: auto;
}

.text-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-wrapper {
  width: 100%;
}

.logo {
  background: url('/assets/logo.png');
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: calc(100% * 2 / 3);
  width: 100%;
  display: block;
}

.tagline {
  font-size: 1.1rem;
  margin-top: 0.5rem;
  text-align: center;
}

.video-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.video-title {
  font-size: 1.6rem;
  text-align: center;
}

video {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
}

.install-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  background-color: var(--button-bg);
  color: var(--text-color);
  padding: 0.7rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.3s;
  margin-top: 1.5rem;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
}

i.fa {
  font-size: 2rem;
}

.install-button:hover {
  background-color: #05363b;
}

/* BENEFITS */
.benefits {
  background-color: var(--button-bg);
}

.benefits h2 {
  text-align: center;
  font-size: 1.6rem;
  margin-top: 0rem;
  margin-bottom: 2rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: auto;
  list-style: none;
  padding: 0;
}

.benefits li {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 1rem 1.5rem;
  border-radius: 10px;
  font-size: 1rem;
  position: relative;
  padding-left: 2rem;
}

.benefits li::before {
  content: "✔";
  position: absolute;
  left: 0.8rem;
  color: var(--accent-color);
}

/* REPOSITORY SECTION */
.repository {
  background-color: #095d64;
  text-align: center;
}

.repo-content h2 {
  font-size: 1.6rem;
  margin-top: 0;
  margin-bottom: 1rem;
}

.repo-content p {
  font-size: 1rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* TABLET */
@media (min-width: 600px) {
  .text-content {
    width: 80%;
  }

  .tagline {
    font-size: 1.3rem;
  }

  .install-button {
    font-size: 1.1rem;
    padding: 1rem 2rem;
  }

  i.fa {
    font-size: 2.2rem;
  }

  .video-container {
    width: 60%;
  }

  .video-title {
    font-size: 1.8rem;
  }

  .benefits h2 {
    font-size: 1.8rem;
  }

  .benefits li {
    font-size: 1.1rem;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .repo-content h2 {
    font-size: 1.8rem;
  }

  .repo-content p {
    font-size: 1.1rem;
  }
}

/* DESKTOP */
@media (min-width: 900px) {
  .hero-container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    max-width: 80%;
  }

  .text-content {
    width: 35%;
    align-items: center;
  }

  .logo-wrapper {
    width: 75%;
    margin: auto;
  }

  .tagline {
    font-size: 1.5rem;
  }

  .install-button {
    font-size: 1.2rem;
  }

  i.fa {
    font-size: 2.4rem;
  }

  .video-container {
    flex-direction: row;
    aspect-ratio: 16 / 9;
    width: 50%;
    gap: 0;
  }

  .video-title {
    visibility: hidden;
    max-height: 0;
    max-width: 0;
    margin: 0;
  }

  .benefits h2 {
    font-size: 2rem;
  }

  .benefits-grid {
    max-width: 80%;
    grid-template-columns: repeat(3, 1fr);
  }

  .benefits li {
    font-size: 1.15rem;
  }

  .repo-content h2 {
    font-size: 2rem;
  }

  .repo-content p {
    font-size: 1.15rem;
  }
}