*{
    box-sizing:border-box;
}

body{
    margin:0;
    font-family:
        Inter,
        Arial,
        sans-serif;

    background:#f5f6fa;
    color:#17181c;
}

button,
input{
    font-family:inherit;
}

.studio{
    min-height:100vh;
    display:flex;
}


/* SIDEBAR */

.sidebar{
    width:255px;
    min-height:100vh;

    background:#101114;
    color:#fff;

    padding:20px 15px;

    display:flex;
    flex-direction:column;

    position:fixed;
    left:0;
    top:0;
    bottom:0;

    z-index:100;
}

.brand{
    display:flex;
    align-items:center;
    gap:10px;

    padding:8px;

    margin-bottom:28px;
}

.brand-logo{
    width:40px;
    height:40px;

    border-radius:12px;

    background:#6750a4;

    display:grid;
    place-items:center;

    font-size:22px;
    font-weight:900;
}

.brand strong{
    display:block;
    font-size:15px;
}

.brand small{
    display:block;
    color:#999;
    margin-top:3px;
}


/* NAV */

.sidebar nav{
    display:grid;
    gap:5px;
}

.nav-item{
    border:0;
    background:transparent;

    color:#aeb0b8;

    width:100%;

    padding:13px 14px;

    border-radius:11px;

    text-align:left;

    cursor:pointer;

    font-size:14px;

    display:flex;
    align-items:center;
    gap:12px;
}

.nav-item span{
    width:20px;
    text-align:center;
    font-size:17px;
}

.nav-item:hover,
.nav-item.active{
    background:#27242e;
    color:#fff;
}

.sidebar-bottom{
    margin-top:auto;

    padding:12px 8px;

    color:#777;

    font-size:12px;
}

.sidebar-bottom small{
    display:block;
    margin-top:5px;
}


/* MAIN */

.main{
    margin-left:255px;
    width:calc(100% - 255px);
}


/* TOPBAR */

.topbar{
    height:70px;

    background:#fff;

    border-bottom:1px solid #e6e7ec;

    display:flex;
    align-items:center;

    padding:0 28px;
}

.mobile-menu{
    display:none;

    border:0;
    background:none;

    font-size:24px;
}

.search-box{
    width:420px;

    background:#f4f5f8;

    border-radius:11px;

    padding:10px 14px;

    display:flex;
    align-items:center;

    gap:8px;

    color:#777;
}

.search-box input{
    width:100%;

    border:0;
    outline:0;

    background:transparent;
}

.profile{
    margin-left:auto;

    width:40px;
    height:40px;

    border-radius:50%;

    background:#eee8fb;

    color:#6750a4;

    display:grid;
    place-items:center;

    font-weight:800;
}


/* PAGE */

.page{
    display:none;

    max-width:1250px;

    margin:auto;

    padding:35px;
}

.page.active{
    display:block;
}


/* HERO */

.hero{
    min-height:350px;

    border-radius:25px;

    padding:45px;

    background:
        linear-gradient(
            135deg,
            #1b1a1f,
            #453a60
        );

    color:#fff;

    display:flex;

    justify-content:space-between;

    align-items:center;
}

.eyebrow{
    font-size:11px;

    letter-spacing:2px;

    font-weight:800;

    color:#9277db;
}

.hero h1{
    font-size:43px;

    line-height:1.1;

    max-width:650px;

    margin:10px 0 15px;
}

.hero p{
    max-width:620px;

    color:#d0ccd8;

    line-height:1.6;
}


/* BUTTON */

.btn-primary{
    border:0;

    background:#6750a4;

    color:#fff;

    padding:12px 18px;

    border-radius:11px;

    cursor:pointer;

    font-weight:750;
}

.btn-primary:hover{
    background:#57418e;
}

.full{
    width:100%;
}


/* PHONE */

.android-phone{
    width:190px;
    height:320px;

    padding:6px;

    background:#111;

    border:6px solid #222;

    border-radius:30px;

    box-shadow:
        0 25px 60px #0008;
}

.phone-screen{
    height:100%;

    background:#fff;

    color:#222;

    border-radius:20px;

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:center;

    gap:8px;

    text-align:center;

    position:relative;
}

.phone-time{
    position:absolute;

    top:10px;

    font-size:9px;
}

.phone-logo{
    width:55px;
    height:55px;

    background:#6750a4;

    color:#fff;

    border-radius:14px;

    display:grid;
    place-items:center;

    font-size:25px;

    font-weight:900;
}

.phone-screen span{
    font-size:9px;

    color:#777;

    max-width:140px;

    overflow:hidden;
}


/* STATS */

.stats{
    display:grid;

    grid-template-columns:
        repeat(3,1fr);

    gap:16px;

    margin-top:18px;
}

.stat-card{
    background:#fff;

    border:1px solid #e5e6eb;

    border-radius:17px;

    padding:22px;
}

.stat-card span{
    display:block;

    color:#777;

    font-size:13px;
}

