:root {
    --primary-color: #151414;
    --text-color: #EFEFEF;
    --btn-color: #905EBB;
    --btnHover-color: rgba(78, 49, 104);
    --background: #fff;

    /* Containers */
    --container-color: rgb(210, 206, 213);

    /* Fonts */
    --font-main: system-ui, sans-serif;
    --font-size-nav: 18px;
    --h2-font-size: 4rem;
    --h3-font-size: 2rem;
    --font-body-size: 30px;
    --font-Text-size: 20px;

    --light-shadow:rgba(17, 17, 26, 0.05) 0px 1px 0px, rgba(53, 27, 66, 0.854) 0px 0px 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    padding-top: 60px;
}
.home {
    background: linear-gradient(to top, var(--primary-color), #fff 30%);
}
html {
    scroll-behavior: smooth;
}
/* assets */
.separator {
    margin: 25px 0;
    border-bottom: 1px solid lightgray;
}

.burger-icon {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
}

/* Header */
.header-container {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: #151414;
}

.header-container {
    max-width: 100%;
    max-height: 60px;
    height: 60px;
    background-color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
}
.headerText {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    gap: 12px;
}

.header-Logo {
    width: 50px;
    height: auto;
}
.inner-header {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 85%;
    /* height: 30px; */
}
.mobile-nav-container {
    visibility: hidden;
    position: absolute;
    justify-content: center;
    align-items:flex-start;
    width: 100%;
    height: 100vh;
    top: 50px;
    left: 100%;
    background-color: #2e2c31;
    transition: all 250ms ease;
}
.nav-container {
    max-width: 36%;
    width: 100%;
}
.nav-items {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    gap: 8%;
}


body {
    font-family: var(--font-main);
}

.nav-text a, a h1 {
    color: var(--text-color);
}
a h1 {
    font-weight: 350;
    font-size: 1.65rem;
}
.nav-text a {
    font-size: var(--font-size-nav);
    transition: color 500ms ease;
}

.nav-text a:hover {
    color: var(--btn-color);
}

header a {
    text-decoration: none;
}

/* Hero */

.hero-container {
    max-width: 100%;
    background-color: #cfd5db;
    height: 85vh; 
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 2rem 1rem;
}
.hero-inner {
    width: 75%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10%;
}
.phone-container {
    position: relative;
    border-style: solid;
    border-width: 0 20px 20px 0;
    border-color: transparent;
    background-image: linear-gradient(rgb(156, 127, 214), rgb(62, 40, 92));
    background-origin: border-box;
    transform: skew(-28deg, 15deg);
    border-radius: 45px;
    box-shadow: rgba(120, 125, 155, 0.5) 20px 0px 20px 20px;
    animation: bounce 1050ms alternate infinite;
}

@keyframes bounce {
    0% {
        top: 20px
    }
    100% {
        top: 0;
    }
}

.phone-display {
    width: 100%;
    height: 100%;
    position: absolute;
    transition: all 300ms;
}

.phone-display.active {
    display: block;
    z-index: 1;
}

.phone-display.hidden {
    transform: translateX(100%);
    z-index: 0;
}

.phone-Demo {
    max-width: 24rem;
    width: 22rem;
    height: 600px;
    border: 8px black solid;
    border-radius: 25px;
    background-color: #000000;
    overflow: hidden;
    position: relative;
    box-shadow: var(--light-shadow);
    /* transform: skew(-28deg, 10deg); */
}
.fire {
    background: linear-gradient(
        to right,
        rgb(28, 10, 10) 20%, 
        var(--btn-color) 40%,
        rgb(240, 66, 66),
        var(--btn-color) 90% 
        
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 500% auto;
    animation: textGradient 2s ease-in-out infinite alternate;
}

@keyframes textGradient {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

.hero-header {
    font-size: var(--h2-font-size);
    line-height: 100%;
}
.hero-text {
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 50%;
}
.hero-text p, .heroBtn {
    font-size: var(--font-body-size);
}

.heroBtn {
    text-decoration: none;
    background-color: var(--btn-color);
    width: 50%;
    min-width: 300px;
    height: 65px;
    text-align: center;
    color: var(--text-color);
    border-radius: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all ease 250ms;
}
.heroBtn:hover {
    background-color: var(--btnHover-color);
}

.main-container {
    display: flex;
    flex-direction: column;
    /* margin: 40rem 12px; */
}


/* body */

.trust-img {
    margin-top: 1.5rem;
    border-radius: 12px;
    width: 100%;
    height: 225px;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Animate on scroll */


.trio-Container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 4rem 12px;
}

.box {
    flex: 1;
    background: linear-gradient(var(--container-color), rgba(116, 80, 147, 0));
    border-radius: 20px;
    padding: 35px;
}

.mid-body {
    display: flex;
    flex-direction: column;
    gap: 30px;
    background-color: #dedfe3;
    padding: 200px 12px 50px;
    border-radius: 200px 200px 0 0;
    margin: 20px 0 0 0;
}

.middle-Container {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 30px;
}


.app-Icon-Container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    font-size: 2.5rem;
    position: relative;
    width: fit-content;
    margin: 0 auto;
}

.app-Icon {
    position: relative;
    width: 250px;
    border-radius: 35px;
    animation: rotate-in 750ms linear forwards;
}

.container-Mid {
    padding: 40px;
    display: flex;
    flex: 1 1 30%;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 16px;
    background: linear-gradient(var(--primary-color), rgb(54, 33, 73));
    max-width: 100%;
    min-height: 100%;
    border-radius: 25px;
}

.body-Header, .body-Text {
    color: var(--text-color);
}


.body-Text {
    font-size: var(--font-Text-size);
}


.privacy-section {
  background-image: linear-gradient(#f5f5f5, transparent, transparent);
  border-radius: 25px 25px 0 0;
  padding: 50px 60px 150px 60px;
  max-width: 100%;
  width: 100%;
  /* margin: 3rem ; */
  font-family: system-ui, sans-serif;
  color: #151414;
  box-shadow:
    rgba(17, 17, 26, 0.9) 10px 1px 0px,
}

.privacy-columns {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.privacy-column {
  flex: 1 1 45%;
  min-width: 280px;
}

.privacy-column h3 {
  font-size: 2.5rem;
  color: #905EBB;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.privacy-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.privacy-list li {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 2.2rem;
  font-weight: 500;
  font-size: 1.25rem;
  color: #151414;
  cursor: default;
  transition: color 0.3s ease;
}

.privacy-list li svg {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  fill: #905EBB;
  transition: transform 0.3s ease, fill 0.3s ease;
}

.privacy-list li:hover {
  color: #4e3168; /* btnHover-color */
}

.privacy-list li:hover svg {
  transform: scale(1.2);
  fill: #4e3168;
}





.bottom-body {
    padding: 4rem 1.75rem;
    margin: 0;
    background-color: #151414;
    border-radius: 50px 50px 0 0 ;
}

.bottom-container {
    display: flex;
    flex-direction: column;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 22px;
}
.bottom-container h3 {
    color: var(--text-color);
    font-size: var(--h3-font-size);
}
.bottom-container p {
    font-size: var(--font-body-size);
    color: #c2c8c8;
}

.btn-Store-Download {
    color: #cccccc;
    border: 2px solid var(--btn-color);
    font-size: var(--font-Text-size);
    min-width: 85%;
    text-align: center;
    padding: 15px 0;
    text-decoration: none;
    border-radius: 15px;
}
.btn-Download {
    color: var(--text-color);
    font-size: var(--font-size-nav);
}

/* Footer */
.pageEnd {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--primary-color);
    padding: 5rem 2rem;
}


.footer-Logo img {
    height: 75px;
    width: 75px;
    border-radius: 12px;
}
.footer-Logo span{
    display: flex;  
    align-items: center;
    color: var(--text-color);
    font-size: 4rem;
    font-weight: 300;
    gap: 10px;
}

.footer-Content {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    color: var(--text-color);
    font-size: var(--font-size-nav);
}
.footer-Content a {
    color: #8371c2;
}


/* mobile hero + nav */
@media (max-width: 772px) {
    .nav-container {
        display: none;
        position: relative;
    }

    .hero-container {
        height: fit-content;
    }
    .hero-inner {
        width: 100%;
        flex-direction: column-reverse;
        gap: 0;
    }
    .hero-text {
        margin-top: 28px;
        width: 100%;
        padding: 12px;
    }
    .heroBtn {
        width: 100%;
    }

    .phone-container {
        border-width: 0 16px 16px 0;
        transform: skew(-8deg);
        border-radius: 45px;
    }

    .phone-Demo {
        max-width: 24rem;
        width: 17rem;
        height: 65vh;
    }

    .inner-header {
        width: 100%;
        padding: 0 18px;
    }

    .burger-icon {
        display: flex;
        height: 30px;
    }

    .open.mobile-nav-container {
        visibility: visible;
        left: 0%;
    }

    .bar1, .bar2, .bar3 {
        width: 100%; height: 3px;
        background-color: var(--background);
        border-radius: 20px;
        transition: all 400ms;
    }

    .change .bar1 {
        transform: translate(0, 10px) rotate(-45deg);
    }

    .change .bar2 {opacity: 0;}

    .change .bar3 {
        transform: translate(0, -10px) rotate(45deg);
    }


    .nav-items {
        margin-top: 3rem;
        flex-direction: column;
        align-items: center;
        gap: 50px;
    }
    .nav-text {
        color: var(--primary-color);
    }

    /* footer */
    .footer-Content {
        gap: 20px;
        flex-direction: column;
    }
}


@media (min-width: 1024px) {
    .main-container {
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        margin: 0 8%;
    }
    .trio-Container {
        flex-direction: row;
        height: 450px;
    } 
    
    .box {
        flex: 1 1 0;
    }
    .box > h2 {
        font-size: 2.5rem;
    }
    .box > p {
        font-size: 30px;
    }

    .mid-body {
        display: flex;
        flex-direction: column;
        gap: 30px;
        background-color: #fff;
        border-radius: 100px;
        padding: 80px 150px;
    }


    .middle-Container {
        flex-direction: row;
        gap: 60px;
    }

    .btn-Store-Download {
        min-width: 550px;
    }
    .pageEnd {
        padding-left: 8em;
        padding-right: 8em;
    }
}