/* ==== RESET GLOBAL (Sua base, excelente!) ==== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* ==== VARIÁVEIS DE CORES - Mude aqui para um novo tema! ==== */
:root {
  --cor-primaria: #00f5c0; /* Um verde/ciano neon vibrante */
  --cor-secundaria: #9400d3; /* Um roxo para contraste */
  --cor-fundo-1: #0a0a0a;
  --cor-fundo-2: #1a1a1a;
  --cor-texto: rgba(255, 255, 255, 0.9);
  --cor-texto-secundario: rgba(255, 255, 255, 0.6);
  --sombra-neon: 0 0 5px var(--cor-primaria), 0 0 15px var(--cor-primaria), 0 0 30px var(--cor-secundaria);
}

/* ==== ESTILOS GLOBAIS E EFEITO AURORA NO FUNDO ==== */
body {
  background-color: var(--cor-fundo-1);
  color: var(--cor-texto);
  font-family: 'Montserrat', sans-serif;
  line-height: 1.7;
  overflow-x: hidden; /* Previne scroll horizontal causado por efeitos */
  position: relative; /* Necessário para o pseudo-elemento do fundo */
}

/* Efeito Aurora - brilho sutil animado no fundo */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: radial-gradient(circle at 15% 25%, rgba(0, 245, 192, 0.2), transparent 40%),
              radial-gradient(circle at 85% 75%, rgba(148, 0, 211, 0.2), transparent 40%);
  animation: aurora-glow 15s infinite alternate ease-in-out;
}

@keyframes aurora-glow {
  from {
    transform: scale(1) rotate(0deg);
    opacity: 0.8;
  }
  to {
    transform: scale(1.2) rotate(15deg);
    opacity: 1;
  }
}

/* ==== TIPOGRAFIA E ELEMENTOS BÁSICOS ==== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
  animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

h1, h2, h3 {
  letter-spacing: 2px;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

h1 {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--cor-primaria), var(--cor-secundaria));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 20px rgba(0, 245, 192, 0.3);
}

h2 {
  font-size: 2rem;
  color: var(--cor-primaria);
  margin-top: 3rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(0, 245, 192, 0.2);
  display: inline-block;
}

p {
  color: var(--cor-texto-secundario);
  margin-bottom: 1.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

ul {
  list-style: none;
  padding: 0;
}

a {
  color: var(--cor-primaria);
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
}

a::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: linear-gradient(90deg, var(--cor-primaria), var(--cor-secundaria));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease-out;
}

a:hover {
  text-shadow: var(--sombra-neon);
}

a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ==== COMPONENTES: BOTÕES, CARDS, FORMULÁRIOS ==== */

/* Botão Neon */
.btn {
  display: inline-block;
  padding: 12px 30px;
  margin: 10px;
  border: 2px solid var(--cor-primaria);
  border-radius: 50px;
  background: transparent;
  color: var(--cor-primaria);
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  background: var(--cor-primaria);
  color: var(--cor-fundo-1);
  box-shadow: var(--sombra-neon);
  transform: translateY(-3px);
}

/* Grid de Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Card com Efeito Vidro (Glassmorphism) */
.card {
  background: rgba(26, 26, 26, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 30px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  transition: all 0.4s ease;
  text-align: left;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--cor-primaria);
    box-shadow: 0 0 25px rgba(0, 245, 192, 0.3);
}

.card h3 {
    color: var(--cor-primaria);
}

/* Formulários com Estilo */
input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  width: 100%;
  padding: 15px;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--cor-texto);
  transition: all 0.3s ease;
  outline: none;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--cor-primaria);
  box-shadow: 0 0 10px rgba(0, 245, 192, 0.5);
}

button {
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-family: inherit;
  font-size: 1rem;
}

