/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* BODY (center app) */
body {
  display: flex;
  justify-content: center;
  background: #f5f5f5;
  color: #111;
}

/* MOBILE APP CONTAINER */
.app {
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  min-height: 100vh;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

/* HERO IMAGE */
.hero-image {
  width: 100%;
}

.hero-image img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 5;     /* stable layout */
  object-fit: cover;
}

/* FLOATING SCROLL BUTTON */
#scrollBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: #111;
  color: #fff;
  
  display: flex;              /* 🔥 key */
  align-items: center;        /* vertical center */
  justify-content: center;    /* horizontal center */

  font-size: 20px;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  transition: transform 0.2s ease, opacity 0.3s ease;
}

/* Tap feedback */
#scrollBtn:active {
  transform: scale(0.95);
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

#scrollBtn {
  animation: bounce 1.5s infinite;
}

/* CTA SECTION */
.cta {
  text-align: center;
  padding: 22px 20px 10px;
}

.cta h2 {
  font-size: 18px;
  margin-bottom: 6px;
}

.cta p {
  font-size: 14px;
  color: #666;
}

/* FORM SECTION */
.form-section {
  padding: 25px 20px 30px;
}

.form-section h2 {
  font-size: 18px;
  margin-bottom: 20px;
  text-align: center;
}

/* FORM */
form {
  display: flex;
  flex-direction: column;
}

/* INPUT GROUP */
.form-group {
  margin-bottom: 18px;
}

.form-group label {
  font-size: 14px;
  margin-bottom: 6px;
  display: block;
  color: #333;
  font-weight: 600;   /* 🔥 add this */
}

/* INPUTS (ACCESSIBLE + PREMIUM) */
.form-group input {
  width: 100%;
  padding: 14px 14px;         /* larger touch area */
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 16px;            /* prevents iOS zoom */
  background: #fafafa;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus {
  outline: none;
  border-color: #111;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.05);
}

/* BUTTON */
button {
  width: 100%;
  padding: 16px;              /* better tap size */
  background: #111;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  margin-top: 12px;
  transition: opacity 0.2s ease, transform 0.1s ease;
}

button:hover {
  opacity: 0.9;
}

button:active {
  transform: scale(0.98);
}

button:disabled {
  background: #999;
  cursor: not-allowed;
}

/* SUCCESS BOX */
.success-box {
  margin-top: 20px;
  padding: 20px;
  border-radius: 12px;
  background: #e6f9ec;
  border: 1px solid #b6eacb;
  text-align: center;
}

.success-box h3 {
  margin-bottom: 8px;
  color: #0f8a3b;
}

.success-box p {
  font-size: 14px;
}

.success-box .small {
  font-size: 12px;
  color: #555;
  margin-top: 5px;
}

.hidden {
  display: none;
}

/* MESSAGE (fallback errors) */
#message {
  margin-top: 15px;
  font-size: 14px;
  text-align: center;
}