/* =========================
   RESET E BASE
========================= */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  background:
    radial-gradient(circle at top left, rgba(16,185,129,0.08), transparent 30%),
    radial-gradient(circle at bottom right, rgba(59,130,246,0.06), transparent 25%),
    linear-gradient(135deg,#0b0f16 0%,#05070b 45%,#000000 100%);
    
  background-attachment: fixed;
  color:#f8fafc;
  font-family:'Segoe UI',Arial,sans-serif;
  min-height:100vh;
  overflow-x:hidden;
}

/* textura metálica sutil */
body::before{
  content:"";
  position:fixed;
  inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size:4px 4px;
  pointer-events:none;
  opacity:.35;
}

/* =========================
   HEADER
========================= */
header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:999;
  
  background:
    linear-gradient(to bottom,
    rgba(10,10,10,0.98),
    rgba(18,18,18,0.95));

  backdrop-filter:blur(10px);

  border-bottom:1px solid rgba(255,255,255,0.08);

  box-shadow:
    0 2px 20px rgba(0,0,0,.8),
    inset 0 -1px 0 rgba(255,255,255,.03);

  padding:18px 40px;
}

header nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

/* =========================
   MAIN
========================= */
main{
  width:95%;
  max-width:1400px;
  margin:0 auto;
  padding-top:120px;
  padding-bottom:80px;
}

/* =========================
   TITULOS
========================= */
h1{
  font-size:52px;
  text-align:center;
  font-weight:800;
  letter-spacing:2px;
  margin-bottom:15px;

  color:#ffffff;

  text-shadow:
    0 0 12px rgba(255,255,255,0.08),
    0 2px 8px rgba(0,0,0,.8);
}

h2{
  text-align:center;
  font-size:24px;
  font-weight:400;
  color:#d1d5db;
  margin-bottom:25px;
}

h3{
  font-size:20px;
  font-weight:600;
  color:#f3f4f6;
  margin-bottom:15px;
}

/* =========================
   PARÁGRAFOS
========================= */
p{
  color:#bfc7d2;
  font-size:16px;
  line-height:1.8;
  max-width:1100px;
  margin:0 auto 30px auto;
  text-align:center;
}

/* =========================
   TABELAS
========================= */
table{
  width:100%;
  border-collapse:collapse;

  background:
    linear-gradient(
      180deg,
      rgba(12,16,24,.92),
      rgba(6,8,12,.96)
    );

  border-radius:18px;
  overflow:hidden;

  border:1px solid rgba(255,255,255,0.08);

  box-shadow:
    0 0 0 1px rgba(255,255,255,0.02),
    0 10px 30px rgba(0,0,0,.75);
}

/* cabeçalho */
th{
  background:
    linear-gradient(to bottom,
    rgba(24,28,38,1),
    rgba(12,15,22,1));

  color:#ffffff;
  font-size:14px;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-weight:700;

  padding:18px 16px;
  text-align:left;

  border-bottom:2px solid #10b981;
}

/* células */
td{
  padding:18px 16px;
  color:#e5e7eb;
  border-bottom:1px solid rgba(255,255,255,0.06);
  transition:.25s ease;
}

/* hover linha */
tr:hover td{
  background:rgba(255,255,255,0.03);
}

/* valores positivos */
.positive{
  color:#22c55e;
  font-weight:700;
}

/* valores negativos */
.negative{
  color:#ef4444;
  font-weight:700;
}

