@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap');

:root {
  --primary: #A7103F;
  --primary-hover: #8A0D34;
  --bg-dark: #0A0A0A;
  --text-main: #FFFFFF;
  --text-muted: #A0A0A0;
  --glass-bg: rgba(20, 20, 20, 0.65);
  --glass-border: rgba(255, 255, 255, 0.08);
}

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

body {
  margin: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  text-align: center;
  overflow: hidden;
  position: relative;
}

/* Fundo Animado - Glow Central */
body::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70vw;
  height: 70vw;
  background: radial-gradient(circle, rgba(167, 16, 63, 0.15) 0%, rgba(10, 10, 10, 0) 65%);
  z-index: 0;
  pointer-events: none;
}



/* Container Principal (Glassmorphism) */
.container {
  position: relative;
  z-index: 10;
  background: var(--glass-bg);
  padding: 40px 30px;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  max-width: 400px;
  width: 90%;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255,255,255,0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* Barra de Progresso */
.progress-wrapper {
  margin-bottom: 25px;
  text-align: left;
}

.progress-text {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  width: 90%;
  background: var(--primary);
  border-radius: 10px;
  box-shadow: 0 0 10px var(--primary);
  animation: progressPulse 2s infinite alternate;
}

@keyframes progressPulse {
  0% { opacity: 0.8; box-shadow: 0 0 5px var(--primary); }
  100% { opacity: 1; box-shadow: 0 0 15px var(--primary); }
}

/* Foto e Textos */
.logo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 2px solid var(--primary);
  box-shadow: 0 0 20px rgba(167, 16, 63, 0.4);
  filter: blur(2px);
}

h1 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-main);
}

p {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 25px;
  color: var(--text-muted);
}

/* Form inputs e botão */
.input-group {
  position: relative;
  margin-bottom: 20px;
}

input {
  width: 100%;
  padding: 15px 15px 15px 45px;
  font-size: 15px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  color: var(--text-main);
  outline: none;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
}

input::placeholder {
  color: rgba(255,255,255,0.4);
}

input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(167, 16, 63, 0.2);
}

.input-icon {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  fill: var(--text-muted);
  transition: fill 0.3s ease;
}

input:focus + .input-icon {
  fill: var(--primary);
}

button {
  background: var(--primary);
  color: #FFF;
  border: none;
  padding: 16px 20px;
  font-size: 16px;
  border-radius: 10px;
  cursor: pointer;
  width: 100%;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 4px 15px rgba(167, 16, 63, 0.4);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

button:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(167, 16, 63, 0.6);
}

button:active {
  transform: translateY(0);
}

button:disabled {
  background: #555;
  color: #CCC;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Selos de Segurança */
.security-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
}

.badge {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
}

.badge svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}
