* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: linear-gradient(135deg, #4a90e2, #9013fe);
  color: white;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.container {
  max-width: 500px;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  backdrop-filter: blur(6px);
}


h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.email-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.email-form input {
  padding: 0.7rem;
  border: none;
  border-radius: 5px;
  font-size: 0.9rem;
}

.email-form button {
  padding: 0.7rem;
  background: #ffcc00;
  color: #333;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.email-form button:hover {
  background: #ffe066;
}

 button {
      padding: 0.8rem 1.5rem;
      border: none;
      border-radius: 2rem;
      background: linear-gradient(to right, #7b1fa2, #ab47bc);
      color: white;
      font-size: 1rem;
      cursor: pointer;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

  button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(171,71,188,0.3);
  }

@media (max-width: 600px) {
  h1 {
    font-size: 2rem;
  }
  p {
    font-size: 1rem;
  }
}

.butterfly {
      position: absolute;  
      width: 60px;
      opacity: 0.9;
      animation: float 8s ease-in-out infinite;
    }

    @keyframes float {
      0%, 100% { transform: translateY(0) rotate(0deg); }
      50% { transform: translateY(-40px) rotate(6deg); }
    }
    
 /* Popup */
    .popup {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.4);
      align-items: center;
      justify-content: center;
      z-index: 1000;
      animation: fadeIn 0.4s ease forwards;
    }

    .popup.active {
      display: flex;
    }

    .popup-content {
      background: white;
      padding: 2rem 3rem;
      border-radius: 1rem;
      text-align: center;
      box-shadow: 0 8px 24px rgba(79,24,145,0.2);
      position: relative;
      overflow: hidden;
    }

    .popup-content h4 {
      margin: 0 0 0.5rem;
      color: #4a148c;
    }

    .popup-content p {
      color: #7b1fa2;
      font-size: 0.95rem;
    }

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

    /* Curved flight butterfly animation */
    .popup-butterfly {
      position: absolute;
      width: 40px;
      top: 50px;
      right: 90px;
      opacity: 0.8;
      animation: curvedFlight 8s ease-in-out infinite;
    }

    @keyframes curvedFlight {
      0% { transform: translate(0, 0) rotate(0deg); }
      20% { transform: translate(-10px, -20px) rotate(15deg); }
      40% { transform: translate(-30px, -10px) rotate(-10deg); }
      60% { transform: translate(-15px, 10px) rotate(5deg); }
      80% { transform: translate(-5px, -15px) rotate(-5deg); }
      100% { transform: translate(0, 0) rotate(0deg); }
    }
