/*==========================================================
    FREEWALLY WEBSITE V2
==========================================================*/


/*==========================================================
    RESET
==========================================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{

    scroll-behavior:smooth;

}

body{

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "SF Pro Display",
        "Segoe UI",
        sans-serif;

    background:#fff;
    color:#111;

    overflow-x:hidden;

}

img{

    display:block;
    max-width:100%;

}

a{

    color:inherit;
    text-decoration:none;

}

button{

    font:inherit;

}


/*==========================================================
    VARIABLES
==========================================================*/

:root{

    --blue:#0A84FF;

    --text:#111111;

    --light:#666666;

    --border:#E8E8E8;

    --container:1380px;

}


/*==========================================================
    CONTAINER
==========================================================*/

.container{

    width:min(var(--container),92%);
    margin:auto;

}


/*==========================================================
    HEADER
==========================================================*/

.site-header{

    position:sticky;

    top:0;

    background:white;

    border-bottom:1px solid var(--border);

    z-index:1000;

}

.header-inner{

    display:flex;

    justify-content:space-between;

    align-items:center;

    height:86px;

}


/*==========================================================
    LOGO
==========================================================*/

.logo{

    display:flex;

    align-items:center;

    gap:16px;

    font-size:40px;

    font-weight:800;

    letter-spacing:-1.8px;

}

.logo img{

    width:54px;

    height:54px;

}


/*==========================================================
    MENU
==========================================================*/

#mainMenu{

    display:flex;

    gap:34px;

    align-items:center;

}

#mainMenu a{

    font-size:22px;

    font-weight:600;

    transition:.25s;

}

#mainMenu a:hover{

    color:var(--blue);

}

#mainMenu a.active{

    color:var(--blue);

}


/*==========================================================
    HAMBURGER
==========================================================*/

.menu-toggle{

    display:none;

    width:54px;

    height:54px;

    border:0;

    background:none;

    cursor:pointer;

}

.menu-toggle span{

    display:block;

    width:30px;

    height:3px;

    margin:6px auto;

    background:#111;

    border-radius:999px;

}


/*==========================================================
    HERO
==========================================================*/

.hero{

    min-height:calc(100vh - 86px);

    display:flex;

    align-items:center;

    padding:60px 0;

}

.hero-grid{

    display:grid;

    grid-template-columns:

        minmax(480px,1fr)

        620px;

    gap:70px;

    align-items:center;

}


/*==========================================================
    HERO CONTENT
==========================================================*/

.hero-content{

    max-width:620px;

}

.hero-content h1{

    font-size:86px;

    line-height:.95;

    letter-spacing:-3px;

    margin-bottom:32px;

}

.hero-content p{

    font-size:28px;

    line-height:1.55;

    color:var(--light);

    margin-bottom:42px;

}


/*==========================================================
    BUTTON
==========================================================*/

.downloadButton{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    height:66px;

    padding:0 34px;

    border-radius:999px;

    background:var(--blue);

    color:white;

    font-size:22px;

    font-weight:700;

    transition:.25s;

}

.downloadButton:hover{

    transform:translateY(-2px);

    box-shadow:

        0 18px 36px rgba(10,132,255,.30);

}


/*==========================================================
    HERO VISUAL
==========================================================*/

.hero-visual{

    display:flex;

    justify-content:center;

    align-items:center;

}
/*==========================================================
    PHONE SECTION
==========================================================*/

.hero-visual{

    display:flex;
    justify-content:center;
    align-items:center;

}

.phones{

    position:relative;

    width:620px;
    height:760px;

}


/*==========================================================
    PHONE POSITIONS
==========================================================*/

.phone-wrapper{

    position:absolute;

}

.phone-center{

    left:145px;
    top:0;

    z-index:3;

    animation:centerFloat 6s ease-in-out infinite;

}

.phone-left{

    left:0;
    top:120px;

    z-index:2;

    animation:leftFloat 6s ease-in-out infinite;

}

.phone-right{

    right:0;
    top:120px;

    z-index:1;

    animation:rightFloat 6s ease-in-out infinite;

}


/*==========================================================
    PHONE
==========================================================*/

.phone{

    position:relative;

    width:330px;
    height:715px;

    background:#000;

    border-radius:48px;

    padding:14px;

    overflow:hidden;

    box-shadow:
        0 35px 90px rgba(0,0,0,.28);

}


/*==========================================================
    SCREEN
==========================================================*/

.phone-screen{

    width:100%;
    height:100%;

    overflow:hidden;

    border-radius:34px;

    background:#fff;

}

.phone-screen img{

    width:100%;
    height:100%;

    display:block;

    object-fit:cover;

}


/*==========================================================
    NOTCH
==========================================================*/

.phone-notch{

    position:absolute;

    top:20px;
    left:50%;

    transform:translateX(-50%);

    width:96px;
    height:28px;

    border-radius:18px;

    background:#000;

    z-index:20;

}


/*==========================================================
    APPLE WATCH
==========================================================*/

.feature-watch{

    display:flex;

    justify-content:center;

    align-items:center;

}

