﻿.home-hero-container {
  width: 100%;
  height: 700px;
  position: relative;
  margin: -64px 0 -96px 0;
}

.home-hero-image-container {
  background-image: url('/images/home/hero-background.jpg');
  background-size: cover;
  background-position: 50% 50%;
  -webkit-mask-image: linear-gradient(to bottom, #ffffff 0%, #ffffff90 30%, #ffffff10 85%, #ffffff00 100%);
  mask-image: linear-gradient(to bottom, #ffffff 0%, #ffffff90 30%, #ffffff10 85%, #ffffff00 100%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  filter: hue-rotate(58deg);
}

.home-hero-text-container {
  margin: auto 0;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  width: 100%;
  position: relative;
  padding-bottom: 32px;
  gap: 24px;
}

.home-hero-title-container {
  display: flex;
  flex-direction: row;
  gap: 12px;
}

.home-hero-title {
  text-align: left;
  font-size: 64px;
  line-height: 70px;
  letter-spacing: -1.5px;
  font-weight: 500;
  text-shadow: 0px 0px 8px rgba(0, 0, 0, 0.4);
}

.home-hero-title-phonetic {
  font-size: 28px;
  font-weight: 500;
  margin-top: 4px;
  color: var(--accent-foreground-hover);
  text-shadow: 0px 0px 8px rgba(0, 0, 0, 0.4);
}

.home-hero-description {
  font-size: 24px;
  line-height: 32px;
  letter-spacing: -0.5px;
  max-width: 60%;
  text-shadow: 0px 0px 8px rgba(0, 0, 0, 0.4);
}

/*Cards*/
.home-cards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
}

.home-card {
  flex: 1 1 calc(25% - 10px);
  position: relative;
}

.home-card-content {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.home-card-background {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background-color: #ffffff09;
  border: 1px solid #00000040;
}

.home-card-filter {
  backdrop-filter: blur(32px) saturate(250%) brightness(110%);
}

.home-card-border {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  transition-duration: 0.2s;
  opacity: 0;
  border: 2px solid var(--accent-fill-rest);
}

.home-card:hover > .home-card-border, .home-app-card:hover > .home-card-border {
  opacity: 0.8;
}

.home-app-card:active > .home-card-border {
  opacity: 0.6;
  border: 2px solid var(--accent-fill-active);
}

.home-card-icon {
  width: 32px;
  height: 32px;
  fill: var(--accent-fill-rest);
  margin: 0 0 20px 0;
}

.home-card-title {
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 12px 0;
}

.home-card-description {
  color: var(--neutral-foreground-hover);
  font-size: 14.5px;
  line-height: 24px;
}

/*Header*/
.home-header {
  width: auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin: 0 0 12px 0;
}

.home-header-inner {
  display: flex;
  position: relative;
  flex-direction: column;
}

.home-header-title {
  font-size: 36px;
  font-weight: 500;
  margin: 0 0 20px 0;
  line-height: normal;
}

.home-header-subtitle {
  font-size: 24px;
  margin: 10px 0 20px 0;
  line-height: 32px;
}

.home-header-description {
  font-size: 16px;
  color: var(--neutral-foreground-hover);
  margin: 0 0 20px 0;
  line-height: 24px;
  max-width: 520px;
}

/*App card*/
.home-app-card {
  flex: 1 1 calc(25% - 10px);
  position: relative;
  cursor: pointer;
}

.home-app-card-icon {
  width: 120px;
  height: 120px;
  border-radius: 8px;
  margin: 0 0 24px 0;
}

.home-app-card-title {
  font-size: 24px;
  font-weight: 500;
  margin: 0 0 12px 0;
  line-height: 28px;
}

.home-app-card-details {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  margin: 0 0 20px 0;
}

.home-app-card-star {
  width: 14px;
  height: 14px;
  fill: #ffffff;
  margin: 0 4px 0 0;
}

.home-app-card-category {
  font-size: 12.5px;
  background-color: var(--accent-fill-rest);
  color: #000000;
  padding: 1px 8px 2px 8px;
  margin: 1.5px 0 0 8px;
  border-radius: 30px;
  letter-spacing: 0px;
}

.home-app-card-description {
  color: var(--neutral-foreground-hover);
  font-size: 14.5px;
  line-height: 24px;
  margin: 0 0 16px 0;
}

.home-app-card-button {
  margin-top: auto !important;
  margin-bottom: -10px !important;
  align-self: flex-start;
}

/*Feedback*/
.home-review-cards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 58px;
  align-items: stretch;
  padding: 32px 0 0 0;
}

.home-review-card {
  flex: 1 1 calc(33% - 58px);
  position: relative;
}

.home-review-card-stars {
  display: flex;
  gap: 4px;
  margin: 0 0 16px 0;
}

.home-review-card-star {
  width: 16px;
  height: 16px;
  fill: var(--accent-fill-active);
}

.home-review-card-star-grey {
  width: 16px;
  height: 16px;
  fill: #ffffff;
  opacity: 0.3;
}

.home-review-card-description {
  font-size: 14.5px;
  margin: 0 0 16px 0;
  line-height: 24px;
}

.home-review-card-date {
  font-size: 13.5px;
  color: var(--neutral-foreground-hover);
}

/*Aurora*/
.home-image-aurora-container {
  background-image: url('/images/home/aurora.jpg');
  background-size: cover;
  background-position: 50% 50%;
  position: relative;
}

.home-aurora-container {
  padding: 0;
}

  .home-aurora-container ::selection {
    background-color: #ffffff;
    color: #774BBC;
  }

.home-aurora-description {
  font-size: 16px;
  color: #FFFFFFA0;
  margin: 32px 0 20px 0;
  line-height: 24px;
  max-width: 840px;
}

.home-aurora-buttons-container {
  display: flex;
  padding-top: 20px;
  gap: 12px;
}

/*Award card*/
.home-awards-cards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
}

