* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    max-width: 70%;
    margin: 0 auto;
    background-color: #ecececff;
    color: black;
}

h1 {
    font-size: 30px;
    line-height: 32px;
    font-weight: 400 !important;
    font-family: "Google Sans Code", monospace;

}

h2 {
    font-size: 13px;
    line-height: 17px;
    font-weight: 300 !important;
    font-family: "Google Sans Code", monospace;
    text-transform: uppercase;
}

h3 {
    font-size: 13px;
    line-height: 15px;
    font-weight: 300 !important;
    font-family: "Google Sans Code", monospace;
    opacity: 0.6;
}

p {
   font-size: 18px;
    line-height: 20px;
    font-weight: 400 !important;
    font-family: "Google Sans Code", monospace;
    text-transform: none;
}

a {
    color: black;
    text-decoration: none;
}

a:hover {
    opacity: 0.3;
}


header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
    margin-bottom: 20px;
    padding: 25px 40px;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 10;
    max-width: 70%;
    gap: 40px;

    background: transparent;
    transition: 
        background 0.3s ease,
        backdrop-filter 0.3s ease,
        width 0.4s ease,
        max-width 0.4s ease,
        left 0.4s ease,
        right 0.4s ease;
}


/* Frosty blur active state */
header.scrolled {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    width: 40%;
    max-width: 600px; /* optional safety cap */
    left: 50%;
    right: auto;
    transform: translateX(-50%); /* centers it */
}

.logo-container {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    text-align: left;
    font-family: "Xanh Mono", monospace;
}

.nav-menu-container {
    display: flex;
    flex-direction: row;
    gap: 40px;
    justify-content: flex-end;
    font-family: "Google Sans Code", monospace;
    font-weight: 300 !important;
    text-transform: uppercase;
    color: black;
    text-decoration: none;
    align-items: center;
}

.nav-menu-footer-container {
    display: flex;
    flex-direction: row;
    gap: 40px;
    justify-content: flex-end;
    font-family: "Google Sans Code", monospace;
    font-weight: 300 !important;
    text-transform: uppercase;
    color: black;
    text-decoration: none;
    align-items: center;
}

.nav-menu-container, a {
    transition: 0.3s ease;
}

section {
    display: flex;
    z-index: 1;
    min-height: 80vh;
    margin-bottom: 20px;
    margin-top: 20px;
    background-color: white;
    border-radius: 40px;
    padding-left: 40px;
    padding-right: 40px;
}

#hero {
    flex-direction: row;
    width: 100%;
    gap: 20px;
    margin-top: 125px;
}

#archetypes {
  flex-direction: column;
    width: 100%;
    gap: 20px;
    margin-top: 125px;
    padding-bottom: 100px;
}

.archetypes-key {
  display: flex;
  padding: 0;
  flex-direction: row;
  gap: 20px;
  width: 100%;
}

.archetypes-types {
  display: flex;
  padding: 0;
  flex-direction: row;
  gap: 20px;
  
}

.archetypes-key-left {
  display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 25px;
    padding-bottom: 25px;
}

.archetypes-key-right {
  display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 25px;
    padding-bottom: 25px;
    gap: 20px;
}
.privacy-left {
  display: flex;
  width: 25%;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;

    padding-top: 25px;
    padding-bottom: 25px;
}

.privacy-right {
  display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: 25px;
    padding-bottom: 25px;
    gap: 20px;
    width: 75%;
}

.archetype-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex-wrap: wrap;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 2px solid #ecececff;

  /* animation starting state */
  opacity: 0;
  transform: translateY(20px);
}

.archetype-box.show {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}



.hero-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    width: 50%;
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 25px;
    padding-bottom: 25px;
    text-align: left;
}

.hero-right {
    align-content: flex-end;
    width: 100%;
    background-image: url(../images/hero-img-2.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom center;
}

#download {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 20px;
}

.download-ios-box {
    display: flex;
    flex-direction: row;
    width: 50%;
    align-items: center;
    gap: 20px;
    background-color: white;
    border-radius: 40px;
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 25px;
    padding-bottom: 25px;
    transition: 0.3s ease;
}

.download-ios-box:hover {
    opacity: 0.6;
    border: 2px solid black;

}

.ios-text {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.download-android-box {
    display: flex;
    flex-direction: row;
    width: 50%;
    background-color: white;
    gap: 20px;
    border-radius: 40px;
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 25px;
    padding-bottom: 25px;
    transition: 0.3s ease;
    align-items: center;
}

.download-android-box:hover {
    opacity: 0.6;
    border: 2px solid black;
}

.android-text {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#feature-1 {
    flex-direction: row;
    width: 100%;
    gap: 20px;
    justify-content: center;
}

.feature-1-left {
    align-content: flex-end;
    width: 30%;
    background-image: url(../images/feature-1-left-img.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom center;
}

.feature-1-center {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 30%;
    padding-top: 25px;
    padding-bottom: 25px;
}

.feature-1-right {
    align-content: flex-end;
    width: 30%;
    background-image: url(../images/feature-1-right-img.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom center;
}

#feature-2 {
    flex-direction: row;
    width: 100%;
    gap: 20px;
}

.feature-2-left {
    align-content: flex-end;
    width: 50%;
    background-image: url(../images/feature-2-img.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}

.feature-2-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    justify-content: center;
    gap: 10px;
    width: 50%;
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 25px;
    padding-bottom: 25px;
}

#feature-3 {
    flex-direction: row;
    width: 100%;
    gap: 20px;
    justify-content: center;
}


.feature-3-center {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    width: 50%;
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 25px;
    padding-bottom: 25px;
}

.feature-3-right {
    align-content: center;
    width: 50%;
    background-image: url(../images/feature-3-left-img.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}

#feature-4 {
    flex-direction: row;
    width: 100%;
    gap: 20px;
}

.feature-4-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    justify-content: center;
    gap: 10px;
    width: 50%;
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 25px;
    padding-bottom: 25px;
}

