@import url("https://fonts.googleapis.com/css2?family=Google+Sans+Flex:opsz,wght@6..144,1..1000&amp;family=Product+Sans&amp;family=Google+Sans+Display:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&amp;display=swap");

* {
    box-sizing: border-box;
    font-family: 'Google Sans Flex', Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0; 
    /* scroll-behavior: smooth; */
}

.body-wrapper {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    row-gap: 8rem;
    background-color: #060606;
    scroll-behavior: smooth;
    overflow-y: scroll;
    /* padding: 15rem; */
}

/* Custom scrollbar styling for .body-wrapper (Google DeepMind style) */
.body-wrapper::-webkit-scrollbar {
    width: 8px;
    background: transparent;
}

.body-wrapper::-webkit-scrollbar-thumb {
    background: #191919;
    border-radius: 8px;
    border: 2px solid #060606;
}

.body-wrapper::-webkit-scrollbar-track {
    background: transparent;
}

.body-wrapper {
    scrollbar-width: thin;
    scrollbar-color: #191919 #060606;
}

.nav-bar {
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.5rem 6rem;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color:  rgba(0, 0, 0, 0.5%);
    border: solid;
    border-width: 1px 0px;
    border-color: #191919;
    background: rgba(20, 20, 20, 0.35); /* More visible glass effect */
    backdrop-filter: blur(12px);         /* Glassmorphism blur */
    -webkit-backdrop-filter: blur(12px); /* Safari support */
}

.mobile-nav-wrapper {
    display: none;
}

.logo {
    width: fit-content;
    display: flex;
    flex-direction: row;
    column-gap: 1rem;
    align-items: center;
    margin-top: 10px;
}

.logo-image {
    width: 10rem;
    height: auto;
    cursor: pointer;
}

.logo-image img{
    width: 100%;
    height: auto;
    cursor: pointer;
}

.logo-arrow{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 2.2rem;
    padding: 0rem 0.1rem;
    border: solid;
    border-width: 1px;
    border-color: #2c2c2c;
    border-radius: 0.9rem;
    color: #898f94;
    margin-bottom: 15px;
}

.logo-nav-links{
    width: fit-content;
    display: flex;
    flex-direction: row;
    column-gap: 5rem;
    align-items: center;
}

.nav-links {
    display: flex;
    flex-direction: row;
    /* column-gap: 1rem; */
}

.nav-links a {
    text-decoration: none;
    color: #878d92;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.8rem 2rem;
    border-radius: 9999px;
}

.nav-links a:hover {
    background-color: #191919;
    color: #878d92;
}

.nav-buttons {
    display: flex;
    flex-direction: row;
    column-gap: 1rem;
}

.build-btn, .try-btn, .search-icon {
    display: flex;
    flex-direction: row;
    column-gap: 1rem;
    align-items: center;
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    color: #9aa0a6;
    background-color: #191919;
    border-radius: 9999px;
}

.build-btn:hover, .try-btn, .search-icon:hover {
    background-color: #2c2c2c;
    color: #9aa0a6;
}

/* Hero Section */

.hero-section {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    color: white;
    padding: 10rem 10rem 0rem 10rem;
}

.hero-left {
    width: 45%;
    height: 100%;
    display: flex;
    flex-direction: column;
    row-gap: 2rem;
    justify-content: top;
}

.hero-left h1 {
    font-size: 3rem;
    font-weight: 500;
    line-height: 1.2;
}

.header{
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
}

.hero-chips{
    display: flex;
    flex-direction: row;
    column-gap: 1rem;
    align-items: center;
    color: #9aa0a6;
}

.hero-chip-text{
    font-size: 1.2rem;
    font-weight: 500;
    color: #9aa0a6;
}

