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

body{
  font-family:'Poppins', sans-serif;
  background:#020617;
  color:white;
  overflow-x:hidden;
}

.bg{
  position:fixed;
  width:100%;
  height:100%;
  background:linear-gradient(135deg,#0f172a,#1e293b,#2563eb);
  z-index:-1;
}

header{
  width:100%;
  padding:20px 8%;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.logo{
  font-size:28px;
  font-weight:700;
}

nav a{
  color:white;
  text-decoration:none;
  margin-left:20px;
}

.hero{
  min-height:85vh;
  display:flex;
  justify-content:center;
  align-items:center;
  padding:20px;
}

.glass-card{
  width:100%;
  max-width:650px;
  padding:40px;
  border-radius:30px;
  backdrop-filter:blur(18px);
  background:rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.1);
  box-shadow:0 10px 40px rgba(0,0,0,0.4);
  text-align:center;
}

.glass-card h1{
  font-size:42px;
  margin-bottom:15px;
}

.glass-card p{
  color:#dbeafe;
  margin-bottom:25px;
}

.input-group{
  display:flex;
  gap:10px;
}

input{
  flex:1;
  padding:16px;
  border:none;
  border-radius:14px;
  background:#0f172a;
  color:white;
  font-size:16px;
  outline:none;
}

.input-group button{
  padding:16px 20px;
  border:none;
  border-radius:14px;
  background:#334155;
  color:white;
  cursor:pointer;
}

.download-main-btn{
  width:100%;
  margin-top:15px;
  padding:16px;
  border:none;
  border-radius:14px;
  background:linear-gradient(135deg,#2563eb,#06b6d4);
  color:white;
  font-size:18px;
  font-weight:600;
  cursor:pointer;
}

.loading{
  margin-top:20px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
}

.spinner{
  width:25px;
  height:25px;
  border:3px solid rgba(255,255,255,0.2);
  border-top:3px solid white;
  border-radius:50%;
  animation:spin 1s linear infinite;
}

@keyframes spin{
  100%{
    transform:rotate(360deg);
  }
}

.hidden{
  display:none;
}

.result-box{
  margin-top:25px;
  background:#0f172a;
  padding:20px;
  border-radius:20px;
}

.result-box img{
  width:100%;
  border-radius:15px;
  margin-bottom:15px;
}

.result-box h2{
  margin-bottom:20px;
  font-size:20px;
}

.download-btn{
  display:block;
  width:100%;
  padding:14px;
  margin-top:10px;
  border-radius:12px;
  text-decoration:none;
  background:#22c55e;
  color:white;
  font-weight:600;
}

.download-btn.mp3{
  background:#e11d48;
}

.features{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:20px;
  padding:40px 8%;
}

.feature-box{
  background:rgba(255,255,255,0.08);
  padding:30px;
  border-radius:20px;
  backdrop-filter:blur(10px);
}

footer{
  text-align:center;
  padding:30px;
  color:#cbd5e1;
}

@media(max-width:700px){

  .glass-card{
    padding:25px;
  }

  .glass-card h1{
    font-size:30px;
  }

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

}