/* =========================
   BOTÕES
========================= */
.btn{
  background:
    linear-gradient(to bottom,
    #374151,
    #1f2937);

  color:#ffffff;
  border:1px solid rgba(255,255,255,0.15);

  padding:12px 26px;
  border-radius:8px;

  text-decoration:none;
  font-weight:700;
  letter-spacing:.03em;

  cursor:pointer;

  transition:all .3s ease;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 4px 10px rgba(0,0,0,.6);
}

/* hover verde igual da imagem */
.btn:hover{
  background:
    linear-gradient(to bottom,
    #10b981,
    #047857);

  border-color:#34d399;

  transform:translateY(-2px);

  box-shadow:
    0 0 20px rgba(16,185,129,.35),
    0 8px 20px rgba(0,0,0,.6);
}

/* botão secundário */
.btn2{
  background:#1f2937;
  color:#e5e7eb;

  border:1px solid rgba(255,255,255,.08);

  padding:10px 18px;
  border-radius:8px;

  transition:.25s ease;
  cursor:pointer;
}

.btn2:hover{
  background:#374151;
  color:#ffffff;
}

/* =========================
   INPUTS E FORMULÁRIOS
========================= */
label{
  display:block;
  margin-bottom:8px;
  font-size:14px;
  font-weight:600;
  color:#d1d5db;
}

input,
select{
  width:100%;

  background:
    linear-gradient(to bottom,
    rgba(20,24,32,.95),
    rgba(10,12,18,.98));

  border:1px solid rgba(255,255,255,0.08);

  color:#ffffff;

  padding:14px 16px;
  border-radius:10px;

  font-size:15px;

  transition:.25s ease;
}

input:focus,
select:focus{
  outline:none;

  border-color:#10b981;

  box-shadow:
    0 0 0 3px rgba(16,185,129,.15),
    0 0 18px rgba(16,185,129,.18);
}

/* =========================
   CONTAINERS
========================= */
.container{
  width:100%;
  text-align:center;
}

/* =========================
   GRID DOS CARDS
========================= */
.grid-container{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;

  margin-top:35px;
}

/* cards */
.box,
.box3{
  position:relative;

  background:
    linear-gradient(
      180deg,
      rgba(16,20,28,.92),
      rgba(8,10,16,.96)
    );

  border:1px solid rgba(255,255,255,.06);

  border-radius:18px;

  padding:28px;

  overflow:hidden;

  box-shadow:
    0 10px 25px rgba(0,0,0,.7),
    inset 0 1px 0 rgba(255,255,255,.03);

  transition:.3s ease;
}

/* brilho superior verde */
.box::before,
.box3::before{
  content:"";
  position:absolute;
  top:0;
  left:0;

  width:100%;
  height:3px;

  background:
    linear-gradient(to right,
    #10b981,
    #22c55e,
    transparent);
}

/* hover cards */
.box:hover,
.box3:hover{
  transform:translateY(-4px);

  box-shadow:
    0 14px 30px rgba(0,0,0,.85),
    0 0 20px rgba(16,185,129,.08);
}

.box{
  text-align:left;
}

.box3{
  text-align:center;
}

/* =========================
   FOOTER
========================= */
footer{
  margin-top:60px;

  background:
    linear-gradient(to top,
    #050505,
    #0a0a0a);

  border-top:1px solid rgba(255,255,255,.06);

  color:#6b7280;

  padding:25px;

  text-align:center;
}

/* =========================
   ALINHAMENTOS
========================= */
.align-right{
  text-align:right;
}

.align-left{
  text-align:left;
}

/* =========================
   RESPONSIVIDADE
========================= */
@media(max-width:1100px){

  .grid-container{
    grid-template-columns:repeat(2,1fr);
  }

  h1{
    font-size:42px;
  }
}

@media(max-width:768px){

  header{
    padding:15px 20px;
  }

  main{
    width:100%;
    padding-left:12px;
    padding-right:12px;
  }

  .grid-container{
    grid-template-columns:1fr;
  }

  table{
    font-size:13px;
  }

  th,
  td{
    padding:12px 10px;
  }

  h1{
    font-size:34px;
  }

  h2{
    font-size:20px;
  }
}

@media(max-width:480px){

  h1{
    font-size:28px;
  }

  p{
    font-size:14px;
  }

  .btn{
    width:100%;
    text-align:center;
  }
}

/* =========================
   FOOTER NOVO
========================= */

.footer{
    position:fixed;
    bottom:0;
    left:0;

    width:100%;

    display:flex;
    justify-content:center;
    align-items:center;
    gap:25px;

    padding:18px 25px;

    background:
        linear-gradient(
            to top,
            #050505,
            #101010
        );

    border-top:1px solid rgba(255,255,255,0.08);

    box-shadow:
        0 -5px 20px rgba(0,0,0,0.7);

    z-index:999;
}

.footer p{
    margin:0;
    color:#d1d5db;
    font-size:14px;
    letter-spacing:1px;
    font-weight:500;
}

/* botão home */

.home-btn{
    background:
        linear-gradient(
            to bottom,
            #10b981,
            #047857
        );

    border:none;

    color:white;

    padding:12px 28px;

    border-radius:10px;

    font-weight:bold;
    letter-spacing:1px;

    cursor:pointer;

    transition:0.3s ease;

    box-shadow:
        0 4px 15px rgba(16,185,129,0.35);
}

.home-btn:hover{

    transform:translateY(-2px);

    background:
        linear-gradient(
            to bottom,
            #22c55e,
            #059669
        );

    box-shadow:
        0 6px 20px rgba(16,185,129,0.5);
}