body {
    margin: 0;
    padding: 0;
    background-color: black;
}

a {
    text-decoration: none;
    color: inherit;
}

/* .navBar {
    top: 0px;
    width: 100%;
    height: 85px;
    background-color: rgba(0, 0, 0, 0.6);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    display: flex;
    position: fixed;
    align-items: center;
    z-index: 1;
} */

.navBar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 85px;

    display: flex;
    align-items: center;

    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px rgba(255, 255, 255, 0.05);

    z-index: 9999;
}

[class*="nav-"] {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 20px;
    color: rgb(161, 161, 161);
    font-family: "Outfit", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    height: 30px;
    padding-left: 7px;
    padding-right: 7px;
    border-radius: 10px;
    cursor: pointer;
}

[class*="nav-"]:hover {
    background-color: black;
}

.nav-hamburger {
    font-size: 250%;
    display: none;
}

.nav-learn {
    margin-left: 35px;
}


.hamburger-hidden {
    position: fixed;
    top: 85px;
    left: 0;
    width: 100%;

    display: none;
    flex-direction: column;

    background: rgba(15, 20, 22, 0.96);
    backdrop-filter: blur(16px);

    padding: 10px 0;

    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.35);

    z-index: 9998;
}

.hamburger-hidden-element {
    box-sizing: border-box;
    width: 100%;
    padding: 18px 35px;

    display: flex;
    align-items: center;

    color: #ddd;
    font-family: "Outfit", sans-serif;
    font-size: 20px;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        padding-left 0.2s ease;
}

.hamburger-hidden-element:nth-child(odd) {
    background-color: rgba(255, 255, 255, 0.03);
}

.hamburger-hidden-element:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.07);
}

.hamburger-hidden-element:hover {
    background-color: rgba(60, 201, 189, 0.15);
    padding-left: 45px;
}


.google {
    margin-left: auto;
    margin-right: 20px;
    color: rgb(161, 161, 161);
    font-family: "Outfit", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    cursor: pointer;
    display: flex;
}

.ghost{
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(230,230,230,0.9);
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
}

.ghost:hover{ background: rgba(255,255,255,0.06); }

.logo {
    margin-left: 20px;
    width: auto;
    height: 50px;
    cursor: pointer;
}

/* Background now gng */

