:root{
  --bg: #0b0f14;
  --card: rgba(10,14,20,.62);
  --border: rgba(255,255,255,.12);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.72);
  --accent: #6ee7ff;
  --radius: 16px;
  --shadow: 0 10px 40px rgba(0,0,0,.45);
  --maxw: 780px;
}

*{ box-sizing:border-box; }
html, body { height:100%; }
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x:hidden;
}

#bg{
  position:fixed;
  inset:0;
  z-index:-2;
  background-position:center;
  background-size:cover;
  transform: scale(1.03);
  transition: opacity 900ms ease;
}

#overlay{
  position:fixed;
  inset:0;
  z-index:-1;
  background:
    radial-gradient(1200px 800px at 20% 20%, rgba(255,255,255,.08), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,.40), rgba(0,0,0,.72));
}

.page{
  min-height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 56px 18px;
}

.card{
  width:min(var(--maxw), 100%);
  background: var(--card);
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  padding: 34px 28px;
}

.header{
  text-align:center;
  margin-bottom: 18px;
}

h1, h2{
  margin:0 0 10px 0;
  font-weight: 700;
  letter-spacing: .2px;
}

.lead{
  margin: 0 auto;
  max-width: 56ch;
  color: var(--muted);
  line-height: 1.55;
}

.form{
  margin-top: 22px;
  display:grid;
  gap: 14px;
}

.row{
  display:grid;
  gap: 10px;
}

.label{
  font-size: .92rem;
  color: var(--muted);
}

input[type="email"],
input[type="text"]{
  width:100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,.25);
  color: var(--text);
  outline:none;
}

input:focus{
  border-color: rgba(110,231,255,.6);
  box-shadow: 0 0 0 4px rgba(110,231,255,.12);
}

.products{
  display:grid;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(0,0,0,.18);
}

.products label{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  cursor:pointer;
  color: var(--text);
}

.products input{ margin-top: 3px; }

.actions{
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
  margin-top: 4px;
}

.btn{
  appearance:none;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.10);
  color: var(--text);
  padding: 12px 16px;
  border-radius: 999px;
  cursor:pointer;
  font-weight: 600;
  transition: transform .06s ease, background .15s ease, border-color .15s ease;
}

.btn:hover{
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.26);
}

.btn:active{ transform: translateY(1px); }

.btn.primary{
  border-color: rgba(110,231,255,.35);
  background: rgba(110,231,255,.14);
}

.small{
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.45;
}

.links a{
  color: var(--text);
  text-decoration:none;
  border-bottom: 1px dotted rgba(255,255,255,.35);
}
.links a:hover{ border-bottom-color: rgba(110,231,255,.7); }

@media (min-width: 720px){
  .card{ padding: 44px 44px; }
  .row.two{
    grid-template-columns: 1.35fr .65fr;
    align-items:end;
  }
}
