html {
  scrollbar-color: #1e1e1e #000000;
  scrollbar-width: thin;
}

::selection {
  background: #8ab78790;
  color: #ffffff;
}

.subtext a {
  color: #74cdff;
  text-decoration: none;
  font-weight: 600;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  color: white;
}

.icon-container {
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero {
  background-image: linear-gradient(to bottom, rgba(7,13,13,0) 60%, rgba(7,13,13,10)), url("img/background.png");
  background-size: cover;
  background-repeat: no-repeat;
  height: 100vh;
}

.text-block {
  position: absolute;
  top: 10%;
  left: 10%;
  max-width: 90%;
  text-align: left;
}

h1 {
  font-size: 5rem;
  line-height: 1.2;
  font-weight: 700;
  margin: 0;
}

h1 span {
  color: #8ab787;
}

.features-section {
  background-color: #070d0d;
  padding: 4rem 0;
  color: #fff;
}

.features-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 100%;
  margin: 0 auto;
  gap: 200px;
  padding: 0 10%;
}

.features-image {
  flex: 0 0 auto;
}

.features-image img {
  max-width: 450px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.features-text {
  flex: 1;
}

.features-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.features-text p {
  margin-bottom: 2rem;
  line-height: 1.6;
}

.feature-block {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.feature-block div {
  flex-grow: 1;
}

.icon-img {
  width: 75px;
  height: 75px;
  object-fit: cover;
  margin-right: 15px;
  background-color: #131817;
  padding: 15px;
  user-select: none;
  border-radius: 12px;
  box-sizing: border-box;
}

.highlight-text {
  font-weight: bold;
  font-size: 1.5rem;
  color: white;
}

.subtext {
  color: #a0aec0;
  font-size: 1.1rem;
  margin-top: 5px;
}

.passage-section {
  background-color: #070d0d;
  padding: 4rem 0;
  color: #fff;
}

.passage-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 100%;
  margin: 0 auto;
  gap: 200px;
  padding: 0 10%;
}

.passage-image {
  flex: 0 0 auto;
}

.passage-image img {
  max-width: 450px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.passage-text {
  flex: 1;
}

.passage-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.about-section {
  background-color: #070d0d;
  padding: 4rem 0;
  color: #fff;
}

.about-container {
  display: flex;
  align-items: flex-start;
  max-width: 100%;
  margin: 0 auto;
  padding-left: 10%;
  padding-right: 10%;
  box-sizing: border-box;
  gap: 200px;
}

.about-image {
  flex: 0 0 auto;
}

.about-image img {
  max-width: 450px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.about-faq {
  flex: 1;
}

.about-faq h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.faq-item {
  margin-bottom: 0.5rem;
  background-color: #070d0d;
  border-radius: 8px;
  padding: 0.5rem;
  overflow: hidden;
  max-height: 3.5rem;
  transition: max-height 0.3s ease-out;
}

.faq-item.opening {
  max-height: 8rem;
}

.faq-item.closing {
  max-height: 3.5rem;
  transition: max-height 0.3s ease-out;
}

.faq-item summary {
  font-size: 1.4rem;
  color: white;
  cursor: pointer;
  padding: 0.5rem;
  padding-left: 2.5rem;
  list-style: none;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before {
  content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill="white" d="m15 14l-5-5l-5 5l-2-1l7-7l7 7z"/></svg>');
  position: absolute;
  left: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
}

.faq-item.opening summary::before {
  transform: translateY(-50%) rotate(180deg);
  transition: transform 0.3s ease;
}

.faq-item.closing summary::before {
  transform: translateY(-50%);
}

.faq-item p {
  color: #a0aec0;
  font-size: 1.1rem;
  margin-top: 5px;
  padding: 0.5rem;
  max-height: 0;
  opacity: 0;
  transform: translateY(-10px);
  transition: max-height 0.3s ease-out, opacity 0.3s ease-out, transform 0.3s ease-out;
}

.faq-item.opening p {
  max-height: 4rem;
  opacity: 1;
  transform: translateY(0);
}

.faq-item.closing p {
  max-height: 0;
  opacity: 0;
  transform: translateY(-10px);
  transition: max-height 0.3s ease-out, opacity 0.3s ease-out, transform 0.3s ease-out;
}

@media (max-width: 768px) {
  .hero {
    background-image: linear-gradient(to bottom, rgba(7,13,13,0) 60%, rgba(7,13,13,1)), url("img/background2.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: scroll;
  }

  .passage-text h2 {
    text-align: left;
  }

  .text-block {
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    padding: 0 1rem;
  }

  h1 {
    font-size: 3rem;
  }

  .features-section, .passage-section, .about-section {
    padding: 2rem 0;
  }

  .features-container, .passage-container, .about-container {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 0 5%;
  }

  .features-text, .passage-text, .about-buttons {
    text-align: center;
    padding: 0;
  }

  .features-text h2, .passage-text h2 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
  }

  .feature-block {
    flex-direction: column;
    align-items: center;
    margin-bottom: 1rem;
  }

  .icon-img {
    display: none;
  }

  .highlight-text {
    font-size: 1.2rem;
  }

  .subtext {
    font-size: 0.9rem;
    margin-top: 0.3rem;
  }

  .button {
    width: 200px;
    height: 50px;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    line-height: 30px;
  }

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

  .features-text,
  .passage-text {
    text-align: center;
    padding: 0;
  }

  .feature-block {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 2rem;
  }

  .highlight-text,
  .subtext {
    text-align: center;
  }

  .icon-container {
    display: none;
  }

  .highlight-text {
    font-size: 1.4rem;
  }

  .subtext {
    font-size: 1.05rem;
  }

  .feature-block {
    margin-bottom: 2rem;
  }

  .passage-text p {
    margin-bottom: 1.5rem;
  }

  .passage-text h2 {
    text-align: center;
  }

  .features-image img,
  .passage-image img,
  .about-image img {
    display: block;
    max-width: 100%;
    margin: 0 auto 1.5rem;
  }

  .features-container,
  .passage-container,
  .about-container {
    flex-direction: column;
    align-items: center;
  }

  .passage-image {
    order: -1;
  }
}
