body{
    margin:0;
    font-family: Arial, Helvetica, sans-serif;
    background:#fafafa;
    color:#333;
}

.hero{
    padding:0;
}

.hero-banner{
    width:100%;
    height:auto;
    display:block;
}

.hero-logo{
    width:100%;
    max-width:100%;
    height:auto;
    margin-bottom:30px;
}

.hero h1{
    font-size:32px;
    margin-bottom:10px;
}

.hero-subtitle{
    font-size:18px;
    color:#666;
    margin-bottom:30px;
}

.btn-primary{
    display:inline-block;
    background:#2563eb;
    color:white;
    padding:12px 24px;
    border-radius:6px;
    text-decoration:none;
    font-size:16px;
}

.btn-primary:hover{
    background:#1d4ed8;
}

.section{
    max-width:900px;
    margin:auto;
    padding:35px 20px;
}

.section-gray{
    background:#f2f2f2;
}

.section h2{
    text-align:center;
    margin-bottom:25px;
}

.section p{
    line-height:1.6;
    margin-bottom:15px;
}

.list{
    max-width:500px;
    margin:auto;
}

.list li{
    margin-bottom:10px;
}

.features{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
    margin-top:30px;
}

.feature{
    background:white;
    padding:20px;
    border-radius:6px;
    border:1px solid #e5e5e5;
}

.feature h3{
    margin-top:0;
}

.code{
    background:#1e1e1e;
    color:#e5e5e5;
    padding:20px;
    border-radius:6px;
    overflow:auto;
    max-width:600px;
    margin:auto;
}

.cta{
    text-align:center;
}

.footer{
    border-top:1px solid #e5e5e5;
    padding:20px;
    font-size:14px;
    background:#ffffff;
}

.footer-content{
    max-width:900px;
    margin:auto;
    display:flex;
    justify-content:space-between;
    gap:20px;
}

.footer a{
    color: gray;
    text-decoration: none;
    transition: color 0.2s;
    font-weight: bold;
}

.footer a:hover{
    color: gray;
    text-decoration: underline;
}

@media (max-width:700px){

    .features{
        grid-template-columns:1fr;
    }
    
    .footer-content{
        flex-direction:column;
        text-align:center;
    }
    
    .hero h1{
        font-size:24px;
    }
    
    .hero-logo{
        max-width:260px;
    }
}


.code-tabs{
    max-width:700px;
    margin:auto;
}

.tabs{
    display:flex;
    gap:10px;
    margin-bottom:10px;
    justify-content:center;
}

.tab{
    background:#e5e5e5;
    border:none;
    padding:8px 14px;
    cursor:pointer;
    border-radius:5px;
    font-size:14px;
}

.tab.active{
    background:#2563eb;
    color:white;
}

.code-block{
    display:none;
    background:#1e1e1e;
    color: #ffffff; /* cor do texto do código */
    padding:20px 5px;
    border-radius:6px;
    overflow:auto;
    line-height: 1.5;
    counter-reset: line-counter; /* Inicializa o contador */
}

.code-block.active{
    display:block;
}

.examples-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
    margin-top:40px;
}

.example-card{
    background:#f7f7f7;
    padding:25px;
    border-radius:8px;
    border:1px solid #e5e5e5;
    transition:0.2s;
}

.example-card:hover{
    transform:translateY(-3px);
    box-shadow:0 6px 18px rgba(0,0,0,0.08);
}

.example-card h3{
    margin-bottom:10px;
    font-size:18px;
}

.example-card p{
    font-size:14px;
    color:#555;
}


/* Coloca números à esquerda do bloco de código */
.line {
  display: block;
  counter-increment: line-counter;
}

/* Exibe o número antes de cada linha */
.line::before {
  content: counter(line-counter); /* Mostra o número */
  display: inline-block;
  width: 2.5em;
  margin-right: 1em;
  color: #a7adba;
  text-align: right;
  border-right: 1px solid #a7adba;
  padding-right: 0.5em;
  
  /* Impede que o número seja selecionado ao copiar o código */
  user-select: none; 
}