*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}

/* Fonts */
@font-face {
	font-family: 'Quicksand-Bold';
	src: url('fonts/Quicksand-Bold.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'Quicksand-Light';
	src: url('fonts/Quicksand-Light.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'Quicksand-Medium';
	src: url('fonts/Quicksand-Medium.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'Quicksand-Regular';
	src: url('fonts/Quicksand-Regular.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'Quicksand-SemiBold';
	src: url('fonts/Quicksand-SemiBold.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

body {
    font-family: 'Quicksand-Regular';
    overflow-x: hidden;
}

.landing-page {
    background-image: url(images/backdrop.jpg);
    background-size: cover;
    background-position: center center;  /* Keeps it centered */
    background-repeat: no-repeat;
    background-attachment: fixed;
    height: 100vh;
    width: 100vw;
}

/* Start of Navbar 1 */
.nav-header {
    background: #1F232E;
    z-index: 99;
    width: 100%;
    height: 50px;
    color: white;
    display: flex;
    align-items: center;
}

.logo-btn {
    position: absolute;
    left: 10%;
    height: 50px;
    display: flex;
    align-items: center;
}

.nav-header img {
    width: 39%;
    height: auto;
}

.navbar-pc {
    display: none;
    position: absolute;
    right: 50px;
    color: white;
    font-family: 'Quicksand-Bold';
}

.navbar-pc ul {
    list-style-type: none;
    display: flex;
    flex-direction: row;
    font-size: 1rem;
    gap: 36px;
}

.navbar-pc a {
    color: inherit;
}

.navbar-pc a::after{
    content: '';
    height: 2px;
    width: 0%;
    background-color: white;
    display: block;
    transition: .4s ease-in-out;
    border-radius: 5px;
}

.navbar-pc a:hover::after{
    content: '';
    height: 2px;
    width: 100%;
    background-color: white;
    display: block;
}
/* End of Navbar 1 */

/* Start of Navbar 2 */
.navbar-mobile {
    height: 60px;
    background-color: transparent;
    display: flex;
    align-items: center;
    z-index: 2;
}

.links-container {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100%;
    width: 200px;
    background-color: #3a3756;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 10;
    transition: 0.75s ease-out;
}

.links-container ul {
    list-style-type: none;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.navbar-mobile a {
    box-sizing: border-box;
    height: auto;
    width: 100%;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    color: #f0f0f0;
    justify-content: flex-start;
}

.navbar-mobile a:hover {
    background-color: #00c896;
}

.close-sidebar-button svg {
    fill: #f0f0f0;
}

#sidebar-active {
    display: none;
}

#sidebar-active:checked  ~ .links-container {
    right: 0;
}

.open-sidebar-button .close-sidebar-button {
    display: block;
    padding: 20px;
}

.open-sidebar-button:hover, .close-sidebar-button:hover {
    cursor: pointer;
}

.open-sidebar-button svg:hover {
    transform: scale(1.1);
}

.close-sidebar-button svg:hover {
    transform: scale(1.1);
}

.open-sidebar-button {
    display: none;
    position: absolute;
    right: 20px;
    top: 12px;
}

#sidebar-active:checked ~ #overlay {
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9;
}
/* End of Navbar 2 */

.hero-title {
    position: absolute;
    top: 200px;
    left: 10%;
    font-family: 'Quicksand-Bold';
    font-size: 50px;
    color: white;
    max-width: 400px;
}

.hero-text {
    position: absolute;
    top: 400px;
    left: 10%;
    color: white;
    max-width: 30ch;
    font-size: 29px;
}

video {
    position: absolute;
    top: 150px;
    right: 10%;
    border-radius: 20px;
}

h2 {
    font-size: 12px;
    color: white;
    font-weight: normal;
}

ul {
    margin-top: 10px;
    display: flex;
    list-style-type: none;
    flex-direction: row;
    gap: 30px;
}

/* Base styles */
.hero-title, .hero-text, .intro-btn, video, .collab-section, .open-sidebar-button {
    opacity: 0;
    transform: translateY(20px); /* Start elements below their final position */
    transition: opacity 0.6s ease, transform 0.6s ease; /* Add transition for opacity and movement */
}

.navbar-pc li {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.logo-btn {
    opacity: 0;
}

/* Reveal elements with animation delay */
.hero-title {
    animation: fadeInUp 1s forwards 0.2s; /* Delay for staggered animation */
}

.hero-text {
    animation: fadeInUp 1s forwards 0.4s;
}

.intro-btn {
    animation: fadeInUp 1s forwards 0.6s;
}

video {
    animation: fadeInUp 1s forwards 0.8s;
}

.collab-section {
    animation: fadeInUp 1s forwards 1s;
}

.navbar-pc li {
    animation: fadeInRight 2s forwards 1.2s;
}

.navbar-pc li:nth-child(1) {
    animation-delay: 1.2s;
}

.navbar-pc li:nth-child(2) {
    animation-delay: 1.4s;
}

.navbar-pc li:nth-child(3) {
    animation-delay: 1.6s;
}

.navbar-pc li:nth-child(4) {
    animation-delay: 1.8s;
}

.logo-btn {
    animation: fadeInZoom 1s forwards 2s;
}

.open-sidebar-button {
    animation: fadeInUp 2s forwards 1.2s;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInZoom {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}


/* Responsive Navbar based on PC or Mobile screen size */
@media (min-width: 769px) {
    .navbar-pc {
        display: block;
    }

    .open-sidebar-button {
        display: none;
    }
}

@media (max-width: 768px) {
    header nav ul {
        gap: 10px;
    }

    .hero-title {
        font-size: 20px;
        top: 80px;
    }

    .hero-text {
        top: 150px;
        font-size: 12px;
    }

    video {
        top: 250px;
    }

    .collab-section {
        bottom: 10px;
    }

    .navbar-pc {
        display: none;
    }

    .open-sidebar-button {
        display: block;
        position: fixed;
    }
}

@media (max-width: 480px) {
    header {
        height: auto;
        flex-direction: column;
        align-items: center;
    }

    header nav ul {
        gap: 15px;
        font-size: 0.8rem;
    }

    .hero-title {
        font-size: 18px;
        top: 150px;
    }

    .hero-text {
        top: 220px;
        font-size: 10px;
    }

    video {
        width: 100%;
        max-width: 320px;
        top: 350px;
        left: 36px;
    }

    .collab-section ul {
        gap: 10px;
    }
}









.page-2 {
    height: 145vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: url(images/backdrop.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    
    position: relative;
    overflow-x: hidden;
    overflow-y: hidden;
}

.new-store-img {
    position: absolute;
    left: 25%;
    width: 480px;
    height: auto;
}

.bento-header {
    position: absolute;
    left: 60%;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(#f6db99 45%, #d6a761);
    background-clip: text;
    font-size: 85px;
    width: 100%;
    font-family: 'Quicksand-Bold';
    transition: transform 0.3s ease-in-out; /* Smooth transition for each step */
    text-align: left;
}

/* Start of Bento Box */
.bento-container {
    position: absolute;
    top: 460px;
    border-radius: 50px;
    width: 1150px;
    height: 800px;
    padding: 2em;
    display: flex;
    gap: 1em;
    color: rgb(255, 255, 255);
    text-align: center;
}

.bento-title {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -100%);
    text-align: center;
    width: 100%;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(#f6db99 45%, #d6a761);
    background-clip: text;
    font-size: 50px;
    font-family: 'Quicksand-Bold';
    text-transform: uppercase;
}

.row-1 {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.row-2 {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.row-3 {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.col {
    flex: 1;
    display: flex;
    gap: 1em;
}

.col.col-2 {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.col-box {
    flex: 1;
    border-radius: 0.6em;
    padding: 5px;
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid rgb(185, 185, 185);
    border-radius: 20px;
    backdrop-filter: blur(50px);
    transition: 0.3s ease-in-out;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5em;
}

.box {
    flex: 1;
    border-radius: 0.6em;
    padding: 5px;
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid rgb(185, 185, 185);
    border-radius: 20px;
    backdrop-filter: blur(50px);
    transition: 0.3s ease-in-out;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5em;
}

.col-box:hover {
    transform: scale(1.02);
    border: 2px solid #ffffff50;
}

.box:hover {
    transform: scale(1.02);
    border: 2px solid #ffffff50;
}

.bento-icon {
    width: 90px;
    height: 90x;
    object-fit: cover;
    border-radius: 50%;
}

@media (max-width: 1024px) {
    .bento-container {
        flex-direction: column;
    }
    .row-1 {
        flex-direction: row;
    }
    .row-2 {
        flex-direction: row;
    }
    .row-3 {
        flex-direction: row;
    }
    .col {
        flex: 2;
        flex-direction: column;
    }
}

@media (max-width: 1024px) {
    .bento-container {
        max-width: 900px;
        max-height: 550px;
        gap: 0.5em;
    }
    .row {
        gap: 0.5em;
    }
    .col {
        gap: 0.5em;
    }

}

@media (max-width: 870px) {
    .row-1 {
        flex-direction: column;
    }
    .bento-container {
        max-width: 700px;
        padding: 1em;
    }
    .box, .col-box {
        flex: 1;
        font-size: 0.85em;
        padding: 0.8em;
        gap: 0.3em;
    }
}

@media (max-width: 700px) {
    .bento-container {
        max-width: 90%;
        padding: 0.8em;
    }
    .row {
        flex-direction: column;
        gap: 0.3em;
    }
    .box, .col-box {
        padding: 0.5em;
        font-size: 0.75em;
    }
}

@media (max-width: 400px) {
    .bento-container {
        padding: 0.5em;
    }
    .box, .col-box {
        padding: 0.3em;
        font-size: 0.65em;
    }
    h1 {
        font-size: 1.2em;
    }
    p {
        font-size: 0.8em;
    }
}

@media (max-width: 1024px) {
    .box, .col-box {
        transform: scale(calc(0.9 + (100vw - 600px) / 424));
    }
}

@media (max-width: 768px) {
    .page-2 {
        height: 200vh;
    }

    .bento-header {
        font-size: 60px;
    }
    
    .new-store-img {
        display: none;
    }

    .bento-title {
        font-size: 30px;
    }
}
/* End of Bento Box */

.shards-container {
    position: absolute;
    width: 100vw;
    height: 150vh;
    perspective: 1200px;
}

.shard {
    position: absolute;
    top: var(--posY);
    left: var(--posX);
    width: 100px;
    height: 150px;
    background: linear-gradient(
        to bottom right,
        rgba(173, 216, 230, 0.3),
        rgba(173, 216, 230, 0.1)
    );
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    transform: translate(-50%, -50%) rotateX(calc(-20deg + var(--randomX, 0deg))) rotateY(calc(30deg + var(--randomY, 0deg)));
    box-shadow: 0px 0px 20px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    animation: float 5s infinite alternate;
}

/* Variations in positions and sizes */
.shard:nth-child(1) {
    --randomX: 10deg;
    --randomY: -20deg;
    width: 70px;
    height: 130px;
}

.shard:nth-child(2) {
    --randomX: -15deg;
    --randomY: 10deg;
    width: 40px;
    height: 90px;
}

.shard:nth-child(3) {
    --randomX: 30deg;
    --randomY: -10deg;
    width: 60px;
    height: 110px;
}

.shard:nth-child(4) {
    --randomX: 20deg;
    --randomY: 25deg;
    width: 100px;
    height: 120px;
}

.shard:nth-child(5) {
    --randomX: -25deg;
    --randomY: -30deg;
    width: 80px;
    height: 100px;
}

/* Floating Animation */
@keyframes float {
    from {
        transform: translate(-50%, -50%) rotateX(calc(-20deg + var(--randomX))) rotateY(calc(30deg + var(--randomY))) translateY(0px);
    }
    to {
        transform: translate(-50%, -50%) rotateX(calc(-25deg + var(--randomX))) rotateY(calc(35deg + var(--randomY))) translateY(20px);
    }
}

@media (max-width: 1420px) {
    .shards-container {
        display: none;
    }
}

@media (min-width: 1421px) {
    .shards-container {
        display: block;
    }
}









.page-3 {
    height: 100vh;
    width: 100vw;
    background-image: url(images/backdrop.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.page-3 h1 {
    font-family: 'Quicksand-Bold';
    font-size: 80px;
    color: white;
}

.page-3 h1 span {
    position: relative;
    display: inline-block;
    animation: textColorChange 1s forwards;
    animation-delay: 2.0s;
}

.page-3 h1 span::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 18px;
    width: 0;
    height: 2px;
    background-color: white;
    animation: underline 1s forwards;
    animation-delay: 2.0s;
}

@keyframes underline {
    from {
        width: 0;
    }
    to {
        width: 95%;
    }
}

@keyframes textColorChange {
    from {
        color: white;
    }
    to {
        color: #ffe7ac;
    }
}

.page-3 p {
    margin: 36px auto;
    color: white;
}

.demo-btn {
    padding: 18px 32px;
    border-radius: 36px;
    background-image: linear-gradient(#ffe7ac 45%, #d6a761);
    border: none;
    font-family: 'Quicksand-Bold';
    font-size: 20px;
    color: black;
}

.demo-btn:hover {
    cursor: pointer;
}

footer {
    height: 5vh;
    width: 100%;
}

footer p {
    background: #1F232E;
    color: white;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

@media (max-width: 768px) {
    .page-3 h1 {
        font-size: 40px;
    }
}





/* Initial hidden state */
[data-lazy] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.6s ease, transform 1.6s ease;
}

/* Visible state for animations */
[data-lazy].visible {
    opacity: 1;
    transform: translateY(0);
}
