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

/* Body */

body{
  display:flex;
  background:#070716;
  color:white;
  min-height:100vh;
  overflow-x:hidden;
}

/* Sidebar */

.sidebar{
  width:260px;
  min-height:100vh;
  background:rgba(255,255,255,0.05);
  backdrop-filter:blur(15px);
  padding:30px;
  border-right:1px solid rgba(255,255,255,0.1);
}

.sidebar h1{
  color:#b066ff;
  font-size:38px;
  margin-bottom:40px;
  font-weight:bold;
  line-height:1.1;
}

.sidebar ul{
  list-style:none;
}

.sidebar li{
  padding:16px;
  margin-bottom:15px;
  border-radius:14px;
  cursor:pointer;
  transition:0.3s;
  font-size:18px;
}

.sidebar li:hover{
  background:#7b2fff;
  transform:translateX(5px);
}

/* Main */

.main{
  flex:1;
  width:100%;
  padding:40px;
}

/* Topbar */

.topbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  margin-bottom:40px;
}

.topbar input{
  width:100%;
  max-width:500px;
  padding:16px;
  border:none;
  border-radius:14px;
  background:#1b1b2d;
  color:white;
  outline:none;
  font-size:16px;
}

.topbar input::placeholder{
  color:#999;
}

.topbar button{
  padding:15px 35px;
  border:none;
  border-radius:14px;
  background:linear-gradient(135deg,#7b2fff,#b066ff);
  color:white;
  font-size:16px;
  cursor:pointer;
  transition:0.3s;
}

.topbar button:hover{
  transform:scale(1.05);
}

/* Hero */

.hero{
  width:100%;
  background:rgba(255,255,255,0.05);
  backdrop-filter:blur(15px);
  border:1px solid rgba(255,255,255,0.1);
  padding:60px;
  border-radius:35px;
}

.hero h2{
  font-size:70px;
  line-height:1.1;
  margin-bottom:25px;
}

.hero p{
  color:#cfcfcf;
  font-size:20px;
  margin-bottom:35px;
  max-width:600px;
}

.hero button{
  padding:18px 40px;
  border:none;
  border-radius:16px;
  background:linear-gradient(135deg,#a855f7,#7b2fff);
  color:white;
  font-size:18px;
  cursor:pointer;
  transition:0.3s;
}

.hero button:hover{
  transform:scale(1.05);
}

/* Products */

.products{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:25px;
  margin-top:50px;
}

.card{
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.1);
  border-radius:25px;
  overflow:hidden;
  transition:0.3s;
}

.card:hover{
  transform:translateY(-10px);
}

.card img{
  width:100%;
  height:220px;
  object-fit:cover;
}

.card-content{
  padding:20px;
}

.card-content h3{
  margin-bottom:10px;
  font-size:24px;
}

.card-content p{
  color:#bbb;
  margin-bottom:20px;
}

.card-content button{
  width:100%;
  padding:14px;
  border:none;
  border-radius:12px;
  background:#7b2fff;
  color:white;
  cursor:pointer;
  transition:0.3s;
}

.card-content button:hover{
  background:#9333ea;
}

/* Scrollbar */

::-webkit-scrollbar{
  width:8px;
  height:8px;
}

::-webkit-scrollbar-thumb{
  background:#7b2fff;
  border-radius:20px;
}

/* Mobile Responsive */

@media(max-width:768px){

  body{
    flex-direction:column;
  }

  /* Sidebar */

  .sidebar{
    width:100%;
    min-height:auto;
    padding:15px;
    border-right:none;
    border-bottom:1px solid rgba(255,255,255,0.1);
  }

  .sidebar h1{
    font-size:32px;
    margin-bottom:20px;
    text-align:center;
  }

  .sidebar ul{
    display:flex;
    overflow-x:auto;
    gap:10px;
    padding-bottom:5px;
  }

  .sidebar ul::-webkit-scrollbar{
    display:none;
  }

  .sidebar li{
    background:#1d1d2e;
    padding:12px 20px;
    white-space:nowrap;
    font-size:16px;
    border-radius:12px;
    margin-bottom:0;
    flex-shrink:0;
  }

  /* Main */

  .main{
    width:100%;
    padding:15px;
  }

  /* Topbar */

  .topbar{
    flex-direction:column;
    align-items:stretch;
  }

  .topbar input{
    max-width:100%;
  }

  .topbar button{
    width:100%;
  }

  /* Hero */

  .hero{
    width:100%;
    padding:30px 25px;
    border-radius:25px;
  }

  .hero h2{
    font-size:42px;
  }

  .hero p{
    font-size:16px;
  }

  .hero button{
    width:100%;
  }

  /* Products */

  .products{
    grid-template-columns:1fr;
  }

}