@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;700&display=swap');

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family:'Vazirmatn',sans-serif;
  background:#0f172a;
  color:white;
  overflow-x:hidden;
}

.bg{
  position:fixed;
  width:100%;
  height:100%;
  background:
  radial-gradient(circle at top left,#2563eb,transparent 30%),
  radial-gradient(circle at bottom right,#7c3aed,transparent 30%);
  filter:blur(100px);
  z-index:-1;
}

header{
  width:100%;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:25px 8%;
}

.logo{
  font-size:28px;
  font-weight:700;
  color:#fff;
}

nav{
  display:flex;
  gap:30px;
}

nav a{
  color:#cbd5e1;
  text-decoration:none;
  transition:.3s;
}

nav a:hover{
  color:white;
}

.hero{
  min-height:90vh;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 8%;
  gap:50px;
}

.hero-text{
  flex:1;
}

.hero-text h1{
  font-size:64px;
  line-height:1.2;
  margin-bottom:25px;
}

.hero-text p{
  color:#cbd5e1;
  line-height:2;
  max-width:600px;
  margin-bottom:35px;
}

.hero-text button{
  background:linear-gradient(135deg,#2563eb,#7c3aed);
  border:none;
  color:white;
  padding:16px 38px;
  border-radius:16px;
  font-size:18px;
  cursor:pointer;
  transition:.3s;
}

.hero-text button:hover{
  transform:translateY(-4px);
  box-shadow:0 10px 30px rgba(37,99,235,.4);
}

.hero-card{
  flex:1;
  position:relative;
  display:flex;
  justify-content:center;
  align-items:center;
}

.glass{
  width:380px;
  padding:40px;
  border-radius:30px;
  background:rgba(255,255,255,.08);
  backdrop-filter:blur(20px);
  border:1px solid rgba(255,255,255,.1);
  box-shadow:0 10px 40px rgba(0,0,0,.4);
}

.glass h2{
  margin-bottom:30px;
  font-size:30px;
}

.mini-box{
  padding:18px;
  margin-bottom:18px;
  border-radius:18px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
}

.circle{
  position:absolute;
  border-radius:50%;
  filter:blur(10px);
}

.one{
  width:150px;
  height:150px;
  background:#2563eb;
  top:-30px;
  left:50px;
}

.two{
  width:120px;
  height:120px;
  background:#7c3aed;
  bottom:-20px;
  right:60px;
}

.modal{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.6);
  display:flex;
  justify-content:center;
  align-items:center;
  visibility:hidden;
  opacity:0;
  transition:.3s;
}

.modal.active{
  visibility:visible;
  opacity:1;
}

.login-box{
  width:400px;
  padding:40px;
  border-radius:30px;
  background:#111827;
  position:relative;
  animation:popup .4s ease;
}

@keyframes popup{
  from{
    transform:scale(.7);
    opacity:0;
  }

  to{
    transform:scale(1);
    opacity:1;
  }
}

.login-box h2{
  margin-bottom:30px;
  text-align:center;
}

.login-box form{
  display:flex;
  flex-direction:column;
  gap:20px;
}

.login-box input{
  padding:16px;
  border:none;
  outline:none;
  border-radius:14px;
  background:#1e293b;
  color:white;
}

.login-box button{
  padding:16px;
  border:none;
  border-radius:14px;
  background:linear-gradient(135deg,#2563eb,#7c3aed);
  color:white;
  cursor:pointer;
}

.close{
  position:absolute;
  top:15px;
  left:20px;
  font-size:28px;
  cursor:pointer;
}

@media(max-width:950px){

  .hero{
    flex-direction:column;
    text-align:center;
    padding-top:50px;
  }

  .hero-text h1{
    font-size:42px;
  }

  nav{
    display:none;
  }

}