.home-award-card {
  flex: 0 0 calc(50% - 10px);
  position: relative;
}

.home-award-card-company-logo {
  height: 20px;
  align-self: flex-start;
  margin: 0 0 32px 0;
}

.home-award-card-award-logo {
  align-self: flex-start;
  margin: 0 0 32px 0;
}

.home-award-card-title {
  font-size: 24px;
  line-height: 32px;
  font-weight: 500;
  margin: 0 0 24px 0;
}

.home-award-card-description {
  color: var(--neutral-foreground-hover);
  font-size: 14.5px;
  line-height: 24px;
  margin: 0 0 24px 0;
}

.home-award-card-button {
  margin-top: auto !important;
  margin-bottom: -10px !important;
  align-self: flex-start;
}

/*1400*/
@media (max-width: 1400px) {
  .home-hero-container {
    height: 600px;
  }

  .home-hero-description {
    max-width: 80%;
  }
}

/*1240*/
@media (max-width: 1240px) {
  .home-hero-container {
    height: 550px;
  }

  .home-hero-title {
    font-size: 48px;
    line-height: 64px;
  }

  .home-hero-title-phonetic {
    font-size: 24px;
    margin-top: 7px;
  }

  .home-hero-description {
    font-size: 20px;
    line-height: 28px;
    max-width: 80%;
  }

  .home-card {
    flex: 1 1 calc(50% - 10px);
  }

  .home-app-card {
    flex: 1 1 calc(50% - 10px);
  }

  .home-review-card {
    flex: 1 1 100%;
  }

  .home-award-card {
    flex: 1 1 100%;
  }
}

/*800*/
@media (max-width: 800px) {
  .home-hero-container {
    width: 100%;
    height: auto;
    position: relative;
    margin: 72px 0 72px 0;
  }

  .home-hero-image-container {
    display: none;
  }

  .home-hero-text-container {
    margin: auto 0;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    width: 100%;
    position: relative;
    padding: 0 24px;
    gap: 24px;
  }

  .home-hero-title-container {
    display: flex;
    flex-direction: column;
    gap: 0px;
    width: 100%;
  }

  .home-hero-title {
    text-align: center;
    font-size: 48px;
    line-height: 60px;
    letter-spacing: -1px;
    font-weight: 500;
    text-shadow: none;
    margin: 0;
  }

  .home-hero-title-phonetic {
    text-align: center;
    font-size: 24px;
    font-weight: 500;
    text-shadow: none;
  }

  .home-hero-description {
    text-align: center;
    font-size: 20px;
    line-height: 28px;
    letter-spacing: -0.3px;
    width: 100%;
    max-width: none;
    text-shadow: none;
  }

  .home-cards-container {
    margin: 0 24px;
  }

  .home-header {
    margin: 0 24px 12px 24px;
  }

  .home-app-card-icon {
    width: 80px;
    height: 80px;
  }

  .home-aurora-container {
    padding: 0 24px;
  }

  .home-aurora-buttons-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-awards-cards-container {
    padding: 0 24px;
  }
}

/*620*/
@media (max-width: 620px) {
  .home-card {
    flex: 1 1 100%;
  }

  .home-app-card {
    flex: 1 1 100%;
  }
}
