/* Google Fonts: Manrope + Inter */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700;800&family=Inter:wght@400;500;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: #faf9ff;
  color: #191b22;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.bg-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: absolute;
  bottom: -20px;
  border-radius: 50%;
  animation: particleFloat linear infinite;
  filter: blur(0.5px); 
}

@keyframes particleFloat {
  0% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0;
  }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% {
    transform: translateY(-400px) rotate(720deg);
    opacity: 0;
  }
}


.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-color: #faf9ff;
  background-image:
    radial-gradient(at 0% 0%, rgba(91, 141, 239, 0.15), transparent 50%),
    radial-gradient(at 100% 0%, rgba(111, 191, 159, 0.15), transparent 50%),
    radial-gradient(at 100% 100%, rgba(237, 231, 221, 0.4), transparent 50%),
    radial-gradient(at 0% 100%, rgba(91, 141, 239, 0.1), transparent 50%);
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  z-index: 0;
  animation: float 20s ease-in-out infinite;
}

.blob1 {
  width: 600px;
  height: 500px;
  background: rgb(61, 114, 210); 
  top: -10%;
  left: -10%;
}

.blob2 {
  width: 400px;
  height: 400px;
  background: #a1f3d0;
  bottom: -10%;
  right: -10%;
  animation-delay: -5s;
}

.blob3 {
  width: 600px;
  height: 600px;
  background: #ffddb8;
  top: 20%;
  right: 10%;
  animation-delay: -10s;
}

@keyframes float {
  0% { transform: translate(0,0) scale(1); }
  33% { transform: translate(30px,-50px) scale(1.1); }
  66% { transform: translate(-20px,20px) scale(0.9); }
  100% { transform: translate(0,0) scale(1); }
}

header {
  padding-top: 60px;
  text-align: center;
}

.logo {
  height: 80px;
}

main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
}

.container {
  max-width: 800px;
}

h1 {
  font-family: 'Manrope';
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.gradient-text {
  color: #288AE4;
  font-weight: 600;
}

.subtitle {
  font-family: 'Manrope';
  font-size: 24px;
  font-weight: 500;
  color: #555;
  margin-bottom: 15px;
  line-height: 2.2rem;
}

.desc {
  font-size: 18px;
  color: #666;
  opacity: 0.85;
  margin-bottom: 30px;
  line-height: 1.8rem;
}

.email-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 520px;
  margin: auto;
  padding: 6px;
  border-radius: 999px;

  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.4);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.email-wrapper input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 14px 20px;
  font-size: 16px;
  outline: none;
}

.email-wrapper button {
  background: #288AE4;
  color: white;
  border: none;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  font-family: 'Manrope';
}

.email-wrapper button:hover {
  background: #5DC054;
  transform: scale(0.97);
}

.note {
  margin-top: 14px;
  font-size: 15px;
  color: #777;
}

footer {
  padding: 40px 20px;
  text-align: center;
  font-size: 14px;
  color: #777;
}


@media (max-width: 480px) {

  .container {
    padding: 20px 16px;
  }

  h1 {
    font-size: 35px;
    line-height: 1.2;
    text-align: center;
  }

  h1 span {
    font-size: 35px;
  }

  p {
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
  }
  
  .subtitle {
  font-family: 'Manrope';
  font-size: 24px;
  font-weight: 500;
  color: #555;
  margin-bottom: 15px;
  line-height: 2.1rem;
  max-width: 320px;
  margin: 15px auto;
  text-align: center;
  
 }
 
 .desc {
  font-size: 18px;
  color: #666;
  opacity: 0.85;
  line-height: 1.8rem;
  max-width: 320px;
  margin: 30px auto;
  text-align: center;
}
  

  .subtext {
    font-size: 13px;
    text-align: center;
  }

  .logo {
    margin: 0 auto 16px;
  }

  .form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 10px;
  }

  .form-group input {
    width: 100%;
    border: none;
    outline: none;
    padding: 12px;
    background: transparent;
    font-size: 14px;
  }

  .form-group button {
    width: 100%;
    border: none;
    border-radius: 12px;
    padding: 12px;
    font-size: 14px;
    font-weight: 500;
    background: rgb(61,114,210);
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  
  .email-wrapper button {
    background: #1a58b7;
    color: white;
    border: none;
    padding: 13px 2px;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    font-family: 'Manrope';
    font-size: 14px;
    width: 100px;
   }

  .form-group button:active {
    transform: scale(0.98);
  }

  .content {
    gap: 16px;
  }
}

.error-msg {
  color: #e11d48;
  font-size: 13px;
  margin-top: 6px;
  text-align: center;
}