body, html{
    width: 100dvw;
    min-height: 100dvh;
    margin: 0;
}

body{
    background-color: #000000;
    overflow-x: hidden;
    overflow-y: auto;
    padding-bottom: 50px;
}

::-webkit-scrollbar{
    display: none;
}

.top-bar{
    width: 100%;
    height: 100px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: #000000;
    border-bottom: 1px solid #252525;
}

.top-bar img{
    width: 50px;
    height: 50px;
    margin-left: 50px;
}

.top-bar h1{
    font-family: 'Bold', sans-serif;
    color: #de8041;
    font-size: 2rem;
}

.top-bar span{
    font-family: 'pixl', sans-serif;
    margin-left: 2px;
    letter-spacing: 1px;
}

.main{
    width: 100%;
    margin-top: 40px;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.2) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.main h3{
    color: #575757;
    font-family: 'Main_Font', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    margin-bottom: 20px;
}
.main h1{
    font-family: 'Heading', sans-serif;
    color: #ffffff;
    font-size: 3.9rem;
    position: relative;
    z-index: 3;
    margin: 0;
    text-align: center;
    width: 90%;
}

.main h1::after {
    content: "|";
    color: #de8041;
    animation: blink 0.5s step-end infinite;
    margin-left: 2px;
}

.main h1.done-typing::after {
    animation: blink 0.9s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
.main p{
    font-family: 'Main_Font', sans-serif;
    color: #555555;
    max-width: 700px;
    text-align: center;
    margin: 0;
    margin-top: 20px;
    font-size: 1.1rem;
}

.join-waitlist{
    width: 500px;
    height: auto;
    margin-top: 50px;
    position: relative;
    z-index: 1;
    display: flex;
    gap: 20px;
}

.join-waitlist input{
    width: 70%;
    height: 60px;
    margin: 0;
    background-color: #0f0f0f;
    border: 1px solid #252525;
    color: #fff;
    border-radius: 50px;
    box-sizing: border-box;
    padding-left: 20px;
    padding-right: 30px;
    font-family: 'Main_Font';
    outline: none;
    transition: all 0.3s ease;
}

.join-waitlist input:focus{
    border-color: #de8041;
}

.join-waitlist-2{
    width: 500px;
    height: auto;
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
    display: flex;
    gap: 20px;
}

.join-waitlist-2 input{
    width: 70%;
    height: 60px;
    margin: 0;
    background-color: #0f0f0f;
    border: 1px solid #252525;
    color: #fff;
    border-radius: 50px;
    box-sizing: border-box;
    padding-left: 20px;
    padding-right: 30px;
    font-family: 'Main_Font';
    outline: none;
    transition: all 0.3s ease;
}

.join-waitlist-2 input:focus{
    border-color: #de8041;
}

.join{
    width: 30%;
    height: 60px;
    border-radius: 50px;
    background-color: #de8041;
    outline: none;
    border: 1px solid transparent;
    transition: all 0.3s ease !important;
    font-family: 'Main_Font', sans-serif;
    color: #ffffff;
    font-size: 1rem;
}

.join:hover{
    background-color: transparent;
    border-color: #de8041;
    color: #de8041;
    transform: translateY(-5px);
    cursor: pointer;
}

hr{
    width: 100%;
    border: 0;
    border-top: 1px solid #353535;
    margin-top: 55px;
}

.problem, .how, .who, .legal, .story, .faq{
    width: 100%;
    height: auto;
    min-height: 0px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 100px;
    margin-top: 30px;
}

.faqs{
    width: 90dvw;
    margin-left: 70px;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    border: 1px solid #252525;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    font-family: 'Main_Font', sans-serif;
    color: #ffffff;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: #0f0f0f;
}

.faq-icon {
    color: #de8041;
    font-size: 2rem;

    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    margin: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    display: flex;
    align-items: center;
}

.faq-answer p {
    color: #787878;
    font-family: 'Main_Font', sans-serif;
    font-size: 0.95rem !important;
    line-height: 1.7;
    margin: 0 !important;
    margin-left: 30px !important;
    margin-top: 20px !important;
    padding-bottom: 20px;
    padding-top: 0;
    max-width: 60%;
}

.faq-item.open .faq-answer {
    max-height: 200px;
    padding-top: 0; /* change from 4px to 0 */
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-item.open {
    border-color: #de8041;
}

.waitlist{
    width: 100%;
    height: auto;
    min-height: 0px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 100px;
    margin-top: 30px;
}

.content{
    width: auto;
    height: auto;
}

.problem p, .how p, .who p, .story p, .faq p{
    font-family: 'Main_Font', sans-serif;
    color: #4c4c4c;
    font-weight: 400;
    font-size: 0.85rem;
    margin-top: 60px;
    margin-left: 70px;
}

.legal p{
    font-family: 'Main_Font', sans-serif;
    color: #4c4c4c;
    font-weight: 400;
    font-size: 1.2rem;
    margin-top: 10px;
    margin-left: 10px;
    margin-bottom: 0;
}

.legal {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-left: 70px;
    padding-right: 70px;
    width: 100%;
    box-sizing: border-box;
}

.commercial p {
    font-family: 'Main_Font', sans-serif;
    color: #4c4c4c;
    font-size: 1rem;
    margin: 0;
}

.commercial {
    margin-left: auto;
    margin-right: 0;
}

.commercial p{
    font-family: 'Main_Font', sans-serif;
    color: #4c4c4c;
    font-weight: 400;
    font-size: 1rem;
    margin-top: 10px;
    margin-left: 70px;
    margin-bottom: 0;
}

.legal span{
    font-family: 'pixl', sans-serif;
    color: #4c4c4c;
    font-weight: 400;
    font-size: 1.2rem;
    margin-top: 10px;
    margin-left: 2px;
    margin-bottom: 0;
}

.commercial{
    width: auto;
    height: 100%;
}

.problem h1, .how h1, .who h1, .story h1, .faq h1{
    font-family: 'Heading', sans-serif;
    color: transparent;
    background: linear-gradient(90deg ,#de8041, #e6a87f);
    background-clip: text;
    -webkit-background-clip: text;
    font-size: 2.5rem;
    margin-top: 20px;
    margin-left: 70px;
    max-width: 600px;
}

.story span{
    color: #ffffff;
    font-style: italic;
    font-weight: 400;
}

.story img{
    width: 400px;
    height: 400px;
    object-fit: cover;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}

.waitlist h1{
    font-family: 'Heading', sans-serif;
    color: #ffffff;
    font-size: 2.9rem;
    margin-top: 30px;
    margin-left: 70px;
    max-width: 800px;
    text-align: center;
    margin-bottom: 0;
}

.waitlist span{
    font-family: 'Heading', sans-serif;
    color: transparent;
    background: linear-gradient(90deg ,#de8041, #e6a87f);
    background-clip: text;
    -webkit-background-clip: text;
    font-size: 2.9rem;
    text-align: center;
    margin-top: 30px;
    max-width: 600px;
}

.waitlist p{
    font-family: 'Main_Font', sans-serif;
    color: #484848;
    font-size: 1.1rem;
    margin-left: 70px;
    margin-top: 20px;
    max-width: 800px;
    text-align: center;
}

.problem img{
    width: 400px;
    height: 400px;
}

.problem h3, .story h3 {
    font-family: 'Main_Font', sans-serif;
    color: #787878;
    font-weight: 400;
    font-size: 1.1rem;
    margin-top: 30px;
    margin-left: 70px;
    max-width: 800px;
}

.holder{
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.process {
    width: 90dvw;
    height: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* change 3 to however many steps you have */
    gap: 24px;
    margin: 0 auto; /* centers it */
    margin-left: 70px;
}

.step{
    min-height: 50px;
    height: auto;
    background-color: #000000;
    border: 1px solid #252525;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.step:hover, .card:hover{
    border-color: #de8041;
    box-shadow: 0px 0px 30px rgba(222, 128, 65, 0.3);
    transform: translateY(-5px) scale(1.05);
    background-color: #161616;
    cursor: pointer;
}

.step:hover p, .card:hover p{
    color: #787878;
}

.num{
    margin-left: 30px;
    margin-top: 30px;
    font-family: 'Main_Font', sans-serif;
    color: #353535;
}

.step h2{
    font-family: 'Heading', sans-serif;
    color: #ffffff;
    font-size: 1.7rem;
    margin-left: 30px;
    margin-bottom: 0;
}

.step p{
    font-family: 'Main_Font', sans-serif;
    color: #4c4c4c;
    margin: 0;
    margin-left: 30px;
    margin-top: 20px;
    font-size: 1rem;
    max-width: 80%;
    margin-bottom: 40px;
    transition: all 0.3s ease;
}

.people {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    width: 90dvw;
    margin-left: 70px;
    height: auto;
}

.card{
    background-color: #000000;
    border: 1px solid #252525;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.card h2{
    font-family: 'Heading', sans-serif;
    color: #ffffff;
    margin: 0;
    margin-left: 30px;
    margin-top: 30px;
}

.card p{
    color: #4c4c4c;
    font-family: 'Main_Font', sans-serif;
    font-size: 1rem;
    margin: 0;
    margin-top: 20px;
    margin-left: 30px;
    max-width: 80%;
    margin-bottom: 40px;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.problem .content { transition-delay: 0.1s; }
.problem img { transition-delay: 0.3s; }

.how .content { transition-delay: 0.3s; }

@media (max-width: 768px) {

    body{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    /* TOP BAR */
    .top-bar {
        height: 70px;
        gap: 10px;
    }
    .top-bar img {
        width: 35px;
        height: 35px;
        margin-left: 20px;
    }
    .top-bar h1 { font-size: 1.5rem; }

    /* HERO */
    .main {
        height: auto;
        padding: 40px 20px;
        margin-top: 0;
    }
    .main h3 { font-size: 0.85rem; margin-bottom: 12px; }
    .main h1 { font-size: 2.2rem; text-align: center; }
    .main p { max-width: 90%; font-size: 0.95rem; }
    .join-waitlist {
        width: 90%;
        flex-direction: column;
        gap: 12px;
    }
    .join-waitlist input {
        width: 100%;
    }
    .join { width: 100%; }

    .story {
        flex-direction: column;
        gap: 24px;
        margin-top: 20px;
    }
    .story img {
        width: 220px;
        height: 220px;
    }
    .story h1 {
        margin-left: 20px;
        font-size: 1.8rem;
        max-width: 90%;
    }
    .story h3 {
        margin-left: 20px;
        font-size: 1rem;
        max-width: 90%;
    }
    .story p {
        margin-left: 20px;
        margin-top: 30px;
    }

    /* FAQ */
    .faq {
        flex-direction: column;
        gap: 24px;
        margin-top: 20px;
    }
    .faq h1 {
        margin-left: 20px;
        font-size: 1.8rem;
        max-width: 90%;
    }
    .faq p {
        margin-left: 20px;
        margin-top: 30px;
    }
    .faqs {
        margin-left: 20px;
        margin-right: 20px;
        width: auto;
    }
    .faq-answer p {
        max-width: 90%;
        margin-left: 16px !important;
    }

    /* STORY + FAQ sections missing from earlier */
    .problem, .how, .who, .legal, .story, .faq {
        flex-direction: column;
        gap: 24px;
        margin-top: 20px;
    }

    /* PROBLEM */
    .problem img {
        width: 220px;
        height: 220px;
        margin: 0 auto;
    }
    .problem h1, .how h1, .who h1 {
        margin-left: 20px;
        font-size: 1.8rem;
        max-width: 90%;
    }
    .problem p, .how p, .who p {
        margin-left: 20px;
        margin-top: 30px;
    }
    .problem h3 {
        margin-left: 20px;
        font-size: 1rem;
        max-width: 90%;
    }

    /* STEPS */
    .process {
        grid-template-columns: 1fr;
        margin-left: 20px;
        margin-right: 20px;
        width: auto;
        gap: 16px;
    }

    /* PEOPLE CARDS */
    .people {
        grid-template-columns: 1fr;
        margin-left: 20px;
        margin-right: 20px;
        width: auto;
        gap: 16px;
    }

    /* WAITLIST */
    .waitlist { flex-direction: column; }
    .waitlist h1 {
        font-size: 2rem;
        margin-left: 20px;
        text-align: center;
    }

    .waitlist span {
        font-size: 2rem;
        margin-top: 60px;
        text-align: center;
    }

    .waitlist p {
        margin-left: 20px;
        font-size: 1rem;
        text-align: center;
    }
    .join-waitlist-2 {
        width: 90%;
        flex-direction: column;
        gap: 12px;
        margin: 20px auto 0;
    }
    .join-waitlist-2 input { width: 100%; }

    /* LEGAL */
    .legal {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        gap: 8px;
    }
    .commercial {
        margin-left: 0;
    }
    .commercial p {
        margin-left: 0;
        font-size: 0.85rem;
    }

    /* HRS */
    hr { margin-top: 30px; }
}