.hero-chip-link{
    text-decoration: none;
    color: #9aa0a6;
    font-size: 1.2rem;
    font-weight: 500;
    padding: 0.8rem 2rem;
    border: solid;
    border-width: 1px;
    border-color: #2c2c2c;
    border-radius: 9999px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.hero-chip-link:hover{
    background-color: #2c2c2c;
    color: #9aa0a6;
}

.learn-more{
    width: fit-content;
    display: flex;
    flex-direction: row;
    align-items: center;
    column-gap: 0.5rem;
    border-radius: 0.4rem;
    padding: 0.6rem 0.6rem 0.6rem 0;
    cursor: pointer;
}

.learn-more a{
    text-decoration: none;
    color: #9aa0a6;
    font-size: 1.2rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.learn-more:hover{
    color: white;
    column-gap: 0.8rem;
    background-color: #191919;
    transition: color 0.3s ease, column-gap 0.3s ease;
}

.hero-image {
    width: 70%;
    height: 40rem;
    background-size: fill;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 2rem;
    justify-content: center;
    align-items: baseline;
    overflow: hidden;
    position: relative;

}

.hero-image-chip{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    padding: 1rem;
}

.hero-image-chip p{
    font-size: 0.8rem;
    font-weight: 500;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 0.8rem;
    padding: 0.6rem 1rem;
}



.hero-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* border-radius: 1rem; */
}

.hero-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hero-image:hover video {
    transform: scale(1.08);
}

.hero-image:hover img{
    transform: scale(1.05);
    transition: transform 0.3s ease;
}


.hero-right {
    width: 55%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    overflow-y: auto; /* Allow scrolling only inside hero-right */
    scrollbar-width: none; /* Firefox */
    
}

.hero-right::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

.hero-blog-card{
    width: 90%;
    height: auto;
    padding: 2rem 0;
    display: flex;
    flex-direction: row;
    column-gap: 5rem;
    border: solid;
    border-width: 0 0 1px 0;
    border-color: #2c2c2c;
}

.last-card{
    border: none;
}   

.hero-blog-card-left{
    width: 70%;
    height: auto;
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
}

.hero-blog-card-left h2{
    font-size: 2rem;
    font-weight: 500;
    color: white;
}

.hero-blog-card-right{
    width: 15rem;
    height: 13rem;
    display: flex;
    flex-direction: column;
    border-radius: 1rem;
    overflow: hidden;
}

.hero-blog-card-right video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease; /* Smooth transition */
}

.hero-blog-card-right img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease; /* Smooth transition */
}

.hero-blog-card-right:hover img {
    transform: scale(1.08); /* Grow image on hover */
}

.hero-blog-card-right:hover video {
    transform: scale(1.08); /* Grow image on hover */
}

/* Start Building Section */

.start-building-section {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    row-gap: 3rem;
    justify-content: center;
    align-items: center;
    color: white;
    padding: 0 10rem;
    row-gap: 2rem;
    border-top: solid 1px;
    border-right: none;
    border-bottom: none;
    border-left: none;
    border-color: #2c2c2c;
}

.start-building-header{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 4rem 0;
}

.start-building-header h2{
    font-size: 3rem;
    font-weight: 500;
}

