* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Manrope", Arial, sans-serif;
}

:root {
  --bg: #070d1b;
  --card: #111827;
  --input: #1f2937;
  --border: #263b5f;
  --blue: #3b82f6;
  --blue-dark: #2563eb;
  --text: #ffffff;
  --muted: #8b99ad;
  --soft-blue: #93c5fd;
  --error: #fb7185;
  --success: #22c55e;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
}

.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  padding: 64px;
  position: relative;
  overflow: hidden;

  background:
    linear-gradient(rgba(37, 99, 235, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.12) 1px, transparent 1px),
    radial-gradient(circle at 32% 45%, rgba(59, 130, 246, 0.12), transparent 35%),
    #070d1b;

  background-size: 40px 40px, 40px 40px, cover;
}

.left-side {
  max-width: 680px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 48px;
}

.brand-icon {
  width: 41px;
  height: 41px;
  border-radius: 14px;
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.18);
}

.brand-icon svg {
  width: 21px;
  height: 21px;
}

.brand-icon path,
.brand-icon circle {
  fill: none;
  stroke: #60a5fa;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand h2 {
  font-size: 18px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.4px;
}

.brand p {
  font-size: 13px;
  color: var(--soft-blue);
  margin-top: 2px;
  font-weight: 500;
}

.hero h1 {
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: -2.5px;
  font-weight: 800;
  margin-bottom: 20px;
}

.hero h1 span {
  color: var(--blue);
}

.description {
  color: #9dc5f8;
  font-size: 17px;
  line-height: 1.55;
  max-width: 460px;
  margin-bottom: 44px;
  font-weight: 500;
}

.features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.features li {
  display: flex;
  align-items: center;
  gap: 15px;
}

.features li span {
  width: 18px;
  display: inline-flex;
  justify-content: center;
}

.features p {
  font-size: 16px;
  color: #ffffff;
  font-weight: 600;
}

.right-side {
  display: flex;
  justify-content: center;
  align-items: center;
}

.auth-card {
  width: 100%;
  max-width: 385px;
  background: rgba(17, 24, 39, 0.94);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35);
  animation: cardIn 0.25s ease;
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hidden {
  display: none;
}

.auth-card h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.subtitle {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 27px;
  font-weight: 500;
}

form {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

input {
  width: 100%;
  height: 48px;
  border-radius: 8px;
  background: #1d293b;
  border: 1px solid #34445e;
  outline: none;
  color: white;
  padding: 0 15px;
  font-size: 15px;
  font-weight: 700;
}

input::placeholder {
  color: #9ca3af;
  font-weight: 700;
}

input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.22);
}

button {
  border: none;
  outline: none;
  cursor: pointer;
  transition: 0.2s ease;
  font-weight: 800;
}

.primary-btn {
  height: 48px;
  border-radius: 8px;
  background: var(--blue);
  color: white;
  font-size: 15px;
  margin-top: 3px;
}

.primary-btn:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.secondary-btn {
  height: 48px;
  border-radius: 8px;
  background: #1a2536;
  color: #9ca8bb;
  border: 1px solid #2d3e57;
  font-size: 15px;
}

.secondary-btn:hover {
  background: #223149;
  color: white;
}

.demo {
  text-align: center;
  margin-top: 18px;
  color: #66758b;
  font-size: 12px;
  font-weight: 600;
}

.message {
  text-align: center;
  color: var(--error);
  font-size: 13px;
  margin-top: 12px;
  min-height: 16px;
  font-weight: 700;
}

.help-btn {
  position: fixed;
  right: 18px;
  bottom: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: white;
  color: #111827;
  font-size: 18px;
  font-weight: 800;
}

@media (max-width: 900px) {
  .login-page {
    grid-template-columns: 1fr;
    padding: 35px 22px;
    gap: 45px;
  }

  .brand {
    margin-bottom: 38px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .right-side {
    justify-content: flex-start;
  }

  .auth-card {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 36px;
  }

  .description {
    font-size: 16px;
  }

  .features p {
    font-size: 15px;
  }

  .auth-card {
    padding: 24px;
  }
}