* { box-sizing: border-box; }

:root{
  --bg1:#0b1220;
  --bg2:#111c33;
  --text:#0f172a;
  --muted:#475569;
  --line:#cbd5e1;
  --brand:#2563eb;
  --brand2:#1d4ed8;
  --card:#ffffff;
  --shadow: 0 24px 60px rgba(0,0,0,.22);
  --radius: 16px;
}

html, body{
  height: 100%;
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

body{
  background: radial-gradient(1200px 600px at 20% 10%, #1f3b7a 0%, transparent 55%),
              radial-gradient(900px 500px at 80% 20%, #2443a6 0%, transparent 55%),
              linear-gradient(135deg, var(--bg1), var(--bg2));
  color: #e5e7eb;
}

.page{
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 40px 16px;
}

.card{
  width: 100%;
  max-width: 520px;
  background: var(--card);
  color: var(--text);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  border: 1px solid rgba(255,255,255,.08);
}

.header{
  margin-bottom: 18px;
}

.badge{
  display: inline-block;
  font-size: 12px;
  letter-spacing: .4px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(37,99,235,.10);
  color: var(--brand);
  border: 1px solid rgba(37,99,235,.25);
  margin-bottom: 10px;
}

h1{
  margin: 0 0 6px 0;
  font-size: 28px;
  line-height: 1.15;
}

.header p{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.form{
  margin-top: 14px;
}

.row{
  margin-bottom: 14px;
}

label{
  display: block;
  font-size: 13px;
  color: #334155;
  margin-bottom: 6px;
}

input, textarea{
  width: 100%;
  padding: 11px 12px;
  font-size: 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}

input:focus, textarea:focus{
  border-color: rgba(37,99,235,.75);
  box-shadow: 0 0 0 4px rgba(37,99,235,.15);
}

textarea{ resize: vertical; }

.recaptcha-wrap{
  display: flex;
  justify-content: center;
  margin: 10px 0 16px;
}

.btn{
  width: 100%;
  padding: 12px 14px;
  border: 0;
  border-radius: 14px;
  background: var(--brand);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .06s ease, background .15s ease;
}

.btn:hover{ background: var(--brand2); }
.btn:active{ transform: translateY(1px); }

.privacy{
  margin: 12px 0 0 0;
  font-size: 12px;
  color: #64748b;
  text-align: center;
}

.alert{
  display: none;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 14px;
  margin: 10px 0;
}

.alert.success{
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.alert.error{
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}
