@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@700&family=Poppins:wght@300;400;600&display=swap');

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.5;
  color: #333;
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #7fc8d8 url('assets/img/serene5.jpg') no-repeat center center;
  background-size: cover;
}

/* Title sits right on the picture: no dark bar */
header {
  text-align: center;
  padding: 1.4rem 1rem 0;
}

.inspiring-message {
  font-family: 'Dancing Script', cursive;
  font-size: 3.2rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(0, 40, 70, 0.55);
}

main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

/* Small, see-through card so the beach shows */
.card {
  width: 100%;
  max-width: 400px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 40, 60, 0.18);
  padding: 1.5rem 1.5rem 1.3rem;
  text-align: center;
}

h1 {
  color: #0a6fd6;
  font-weight: 600;
  font-size: 1.35rem;
  line-height: 1.3;
  margin: 0 0 0.25rem;
}

h2 {
  font-weight: 400;
  font-size: 1rem;
  color: #2b2b2b;
  margin: 0 0 0.3rem;
}

.tagline { font-size: 0.85rem; font-weight: 300; color: #444; margin: 0 0 1rem; }

p { margin: 0; }

form { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; }

input[type="text"], input[type="email"] {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1.5px solid #9ccbe0;
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.95);
}

input:focus { outline: none; border-color: #0a6fd6; box-shadow: 0 0 0 3px rgba(10, 111, 214, 0.2); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

button {
  width: 100%;
  background: #0a6fd6;
  color: #fff;
  border: none;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  font-family: inherit;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background 0.2s;
}

button:hover { background: #0856a8; }
button:disabled { opacity: 0.7; cursor: wait; }

.status { font-size: 0.85rem; color: #b00020; }
.status:empty { display: none; }

.card > p.msg { font-size: 0.9rem; font-weight: 300; }

footer {
  background: rgba(69, 129, 142, 0.85);
  color: #fff;
  text-align: center;
  padding: 0.55rem 1rem;
  font-size: 0.8rem;
}

@media (max-width: 600px) {
  header { padding-top: 1.6rem; }
  .inspiring-message { font-size: 2.4rem; }
  .card { max-width: 340px; padding: 1.2rem 1.1rem 1.1rem; }
  h1 { font-size: 1.15rem; }
  h2 { font-size: 0.92rem; }
  .tagline { font-size: 0.8rem; margin-bottom: 0.8rem; }
  input[type="text"], input[type="email"] { padding: 0.6rem 0.8rem; font-size: 16px; }
  footer { font-size: 0.72rem; }
}
