/* ============================================================
   EduHub — login.css  (versão profissional)
   Paleta: azul profundo + ciano elétrico + branco
   Teoria das cores: azul → foco, confiança, inteligência
   Acento ciano → energia, modernidade, destaque
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,300&display=swap');

:root {
  --navy:        #050e2e;
  --navy-mid:    #091535;
  --blue-deep:   #0d2167;
  --blue:        #1354e8;
  --blue-bright: #2b6fff;
  --cyan:        #00c2ff;
  --cyan-dim:    rgba(0,194,255,.18);
  --cyan-glow:   rgba(0,194,255,.35);
  --white:       #ffffff;
  --white-80:    rgba(255,255,255,.80);
  --white-55:    rgba(255,255,255,.55);
  --white-30:    rgba(255,255,255,.30);
  --white-12:    rgba(255,255,255,.12);
  --white-06:    rgba(255,255,255,.06);
}

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

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--navy);
  min-height: 100vh;
  display: flex;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  position: relative;
}

/* ── Fundo: grade de pontos ── */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image:
    radial-gradient(circle, rgba(0,194,255,.12) 1px, transparent 1px);
  background-size: 36px 36px;
  z-index: 0;
  pointer-events: none;
}

/* ── Onda principal ── */
body::after {
  content: '';
  position: fixed;
  bottom: -8%;
  right: -4%;
  width: 56vw;
  height: 92vh;
  background: linear-gradient(145deg, var(--blue) 0%, var(--blue-deep) 60%, var(--navy-mid) 100%);
  border-radius: 62% 0 0 38% / 58% 0 0 48%;
  z-index: 0;
  pointer-events: none;
}

/* ── Orbe de brilho ciano (acento) ── */
.orb {
  position: fixed;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--cyan-glow) 0%, transparent 70%);
  bottom: -80px; right: 18%;
  z-index: 1;
  pointer-events: none;
  animation: pulse-orb 6s ease-in-out infinite;
}
@keyframes pulse-orb {
  0%,100% { opacity: .7; transform: scale(1); }
  50%      { opacity: 1;  transform: scale(1.12); }
}

/* ── Linha decorativa ciano ── */
.deco-line {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom,
    transparent 0%,
    var(--cyan) 30%,
    var(--blue-bright) 70%,
    transparent 100%);
  z-index: 2;
  opacity: .6;
}

/* ── PERSONAGEM ── */
.illustration-side {
  position: absolute;
  right: 3%;
  bottom: 60px;
  width: 60%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  z-index: 3;
}
.student-image {
  width: 100%;
  max-width: 1000px;
  object-fit: contain;
  animation: floating 4s ease-in-out infinite;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,.5))
          drop-shadow(0 0 40px rgba(0,194,255,.15));
}

@keyframes floating {
  0% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-20px) scale(1.02);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

/* ── MAIN ── */
main {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: 480px;
  padding: 52px 64px;
  margin-left: 5vw;
  animation: slideIn .55s cubic-bezier(.22,1,.36,1) both;
}
@keyframes slideIn {
  from { opacity: 0; transform: translateX(-24px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ── Logo ── */
.logo-container { text-align: center; margin-bottom: 18px; }
.logo { width: 80px; height: auto; filter: drop-shadow(0 0 12px var(--cyan-glow)); }

/* ── Título ── */
h1 {
  font-family: 'Playfair Display', serif;
  font-size: 54px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 8px;
  text-shadow: 0 0 40px var(--cyan-glow);
}

/* Sublinhado ciano decorativo no título */
h1 span {
  position: relative;
  display: inline-block;
}
h1 span::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  border-radius: 2px;
}

.subtitle {
  font-size: 13px;
  font-weight: 300;
  color: var(--white-55);
  margin-bottom: 36px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ── Card glassmorphism ── */
.form-card {
  background: var(--white-06);
  border: 1px solid var(--white-12);
  border-radius: 18px;
  padding: 32px 28px 24px;
  backdrop-filter: blur(12px);
  box-shadow:
    0 8px 32px rgba(0,0,0,.25),
    inset 0 1px 0 var(--white-12);
}

/* ── Alerta ── */
.alert {
  background: rgba(0,194,255,.1);
  border-left: 3px solid var(--cyan);
  color: var(--white-80);
  padding: 10px 14px;
  border-radius: 8px;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 500;
}

/* ── Campos ── */
.form-group {
  position: relative;
  margin-bottom: 34px;
}

/* LABEL */
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* INPUT */
.form-group input {
  width: 100%;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;

  padding: 14px 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: var(--white);

  outline: none;
  caret-color: var(--cyan);

  transition: all .25s ease;

  box-shadow: inset 0 0 0 rgba(0,0,0,0);
}

/* PLACEHOLDER */
.form-group input::placeholder {
  color: rgba(255,255,255,.35);
}

/* HOVER */
.form-group input:hover {
  border-color: rgba(0,194,255,.4);
}

/* FOCUS */
.form-group input:focus {
  border-color: var(--cyan);
  background: rgba(0,194,255,.06);
  box-shadow:
    0 0 0 3px rgba(0,194,255,.12),
    0 10px 28px rgba(0,0,0,.25);
  transform: translateY(-1px);
}

/* LINHA CIANO ANIMADA */
.form-group::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--blue-bright));
  border-radius: 2px;
  transition: width .35s cubic-bezier(.22,1,.36,1);
}

.form-group:focus-within::after {
  width: 100%;
}

/* ── Botão ── */
.btn-submit {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, var(--blue-bright) 0%, var(--blue) 100%);
  border: none;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 4px;
  position: relative;
  overflow: hidden;
  transition: transform .15s, box-shadow .15s;
  box-shadow:
    0 4px 20px rgba(68, 85, 245, 0.5),
    inset 0 1px 0 rgba(255,255,255,.15);
}
/* Brilho ciano no hover */
.btn-submit::before {
  content: '';
  position: absolute;
  top: -50%; left: -75%;
  width: 50%; height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
  transform: skewX(-20deg);
  transition: left .4s ease;
}
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(43,111,255,.65), inset 0 1px 0 rgba(255,255,255,.15);
}
.btn-submit:hover::before { left: 140%; }
.btn-submit:active { transform: translateY(0); }

/* ── Links ── */
.footer-links {
  margin-top: 20px;
  text-align: center;
}
.footer-links a {
  font-size: 13px;
  color: var(--white-55);
  text-decoration: none;
  transition: color .2s;
  letter-spacing: .02em;
}
.footer-links a:hover { color: var(--cyan); }

.access-info {
  margin-top: 14px;
  text-align: center;
  color: var(--white-30);
  font-size: 11px;
  letter-spacing: .04em;
  line-height: 1.6;
}

/* ── Responsivo ── */
@media (max-width: 900px) {
  .illustration-side { display: none; }
  main { margin-left: 0; max-width: 100%; padding: 48px 32px; }
  .orb { display: none; }
}
@media (max-width: 640px) {
  body::after {
    width: 100vw; height: 40vh;
    bottom: 0; right: 0;
    border-radius: 60% 60% 0 0 / 30% 30% 0 0;
  }
  h1 { font-size: 40px; }
  main { padding: 40px 24px; }
}