.header-link{
    width: fit-content;
    display: flex;
    flex-direction: row;
    column-gap: 1rem;
    align-items: center;
    text-decoration: none;
    color: #9aa0a6;
    font-size: 1.2rem;
    font-weight: 500;
    padding: 1rem 1.5rem;
    border: solid;
    border-width: 1px;
    border-color: #2c2c2c;
    border-radius: 9999px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.header-link:hover{
    background-color: #2c2c2c;
    color: #9aa0a6;
}

.start-building-card-wrapper{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    column-gap: 4rem;
    margin-top: 2rem;
    justify-content: top;
    overflow: hidden;
}

.start-building-card{
    width: 25%;
    height: 50rem;
    display: flex;
    flex-direction: column;
    row-gap: 4rem;
    padding: 2rem;
    border: solid;
    border-width: 1px 0 0 0;
    border-color: #2c2c2c;
}

.start-building-card-image{
    border: solid;
    border-width: 1px;
    border-color: rgba(0, 128, 128, 0.5);
    width: 8rem;
    min-height: 8rem;
    border-radius: 2rem;
    overflow: hidden;
}

.start-building-card-image img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.card-header{
    display: flex;
    flex-direction: column;
    row-gap: 0.5rem;

}

.card-header h3{
    font-size: 2.5rem;
    font-weight: 500;
    color: white;
}

.card-header p{
    font-size: 1.5rem;
    font-weight: 400;
    color: #9aa0a6;
}

.card-title-link-wrapper{
    display: flex;
    flex-direction: column;
    row-gap: 2rem;
}

.card-link-wrapper{
    display: flex;
    flex-direction: column;
    row-gap: 1rem;

}

.card-link{
    height: 100%;
    display: flex;
    flex-direction: column;
    /* row-gap: 4rem; */
    justify-content: space-between;
    color: #9aa0a6;
}

.card-link a{
    text-decoration: none;
    color: #9aa0a6;
    font-size: 1.2rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.section-arrow{
    display: flex;
    flex-direction: row;
    align-self: flex-start;
    justify-content: center;
    align-items: center;
    border: solid;
    border-width: 1px;
    border-color: #2c2c2c;
    border-radius: 99rem;
    color: #898f94;
    background-color: #202124;
}

.arrow-right{
    display: flex;
    flex-direction: row;
    padding: 0.8rem 1rem;
    background-color: #191919;
    border-radius: 10rem;
    align-items: center;
    justify-content: center;
    cursor: pointer;
} 

.arrow-right:hover{
    background-color: #2c2c2c;
    transition: background-color 0.3s ease;
}

.arrow-left{
    display: flex;
    flex-direction: row;
    border-radius: 100%;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 0.8rem;
    cursor: not-allowed;
}

/* Research Section */

.research-section {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    row-gap: 4rem;
    justify-content: center;
    align-items: center;
    color: white;
    padding: 0rem 10rem;
    row-gap: 2rem;
    border-top: solid 1px;
    border-right: none;
    border-bottom: none;
    border-left: none;
    border-color: #2c2c2c;
}  

.research-header{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 4rem 0;
}

.research-header h2{
    font-size: 3rem;
    font-weight: 500;
}

.research-blog-wrapper{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    column-gap: 4rem;
    margin-top: 2rem;
    overflow: hidden;
}

.blog-row{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    column-gap: 4rem;
    margin-bottom: 4rem;
}

/* Footer Section */

.footer-section{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    row-gap: 3rem;
    justify-content: center;
    align-items: center;
    color: white;
    padding: 0 10rem;
    row-gap: 2rem;
    
}

.footer-header{
    width: 100%;
    display: flex;
    flex-direction: row;
    column-gap: 2rem;
    align-items: center;
    border-top: none;
    border-right: none;
    border-bottom: solid 1px;
    border-left: none;
    border-color: #2c2c2c;
    padding: 4rem 0;
}

.footer-header p{
    font-size: 1.5rem;
    font-weight: 500;
    color: #9aa0a6;
}

.footer-socials-wrapper{
    display: flex;
    flex-direction: row;
    column-gap: 1rem;
}

.footer-link{
    width: 2rem;
    height: 2rem;
}

.footer-link img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-body{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    column-gap: 4rem;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 4rem;
}

.footer-cards{
    width: 50%;
    display: flex;
    flex-direction: column;
    row-gap: 2rem;
    justify-content: flex-start;
}

.footer-cards h3{
    width: 90%;
    font-size: 2.5rem;
    font-weight: 500;
    color: white;
}

.footer-title-link-wrapper{
    height: 25rem;
    display: flex;
    flex-direction: column;
    row-gap: 2rem;
}

.footer-card-title{
    display: flex;
    flex-direction: column;
    row-gap: 0.5rem;
}

.footer-card-title-bold{
    font-size: 1rem;
    font-weight: 500;
    color: white;
}

.footer-card-title-regular{
    font-size: 1rem;
    font-weight: 400;
    color: #9aa0a6;
}

.footer-link-wrapper{
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
}

.footer-link{
    display: flex;
    flex-direction: row;
    column-gap: 0.6rem;
    align-items: center;
    cursor: pointer;
}

.footer-link p{
    color: white;
    font-size: 1.5rem;
    font-weight: 500;
}

.footer-learn-more{
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
}

.footer-learn-more p{
    font-size: 1.2rem;
    font-weight: 500;
    color: #9aa0a6;
}   

.footer-learn-more a{
    width: fit-content;
    text-decoration: none;
    color: white;
    font-size: 1.8rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-form{
    width: 80%;
    height: auto;
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
}

.footer-form-title{
    font-size: 1.2rem;
    font-weight: 500;
    color: #9aa0a6;
}

.footer-form-summary{
    font-size: 0.95rem;
    font-weight: 400;
    color: #9aa0a6;
}

.privacy{
    font-size: 0.8rem;
    font-weight: 400;
    color: #9aa0a6;
    text-decoration: underline;
    cursor: pointer;
}

.input-field{
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 2rem 0;
    position: relative;
}

.email{
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 1rem 1rem;
    background-color: #191919;
    border-radius: 10rem;
    border: none;
    outline: none;
}

.email::placeholder{
    color: #9aa0a6;
    font-size: 1rem;
    font-weight: 400;
}

.email:focus{
    border: 1px solid #2c2c2c;
    background-color: #191919;
    color: white;
}

.input-field .material-icons{
    color: #9aa0a6;
    cursor: pointer;
    font-size: 1.8rem;
    padding: 0.5rem;
    border-radius: 100%;
    position: absolute;
    right: 0.1rem;
}

.footer-bottom{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    column-gap: 6rem;
    align-items: center;
    border-top: solid 1px;
    border-right: none;
    border-bottom: none;
    border-left: none;
    border-color: #2c2c2c;
    padding: 2rem 0 4rem 0;
}

.buttom-logo{
    width: 6rem;
    height: 2rem;
}

.buttom-logo img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.buttom-links{
    width: 100%;
    display: flex;
    flex-direction: row;
    column-gap: 2rem;
    align-items: center;
}

.buttom-links a{
    text-decoration: none;
    color: #9aa0a6;
    font-size: 1.4rem;
    font-weight: 500;
    transition: color 0.3s ease;
}


/* Mobile Responsiveness */

/* Responsive styles for tablet */
@media (max-width: 1024px) {
    .body-wrapper {
        padding: 0 2rem;
    }
    .hero-section,
    .start-building-section,
    .research-section,
    .footer-section {
        padding: 0 2rem;
    }
    .hero-section {
        flex-direction: column;
        padding-top: 8rem;
        height: auto;
    }
    .hero-left, .hero-right {
        width: 100%;
    }
    .start-building-card-wrapper {
        flex-direction: column;
        row-gap: 2rem;
    }
    .start-building-card {
        width: 100%;
        height: auto;
    }
    .footer-body {
        flex-direction: column;
        row-gap: 2rem;
    }
    .footer-cards {
        width: 100%;
    }
}

/* Responsive styles for mobile */
@media (max-width: 600px) {

    .body-wrapper{
        overflow: hidden;
    }

     .nav-bar{
        display: flex;
    }
    .mobile-nav-wrapper {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 2rem 1.5rem;
    }

    .mobile-logo{
        margin-top: 0.8rem;
    }

    .mobile-nav-toggle{
        display: flex;
    }

    .mobile-nav-wrapper.hide {
        display: none;
    }

    .logo{
        display: none;
    }
    .nav-bar {
        padding: 2.5rem 1rem;
        height: 56px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .logo-image {
        width: 7rem;
    }
    .nav-links,
    .nav-buttons {
        display: none;
    }
    .mobile-nav-toggle {
        display: flex;
        align-items: center;
        cursor: pointer;
        background: none;
        border: none;
        color: #9aa0a6;
        font-size: 2.5rem;
        z-index: 1100;
    }
    .mobile-nav-menu {
        display: flex;
        flex-direction: column;
        position: fixed;
        /* top: 56px; */
        left: 0;
        width: 100vw;
        background: rgba(20, 20, 20, 0.95);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-top: 1px solid #191919;
        z-index: 1200;
        padding: 2rem 1.5rem;
        transition: transform 0.3s ease;
    }
    .mobile-nav-menu.hide {
        display: none;
    }
    .mobile-nav-menu a {
        color: #9aa0a6;
        text-decoration: none;
        font-size: 1.4rem;
        font-weight: 500;
        padding: 1rem 0;
        border-bottom: 1px solid #2c2c2c;
    }

    .hero-section {
        height: auto;
        padding: 10rem 0 1rem 0;
    }

     .start-building-section,
     .research-section,
     .footer-section {
        padding: 0 1rem;
     }

    .header h1{
        font-size: 2.5rem;
    }

    .hero-image {
        height: 35rem;
    }

    .hero-chips{
        display: none;
    }

    .hero-img-chips{
        font-size: 1rem;
    }

    .hero-blog-card{
        display: flex;
        flex-direction: column;
        row-gap: 2rem;
        width: 100%;
    }

    .hero-blog-card-left, .hero-blog-card-right{
        width: 100%;
        height: auto;
    }

    .hero-blog-card-right{
        min-height: 15rem;
        max-height: 15rem;
        overflow: hidden;
    }

    .hero-blog-card-right img{
        width: 100%;
        height: 100%;
        object-fit: fill;
    }


    .hero-blog-card-left h2{
        font-size: 1.5rem;
    }

    .start-building-section, .research-section, .footer-section{
        padding: 2rem 0;
    }

    .start-building-header, .research-header, .footer-header{
        flex-direction: column;
        row-gap: 1rem;
        align-items: flex-start;
        padding: 2rem 0;
    }

    .start-building-header h2{
        font-size: 1.8rem;
    }

    .start-building-card{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    row-gap: 4rem;
    padding: 2rem 0;
    border: solid;
    border-width: 1px 0 0 0;
    border-color: #2c2c2c;
}

.start-building-card-image{
    border: solid;
    border-width: 1px;
    border-color: rgba(0, 128, 128, 0.5);
    width: 6rem;
    min-height: 6rem;
    max-height: 6rem;
    border-radius: 1.4rem;
    overflow: hidden;
}

.start-building-card-image img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

    .card-header h3{
        font-size: 1.4rem;
    }

    .card-header p{
        font-size: 1rem;
    }

     .research-header h2{
        font-size: 1.8rem;
    }


    .blog-row{
        flex-direction: column;
        row-gap: 2rem;
    }

    .footer-section{
        padding: 0 0;
    }

    .footer-header{
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .footer-link{
    width: 1.5rem;
    height: 1.5rem;
}

    .footer-body {
        flex-direction: column;
        row-gap: 1rem;
        padding-bottom: 2rem;
    }

    .footer-cards {
        width: 100%;
        row-gap: 4rem;
    }

    .footer-cards h3{
        font-size: 1.5rem;
    }

    .footer-link p{
        font-size: 1.2rem;
    }

    .footer-title-link-wrapper{
    height: auto;
    display: flex;
    flex-direction: column;
    row-gap: 4rem;
}

    .footer-learn-more a{
        font-size: 1rem;
    }

    .footer-form {
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        row-gap: 1rem;
        padding: 1rem 0 2rem 0;
        align-items: flex-start;
    }

    .buttom-links{
        flex-direction: column;
        row-gap: 1rem;
        align-items: flex-start;
    }

    .buttom-links a{
        font-size: 1rem;
    }
}

/* Show hamburger only on mobile */
.mobile-nav-toggle {
    display: none;
}
@media (max-width: 600px) {
    .mobile-nav-toggle {
        display: flex;
    }
}