* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #0b1120;
  color: #e2e8f0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, sans-serif;
}

.nav {
  height: 76px;
  padding: 0 8%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #1e293b;
}

.logo {
  color: #f8fafc;
  text-decoration: none;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 1px;
}

.logo span {
  color: #38bdf8;
}

.nav-link, .back-link {
  color: #94a3b8;
  text-decoration: none;
  font-size: 14px;
}

.nav-link:hover, .back-link:hover {
  color: #38bdf8;
}

.hero {
  max-width: 1050px;
  margin: 0 auto;
  padding: 100px 24px 60px;
  text-align: center;
}

.status {
  display: inline-block;
  padding: 9px 16px;
  border: 1px solid #1e3a34;
  border-radius: 30px;
  color: #86efac;
  font-size: 13px;
  margin-bottom: 35px;
}

.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #4ade80;
  border-radius: 50%;
  margin-right: 8px;
}

.eyebrow {
  color: #38bdf8;
  font-size: 11px;
  letter-spacing: 3px;
  font-weight: 700;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(38px, 7vw, 66px);
  line-height: 1.12;
  margin: 0;
  letter-spacing: -2px;
}

.hero h1 span {
  color: #38bdf8;
}

.description {
  max-width: 560px;
  margin: 24px auto;
  color: #94a3b8;
  font-size: 16px;
  line-height: 1.8;
}

.actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 35px;
}

.button {
  display: inline-block;
  border: 0;
  border-radius: 9px;
  padding: 14px 24px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: .2s;
}

.primary {
  background: #0284c7;
  color: white;
}

.primary:hover {
  background: #0369a1;
}

.secondary {
  background: #1e293b;
  color: #e2e8f0;
}

.info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 95px;
  text-align: left;
}

.info-card {
  background: #111c30;
  border: 1px solid #243248;
  padding: 25px;
  border-radius: 14px;
}

.icon {
  font-size: 27px;
  color: #38bdf8;
}

.info-card h3 {
  font-size: 16px;
}

.info-card p {
  color: #94a3b8;
  font-size: 13px;
  line-height: 1.7;
}

footer {
  padding: 25px;
  text-align: center;
  color: #64748b;
  font-size: 12px;
  border-top: 1px solid #1e293b;
}

/* Login */

.login-wrap {
  min-height: calc(100vh - 76px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 35px 20px;
}

.login-card {
  width: 100%;
  max-width: 420px;
  padding: 38px;
  border-radius: 18px;
  border: 1px solid #243248;
  background: #111c30;
  box-shadow: 0 20px 70px rgba(0,0,0,.25);
}

.login-icon {
  font-size: 32px;
  color: #38bdf8;
  margin-bottom: 20px;
}

.login-card h1 {
  font-size: 27px;
  margin: 0 0 10px;
}

.login-description {
  color: #94a3b8;
  font-size: 14px;
  margin-bottom: 30px;
}

.login-card label {
  display: block;
  font-size: 13px;
  margin: 18px 0 9px;
  color: #cbd5e1;
}

.login-card input {
  width: 100%;
  padding: 14px;
  border: 1px solid #334155;
  border-radius: 8px;
  outline: none;
  background: #0b1120;
  color: white;
  font-size: 14px;
}

.login-card input:focus {
  border-color: #38bdf8;
}

.submit {
  width: 100%;
  margin-top: 25px;
}

.error {
  margin-top: 18px;
  padding: 13px;
  border-radius: 8px;
  background: #451a1a;
  border: 1px solid #7f1d1d;
  color: #fca5a5;
  font-size: 13px;
  line-height: 1.5;
}

.demo-note {
  color: #64748b;
  font-size: 11px;
  line-height: 1.6;
  margin-top: 25px;
  text-align: center;
}

.back-link {
  display: block;
  text-align: center;
  margin-top: 20px;
}

@media(max-width: 650px) {
  .info {
    grid-template-columns: 1fr;
    margin-top: 55px;
  }
  .hero {
    padding-top: 65px;
  }
  .login-card {
    padding: 27px;
  }
  .nav {
    padding: 0 5%;
  }
}
