* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, #00d5ff33, transparent 30%),
    radial-gradient(circle at bottom right, #7c3aed44, transparent 35%),
    #070d1d;
  color: white;
}

.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 520px;
  gap: 30px;
  padding: 38px;
  align-items: center;
}

.auth-left {
  padding: 50px;
}

.brand,
.mobile-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo {
  width: 58px;
  height: 58px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #16c7f3, #7c3aed);
  font-weight: 900;
  box-shadow: 0 22px 55px rgba(124,58,237,.35);
}

.brand h1,
.mobile-brand h1 {
  font-size: 34px;
}

.brand p,
.mobile-brand p {
  color: #94a3b8;
  margin-top: 3px;
}

.headline {
  margin-top: 70px;
  max-width: 720px;
}

.headline span {
  display: inline-block;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #93c5fd;
  font-weight: 800;
  margin-bottom: 18px;
}

.headline h2 {
  font-size: 54px;
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: 18px;
}

.headline p {
  color: #cbd5e1;
  font-size: 18px;
  line-height: 1.7;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 38px;
  max-width: 800px;
}

.features div {
  padding: 22px;
  border-radius: 24px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(18px);
}

.features i {
  width: 30px;
  height: 30px;
  color: #60a5fa;
  margin-bottom: 14px;
}

.features p {
  color: #e2e8f0;
  font-weight: 700;
}

.auth-card {
  width: 100%;
  padding: 30px;
  border-radius: 34px;
  background: rgba(15, 23, 42, .88);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 35px 100px rgba(0,0,0,.55);
  backdrop-filter: blur(22px);
  animation: pop .35s ease;
}

.mobile-brand {
  display: none;
  margin-bottom: 24px;
}

.tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  background: rgba(255,255,255,.07);
  padding: 7px;
  border-radius: 20px;
  margin-bottom: 26px;
}

.tab {
  border: none;
  padding: 14px;
  border-radius: 15px;
  background: transparent;
  color: #cbd5e1;
  font-weight: 900;
  cursor: pointer;
  transition: .25s;
}

.tab.active {
  background: white;
  color: #0f172a;
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
}

.form {
  display: none;
  animation: fadeUp .28s ease;
}

.form.active {
  display: block;
}

.form-head {
  margin-bottom: 22px;
}

.form-head h2 {
  font-size: 30px;
  margin-bottom: 7px;
}

.form-head p {
  color: #94a3b8;
  line-height: 1.5;
}

.input-box {
  position: relative;
  margin-bottom: 15px;
}

.input-box i {
  position: absolute;
  top: 17px;
  left: 18px;
  width: 22px;
  height: 22px;
  color: #cbd5e1;
}

.input-box input {
  width: 100%;
  padding: 17px 18px 17px 55px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 19px;
  background: rgba(255,255,255,.08);
  outline: none;
  color: white;
  font-size: 16px;
  transition: .25s;
}

.input-box input:focus {
  border-color: #60a5fa;
  box-shadow: 0 0 0 4px rgba(96,165,250,.12);
}

.input-box input::placeholder {
  color: #94a3b8;
}

.btn {
  width: 100%;
  border: none;
  padding: 17px;
  border-radius: 19px;
  background: linear-gradient(135deg, #16c7f3, #7c3aed);
  color: white;
  font-weight: 900;
  font-size: 16px;
  cursor: pointer;
  margin-top: 6px;
  box-shadow: 0 20px 50px rgba(124,58,237,.28);
  transition: .25s;
}

.btn:hover {
  transform: translateY(-3px);
}

.google {
  width: 100%;
  border: none;
  padding: 15px;
  border-radius: 18px;
  background: white;
  color: #111827;
  font-weight: 900;
  cursor: pointer;
  margin-top: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.google span {
  color: #ef4444;
  font-weight: 900;
}

.link {
  text-align: center;
  margin-top: 18px;
  color: #93c5fd;
  cursor: pointer;
  font-weight: 700;
}

.note {
  color: #94a3b8;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
  margin-top: 16px;
}

#message {
  margin-top: 18px;
  text-align: center;
  color: #facc15;
  font-weight: 700;
  line-height: 1.5;
}

@keyframes pop {
  from {
    opacity: 0;
    transform: scale(.96) translateY(18px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media(max-width: 1100px) {
  .auth-page {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .auth-left {
    display: none;
  }

  .mobile-brand {
    display: flex;
  }

  .auth-card {
    max-width: 520px;
    margin: auto;
  }
}

@media(max-width: 560px) {
  .auth-page {
    padding: 16px;
  }

  .auth-card {
    padding: 22px;
    border-radius: 28px;
  }

  .mobile-brand h1 {
    font-size: 28px;
  }

  .form-head h2 {
    font-size: 26px;
  }

  .input-box input {
    font-size: 15px;
  }
}