/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body */
body {
  background: linear-gradient(135deg, #f5f7fb 0%, #e8ecf4 100%);
  font-family: "Inter", sans-serif;
  color: #757575;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  min-height: 100vh;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 448px;
}

/* Header */
header {
  margin-bottom: 15px;
  text-align: center;
  animation: fadeInDown 1s ease-in-out;
}

header h1 {
  color: #000;
  font-size: 2.5rem;
}

/* Motto */
.motto {
  margin-bottom: 25px;
  text-align: center;
  animation: fadeIn 1.5s ease-in-out;
}

.motto-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: #4f46e5;
  font-style: italic;
  letter-spacing: 0.5px;
  position: relative;
}

.motto-text::before,
.motto-text::after {
  content: '"';
  color: #c1bff8;
  font-size: 1.4rem;
  font-weight: 700;
}

/* Image Wrapper with Accent Background */
.image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px;
}

.image-background {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border: 2px solid #c1bff8;
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 8px 25px rgba(193, 191, 248, 0.15);
  transition: all 0.4s ease;
}

.image-background:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(193, 191, 248, 0.25);
}

.image-background img {
  width: 100%;
  border-radius: 12px;
  display: block;
}

/* Description */
.description {
  font-size: 1.3rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 15px;
  color: #374151;
  animation: fadeIn 2s ease-in-out;
}

/* Soon Text */
.soon-text {
  font-size: 1.1rem;
  color: #c1bff8;
  text-align: center;
  font-style: italic;
  font-weight: 600;
  animation: fadeInUp 2s ease-in-out;
}

/* Waitlist Container */
.waitlist-container {
  margin-top: 32px;
  max-width: 380px;
  width: 100%;
  text-align: center;
  animation: fadeIn 1.2s ease;
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
}

.waitlist-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #4f46e5;
  margin-bottom: 8px;
}

.waitlist-desc {
  font-size: 1rem;
  color: #757575;
  margin-bottom: 18px;
  line-height: 1.5;
}

.waitlist-form {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.waitlist-input {
  flex: 1 1 180px;
  padding: 10px 14px;
  border: 1.5px solid #c1bff8;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
}

.waitlist-input:focus {
  border-color: #4f46e5;
}

.waitlist-btn {
  padding: 10px 18px;
  background: linear-gradient(90deg, #4f46e5 60%, #c1bff8 100%);
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
}

.waitlist-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.waitlist-message {
  font-size: 0.98rem;
  margin-top: 6px;
  min-height: 22px;
  transition: color 0.2s;
}

.waitlist-message.success {
  color: #22c55e;
}

.waitlist-message.error {
  color: #ef4444;
}

.waitlist-message.loading {
  color: #4f46e5;
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

/* Responsive */
@media (max-width: 600px) {
  header h1 {
    font-size: 2rem;
  }

  .motto-text {
    font-size: 1rem;
  }

  .description {
    font-size: 1.1rem;
  }

  .soon-text {
    font-size: 1rem;
  }

  .image-background {
    padding: 20px;
  }

  .waitlist-container {
    padding: 0;
    max-width: 100%;
  }

  .waitlist-form {
    flex-direction: column;
    gap: 8px;
  }

  .waitlist-btn,
  .waitlist-input {
    width: 100%;
    font-size: 0.98rem;
  }
}
