* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; }

.hero-glow {
  background:
    radial-gradient(circle at 20% 20%, rgba(14, 165, 233, 0.28), transparent 30%),
    radial-gradient(circle at 80% 10%, rgba(56, 189, 248, 0.20), transparent 25%),
    radial-gradient(circle at 50% 80%, rgba(37, 99, 235, 0.20), transparent 30%);
}

.glass-card,
.form-shell {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.9), rgba(2, 6, 23, 0.86));
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
}

.field {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  padding: 0.95rem 1rem;
  color: #fff;
  outline: none;
  transition: all 0.2s ease;
}

.field::placeholder { color: #94a3b8; }

.field:focus {
  border-color: rgba(56, 189, 248, 0.85);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.12);
}

.btn-primary,
.btn-secondary {
  border: 0;
  border-radius: 16px;
  padding: 0.95rem 1.25rem;
  font-weight: 700;
  transition: 0.25s ease;
}

.btn-primary {
  color: #082f49;
  background: linear-gradient(135deg, #7dd3fc, #38bdf8);
  box-shadow: 0 12px 35px rgba(56, 189, 248, 0.25);
}

.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.05); }

.btn-secondary {
  color: #e2e8f0;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.10);
}

.btn-secondary:hover { background: rgba(255,255,255,0.12); }

.question-card { display: none; animation: fadeIn .25s ease; }
.question-card.active { display: block; }

.message-success {
  background: rgba(16, 185, 129, 0.15);
  color: #d1fae5;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.message-error {
  background: rgba(239, 68, 68, 0.15);
  color: #fee2e2;
  border: 1px solid rgba(239, 68, 68, 0.35);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
