/* ==========================
   MOZAPI DESIGN SYSTEM
========================== */

:root {

    --bg:#050505;
    --surface:#101010;
    --surface-hover:#151515;

    --border:#242424;

    --text:#ffffff;
    --secondary:#9CA3AF;

    --accent:#64748B;
    --accent-soft:rgba(100,116,139,.15);

    --radius:18px;

    --transition:.3s ease;
}


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


html{
    scroll-behavior:smooth;
}


body{

    background:var(--bg);

    color:var(--text);

    font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

    min-height:100vh;

}


a{

    color:inherit;
    text-decoration:none;

}


hr{

    border:0;

    height:1px;

    background:var(--border);

    margin:40px 0;

}



/* LOGO */

.logo{

    width:max-content;

    margin:30px auto;

    font-size:28px;

    font-weight:700;

    letter-spacing:-1px;

}


.logo::before{

    content:"MOZAPI";

}



/* CONTAINER */


.container{

    width:min(900px,90%);

    margin:auto;

    text-align:center;

}



/* TITULOS */


h2,
h3{

    font-size:clamp(28px,5vw,46px);

    line-height:1.1;

    letter-spacing:-1px;

}


h3 span{

    color:var(--accent);

}


del{

    color:#666;

}



/* TEXTOS */


.slogan{

    color:var(--secondary);

    font-size:16px;

    line-height:1.7;

    margin:12px auto;

    max-width:650px;

}



.branco{

    color:white;

}



/* BOTÕES */


#botao,
#botao2{


    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:8px;


    padding:13px 24px;

    margin:8px;


    border-radius:14px;

    transition:var(--transition);

    font-weight:600;


}



#botao{

    background:white;

    color:black;

}


#botao:hover{

    transform:translateY(-2px);

    

}



#botao2{

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

    background:var(--surface);

}



#botao2:hover{

    border-color:#3f3f3f;

}



/* CARDS */

.card,
.card2{


    background:var(--surface);

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

    border-radius:var(--radius);

    padding:20px;

    transition:var(--transition);

    margin-bottom: 10%;

}



.card2{


    display:inline-block;

    width:260px;

    margin:10px;

    vertical-align:top;

}



.card:hover,
.card2:hover{


    border-color:#3f3f3f;

    transform:translateY(-3px);

}



/* NUMEROS */

/*#h4,*/

#h42{

    font-size:28px;

    color:white;

}



#ph4{

    color:var(--secondary);
    font-size: 16px;
}

#ph42{
color:var(--text);
    font-size: 16px;
}
/* CIRCULO */

.circulo{


    width:60px;

    height:60px;

    border-radius:50%;

    background:var(--surface);

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


    display:flex;

    align-items:center;

    justify-content:center;


    margin:20px auto;

}



/* LINKS */


.link{

    display:block;

}



/* DESTAQUE */


#destaque{

    min-height:50px;

}



/* BOTÃO PLANO */


.upgrade-btn{


    margin:30px;

    padding:14px 24px;


    background:transparent;

    color:white;

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

    border-radius:14px;


    cursor:pointer;

    transition:.3s;

}


.upgrade-btn:hover{

    background:white;

    color:black;

    border-color:#3f3f3f;

}



/* FOOTER */


.fim{


    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:20px;


}


.bott{

    color:var(--secondary);

    font-size:14px;

}


.bott:hover{

    color:white;

}



.bm{

    text-align:center;

    color:#666;

    margin:30px;

}



/* MOBILE */


@media(max-width:700px){


.card2{

    width:100%;

    margin:10px 0;

}


h2,
h3{

    font-size:32px;

}


.container{

    width:92%;

}


}











/* ==========================
   FORMULÁRIOS
========================== */

.cadastro-card{
    max-width:560px;
    margin:32px auto;
    padding:32px;
}

#cadastro{
    display:flex;
    flex-direction:column;
    gap:22px;
}

.form-group{
    display:flex;
    flex-direction:column;
    text-align:left;
}

.form-group label{
    color:var(--text);
    font-size:14px;
    font-weight:600;
    margin-bottom:8px;
}

.form-group input{
    width:100%;

    padding:14px 16px;

    background:var(--bg);

    color:var(--text);

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

    border-radius:14px;

    font-size:15px;

    transition:var(--transition);

    outline:none;
}

.form-group input::placeholder{
    color:var(--secondary);
}

.form-group input:focus{
    border-color:var(--accent);
    box-shadow:0 0 0 3px rgba(100,116,139,.15);
}

.btn-primary,
button[type="submit"]{
    width:100%;

    padding:15px;

    border:none;

    border-radius:14px;

    background:#fff;

    color:#000;

    font-size:15px;

    font-weight:700;

    cursor:pointer;

    transition:var(--transition);
}

.btn-primary:hover,
button[type="submit"]:hover{
    transform:translateY(-2px);

    border-color:#3f3f3f;
}

.btn-primary:active,
button[type="submit"]:active{
    transform:scale(.98);

    border-color:#3f3f3f;
}

.branco {
 color:white;
}



/* ==========================
   API KEY
========================== */