.background {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
    /* background: white; */
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.element1 {
    margin-top: 135px;
    width: min(90%, 1400px);
    /* background-color: red; */
    display: flex;
    flex-direction: row;
}

.element1-1 {
    width: 57%;
    /* background-color: blue; */
}

.element1-1-1 {
    font-size: 60px;
    font-family: "Outfit", sans-serif;
    font-weight: 500;
    color: rgb(77, 220, 211);
}

.element1-1-2 {
    margin-top: 15px;
    font-size: 25px;
    font-family: "Outfit", sans-serif;
    color: rgb(60, 201, 189);
}

.element1-1-3 {
    margin-top: 25px;
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100px;
    font-family:sans-serif;
    font-weight: bold;
    font-size: 17px;
    color: #fff;
    background-color: rgb(69, 195, 199);
    cursor: pointer;
}

.element1-1-4 {
    margin-top: 10px;
}

.AI-form {
    position: relative;
    width: 100%;
    height: 62px;
}

.askAI {
    box-sizing: border-box;
    width: 100%;
    height: 100%;

    border-radius: 999px;
    padding: 0 60px 0 18px;

    font-size: 18px;
    color: #fff;
    background: rgba(36, 36, 36, 0.85);
    border: 2px solid rgb(69, 195, 199);
    outline: none;

    box-shadow: 0 0 0 6px rgba(58,58,58,0.55);
}

.AI-submit {
    position: absolute;
    top: 50%;
    right: 8px;

    transform: translateY(-50%);

    width: 46px;
    height: 46px;
    border-radius: 50%;

    background: rgb(69, 195, 199);
    border: none;
    cursor: pointer;
}

.element1-2 {
    width: 43%;
    height: auto;
    /* background-color: black; */
    display: flex;
    align-items: center;
}

.element1-2-1 {
    width: 100%;
    height: auto;
}

.element2 {
    margin-top: 150px;
    width: min(90%, 1400px);
    /* background-color: red; */
    display: flex;
    flex-direction: row;
}

.element2-1 {
    /* background-color: blue; */
    display: flex;
    width: 100%;
    /* justify-content: center; */
    align-items: center;
    flex-direction: column;
}

.element2-1-1 {
    font-size: clamp(52px, 4.2vw, 72px);
    font-weight: 500;
    font-family: "Outfit", sans-serif;
    color: rgb(82, 235, 223);
}

.element2-1-2 {
    margin-top: 10px;
    color: rgba(130, 255, 245, 0.75);
    font-weight: 300;
    font-family: "Outfit", sans-serif;
    line-height: 1.6;
    font-size: 20px;
}

.element2-1-3 {
    /* background-color: blue; */
    /* display: flex; */
    /* margin-top: 20px; */
    /* width: 100%; */
    /* justify-content: center; */
    /* align-items: center; */
    flex-direction: row;
    display: flex;
    gap: 0px;
    width: 100%;
}

[class*="element2-1-3-"] {
  box-sizing: border-box;
  border-radius: 28px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: inset 0 10px 10px -8px rgba(0,0,0,0.45);
  min-height: 240px;
  width: 33.33333%;
  flex: 1;
  width: auto;
  margin: 0;
  display:flex;
  flex-direction: column;
  gap: 14px;
  margin: 10px;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:#fff;
  font-size: 22px;
  font-weight: 300;
  line-height: 1.5;
  font-family: "Outfit", sans-serif;
}

.element2-1-3-1 {background-color: rgb(60, 201, 189);}
.element2-1-3-2 {background-color: rgb(61, 139, 178);}
.element2-1-3-3 {background-color: rgb(63, 64, 124);}

.hat {
    margin-bottom: 30px;
}

.element3 {
    width: min(90%, 1400px);
    display: flex;
    flex-direction: row;
    align-items: stretch;
    margin-top: 150px;
}

.element3-1 {
    width: 45%;

    display: flex;
    flex-direction: column;
    gap: 10px;
}


.element3-1-1 {
    border-radius: 28px;
    /* padding: 22px; */
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: inset 0 10px 10px -8px rgba(0,0,0,0.45);
    min-height: 220px;
    width: 100%;
    height: 50%;
    display:flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 10px;
    align-items:center;
    justify-content:center;
    text-align:center;
    color:#fff;
    font-size: 27px;
    font-weight: 300;
    line-height: 1.5;
    font-family: "Outfit", sans-serif;
    background-color: rgb(60, 201, 189);
}
.element3-1-2 {
    border-radius: 28px;
    /* padding: 22px; */
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: inset 0 10px 10px -8px rgba(0,0,0,0.45);
    min-height: 220px;
    height: 50%;
    width: 100%;
    display:flex;
    flex-direction: column;
    gap: 24px;
    align-items:center;
    justify-content:center;
    text-align:center;
    color:#fff;
    font-size: 27px;
    font-weight: 300;
    line-height: 1.5;
    font-family: "Outfit", sans-serif;
    background-color: rgb(61, 139, 178);
}

.element3-1-1,
.element3-1-2 {
    flex: 1;
    min-height: 0;
    height: auto;
    box-sizing: border-box;
}

.element3-2 {
    width: 55%;
    /* background-color: yellow; */
    display: flex;
    justify-content: center;
}
.element3-2-1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.element3-2-1-1 {
    /* width: 80%; */
    height: 90%;
    display: flex;
    justify-content: center;
}

.element3-2-1-1 img {
    width: 100%;
    max-width: 650px;
    height: auto;
    border-radius: 40px;
    margin-left: 20px;
}

.element3-2-1-2 {
    width: 80%;
    margin-top: -160px;   /* overlap amount */
    position: relative;   /* needed for z-index */
    z-index: 2;

    background-color: rgb(63, 64, 124);
    border-radius: 22px;
    padding: 26px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.element3-2-1-2-1 {
    width: 80%;
    color:#fff;
    font-size: 27px;
    font-weight: 300;
    line-height: 1.5;
    font-family: "Outfit", sans-serif;
    /* background-color: red; */
}

.element3-2-1-2-2 {
    width: 20%;
    height: 60%;
    border:0;
    padding: 26px 22px;
    border-radius: 20px;
    font-size: 25px;
    cursor:pointer;
    background-color: rgb(60, 201, 189);
    display: flex;
    justify-content: center;
    align-items: center;
    color:#fff;
    font-weight: 600;
    font-family: "Outfit", sans-serif;
    /* width: 150px;
    height: 70px; */
    margin-left: 20px;
}

.element4 {
    margin-top: 150px;
    width: min(90%, 1400px);
    /* height: 750px; */
    /* background-color: red; */
    display: flex;
    flex-direction: column;
}

.element4-1 {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.element4-1-1 {
    font-size: clamp(52px, 4.2vw, 72px);
    font-weight: 500;
    font-family: "Outfit", sans-serif;
    color: rgb(82, 235, 223);
}

.element4-1-2 {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    color: rgba(130, 255, 245, 0.75);
    font-weight: 300;
    font-family: "Outfit", sans-serif;
    line-height: 1.6;
    font-size: 20px;
}

.element4-2 {
    display: flex;
    justify-content: center;
}


.chips{
  /* left: 50%;
  transform: translateX(-50%);
  position: absolute;
  top: 180px; */
  display: flex;
  gap: 16px;

  /* keep it visually centered like other sections */
  width: min(1100px, 100%);
  margin: 28px auto 10px;

  /* give it proper side space so zoom doesn't shove it off */
  padding: 10px 18px 16px;

  overflow-x: auto;
  overflow-y: hidden;

  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;

  /* prevents first/last chip from looking cut off at zoom */
  scroll-padding-left: 18px;
  scroll-padding-right: 18px;
}

.chips::-webkit-scrollbar{ display:none; }

.chip{
  cursor: pointer;
  /* clamp makes it scale nicely with zoom + different widths */
  flex: 0 0 clamp(240px, 28vw, 300px);
  height: clamp(240px, 28vw, 300px);

  max-width: 85vw;  /* extra safety at high zoom */
  
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 40px;

  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;

  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 300;
  color: rgb(82, 235, 223);
  font-family: "Outfit", sans-serif;
  scroll-snap-align: start;
  transition: transform 0.25s ease, background 0.25s ease;
}

.chip:hover{
  transform: translateY(-6px);
  background: rgba(0,0,0,0.5);
}

.element4-3 {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 10px;
    color: rgba(130, 255, 245, 0.75);
    font-weight: 300;
    font-family: "Outfit", sans-serif;
    line-height: 1.6;
    font-size: 20px;
}

.element5 {
    margin-top: 150px;
    width: min(90%, 1400px);
    /* height: 750px; */
    /* background-color: red; */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.element5-1 {
    font-size: clamp(52px, 4.2vw, 72px);
    font-weight: 500;
    font-family: "Outfit", sans-serif;
    color: rgb(82, 235, 223);
}

.element5-2 {
    margin-top: 10px;
    width: 100%;
    display: flex;
    justify-content: center;
    color: rgba(130, 255, 245, 0.75);
    font-weight: 300;
    font-family: "Outfit", sans-serif;
    line-height: 1.6;
    font-size: 20px;
}


.faq-container{
  max-width: 820px;
  margin: 40px auto 0;
  margin-bottom: 0px;
}

.faq-item{
  margin-bottom: 14px;
  border-radius: 14px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,0.12);
}

.faq-question{
  width:100%;
  padding: 16px;
  background: rgb(60, 201, 189);
  color:#fff;
  border:0;
  text-align:left;
  font-family: "Outfit", sans-serif;
  font-size: 18px;
  cursor:pointer;
}

.faq-question:hover{ filter: brightness(0.95); }

.faq-answer{
  max-height: 0;
  overflow:hidden;
  background: rgba(255,255,255,0.95);
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-family: "Outfit", sans-serif;
  padding: 0 16wpx;
}

.faq-answer p, .faq-answer li{
  color:#222;
}

.faq-item.active .faq-answer{
  max-height: 1000px;
  padding: 14px 16px 18px;
}
.element5-4 {
    margin-top: 100px;
    width: min(90%, 1400px);

    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    padding-bottom: 30px;
    box-sizing: border-box;
}

.element5-4-1 {
    flex: 1;
}

.element5-4-1-1 {
    font-size: clamp(40px, 4.2vw, 72px);
    /* font-size: clamp(20px, 1.4vw, 20px); */
    font-weight: 500;
    font-family: "Outfit", sans-serif;
    color: rgb(82, 235, 223);
}

.element5-4-1-2 {
    margin-top: 10px;
    
    color: rgba(130, 255, 245, 0.75);
    font-weight: 300;
    font-family: "Outfit", sans-serif;
    line-height: 1.6;
    font-size: clamp(12px, 1.4vw, 20px);
}

.element5-4-2 {
    flex: 1;

    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.element5-4-2-1 {
    color: rgba(130, 255, 245, 0.75);
    font-weight: 300;
    font-family: "Outfit", sans-serif;
    line-height: 1.6;
    font-size: clamp(12px, 1.4vw, 20px);
    text-align: right;
}

/* todo list:
- add min height to element1
- remove height for content
- make em responsive to 10 7 ratio */

@media (max-width: 1000px) {
    [class*="nav-"] {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    .element1 {
        flex-direction: column;
        align-items: center;
    }

    .element1-1 {
        width: 100%;
        order: 2;
        text-align: center;

        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .element1-1-1 {
        font-size: 40px;
    }

    .AI-form {
        width: min(90vw, 650px);
    }

    .element1-1-3 {
        width: min(90vw, 650px);
    }

    .element1-2 {
        width: 60%;
        order: 1;
        justify-content: center;
    }
    .element2-1-3 {
        flex-direction: column;
    }
    [class*="element2-1-3-"] {
        width: 100%;
        margin: 0px;
        margin-top: 20px;
        padding-top: 40px;
    }
    .element3 {
        flex-direction: column;
    }

    .element3-1 {
        width: 100%;
    }
    
    .element3-1-1{padding: 30px 0px 30px 0px;font-size: 25px;}
    .element3-1-2{padding: 30px 0px 30px 0px;font-size: 25px;}

    .element3-2 {
        margin-top: 5px;
        width: 100%;
    }

    .element3-2-1-2-1 {
        font-size: 20px;
    }
}

@media (max-width: 520px){
  .ghost{ display:none; } /* keep header clean on tiny screens */
  .chip{
    flex: 0 0 85vw;
    height: 260px;
    font-size: 30px;
  }
}