.watch{

    width:300px;
    height:360px;

    background:#000;

    border-radius:70px;

    padding:14px;

    overflow:hidden;

    box-shadow:
        0 30px 80px rgba(0,0,0,.28);

}

.watch img{

    width:100%;
    height:100%;

    display:block;

    object-fit:cover;

    border-radius:56px;

}


/*==========================================================
    FLOATING ANIMATION
==========================================================*/

@keyframes centerFloat{

    0%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-12px);

    }

    100%{

        transform:translateY(0);

    }

}


@keyframes leftFloat{

    0%{

        transform:
            rotate(-18deg)
            translateY(0);

    }

    50%{

        transform:
            rotate(-18deg)
            translateY(-12px);

    }

    100%{

        transform:
            rotate(-18deg)
            translateY(0);

    }

}


@keyframes rightFloat{

    0%{

        transform:
            rotate(18deg)
            translateY(0);

    }

    50%{

        transform:
            rotate(18deg)
            translateY(-12px);

    }

    100%{

        transform:
            rotate(18deg)
            translateY(0);

    }

}
/*==========================================================
    PAGE INTRO
==========================================================*/

.page-intro{

    padding:90px 0 40px;

}

.page-intro .container{

    max-width:1050px;

}

.page-intro h1{

    font-size:72px;

    line-height:1;

    letter-spacing:-2px;

    margin-bottom:28px;

}

.page-intro p{

    font-size:28px;

    line-height:1.6;

    color:#666;

}


/*==========================================================
    FEATURES
==========================================================*/

.feature{

    padding:90px 0;

}

.feature:last-child{

    padding-bottom:120px;

}


/*==========================================================
    FEATURE GRID
==========================================================*/

.feature-grid{

    display:grid;

    grid-template-columns:1fr 360px;

    align-items:center;

    gap:80px;

}


/*==========================================================
    FEATURE TEXT
==========================================================*/

.feature-text{

    max-width:760px;

}

.feature-text h1{

    font-size:56px;

    line-height:1.05;

    letter-spacing:-1.5px;

    margin-bottom:24px;

}

.feature-text p{

    font-size:28px;

    line-height:1.6;

    color:#666;

}

.feature-text ul{

    list-style:none;

    margin-top:28px;

}

.feature-text li{

    font-size:26px;

    line-height:1.8;

    color:#666;

}


/*==========================================================
    FEATURE PHONE
==========================================================*/

.feature-phone{

    display:flex;

    justify-content:center;

    align-items:center;

}

.feature-phone .phone{

    width:300px;

    height:650px;

}


/*==========================================================
    FEATURE WATCH
==========================================================*/

.feature-watch{

    display:flex;

    justify-content:center;

    align-items:center;

}

.feature-watch .watch{

    width:260px;

    height:315px;

}


/*==========================================================
    ACTIVE MENU
==========================================================*/

#mainMenu a.active{

    color:var(--blue);

    font-weight:700;

}

#mainMenu a.active::after{

    content:"";

    display:block;

    margin-top:8px;

    height:3px;

    border-radius:3px;

    background:var(--blue);

}
/*==========================================================
    RESPONSIVE
==========================================================*/


/*==========================================================
    LAPTOP
==========================================================*/

@media (max-width:1300px){

    .container{

        width:94%;

    }

    .hero-grid{

        grid-template-columns:1fr 540px;

        gap:40px;

    }

    .hero-content h1{

        font-size:72px;

    }

    .hero-content p{

        font-size:24px;

    }

    .phones{

        width:540px;
        height:700px;

    }

    .phone{

        width:300px;
        height:650px;

    }

    .phone-center{

        left:120px;

    }

}


/*==========================================================
    TABLET
==========================================================*/

@media (max-width:1000px){

    .header-inner{

        height:82px;

    }

    .menu-toggle{

        display:block;

        z-index:1002;

    }

    #mainMenu{

        display:none;

        position:absolute;

        top:82px;
        left:0;
        right:0;

        flex-direction:column;

        gap:0;

        background:white;

        border-bottom:1px solid #e8e8e8;

        box-shadow:0 12px 40px rgba(0,0,0,.10);

    }

    #mainMenu.open{

        display:flex;

    }

    #mainMenu a{

        width:100%;

        padding:20px 30px;

        border-bottom:1px solid #ececec;

        font-size:22px;

    }

    .hero{

        min-height:auto;

    }

    .hero-grid{

        grid-template-columns:1fr;

        gap:70px;

        text-align:center;

    }

    .hero-content{

        max-width:900px;

        margin:auto;

    }

    .hero-visual{

        justify-content:center;

    }

    .phones{

        width:320px;
        height:680px;

    }

    .phone-left,
    .phone-right{

        display:none;

    }

    .phone-center{

        left:0;
        right:0;

        margin:auto;

    }

    .feature-grid{

        grid-template-columns:1fr;

        gap:45px;

    }

    .feature-phone,
    .feature-watch{

        order:-1;

    }

    .feature-text{

        text-align:center;

        max-width:760px;

        margin:auto;

    }

}


/*==========================================================
    MOBILE
==========================================================*/

