* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: #f4f7fb;
  color: #333;
  line-height: 1.6;
}

/* HERO */
header {
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  color: white;
  padding: 20px 20px;
  text-align: center;
}

header h1 {
  font-size: 34px;
  margin-bottom: 10px;
  animation: fadeDown 1s ease;
}

header p {
  opacity: 0.9;
  animation: fadeUp 1.2s ease;
}

/* CONTAINER */
.container {
  max-width: 600px;
  margin: auto;
  padding: 40px 20px;
}

.card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  animation: fadeUpCard 1s ease forwards;
  transform: translateY(30px);
  opacity: 0;
}

input,
textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 14px;
}

input:focus,
textarea:focus {
  border-color: #2c5364;
  outline: none;
}

button {
  width: 100%;
  padding: 14px;
  border-radius: 8px;
  border: none;
  background: #2c5364;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

button:hover {
  background: #203a43;
  transform: translateY(-2px);
}

.success {
  background: #d4edda;
  color: #155724;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 6px;
}

.error {
  background: #f8d7da;
  color: #721c24;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 6px;
}

footer {
  text-align: center;
  padding: 25px;
  background: #111;
  color: #aaa;
  font-size: 14px;
}

/* ANIMATIONS */
@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUpCard {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* RESPONSIVE */
@media (min-width: 768px) {
  header h1 {
    font-size: 44px;
  }
}
