body {
  margin: 0;
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  background: #fff;
  color: #111;
  letter-spacing: 0.02em;
}

.hero-section {
  position: relative;
  background-image: url('monopattern.svg');
  background-size: 100% 100%;
  background-position: center top;
  background-repeat: no-repeat;
  padding-bottom: 2rem;
}

header {
  text-align: center;
  padding: 5rem 1rem 2rem;
  position: relative;
  z-index: 1;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 0.5rem;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p.tagline {
  font-size: 1.2rem;
  color: #555;
}

.cta {
  text-align: center;
  padding: 0 1rem 4rem;
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

#invitation-text {
  margin-bottom: 2.5rem;
  margin-top: 4rem;
  font-size: 1.1rem;
  letter-spacing: 0.03em;
  font-weight: 390;
}

#email-form {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(1px);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
  border: 1px solid rgba(200, 200, 200, 0.2);
}

.cta input[type="email"] {
  padding: 1.2rem 1.5rem;
  font-size: 1rem;
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  letter-spacing: 0.03em;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0;
  width: 100%;
  max-width: 400px;
  margin-bottom: 1.5rem;
  background: transparent;
  transition: all 0.3s ease;
}

.cta input[type="email"]:focus {
  outline: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.8);
}

.cta input[type="email"]::placeholder {
  color: rgba(0, 0, 0, 0.4);
}

.cta button {
  padding: 0.9rem 3rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta button:hover {
  background: #333;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.features {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.features div {
  max-width: 550px;
  margin: 0 auto 4rem;
  text-align: left;
}

footer {
  text-align: center;
  padding: 3rem 1rem;
  font-size: 0.9rem;
  color: #aaa;
}

#thank-you {
  display: none;
  text-align: center;
  padding: 2rem 1rem;
  animation: fadeIn 1s ease-in-out forwards;
}

.thank-you-title {
  font-family: 'Didot', 'Georgia', serif;
  font-size: 2.5rem;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0;
}

.thank-you-subtext {
  font-family: 'Jost', sans-serif;
  font-style: italic;
  font-size: 1.3rem;
  margin-top: 2rem;
  color: #333;
  opacity: 0.8;
}

/* Optional fade-in animation */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Error message styling */
.error-message {
  display: none;
  color: #d32f2f;
  font-size: 0.9rem;
  margin-top: 1rem;
  font-style: italic;
  letter-spacing: 0.02em;
  width: 100%;
  max-width: 400px;
  text-align: left;
  padding-left: 0.5rem;
}