#apikey{
    margin:20px 0;
    padding:16px;

    background:var(--bg);
    border:1px solid var(--border);
    border-radius:14px;

    color:var(--text);

    font-family:ui-monospace,SFMono-Regular,Consolas,monospace;
    font-size:14px;

    word-break:break-all;
    text-align:left;

    user-select:all;
}

#copyKey,
#newKey{

    width:100%;

    margin-top:14px;
    padding:14px 18px;

    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;

    border-radius:14px;

    cursor:pointer;

    font-size:15px;
    font-weight:600;

    transition:var(--transition);
}

#copyKey{

    background:#fff;
    color:#000;
    border:none;

}

#newKey{

    background:var(--surface);
    color:#fff;
    border:1px solid var(--border);

}

#copyKey:hover,
#newKey:hover{

    transform:translateY(-2px);

    border-color:#3f3f3f;

}

#copyKey svg,
#newKey svg{

    width:18px;
    height:18px;

    flex-shrink:0;

}

#copyKey span,
#newKey span{

    display:flex;
    align-items:center;

}
/*INFO ROWWW*/


.info-row{
    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:14px 18px;
    margin:10px 0;

    background:rgba(255,255,255,.02);

    border:1px solid var(--border);
    border-radius:14px;

    transition:var(--transition);
}

.info-row:hover{
    border-color:#3f3f3f;
    background:rgba(100,116,139,.08);
}

.label{
    color:var(--secondary);
    font-size:14px;
    font-weight:500;
    letter-spacing:.2px;
}


.value{
    background:rgba(100,116,139,.12);
    border:1px solid rgba(100,116,139,.25);
    color:#fff;

    padding:6px 12px;
    border-radius:999px;

    font-size:13px;
    font-weight:600;
}


/*botao LOGOUT
#logout{

    width:100%;

    max-width:320px;

    margin:40px auto;

    display:block;

    padding:15px;

    border-radius:14px;

    background:transparent;

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

    color:white;

    cursor:pointer;

    transition:var(--transition);

}

#logout:hover{

    background:#1a1a1a;

    border-color:#555;

}
*/
.span2 {
color: #666
}

.span {
color:#3f3f3f;
}

.span3 {
color: #9bd494;
}

.titulos {
font-size: 20px;
}




/*FERRAMENTAS*/



.tools-grid{
    display:grid;
    gap:14px;
    margin-top:20px;
}

.tool-card{
    display:flex;
    align-items:center;
    gap:16px;

    padding:18px;

    background:rgba(255,255,255,.02);

    border:1px solid var(--border);
    border-radius:16px;

    transition:var(--transition);
}

.tool-card:hover{
    border-color:#3f3f3f;

    background:rgba(100,116,139,.08);
    transform:translateY(-2px);
}

.tool-card svg{
    width:22px;
    height:22px;
    fill:var(--accent);

    flex-shrink:0;
}

.tool-card h4{
    margin:0;
    color:var(--text);
    font-size:15px;
    font-weight:600;
}

.tool-card p{
    margin-top:4px;
    color:var(--secondary);
    font-size:13px;
}


#logout{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;

    width:100%;
    max-width:320px;

    margin:30px auto;

    padding:15px;

    background:transparent;

    color:var(--text);

    border:1px solid var(--border);
    border-radius:16px;

    cursor:pointer;

    transition:var(--transition);
}

#logout:hover{
    background:rgba(100,116,139,.08);
    border-color:#3f3f3f;
}

#logout svg{
    width:18px;
    height:18px;
    color:var(--accent);
}




h3 {
  display: flex;
  align-items: center;
  justify-content: center; 
  gap: 8px;
  margin: 0;
}

h3 svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.svg svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

#copyKey svg{
    width:18px;
    height:18px;
    flex-shrink:0;
}

#endpoint{

    width:100%;

    margin:14px 0 22px;

    padding:14px 16px;

    background:var(--bg);

    color:var(--text);

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

    border-radius:14px;

    font-size:15px;

    outline:none;

    transition:var(--transition);

}

#endpoint:focus{

    border-color:#3f3f3f;

    box-shadow:0 0 0 3px rgba(100,116,139,.15);

}


#query{

    width:100%;

    margin-top:10px;

    padding:14px 16px;

    background:var(--bg);

    color:var(--text);

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

    border-radius:14px;

    font-size:15px;

    outline:none;

    transition:var(--transition);

}

#query:focus{

    border-color:#3f3f3f;

    box-shadow:0 0 0 3px rgba(100,116,139,.15);

}



#testApi{

    width:100%;

    margin-top:24px;

    padding:15px;

    border:none;

    border-radius:14px;

    background:#fff;

    color:#000;

    font-size:15px;

    font-weight:700;

    cursor:pointer;

    transition:var(--transition);

}

#testApi:hover{

    transform:translateY(-2px);
    border-color:#3f3f3f;

}


#result{

    margin-top:20px;

    padding:18px;

    min-height:240px;

    background:var(--bg);

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

    border-radius:16px;

    color:var(--text);

    font-size:14px;

    line-height:1.7;

    white-space:pre-wrap;

    overflow:auto;

    font-family:
    ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;

}