@media (max-width:600px){

    .container{

        width:calc(100% - 28px);

    }

    .logo{

        font-size:28px;

    }

    .logo img{

        width:42px;
        height:42px;

    }

    .hero{

        padding:40px 0;

    }

    .hero-content h1{

        font-size:48px;

        letter-spacing:-2px;

    }

    .hero-content p{

        font-size:20px;

    }

    .downloadButton{

        width:100%;

        font-size:20px;

    }

    .phones{

        width:280px;
        height:580px;

    }

    .phone{

        width:260px;
        height:560px;

    }

    .feature{

        padding:60px 0;

    }

    .page-intro{

        padding:60px 0 20px;

    }

    .page-intro h1{

        font-size:44px;

    }

    .page-intro p{

        font-size:20px;

    }

    .feature-text h1{

        font-size:40px;

    }

    .feature-text p{

        font-size:20px;

    }

    .feature-phone .phone{

        width:240px;
        height:520px;

    }

    .feature-watch .watch{

        width:210px;
        height:255px;

    }

}


/*==========================================================
    SMALL iPHONE
==========================================================*/

@media (max-width:390px){

    .hero-content h1{

        font-size:42px;

    }

    .page-intro h1{

        font-size:38px;

    }

    .feature-text h1{

        font-size:34px;

    }

}

/*==========================================================
    USE CASES
==========================================================*/

.usecase{

    padding:90px 0;

}

.usecase:last-child{

    padding-bottom:120px;

}


/*==========================================================
    USECASE GRID
==========================================================*/

.usecase-grid{

    display:grid;

    grid-template-columns:1fr 520px;

    gap:80px;

    align-items:center;

}


/*==========================================================
    USECASE IMAGE
==========================================================*/

.usecase-image{

    display:flex;

    justify-content:center;

    align-items:center;

}

.usecase-image img{

    width:100%;

    max-width:520px;

    border-radius:28px;

    box-shadow:
        0 25px 70px rgba(0,0,0,.16);

}


/*==========================================================
    USECASE TEXT
==========================================================*/

.usecase-text{

    max-width:720px;

}

.usecase-text h1{

    font-size:56px;

    line-height:1.05;

    letter-spacing:-1.5px;

    margin-bottom:22px;

}

.usecase-text p{

    font-size:28px;

    line-height:1.6;

    color:#666;

}


/*==========================================================
    RESPONSIVE
==========================================================*/

@media (max-width:1000px){

    .usecase-grid{

        grid-template-columns:1fr;

        gap:45px;

    }

    .usecase-image{

        order:-1;

    }

    .usecase-text{

        max-width:760px;

        margin:auto;

        text-align:center;

    }

}


@media (max-width:600px){

    .usecase{

        padding:60px 0;

    }

    .usecase-image img{

        max-width:320px;

        border-radius:22px;

    }

    .usecase-text h1{

        font-size:40px;

    }

    .usecase-text p{

        font-size:20px;

    }

}
/*==========================================================
    FAQ
==========================================================*/

.faq{

    padding:80px 0;

}

.faq-item{

    max-width:900px;

    margin:0 auto 28px;

    padding:34px;

    border:1px solid #e8e8e8;

    border-radius:24px;

    background:white;

    box-shadow:
        0 10px 30px rgba(0,0,0,.05);

}

.faq-item h2{

    font-size:34px;

    margin-bottom:18px;

}

.faq-item p{

    font-size:24px;

    line-height:1.6;

    color:#666;

}

@media (max-width:600px){

.faq-item{

    padding:24px;

}

.faq-item h2{

    font-size:28px;

}

.faq-item p{

    font-size:20px;

}

}

/*==========================================================
    FAQ ACCORDION
==========================================================*/

.faq{

    padding:80px 0;

}

.faq-item{

    max-width:900px;

    margin:0 auto 18px;

    border-radius:22px;

    overflow:hidden;

    border:1px solid #e8e8e8;

    background:white;

    box-shadow:
        0 10px 24px rgba(0,0,0,.05);

}

.faq-question{

    width:100%;

    border:none;

    background:white;

    cursor:pointer;

    padding:28px 34px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    font-size:28px;

    font-weight:700;

    text-align:left;

}

.faq-question:hover{

    background:#fafafa;

}

.faq-icon{

    font-size:36px;

    color:#0A84FF;

    transition:.3s;

}

.faq-answer{

    max-height:0;

    overflow:hidden;

    transition:max-height .35s ease;

    background:#fff;

}

.faq-answer p{

    padding:0 34px 30px;

    font-size:22px;

    line-height:1.6;

    color:#666;

}

.faq-item.open .faq-answer{

    max-height:550px;

}

.faq-item.open .faq-icon{

    transform:rotate(45deg);

}

@media (max-width:600px){

    .faq-question{

        font-size:22px;

        padding:22px;

    }

    .faq-answer p{

        font-size:18px;

        padding:0 22px 22px;

    }

}

.stats-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.stats-header h1 {
    margin: 0;
}

.refresh-button {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #ffffff;
    color: #172033;
    font-size: 30px;
    line-height: 44px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 3px 12px #00000014;
    -webkit-tap-highlight-color: transparent;
}

.refresh-button:active {
    transform: scale(0.92);
}