*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --brand: #1A3C35;
  --brand-light: #2A5C4E;
  --cream: #F5F0E8;
  --white: #FFFFFF;
  --white-60: rgba(255, 255, 255, 0.6);
  --white-80: rgba(255, 255, 255, 0.8);
  --white-20: rgba(255, 255, 255, 0.2);
}

html, body {
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Background */
.bg-image {
  position: fixed;
  inset: 0;
  background: url('../images/Master Graphic Landing.jpg') center/cover no-repeat;
  z-index: -1;
}

/* Layout */
.container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 24px;
}

.content {
  text-align: center;
  max-width: 520px;
  width: 100%;
}

/* Logo */
.logo {
  margin-bottom: 48px;
}

.logo img {
  height: auto;
  filter: brightness(0) invert(1);
}

/* Typography */
.headline {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--white);
}

.subtext {
  font-size: 17px;
  line-height: 1.6;
  color: var(--white-80);
  margin-bottom: 40px;
  font-weight: 400;
}

/* Form */
.signup-form {
  width: 100%;
}

.input-group {
  display: flex;
  gap: 10px;
  max-width: 440px;
  margin: 0 auto;
}

.input-group input {
  flex: 1;
  padding: 14px 20px;
  border: 1.5px solid var(--white-20);
  border-radius: 10px;
  font-size: 15px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--white);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.input-group input::placeholder {
  color: var(--white-60);
}

.input-group input:focus {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.15);
}

.input-group button {
  padding: 14px 28px;
  background: var(--cream);
  color: var(--brand);
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.1s;
}

.input-group button:hover {
  background: var(--white);
}

.input-group button:active {
  transform: scale(0.97);
}

.input-group button:disabled {
  opacity: 0.7;
  cursor: wait;
}

/* Confirmation message */
.form-message {
  margin-top: 16px;
  font-size: 14px;
  color: var(--cream);
  opacity: 0;
  transition: opacity 0.3s;
}

.form-message.visible {
  opacity: 1;
}

/* Footer */
.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 24px;
  text-align: center;
}

.footer p {
  font-size: 13px;
  color: var(--white-60);
  font-weight: 400;
  line-height: 1.8;
}

.footer a {
  color: var(--white-60);
  text-decoration: none;
  transition: color 0.2s;
}

.footer a:hover {
  color: var(--white);
}

/* Responsive */
@media (max-width: 520px) {
  .logo img {
    width: 140px;
  }

  .headline {
    font-size: 30px;
  }

  .subtext {
    font-size: 15px;
  }

  .input-group {
    flex-direction: column;
  }

  .input-group button {
    width: 100%;
  }
}