.feature-4-right {
align-content: flex-end;
    width: 50%;
    background-image: url(../images/feature-4-img.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom center;
}

#feature-main {
    flex-direction: row;
    width: 100%;
    gap: 20px;
}

.feature-main-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    justify-content: center;
    gap: 10px;
    width: 50%;
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 25px;
    padding-bottom: 25px;
}

.feature-main-right {
align-content: flex-end;
    width: 50%;
    background-image: url(../images/feature-matches.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom center;
}

footer {
    display: flex;
    flex-direction: row;
    width: 100%;
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 25px;
    padding-bottom: 50px;

    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
    background-color: white;
    gap: 40px;
    justify-content: space-between;
}

.bottom-gradient {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30vh;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255, 255, 255, 0.604) 100%);
    pointer-events: none;
    z-index: 3;
}

.download-ios-box .ios-logo {
    width: 50px; /* initial width */
    flex-shrink: 0; /* prevent shrinking too much */
}

.download-ios-box .ios-logo img {
    width: 100%;
    height: auto; /* maintain aspect ratio */
    display: block;
}

.download-android-box .ios-logo {
    width: 70px; /* initial width */
    flex-shrink: 0; /* prevent shrinking too much */
}

.download-android-box .ios-logo img {
    width: 100%;
    height: auto; /* maintain aspect ratio */
    display: block;
}

.hamburger {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
}

.scoring {
  display: flex;
  justify-content: flex-start;
  align-content: flex-start;
  flex-direction: row;
}


@media only screen and (max-width: 600px) {
  body {
    max-width: 95% !important;
  }

  header {
    padding-left: 40px;
    padding-right: 40px;
    padding-bottom: 15px;
    padding-top: 15px;
    width: 95%;
    max-width: 1000px;
    gap: 20px;
  }

  .hamburger {
    display: block;
    z-index: 20;
  }

  .privacy-left {
    width: 100%;
  }
  .privacy-right {
    width: 100%;
  }
  .archetypes-key {
    wi
  }

  .nav-menu-container {
    display: none; /* hidden by default */
    flex-direction: column;
    position: absolute;
    top: 70px; /* just below header */
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 15px;
    gap: 20px;
    box-shadow: 0px 4px 15px rgba(0,0,0,0.1);
  }

  .nav-menu-container.show {
    display: flex; /* show when toggled */
  }

  .nav-menu-container {
    gap: 20px;
  }

  .nav-menu-footer-container {
    justify-content: center;
    gap: 20px;
  }

  section {
    min-height: 70vh;
    padding-left: 20px;
    padding-right: 20px;
  }

  #hero {
    flex-direction: column;
    gap: 0;
    margin-top: 85px;
    justify-content: flex-end;
  }

  .hero-left {
    width: 100%;
    align-items: center;
  }

  .hero-right {
    width: 100%;
    height: 65vh;
  }

  #download {
    display: none;
    flex-direction: column;
  }

  .download-ios-box {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .download-android-box {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  #feature-1 {
    flex-direction: column-reverse;
    gap: 0;
    justify-content: flex-start;
  }

  .feature-1-right {
    display: none;
  }

  .feature-1-center {
    width: 100%;
  }
  .feature-1-left {
    width: 100%;
    height: 60vh;
    background-size: contain;
  }

  #feature-2 {
    flex-direction: column-reverse;
    justify-content: flex-start;
    gap: 0;
  }

  .feature-2-left {
    width: 100%;
    height: 50vh;
  }

  .feature-2-right {
    width: 100%;
    align-items: center;
  }

  #feature-3 {
    flex-direction: column;
    gap: 0;
    justify-content: flex-end;
  }

  .feature-3-left {
    display: none;

  }

  .feature-3-center {
    width: 100%;
    align-items: center;
  }
  
  .feature-3-right {
    width: 100%;
    height: 60vh;
    background-size: contain;

  }

  #feature-4 {
    flex-direction: column;
    gap: 0;
    justify-content: flex-end;
  }

  .feature-4-left {
    width: 100%;
    align-items: center;
  }

  .feature-4-right {
    width: 100%;
    height: 60vh;
  }

  #feature-main {
    flex-direction: column;
    gap: 0;
    justify-content: flex-end;
  }

  .feature-main-left {
    width: 100%;
    align-items: center;
  }

  .feature-main-right {
    width: 100%;
    height: 60vh;
  }

  footer {
    flex-direction: column;
    justify-content: center;
    padding-left: 40px;
    padding-right: 40px;
    padding-bottom: 20px;
    padding-top: 20px;
    gap: 20px;
  }

  .hero-left {
    text-align: center;
  }

  #archetypes {
    margin-top: 85px;
  }

  img {
  max-width: 100%;
  height: auto;
  display: block;
}


  .archetypes-key {
    flex-direction: column;
    gap: 0;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 2px solid #ecececff;
  }

  .archetypes-types {
    flex-direction: column;
  }

  .archetypes-key-left {
    padding: 20px;
  }
  .archetypes-key-right {
    padding: 20px;
  }



}

.active {
  text-decoration: underline;
}

.app-store-badge {
    margin-top: 10px;
    width: 150px; /* adjust size */
    height: auto;
    cursor: pointer;
    transition: opacity 0.5s ease;
}

.app-store-badge:hover {
    opacity: 0.8;
}

.app-store-link {
    display: inline-block;
    margin-top: 10px;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}