.stat-card strong{
    display:block;

    font-size:22px;

    margin-top:7px;
}


/* HEADER */

.section-header{
    display:flex;

    align-items:center;

    justify-content:space-between;

    margin-bottom:23px;
}

.section-header h2{
    margin:5px 0;

    font-size:30px;
}


/* BUILDER */

.builder{
    display:grid;

    grid-template-columns:
        1.15fr .85fr;

    gap:20px;
}

.studio-card{
    background:#fff;

    border:1px solid #e4e5eb;

    border-radius:18px;

    padding:23px;

    box-shadow:
        0 8px 30px rgba(0,0,0,.03);
}

form.studio-card{
    display:grid;

    gap:16px;
}

.form-title{
    font-size:17px;

    font-weight:800;

    margin-bottom:3px;
}

form label{
    font-size:13px;

    font-weight:700;
}

form label input{
    display:block;

    width:100%;

    margin-top:7px;

    padding:13px;

    border:1px solid #dfe1e7;

    border-radius:10px;

    outline:none;

    background:#fff;
}

form label input:focus{
    border-color:#6750a4;
}

form label small{
    display:block;

    color:#888;

    margin-top:5px;

    font-weight:400;
}

.options{
    display:grid;

    gap:9px;
}

.checkbox{
    font-weight:500 !important;
}

.checkbox input{
    width:auto !important;

    display:inline !important;

    margin-right:7px;
}


/* PREVIEW */

.preview-card{
    display:flex;

    flex-direction:column;

    align-items:center;
}

.preview-card .form-title{
    align-self:flex-start;
}

.preview-phone{
    width:225px;

    height:425px;

    padding:6px;

    background:#161616;

    border:6px solid #222;

    border-radius:31px;

    margin-top:10px;
}

.preview-screen{
    height:100%;

    background:#fff;

    border-radius:21px;

    overflow:hidden;
}

.browser-bar{
    height:26px;

    background:#eee;

    padding:7px;

    font-size:8px;

    color:#aaa;
}

.preview-content{
    text-align:center;

    padding:45px 14px;
}

.preview-app-logo{
    width:52px;
    height:52px;

    margin:auto;

    background:#6750a4;

    color:#fff;

    border-radius:13px;

    display:grid;

    place-items:center;

    font-weight:900;

    font-size:22px;
}

.preview-content h3{
    margin:12px 0 5px;
}

.preview-content p{
    font-size:10px;

    color:#777;

    word-break:break-all;
}

.preview-message{
    margin-top:35px;

    padding:14px;

    border-radius:10px;

    background:#f3f3f5;

    font-size:11px;

    color:#777;
}


/* RESULT */

.result{
    margin-top:18px;
}

.success{
    padding:20px;

    border-radius:14px;

    background:#eaf8ee;

    border:1px solid #b7e4c2;

    color:#176b2d;
}

.success a{
    display:inline-block;

    text-decoration:none;

    margin-top:10px;
}


/* PROJECT */

.project-list{
    display:grid;

    gap:12px;
}

.project{
    background:#fff;

    border:1px solid #e4e5eb;

    border-radius:15px;

    padding:18px;

    display:flex;

    align-items:center;

    justify-content:space-between;
}

.project small{
    display:block;

    color:#777;

    line-height:1.6;

    margin-top:5px;
}

.project a{
    text-decoration:none;
}


/* SETTINGS */

.settings-card{
    max-width:750px;
}

.settings-card h3{
    margin-top:0;
}

.settings-card p{
    color:#666;

    line-height:1.6;
}

.info{
    display:flex;

    justify-content:space-between;

    border-top:1px solid #eee;

    padding:15px 0;

    margin-top:5px;
}

.info span{
    color:#777;
}


/* MOBILE */

@media(max-width:850px){

    .sidebar{
        left:-270px;

        transition:.2s;
    }

    .sidebar.open{
        left:0;
    }

    .main{
        margin-left:0;

        width:100%;
    }

    .mobile-menu{
        display:block;
    }

    .topbar{
        padding:0 15px;

        gap:12px;
    }

    .search-box{
        width:100%;
    }

    .page{
        padding:20px 14px;
    }

    .hero{
        padding:28px;

        min-height:auto;
    }

    .hero h1{
        font-size:32px;
    }

    .android-phone{
        display:none;
    }

    .stats{
        grid-template-columns:1fr;
    }

    .builder{
        grid-template-columns:1fr;
    }

    .section-header{
        align-items:flex-start;

        gap:12px;
    }

    .section-header h2{
        font-size:25px;
    }

    .project{
        align-items:flex-start;

        gap:15px;

        flex-direction:column;
    }

}

@media(max-width:480px){

    .hero{
        padding:23px;
    }

    .hero h1{
        font-size:28px;
    }

    .studio-card{
        padding:17px;
    }

    .preview-phone{
        width:205px;
    }

}