#voltar{

    display:flex;

    justify-content:center;

    align-items:center;

    width:280px;

    margin:30px auto;

    padding:14px;

    background:transparent;

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

    border-radius:14px;

    color:var(--secondary);

    transition:var(--transition);

}

#voltar:hover{

    background:rgba(100,116,139,.08);

    color:var(--text);

    border-color:#3f3f3f;

}

.t0 {
text-align: center;
font-size: 25px;
margin-bottom: 15px;
}





/* MODAL CONTA SUSPENSA */

.modal{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.75);

    display:none;

    justify-content:center;

    align-items:center;

    z-index:9999;

}


.modal.active{

    display:flex;

}


.modal-card{

    width:420px;

    max-width:90%;

    background:var(--surface);

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

    border-radius:18px;

    padding:24px;

    box-shadow:0 20px 60px rgba(0,0,0,.5);

}


.modal-card h3{

    margin:0 0 12px;

    color:var(--text);

}


.modal-card p{

    color:var(--secondary);

    line-height:1.6;

}


/* Informações da suspensão */

.info-box{

    margin-top:20px;

    padding:16px;

    background:var(--bg);

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

    border-radius:14px;

}


.info-item{

    display:flex;

    justify-content:space-between;

    gap:15px;

    padding:10px 0;

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

}


.info-item:last-child{

    border-bottom:none;

}


.info-item span{

    color:var(--secondary);

}


.info-item strong{

    color:var(--text);

}



/* Botões */

.modal-actions{

    display:flex;

    justify-content:flex-end;

    gap:12px;

    margin-top:25px;

}


.modal-actions button{

    padding:11px 18px;

    border-radius:10px;

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

    background:transparent;

    color:var(--text);

    cursor:pointer;

    transition:.3s ease;

}


.modal-actions button:hover{


border-color:#3f3f3f;

}



/* Botão suporte */

.modal-actions .danger{

    background:#dc2626;

    border:none;

    color:#fff;

}


.modal-actions .danger:hover{

    opacity:.85;

}



.review-form{

    margin-top:20px;

}


.review-form h4{

    margin-bottom:10px;

}


.review-form p{

    color:var(--secondary);

    line-height:1.5;

}



.review-form textarea{

    width:100%;

    min-height:120px;

    resize:vertical;

    margin-top:15px;

    padding:14px;

    border-radius:14px;

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

    background:var(--bg);

    color:var(--text);

    font-size:14px;

    outline:none;

    transition:var(--transition);

    box-sizing:border-box;

}



.review-form textarea::placeholder{

    color:var(--secondary);

}



.review-form textarea:focus{

border-color:#3f3f3f;
    background:var(--surface-hover);

}



.review-form .modal-actions button{

    background:var(--surface);

    color:var(--text);

}



.review-form .modal-actions button:hover{

border-color:#3f3f3f;
}


#reviewCount{

    display:block;

    margin-top:8px;

    color:var(--secondary);

    font-size:12px;

    text-align:right;

}





/* Botão GOOGLE*/

#googleSignUp,
#googleSignIn{

    width:100%;
    margin-top:16px;
    border-radius:14px;
    overflow:hidden;
    background:transparent;
    border:1px solid #242424;
    color:white;
    transition:.25s ease;

}

#googleSignUp:hover,
#googleSignIn:hover{

border-color:#3f3f3f;
    box-shadow:
    0 0 18px rgba(56,189,248,.18);

}



svg { 
color:white;
}



a #svg{

    width:22px;

    height:22px;

    color:white;

    flex-shrink:0;

}




.nav-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
}

.nav-brand img {
    width: 88px;
    height: 88px;
    border-radius: 10px;
    object-fit: contain;
    margin: 0;
}



.phone-group {
    display: flex;
    gap: 8px;
    width: 100%;
}

.phone-group select {
    width: 115px;
    border-radius:14px;
    flex-shrink: 0;
    background: var(--bg);
    color: var(--secondary);
    padding:10px;
     border:1px solid var(--border);

}

.phone-group input {
    flex: 1;
    min-width: 0;
}

.terms-group {
    margin: 18px 0;
}

.terms-label {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 12px;
    line-height: 1.5;
    cursor: pointer;
}

.terms-label input {
    width: 15px;
    height: 15px;
    margin-top: 2px;
    flex-shrink: 0;
}

.terms-label a {
    color: #38BDF8;
    text-decoration: none;
}

.terms-label a:hover {
    text-decoration: underline;
}

.terms-note {
    margin: 7px 0 0 24px;
    font-size: 11px;
    line-height: 1.5;
    color: #9CA3AF;
}


.phone-group select:focus{

border-color:var(--accent);
    box-shadow:0 0 0 3px rgba(100,116,139,.15);
}

#branco{
text-decoration: underline;
color:white;
}


.expiration-alert {
    width: 100%;
    margin-top: 8px;
    display: flex;
    justify-content: center;
}

.expiration-alert-content {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: #ef4444;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
}

.expiration-alert-content svg {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    stroke: #ef4444;
    color: #ef4444;
}
